@font-face {
  font-family: "Prospectus Black";
  src: url("/css/prospectusstdblk-webfont.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Prospectus Bold";
  src: url("/css/prospectusstdbld-webfont.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #151517;
  --bg-raised: #202023;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: #ffffff;
  --text-3: rgba(255, 255, 255, 0.6);
  --orange-2: #ffa300;
  --hermes-a: #4c8dff;
  --hermes-b: #5b33f0;
  --display: "Prospectus Black", Georgia, serif;
  --sans: europa, "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Type, as on the studio site: big Prospectus Black, mixed case, a full stop, and the orange gradient */
.display {
  font-family: var(--display);
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0;
}
.display--xl { font-size: clamp(64px, 11vw, 140px); }
.display--l { font-size: clamp(52px, 8vw, 104px); }
.display--m { font-size: clamp(40px, 5.5vw, 68px); }
.grad {
  background: linear-gradient(rgb(255, 114, 0), rgb(255, 163, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-hermes {
  background: linear-gradient(#7fb0ff, #8467ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-mnemos {
  background: linear-gradient(#ffcea8, #ff7a4c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 20px 0 0;
}

/* Header */
.header { padding: 32px 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 112px; height: auto; }
.nav { display: flex; gap: 32px; list-style: none; font-weight: 700; font-size: 17px; }
.nav a { text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: #ff7300; }

/* Home hero */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(72px, 10vw, 128px); position: relative; }

.hero .wrap { position: relative; }
.hero p { max-width: 620px; margin-top: 36px; color: var(--text-2); font-size: clamp(19px, 2vw, 22px); }

.section-title { font-family: "Prospectus Bold", Georgia, serif; font-weight: normal; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.section-title span { color: #ff7300; }

/* App bands on the homepage */
.apps { display: grid; gap: 28px; padding-bottom: 120px; }
.band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-origin: border-box;
}
.band > * { position: relative; }
.band-pitch { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; margin: 24px 0 28px; max-width: 30ch; }
.band .app-icon { width: 72px; height: 72px; margin-bottom: 28px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)); }

.band--hermes {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(91, 51, 240, 0.55), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(76, 141, 255, 0.35), transparent 70%),
    #13112a;
  border: 1px solid rgba(140, 150, 255, 0.18);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; list-style: none; }
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 700;
}

/* Hermes retains its product title; card body text uses the studio font. */

.hermes-title {
  font-family: "Inter Tight", "Inter", -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.band--hermes .eyebrow { color: #949eff; }
.band--hermes .band-pitch { color: var(--text-2); }
.band--hermes .chips li { font-weight: 600; font-size: 14px; }
.band--hermes .grad-hermes { background: linear-gradient(90deg, #7fb0ff, #8a63ff); -webkit-background-clip: text; background-clip: text; }

/* A slice of a Mac desktop with the Hermes panel hanging from the menu bar */
.scene {
  position: relative;
  height: 600px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 20% 30%, #5b7dff, transparent 70%),
    radial-gradient(60% 60% at 90% 90%, #b04bff, transparent 70%),
    linear-gradient(160deg, #2c3fb8, #3a1b8f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
}
.menubar {
  border-radius: 22px 22px 0 0;
  position: absolute; inset: 0 0 auto;
  height: 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  padding: 0 16px;
  background: rgba(20, 18, 40, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 13px; font-weight: 600; color: #fff;
}
.menubar svg { display: block; fill: none; }
.menubar .mb-wifi { width: 17px; height: 14px; }
.menubar .mb-batt { width: 25px; height: 12px; }
.mb-hermes { width: 30px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); }
/* A template image, like the real menu bar item: pure white */
.mb-hermes img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.scene-panel { position: absolute; top: 38px; right: 50%; transform: translateX(50%) scale(0.82); transform-origin: top center; }

/* Mnemos: an abstract take on its recording screen */
.band--mnemos {
  background:
    radial-gradient(70% 60% at 75% 0%, rgba(232, 104, 74, 0.95), transparent 70%),
    linear-gradient(180deg, #c9573c 0%, #6a2a37 30%, #050a28 62%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 560px;
}
/* The background shorthands above reset these, so restate them: no tile repeats into the edges */
.band--hermes, .band--mnemos { background-repeat: no-repeat; background-origin: border-box; }
.band--mnemos { background-color: #050a28; }
/* Both icons are full macOS/iOS-style renders with their own margin and shadow */
.band--hermes .app-icon, .band--mnemos .app-icon { width: 88px; height: 88px; margin: -8px 0 20px -8px; filter: none; }
.band--mnemos .eyebrow { color: rgba(255, 220, 200, 0.75); }
.grad-mnemos { color: #f9d2ad; -webkit-text-fill-color: #f9d2ad; background: none; }
.badge {
  display: inline-flex; align-items: center;
  padding: 13.5px 26.5px;
  border: 1.5px solid #f9d2ad;
  border-radius: 999px;
  color: #f9d2ad;
  font-size: 17px;
  font-weight: 700;
}
/* A recording in progress: the waveform rolls left past the playhead, like the record screen */
.rec { position: absolute; right: 0; top: calc(50% - 40px); width: 48%; height: 180px; pointer-events: none; }
.rec-wave {
  position: absolute; inset: 0 48px 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.rec-track { position: absolute; top: 0; bottom: 0; right: 0; display: flex; align-items: center; animation: roll 14s linear infinite; }
.rec-wave i { display: block; flex: none; width: 7px; margin-left: 8px; height: calc(var(--h) * 100%); border-radius: 4px; background: #ff9a7a; }
.rec-head { position: absolute; top: -12px; bottom: -12px; right: 40px; width: 3px; border-radius: 2px; background: #f9d2ad; box-shadow: 0 0 18px rgba(249, 210, 173, 0.7); }
.rec-head::before { content: ""; position: absolute; top: -6px; left: -5px; width: 13px; height: 13px; border-radius: 50%; background: #f9d2ad; }
/* The track holds the bars twice, so sliding it by half loops seamlessly */
@keyframes roll { from { transform: translateX(50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .rec-track { animation: none; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(to right, rgb(255, 114, 0), rgb(255, 163, 0));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .15s, filter .15s;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button--hermes { background: linear-gradient(135deg, var(--hermes-a), var(--hermes-b)); }
.button--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2); color: var(--text); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.05); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--text-3); font-size: 15px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { width: 64px; }

/* Hermes page */
.product-hero { padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 9vw, 112px); position: relative; }
.product-hero::before {
  content: "";
  position: absolute; right: -20%; top: -20%; width: 90%; height: 130%;
  background: radial-gradient(closest-side, rgba(91, 51, 240, 0.32), rgba(76, 141, 255, 0.08) 60%, transparent);
  pointer-events: none;
}
.product-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.product-hero .app-icon { width: 112px; height: 112px; margin-bottom: 32px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4)); }
.product-hero .lede { font-size: clamp(20px, 2.3vw, 24px); line-height: 1.45; color: var(--text-2); margin: 28px 0 36px; max-width: 32ch; }
.product-hero .lede strong { color: var(--text); }
.fine { color: var(--text-3); font-size: 15px; }

.features { padding: 24px 0 80px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.feature--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.feature--full { grid-column: 1 / -1; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hermes-a), var(--hermes-b));
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--display); font-weight: normal; font-size: 28px; line-height: 1.1; margin-bottom: 12px; }
.feature p { color: var(--text-2); font-size: 17px; }

.keys { display: flex; gap: 10px; justify-content: center; }
.key {
  min-width: 72px; height: 72px; padding: 0 16px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(#34302c, #2a2724);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 0 #141210, 0 10px 24px rgba(0, 0, 0, 0.4);
  font-size: 30px; font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.macs { display: flex; align-items: center; justify-content: center; gap: 16px; }
.mac {
  width: 120px; padding: 16px 12px 14px; border-radius: 16px; text-align: center;
  background: #1f1c1a; border: 1px solid var(--line); font-size: 14px; color: var(--text-2);
}
.mac svg { width: 44px; height: 44px; margin: 0 auto 8px; stroke: var(--text-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mac--on { border-color: rgba(91, 51, 240, 0.7); color: var(--text); box-shadow: 0 0 0 4px rgba(91, 51, 240, 0.15); }
.mac--on svg { stroke: #8fb3ff; }
.hop { color: var(--text-3); font-size: 26px; }

.cta { padding: 40px 0 120px; }
.cta .band { grid-template-columns: 1fr auto; }
.cta p { color: var(--text-2); margin-top: 20px; max-width: 520px; }

@media (max-width: 960px) {
  .band, .product-hero .wrap, .feature--wide, .cta .band { grid-template-columns: 1fr; }
  .band--mnemos { padding-bottom: 260px; }
  .rec { width: min(100%, 620px); top: auto; bottom: 56px; height: 160px; }
  .feature-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .feature--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav { gap: 20px; font-size: 16px; }
  .logo img { width: 88px; }
  .band { border-radius: 28px; }
  .scene { height: 480px; }
  .scene-panel { right: 50%; transform: translateX(50%) scale(0.84); transform-origin: top center; }
  .menubar { gap: 14px; }
  .rec { height: 120px; }
  .rec-wave i { width: 5px; margin-left: 5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide, .feature--full { grid-column: auto; }
  .mac { width: 96px; }
  .key { min-width: 60px; height: 60px; font-size: 24px; }
}
.display .dot { color: #ff7300; -webkit-text-fill-color: #ff7300; }

/* Three recording lanes share a playhead, suggesting the layered mix. */
.rec-wave { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.rec-lane { position: relative; min-height: 0; overflow: hidden; }
.rec-lane:nth-child(2) i { background: #f9ba97; }
.rec-lane:nth-child(3) i { background: #d98090; }
@media (max-width: 600px) {
  .rec-wave { gap: 9px; }
}

.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Keep keyboard navigation visible against the dark backgrounds. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffa300;
  outline-offset: 5px;
}

.band--mnemos .display--l { font-size: clamp(48px, 7vw, 88px); }

/* Little victories: the full stops are buttons that hop, with a quiet counter */
.hero .dot {
  display: inline-block;
  padding: 0; margin: 0; border: 0; background: none;
  font: inherit; line-height: inherit; letter-spacing: inherit;
  color: #ff7300; -webkit-text-fill-color: #ff7300;
  cursor: pointer;
  transform-origin: 50% 75%;   /* fallback; victories.js sets the exact baseline */
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.hero .dot:focus-visible { outline: 3px solid #ffa300; outline-offset: 2px; border-radius: 6px; }
.hero .victories { margin-top: 20px; font-size: 14px; letter-spacing: 0.04em; color: var(--text-3); }
.victories b { color: #ff7300; font-weight: 700; }
.impact { position: absolute; z-index: 20; height: 4px; margin-top: -2px; border-radius: 2px; background: #ff7300; transform-origin: 0 50%; pointer-events: none; }
/* Set by the head script when the drop-in is about to play, so the dots don't flash in place first */
.lv-drop .hero .dot { visibility: hidden; }
