:root {
  --cream: #f0eee6;
  --paper: #f8f6f0;
  --ink: #1a1915;
  --muted: #6b6862;
  --accent: #c2143a;
  --accent-dark: #9f0f31;
  --accent-soft: #e0435c;
  --espresso: #241d15;
  --ebony: #100d09;
  --walnut: #3a2b1b;
  --cream-text: #ece4d6;
  --grain: #cdc1aa;
  --yellow: #daaa3a;
  --sunset: #e26a37;
  --green: #2ea043;
  --violet: #6a2d94;
  --violet-soft: #9c5cd6;
  --navy: #1e3a7a;
  --navy-soft: #486cba;
  --rounded: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --shadow: 0 24px 70px -36px rgba(36, 29, 21, 0.42);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection { background: rgba(194, 20, 58, 0.2); }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
p, h1, h2, h3 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 100px;
  color: white;
  background: var(--accent);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  min-height: 920px;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  align-items: center;
  gap: clamp(30px, 4vw, 80px);
  padding: 110px max(24px, calc((100vw - 1180px) / 2)) 70px max(38px, calc((100vw - 1180px) / 2 + 14px));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 69% 44%, rgba(226, 106, 55, 0.1), transparent 27%),
    linear-gradient(90deg, rgba(255,255,255,0.13), transparent 50%),
    var(--cream);
}

.hero-grain {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 690px; }

.kicker {
  color: var(--accent);
  font-family: var(--rounded);
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-top: 25px;
  font-family: var(--rounded);
  font-size: clamp(3.85rem, 6.1vw, 6.85rem);
  font-weight: 850;
  letter-spacing: -0.052em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span { white-space: nowrap; }
.hero h1 em { color: var(--accent); font-family: var(--rounded); font-style: normal; font-weight: 850; letter-spacing: -0.052em; }

.hero-intro {
  max-width: 560px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
  text-wrap: pretty;
}
.hero-intro-last { display: block; }

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }

.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border-radius: 14px;
  font-family: var(--rounded);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover { transform: translateY(-2px); }
.hero-actions .button:hover { transform: none; }
.button:active { transform: translateY(0) scale(0.98); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 15px 30px -16px rgba(194, 20, 58, 0.72); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 18px 32px -16px rgba(194, 20, 58, 0.85); }
.button-primary > span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,0.26); font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; }
.button-text { min-height: 44px; padding: 0; border-radius: 0; border-bottom: 1px solid rgba(26,25,21,0.35); }
.button-text span { color: var(--accent); }

.hero-note { margin-top: 28px; color: #77736c; font-size: 0.77rem; }
.hero-note-list { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.hero-note-list li { display: flex; align-items: center; gap: 10px; }
.hero-note-list li::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #5a7750; box-shadow: 0 0 0 5px rgba(90,119,80,0.1); }

.hero-stage {
  position: relative;
  height: min(700px, calc(100svh - 150px));
  min-height: 610px;
  display: grid;
  place-items: center;
}

.phone-wrap { position: relative; z-index: 3; transform: rotate(2.2deg); }
.phone {
  position: relative;
  width: 270px;
  padding: 8px;
  overflow: hidden;
  border: 2px solid #0a0907;
  border-radius: 51px;
  background: #0a0907;
  box-shadow:
    0 0 0 2px #3a332d,
    0 45px 70px -28px rgba(36, 29, 21, 0.7),
    -14px 16px 28px -20px rgba(255,255,255,0.25) inset;
}
.phone video, .phone .hero-widget-fallback { width: 100%; display: block; border-radius: 42px; }
.hero-widget-fallback[hidden] { display: none !important; }
.phone-speaker { position: absolute; z-index: 4; top: 14px; left: 50%; width: 70px; height: 20px; border-radius: 100px; transform: translateX(-50%); background: #080706; }
.phone-shine { position: absolute; inset: 7px; border-radius: 43px; pointer-events: none; box-shadow: inset 12px 0 20px -18px rgba(255,255,255,0.55); }
.phone-shadow { position: absolute; z-index: -1; left: 50%; bottom: -36px; width: 250px; height: 55px; border-radius: 50%; transform: translateX(-50%); background: rgba(36,29,21,0.26); filter: blur(17px); }

.prompt-note, .live-note {
  position: absolute;
  z-index: 5;
  background: rgba(248,246,240,0.88);
  border: 1px solid rgba(205,193,170,0.72);
  box-shadow: 0 18px 45px -28px rgba(36,29,21,0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.prompt-note { top: 7%; left: -8%; width: 220px; padding: 17px 18px 18px; border-radius: 12px; transform: rotate(-4deg); }
.prompt-note-label { display: block; margin-bottom: 9px; color: var(--sunset); font-size: 0.61rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.17em; }
.prompt-note p { min-height: 46px; font-family: var(--rounded); font-size: 1rem; line-height: 1.3; font-weight: 750; }
.live-note { right: -2%; bottom: 15%; display: flex; align-items: center; gap: 13px; padding: 13px 17px; border-radius: 12px; transform: rotate(3deg); }
.live-note p { color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.live-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sunset); }

.hero-stage:not(.is-visible) .prompt-note,
.hero-stage:not(.is-visible) .live-note { opacity: 0; }
.hero-stage.is-visible .prompt-note { animation: prompt-note-in 780ms cubic-bezier(.2,.85,.25,1.15) 560ms both; }
.hero-stage.is-visible .live-note { animation: live-note-in 780ms cubic-bezier(.2,.85,.25,1.15) 860ms both; }
@keyframes prompt-note-in {
  from { opacity: 0; transform: translate(-28px, 18px) rotate(-10deg) scale(0.84); }
  72% { opacity: 1; transform: translate(3px, -2px) rotate(-2deg) scale(1.03); }
  to { opacity: 1; transform: rotate(-4deg) scale(1); }
}
@keyframes live-note-in {
  from { opacity: 0; transform: translate(28px, 18px) rotate(9deg) scale(0.84); }
  72% { opacity: 1; transform: translate(-3px, -2px) rotate(1deg) scale(1.03); }
  to { opacity: 1; transform: rotate(3deg) scale(1); }
}

.principles {
  min-height: 86px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 62px);
  color: var(--cream-text);
  background: var(--espresso);
  font-family: var(--rounded);
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.principles span { color: var(--accent-soft); font-size: 0.75rem; }

.section-shell { width: min(calc(100% - 48px), 1180px); margin-inline: auto; }

.manifesto {
  position: relative;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 125px 110px;
}
.manifesto h2, .process h2, .ideas h2, .private-section h2, .download h2 {
  margin-top: 19px;
  font-family: var(--rounded);
  font-size: clamp(2.8rem, 5.1vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.manifesto h2 { margin-top: 0; }
.manifesto-body { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.manifesto-body .lead { margin-bottom: 22px; color: var(--accent); font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.35; }
.manifesto-body .lead .manifesto-line { display: block; white-space: nowrap; }
.manifesto-body .lead .manifesto-line-copy { color: var(--ink); }
.manifesto-body .lead strong { color: var(--accent); }
.manifesto-docs { display: inline-block; margin-left: 0.7em; color: inherit; border-bottom: 1px solid currentColor; }

.process { padding: 0 0 70px; }
.process-traits {
  width: 100%;
  max-width: none;
  margin-bottom: 52px;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-block: 1px solid rgba(36, 29, 21, 0.16);
  background: #e8e3d8;
  font-family: var(--rounded);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.process-traits p {
  min-width: 132px;
  padding: 11px 24px;
  border: 2.5px solid rgba(36, 29, 21, 0.12);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 13px 28px -20px rgba(36, 29, 21, 0.48);
  text-align: center;
}
.process-traits p:nth-of-type(1) { border-color: rgba(226,106,55,0.52); background: rgba(226,106,55,0.15); }
.process-traits p:nth-of-type(2) { border-color: rgba(218,170,58,0.56); background: rgba(218,170,58,0.18); }
.process-traits p:nth-of-type(3) { border-color: rgba(46,160,67,0.46); background: rgba(46,160,67,0.14); }
.process-traits p:nth-of-type(1) { color: var(--sunset); }
.process-traits p:nth-of-type(2) { color: var(--yellow); }
.process-traits p:nth-of-type(3) { color: var(--green); }
.process-traits:not(.is-visible) > * { opacity: 0; }
.process-traits.is-visible > * { animation: process-trait-in 480ms cubic-bezier(.2,.8,.25,1.15) both; }
.process-traits.is-visible > :nth-child(1) { animation-delay: 100ms; }
.process-traits.is-visible > :nth-child(2) { animation-delay: 200ms; }
.process-traits.is-visible > :nth-child(3) { animation-delay: 300ms; }
.process-traits.is-visible > :nth-child(4) { animation-delay: 400ms; }
.process-traits.is-visible > :nth-child(5) { animation-delay: 500ms; }
@keyframes process-trait-in {
  from { opacity: 0; translate: 0 10px; scale: 0.9; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
.process-list { max-width: 920px; padding: 0; list-style: none; }
.process-step {
  min-height: 395px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(390px, 1.22fr);
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--grain);
}
.process-step:last-child { border-bottom: 0; }
.step-copy { max-width: 395px; }
.step-label { margin-bottom: 14px; color: var(--accent); font-size: 0.67rem; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.process-step:nth-child(2) .step-label { color: var(--yellow); }
.process-step:nth-child(3) .step-label { color: var(--green); }
.step-copy h3 { font-family: var(--rounded); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; letter-spacing: -0.05em; }
.step-copy > p:not(.step-label) { margin-top: 17px; color: var(--muted); line-height: 1.6; }
.step-copy a { display: inline-block; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid rgba(194,20,58,0.38); color: var(--accent); font-size: 0.83rem; font-weight: 750; }
.process-step:nth-child(3) .step-copy a { border-color: rgba(46,160,67,0.38); color: var(--green); }
.step-copy a span { margin-left: 8px; }

.step-art { min-height: 290px; display: grid; place-items: center; border-radius: 22px; overflow: hidden; }
.mac-art { position: relative; background: #d9d0bf; }
.mac-step-screenshot {
  position: relative;
  width: min(60%, 400px);
  height: auto;
  max-height: 68%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 18px rgba(36, 29, 21, 0.38));
}
.mac-window { width: min(88%, 470px); overflow: hidden; border: 1px solid rgba(36,29,21,0.13); border-radius: 14px; background: var(--paper); box-shadow: 0 30px 60px -32px rgba(36,29,21,0.62); }
.window-bar { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #ded8cc; background: #eae5db; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #bcb5a8; }
.window-bar i:first-child { background: var(--accent); }
.window-bar span { margin-left: auto; margin-right: auto; transform: translateX(-20px); color: var(--muted); font-size: 0.62rem; font-weight: 700; }
.hub-status { display: flex; align-items: center; gap: 12px; margin: 23px 24px 15px; }
.hub-status b { width: 10px; height: 10px; border-radius: 50%; background: #60865d; box-shadow: 0 0 0 5px rgba(96,134,93,0.11); }
.hub-status p { color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.hub-status strong { color: var(--ink); font-size: 0.75rem; }
.hub-widget { margin: 0 24px 24px; padding: 16px; display: flex; justify-content: space-between; border-radius: 10px; background: white; box-shadow: 0 5px 18px -13px rgba(36,29,21,0.5); font-family: var(--rounded); font-size: 0.75rem; }
.hub-widget strong { color: #60865d; font-size: 0.67rem; }

.agent-art { position: relative; align-content: center; background: var(--espresso); }
.agent-art::before { content: ""; position: absolute; inset: 0; opacity: 0.18; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom right, black, transparent 75%); }
.agent-prompt { position: relative; z-index: 1; width: min(86%, 500px); min-height: 106px; padding: 22px 25px; display: flex; gap: 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; color: var(--cream-text); background: rgba(16,13,9,0.72); box-shadow: 0 24px 50px -25px #000; }
.agent-mark { color: var(--yellow); font-family: monospace; font-size: 1.4rem; }
.agent-prompt p { font-family: ui-monospace, "SF Mono", monospace; font-size: 0.8rem; line-height: 1.65; }
.agent-cursor { width: 7px; height: 1.05em; margin-left: 5px; display: inline-block; vertical-align: -0.16em; background: var(--yellow); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.agent-response { position: relative; z-index: 1; width: min(86%, 500px); margin-top: 22px; padding: 0 26px; display: inline-flex; align-items: baseline; gap: 7px; color: #b8ab97; font-family: ui-monospace, monospace; font-size: 0.78rem; }
.claude-spinner { width: 1.1em; display: inline-block; flex: none; color: var(--yellow); font-size: 0.98rem; line-height: 1; text-align: center; }

.remote-art { position: relative; background: #d9d0bf; }
.remote-card { width: 180px; aspect-ratio: 0.78; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 28px; color: var(--cream-text); background: #12100d; box-shadow: 0 30px 56px -25px rgba(36,29,21,0.75); transform: rotate(-3deg); }
.remote-label { margin-bottom: 22px; color: #7b746b; font-family: monospace; font-size: 0.52rem; letter-spacing: 0.16em; }
.remote-card button, .tv-preview button {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 50%;
  color: white;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.24), transparent 43%),
    linear-gradient(155deg, #e51b4b 0%, #c2143a 62%, #a70d31 100%);
  box-shadow:
    0 0 0 10px rgba(194,20,58,0.12),
    0 9px 0 #75091f,
    0 17px 27px -9px rgba(194,20,58,0.75),
    inset 0 2px 1px rgba(255,255,255,0.24),
    inset 0 -5px 8px rgba(78,0,20,0.18);
}
.remote-card button {
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.26), transparent 43%),
    linear-gradient(155deg, #52b866 0%, var(--green) 62%, #1b762d 100%);
  box-shadow:
    0 9px 0 #155923,
    inset 0 2px 1px rgba(255,255,255,0.24),
    inset 0 -5px 8px rgba(0,66,20,0.2);
}
.remote-card button svg, .tv-preview button svg { width: 38px; height: 38px; overflow: visible; filter: drop-shadow(0 2px 1px rgba(75,0,20,0.3)); }
.remote-card button svg { filter: drop-shadow(0 2px 1px rgba(0,55,18,0.35)); }
.remote-card button path, .tv-preview button path { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; }
.remote-card strong { margin-top: 24px; font-family: var(--rounded); font-size: 1.15rem; }
.remote-card small { margin-top: 3px; color: #7b746b; font-size: 0.58rem; }

.ideas { padding: 76px 0 82px; color: var(--cream-text); background: var(--espresso); overflow: hidden; }
.ideas-intro { padding-left: 22px; text-align: left; }
.ideas-promise { color: rgba(236,228,214,0.82); font-family: var(--rounded); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 650; line-height: 1.45; }
.ideas-promise em { color: #c17bf0; font: inherit; }
.ideas h2 {
  max-width: 960px;
  margin: 24px 0 0;
  padding-bottom: 0.12em;
  color: var(--violet-soft);
  background: linear-gradient(105deg, #c17bf0 5%, #a967df 38%, #718fe0 72%, #7fa9f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.06;
  -webkit-text-fill-color: transparent;
}
.download h2 em { color: var(--accent-soft); font-family: var(--serif); font-weight: 500; }
.idea-rail { width: min(calc(100% - 48px), 1370px); margin: 54px auto 0; display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 14px; }
.idea-card { min-height: 0; padding: 18px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.075); border-radius: 18px; background: #2b241c; box-shadow: 0 24px 50px -35px #000; }
.widget-preview { position: relative; min-height: 315px; overflow: hidden; border-radius: 13px; background: #0e0c0a; }
.idea-card h3 { margin: 22px 6px 6px; color: white; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; font-weight: 500; }
.ideas.prompts-only .idea-card { min-height: 154px; padding: 24px; }
.ideas.prompts-only .widget-preview { display: none; }
.ideas.prompts-only .idea-card h3 { margin: auto 0; font-size: clamp(1.2rem, 1.55vw, 1.45rem); }

.tv-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 42%, #34213d 0, #100d12 42%); }
.tv-preview button {
  width: 104px;
  height: 104px;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.24), transparent 43%),
    linear-gradient(155deg, #a968d5 0%, var(--violet) 62%, #42155f 100%);
  box-shadow:
    0 0 0 10px rgba(106,45,148,0.12),
    0 9px 0 #2c0e40,
    0 17px 27px -9px rgba(106,45,148,0.75),
    inset 0 2px 1px rgba(255,255,255,0.24),
    inset 0 -5px 8px rgba(42,0,70,0.2);
  transform: scale(0.86);
  transition: transform 140ms ease, background 180ms ease, box-shadow 140ms ease;
}
.tv-preview button svg { filter: drop-shadow(0 2px 1px rgba(42,0,70,0.35)); }
.tv-preview button:hover { transform: scale(0.91); }
.tv-preview button:active { transform: scale(0.86) translateY(6px); box-shadow: 0 0 0 10px rgba(106,45,148,0.09), 0 3px 0 #2c0e40, 0 8px 16px -7px rgba(106,45,148,0.65), inset 0 2px 1px rgba(255,255,255,0.2); }
.tv-preview button.is-off { background: linear-gradient(155deg, #5b5550, #393430 68%, #2b2724); box-shadow: 0 0 0 10px rgba(255,255,255,0.035), 0 9px 0 #1d1a18, 0 17px 25px -10px rgba(0,0,0,0.7), inset 0 2px 1px rgba(255,255,255,0.12); }
.tv-preview button.is-off + p::after { content: " · OFF"; color: #877b70; }
.tv-preview p { margin-top: 28px; color: #71655a; font-size: 0.53rem; font-weight: 800; letter-spacing: 0.18em; }
.music-preview { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: #0c0a09; }
.album-art { position: absolute; inset: 0; background: radial-gradient(circle at 32% 28%, #d6a9ef 0 7%, transparent 8%), radial-gradient(circle at 60% 37%, #9c5cd6 0 13%, transparent 14%), linear-gradient(135deg, #281033 5%, #6a2d94 46%, #a968d5 100%); }
.album-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8,7,6,0.93)); }
.album-art span { position: absolute; z-index: 1; top: 20%; left: 20%; width: 58%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.22); border-radius: 48% 52% 45% 55%; transform: rotate(25deg); }
.music-preview > div:last-child { position: relative; z-index: 2; }
.music-preview small { color: var(--violet-soft); font-size: 0.5rem; letter-spacing: 0.16em; }
.music-preview strong { display: block; margin-top: 6px; font-family: var(--rounded); font-size: 1.6rem; }
.music-preview p { margin-top: 2px; color: #aaa097; font-size: 0.65rem; }
.revenue-preview { padding: 32px 24px; background: linear-gradient(160deg, #12100e, #19111f); }
.revenue-preview > p { color: #776f65; font-size: 0.5rem; letter-spacing: 0.17em; }
.revenue-preview > strong { display: block; margin-top: 9px; font-family: var(--rounded); font-size: 2.5rem; letter-spacing: -0.05em; }
.revenue-preview > span { display: inline-block; margin-top: 7px; color: var(--violet-soft); font-size: 0.65rem; }
.revenue-preview svg { position: absolute; left: 18px; right: 18px; bottom: 45px; width: calc(100% - 36px); overflow: visible; }
.revenue-preview path { fill: none; stroke: var(--violet-soft); stroke-linecap: round; stroke-width: 2; }
.revenue-preview .graph-shadow { stroke: rgba(156,92,214,0.15); stroke-width: 18; filter: blur(5px); }
.focus-preview { display: grid; place-items: center; align-content: center; background: radial-gradient(circle, #231c2a, #0d0b0e 62%); }
.focus-ring { width: 180px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--violet-soft) 0 68%, #2e2926 68% 100%); position: relative; }
.focus-ring::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #100d12; }
.focus-ring span { position: relative; font-family: var(--serif); font-size: 2.1rem; }
.focus-preview > p { margin-top: 20px; color: #777069; font-size: 0.52rem; letter-spacing: 0.18em; }

.private-section { scroll-margin-top: 92px; padding: 135px 0; background: #e8e3d8; }
.private-shell { width: min(calc(100% - 48px), 920px); margin: auto; display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(400px, 1.1fr); align-items: center; gap: 48px; }
.private-copy h2 { margin-top: 20px; }
.private-copy > p:not(.kicker) { max-width: 500px; margin-top: 27px; color: var(--muted); line-height: 1.72; }
.private-copy a { display: inline-block; margin-top: 27px; padding-bottom: 5px; border-bottom: 1px solid rgba(194,20,58,0.35); color: var(--accent); font-size: 0.82rem; font-weight: 750; }
.network { position: relative; width: 100%; max-width: 480px; min-height: 280px; justify-self: end; display: grid; place-items: center; border: 1px solid rgba(36,29,21,0.09); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.network-diagram { position: relative; z-index: 2; width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.network-device { width: 64px; display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); }
.network-device svg { width: 38px; height: 38px; }
.network-device span { color: var(--muted); font-size: 0.7rem; font-weight: 650; }
.network-connector { margin-bottom: 22px; display: flex; align-items: center; gap: 4px; }
.network-connector i { width: 4px; height: 4px; display: block; border-radius: 50%; background: rgba(107,104,98,0.5); }
.network-hub { position: relative; width: 48px; height: 48px; margin-bottom: 22px; display: grid; flex: none; place-items: center; }
.network-ping, .network-circle { position: absolute; inset: 0; border-radius: 50%; }
.network-ping { border: 1.5px solid var(--accent); opacity: 0; animation: network-ping 2.6s ease-out infinite; }
.network-circle { border: 1.5px solid rgba(194,20,58,0.22); background: var(--cream); box-shadow: 0 4px 16px -6px rgba(0,0,0,0.34); animation: network-breathe 2.6s ease-in-out infinite; }
.network-hub svg { position: relative; width: 28px; height: 28px; color: var(--accent); transform: translateY(-3px); }
@keyframes network-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes network-ping {
  0%, 49% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

.download {
  position: relative;
  padding: 150px 0 165px;
  color: var(--cream-text);
  background: #080706;
  overflow: hidden;
  isolation: isolate;
}
.download::before,
.download::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.download::before {
  background: radial-gradient(ellipse 46% 52% at 50% 58%, rgba(194,20,58,0.5), rgba(194,20,58,0.2) 38%, rgba(194,20,58,0.05) 62%, transparent 78%);
  filter: blur(8px);
}
.download::after {
  background-image: radial-gradient(circle, rgba(255,94,121,0.72) 0 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 43% 48% at 50% 58%, black 0 36%, rgba(0,0,0,0.72) 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 43% 48% at 50% 58%, black 0 36%, rgba(0,0,0,0.72) 55%, transparent 80%);
  animation: download-dots-pulse 4s ease-in-out infinite;
  will-change: opacity, filter;
}
@keyframes download-dots-pulse {
  0%, 100% { opacity: 0.46; filter: brightness(0.9) saturate(0.95) drop-shadow(0 0 0 rgba(194,20,58,0)); }
  50% { opacity: 0.72; filter: brightness(1.16) saturate(1.22) drop-shadow(0 0 3px rgba(194,20,58,0.3)); }
}
.download-heading,
.download-grid { position: relative; z-index: 1; }
.download-heading { text-align: center; }
.download h2 { color: var(--cream-text); text-shadow: 0 4px 28px rgba(0,0,0,0.36); }
.download h2 em { color: var(--accent-soft); }
.download-grid { width: min(calc(100% - 48px), 1040px); margin-top: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { position: relative; min-height: 380px; padding: 30px; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; isolation: isolate; }
.download-card > :not(.download-wood-grain) { position: relative; z-index: 1; }
.download-wood-grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mac-card { border: 1px solid rgba(205,193,170,0.75); background: var(--paper); box-shadow: var(--shadow); }
.ios-card { color: var(--cream-text); background: var(--espresso); box-shadow: 0 36px 70px -36px rgba(36,29,21,0.75); }
.start-label { margin-bottom: 22px; color: var(--accent); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.download-card-head { display: flex; align-items: center; gap: 16px; }
.download-card-head img { width: 62px; height: 62px; display: block; border-radius: 0; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.24)); }
.ios-card .download-card-head img {
  border: 0;
  box-shadow: none;
  filter:
    drop-shadow(0 10px 12px rgba(0,0,0,0.5))
    drop-shadow(0 0 7px rgba(248,246,240,0.34));
}
.download-card-head h3 { font-family: var(--rounded); font-size: clamp(1.55rem, 2.4vw, 2rem); letter-spacing: -0.04em; }
/* Card copy sits on wood grain, so it runs a notch larger, heavier and higher
   contrast than body text elsewhere. */
.download-card > p:not(.start-label) { max-width: 380px; margin-top: 22px; color: #3f3b34; font-size: 1.04rem; font-weight: 500; line-height: 1.55; }
.ios-card > p:not(.start-label) { color: #d6cbb8; }
.download-meta { margin-top: auto; margin-bottom: 18px; padding-top: 22px; display: flex; gap: 9px; }
.download-meta span {
  padding: 8px 12px;
  border: 1.5px solid rgba(180,168,145,0.55);
  border-radius: 100px;
  color: #3f3b34;
  font-size: 0.72rem;
  font-weight: 600;
  /* Frosted backing so the pills read cleanly over the wood grain. */
  background: rgba(248,246,240,0.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}
.ios-card .download-meta span { border-color: rgba(255,255,255,0.22); color: #d6cbb8; background: rgba(16,13,9,0.5); }
.download-card .button { min-height: 48px; padding-inline: 20px; align-self: flex-start; }
.button-light { color: var(--espresso); background: var(--cream-text); }
.button-light:hover { background: white; }
.download-simple { max-width: 900px; }
.download-simple .download-card { min-height: 0; padding: 26px; flex-direction: row; align-items: center; gap: 24px; }
.download-simple .start-label,
.download-simple .download-card-head h3,
.download-simple .download-card > p:not(.start-label),
.download-simple .download-meta { display: none; }
.download-simple .download-card-head { flex: none; }
.download-simple .download-card-head img { width: 68px; height: 68px; }
.download-simple .download-card .button { margin-left: auto; align-self: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms cubic-bezier(.2,.65,.25,1), transform 700ms cubic-bezier(.2,.65,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.process-step.reveal, .idea-card.reveal { transition-duration: 820ms; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 420px; padding-right: 24px; padding-left: 38px; }
  .hero h1 { font-size: clamp(3.6rem, 6.5vw, 5.4rem); }
  .prompt-note { left: -9%; }
  .live-note { right: -7%; }
  .manifesto { gap: 60px; }
  .process-step { grid-template-columns: 0.85fr 1.15fr; gap: 22px; }
  .idea-rail { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .private-shell { gap: 45px; }
}

@media (max-width: 800px) {
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 35px; padding: 120px 24px 70px; }
  .ideas-intro { padding-left: 0; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; font-size: clamp(3.25rem, 14vw, 5rem); line-height: 1; }
  .hero h1 span { white-space: normal; }
  .hero-intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-note-list { width: max-content; margin-inline: auto; text-align: left; }
  .hero-stage { min-height: 580px; height: 580px; }
  .phone { width: 238px; border-radius: 45px; }
  .phone video, .phone .hero-widget-fallback { border-radius: 37px; }
  .prompt-note { top: 8%; left: 2%; }
  .live-note { right: 1%; bottom: 8%; }
  .principles p:nth-of-type(4), .principles span:nth-of-type(3) { display: none; }

  .manifesto, .private-shell { grid-template-columns: 1fr; gap: 38px; }
  .manifesto { padding-block: 120px 80px; }
  .manifesto-body { padding-top: 0; }
  .process { padding: 0 0 60px; }
  .process-traits { margin-bottom: 42px; }
  .process-step { grid-template-columns: 1fr; gap: 15px; padding: 50px 0; }
  .step-copy { grid-column: 1; }
  .step-art { grid-column: 1 / -1; width: 100%; margin-top: 10px; }
  .ideas { padding-block: 68px; }
  .private-section { padding-block: 120px; }
  .network { max-width: none; justify-self: stretch; }
  .download { padding-block: 120px; }
  .download-grid { grid-template-columns: 1fr; max-width: 540px; }
}

@media (max-width: 520px) {
  .section-shell, .private-shell { width: min(calc(100% - 36px), 1180px); }
  .manifesto-body .lead .manifesto-line { display: inline; white-space: normal; }
  .process-traits { width: 100%; gap: 6px; padding-inline: 18px; font-size: 0.9rem; letter-spacing: 0.1em; }
  .process-traits p { min-width: 0; flex: 1; padding: 9px 8px; }
  .hero { padding-inline: 18px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-intro { font-size: 0.96rem; }
  .hero-intro-last { display: inline; }
  .hero-actions { flex-direction: column; gap: 13px; }
  .button-primary { width: 100%; max-width: 310px; }
  .button-text { min-height: 34px; }
  .hero-stage { min-height: 520px; height: 520px; }
  .phone { width: 210px; border-radius: 41px; }
  .phone video, .phone .hero-widget-fallback { border-radius: 33px; }
  .phone-speaker { width: 57px; height: 17px; }
  .prompt-note { top: 5%; left: 0; width: 164px; padding: 13px; }
  .prompt-note p { min-height: 49px; font-size: 0.82rem; }
  .live-note { right: 0; bottom: 4%; padding: 10px 12px; }
  .principles { gap: 14px; padding-inline: 14px; font-size: 0.6rem; }
  .manifesto h2, .process h2, .ideas h2, .private-section h2, .download h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .process-step { grid-template-columns: 1fr; }
  .step-art { min-height: 250px; }
  .mac-window { width: 92%; }
  .agent-prompt { width: 90%; padding: 17px; }
  .agent-response { width: 90%; padding-inline: 18px; }
  .remote-card { width: 160px; }
  .idea-rail { width: calc(100% - 36px); grid-template-columns: 1fr; }
  .idea-card { min-height: 0; }
  .network { min-height: 280px; }
  .network-diagram { gap: 8px; }
  .network-connector { gap: 3px; }
  .download-card { min-height: 360px; padding: 24px; }
  .download-card-head img { width: 58px; height: 58px; }
  .download-simple .download-card { min-height: 0; padding: 22px; gap: 16px; }
  .download-simple .download-card-head img { width: 56px; height: 56px; }
  .download-simple .download-card .button { min-width: 0; flex: 1; gap: 12px; padding-inline: 14px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-stage .prompt-note { opacity: 1; transform: rotate(-4deg); animation: none !important; }
  .hero-stage .live-note { opacity: 1; transform: rotate(3deg); animation: none !important; }
  .process-traits > * { opacity: 1; animation: none !important; }
  .download::after { opacity: 0.6; filter: none; animation: none !important; }
  .network-circle { transform: none; animation: none !important; }
  .network-ping { display: none; }
}
