:root {
  --bg: #0b0b0c;
  --panel: #131315;
  --card: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.44);
  --claude: #d97757;
  --amber: #f2b84d;
  --green: #73c785;
  --blue: #5c8ff2;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
kbd {
  font: 500 0.85em ui-monospace, "SF Mono", Menlo, monospace;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
}
/* A progressive blur instead of a solid bar: stacked layers, each blurring more and covering
   less, so content fades out softly as it scrolls under the top with no hard edge. */
.nav-blur { position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none; }
.nav-blur i { position: absolute; inset: 0; }
.nav-blur i:nth-child(1) { backdrop-filter: blur(1px);  -webkit-backdrop-filter: blur(1px);  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.nav-blur i:nth-child(2) { backdrop-filter: blur(3px);  -webkit-backdrop-filter: blur(3px);  mask-image: linear-gradient(to bottom, #000 40%, transparent 80%);  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 80%); }
.nav-blur i:nth-child(3) { backdrop-filter: blur(6px);  -webkit-backdrop-filter: blur(6px);  mask-image: linear-gradient(to bottom, #000 25%, transparent 60%);  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 60%); }
.nav-blur i:nth-child(4) { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); mask-image: linear-gradient(to bottom, #000 0%, transparent 45%);   -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 45%); }
.nav-blur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 11, 12, 0.7), rgba(11, 11, 12, 0)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.nav-cta {
  font-size: 14px; font-weight: 550;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 0.2s;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.07); }

/* Hero */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 124px 20px 96px;   /* room for the fixed nav, which floats over the hero */
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(217, 119, 87, 0.34), transparent 70%),
    radial-gradient(40% 40% at 15% 10%, rgba(92, 143, 242, 0.16), transparent 70%);
}
.eyebrow { margin: 56px 0 12px; color: var(--claude); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.lede { max-width: 620px; margin: 22px auto 34px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; }

/* The mock screen with the live notch */
.screen {
  position: relative;
  width: min(1180px, 100%);
  height: 300px;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 20% 100%, rgba(92, 143, 242, 0.6), transparent 60%),
    radial-gradient(70% 120% at 85% 90%, rgba(217, 119, 87, 0.6), transparent 60%),
    radial-gradient(50% 90% at 55% 120%, rgba(176, 124, 240, 0.35), transparent 60%),
    linear-gradient(180deg, #1c1c22, #121216);
  /* A long, gentle fade into the page. */
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.75) 48%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.75) 48%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
}
.menubar {
  display: flex; align-items: center; gap: 18px;
  height: 32px; padding: 0 18px;
  font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.18);
}
.menubar .apple { width: 12px; height: 14px; border-radius: 50% 50% 45% 45%; background: rgba(255, 255, 255, 0.85); }
.menubar .spacer { flex: 1; }
.menubar span:nth-child(n+3):not(.spacer):not(.clock) { color: rgba(255, 255, 255, 0.6); }

.notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 190px; height: 32px;
  background: #000;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: width 0.55s cubic-bezier(0.2, 0.9, 0.25, 1), height 0.55s cubic-bezier(0.2, 0.9, 0.25, 1), border-radius 0.55s;
  overflow: hidden;
}
.notch.open { border-radius: 0 0 26px 26px; }
.notch-inner {
  position: absolute; inset: 32px 0 0;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px 16px;
  text-align: left;
  opacity: 0;
  transition: opacity 0.25s;
}
.notch.open .notch-inner { opacity: 1; transition-delay: 0.2s; }

.peek-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; }
.peek-text { flex: 1; min-width: 0; }
.peek-title { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-sub { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-sub code { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, 0.75); }
.peek-actions { display: flex; gap: 6px; flex: none; }
.pill {
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: var(--text);
}
.pill.primary { background: #fff; color: #000; }
.pill kbd { border: none; background: none; padding: 0 0 0 4px; opacity: 0.55; font-size: 11px; }

.pixels { display: grid; grid-template-columns: repeat(5, 6px); gap: 2px; }
.pixels i { width: 6px; height: 6px; border-radius: 1.5px; background: rgba(255, 255, 255, 0.12); }
.pixels i.on { background: var(--amber); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.45; } }

.art { background: linear-gradient(135deg, #5c8ff2, #b06ee8 60%, #d97757); }
.date { background: rgba(255, 255, 255, 0.08); flex-direction: column; gap: 0; line-height: 1; }
.date b { font-size: 9px; color: #ff5f57; letter-spacing: 0.05em; }
.date span { font-size: 18px; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.bars i { width: 3px; background: var(--green); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -0.3s; }
.bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* Waitlist form */
.waitlist {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  width: min(480px, 100%);
}
.waitlist input[type="email"] {
  flex: 1 1 240px;
  height: 48px; padding: 0 18px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist input[type="email"]:focus { border-color: rgba(217, 119, 87, 0.7); box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.15); }
.waitlist button {
  height: 48px; padding: 0 22px;
  font: inherit; font-size: 15px; font-weight: 650;
  color: #000; background: #fff;
  border: none; border-radius: 999px; cursor: pointer;
  transition: transform 0.15s, opacity 0.2s;
}
.waitlist button:hover { transform: translateY(-1px); }
.waitlist button:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-note { flex-basis: 100%; margin: 6px 0 0; min-height: 20px; font-size: 13px; color: var(--faint); }
.form-note.ok { color: var(--green); }
.form-note.err { color: #ff8a80; }

/* Bottom CTA */
.cta {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: 0 auto 80px; padding: 64px 20px;
  max-width: 1080px;
  border-top: 1px solid var(--line);
}
.cta h2 { margin-bottom: 12px; }
.cta > p { max-width: 520px; margin: 0 0 28px; color: var(--muted); line-height: 1.55; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 24px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 13px;
}

@media (max-width: 820px) {
  .peek-actions .pill:not(.primary), .pill kbd { display: none; }
  .notch-inner { padding: 10px 14px 16px; gap: 10px; }
  .menubar span:nth-child(n+3):not(.spacer):not(.clock) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Sections (Apple-style) ---------- */
.kicker { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--claude); }
section h2 {
  margin: 0; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 650;
}
.sub { margin: 20px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.showcase { padding: 120px clamp(20px, 5vw, 48px) 40px; max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }

/* Desktop mock with the sidebar docked on the right */
.desk {
  position: relative; height: 640px; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 10% 100%, rgba(92, 143, 242, 0.6), transparent 60%),
    radial-gradient(50% 70% at 60% 0%, rgba(217, 119, 87, 0.45), transparent 60%),
    radial-gradient(40% 60% at 95% 90%, rgba(176, 124, 240, 0.3), transparent 60%),
    linear-gradient(160deg, #1d1d24, #101014);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.desk-menubar {
  display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 18px;
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85); background: rgba(0,0,0,.22);
}
.desk-menubar .apple { width: 11px; height: 13px; border-radius: 50% 50% 45% 45%; background: rgba(255,255,255,.85); }
.desk-menubar .spacer { flex: 1; }
.desk-window {
  position: absolute; left: 6%; top: 84px; width: 46%; min-width: 300px;
  border-radius: 14px; overflow: hidden; background: rgba(20, 20, 24, 0.92);
  border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: rgba(255,255,255,.04); font-size: 12px; color: var(--faint); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: auto; margin-right: auto; padding-right: 40px; }
.win-code { margin: 0; padding: 16px 18px 120px; font: 12.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255,255,255,.8); white-space: pre-wrap; }
.c-dim { color: var(--faint); } .c-ok { color: var(--green); } .c-claude { color: var(--claude); }

.sb { position: absolute; right: 0; top: 30px; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.sb-panel {
  width: 430px; height: 100%; display: flex; flex-direction: column;
  background: #000; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.sb-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.sb-back { font-size: 22px; color: var(--faint); line-height: 1; }
.sb-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb-title b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-title span { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.sb-status { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--claude); padding: 4px 9px; border-radius: 999px; background: rgba(217,119,87,.12); }
.sb-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--claude); animation: blink 1.2s infinite; }

.sb-body { flex: 1; overflow: hidden; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; }
.msg-user { align-self: flex-end; max-width: 85%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: rgba(255,255,255,.1); }
.msg-think { margin: 0; color: var(--faint); font-style: italic; font-size: 12.5px; }
.msg-reply { margin: 2px 0 0; color: rgba(255,255,255,.88); }
.tool { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.tool.open { flex-direction: column; align-items: stretch; gap: 6px; }
.tool-row { display: flex; align-items: center; gap: 8px; }
.tool b { color: var(--text); font-weight: 600; }
.tool .path { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool .ok { margin-left: auto; color: var(--green); font-size: 11.5px; }
.diffstat { margin-left: auto; font-size: 11.5px; } .diffstat em { color: var(--green); font-style: normal; } .diffstat s { color: #ff7b72; text-decoration: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.read { background: var(--blue); } .dot.edit { background: #b07cf0; } .dot.bash { background: var(--amber); }
.diff { border-radius: 10px; overflow: hidden; font: 11.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.diff div { padding: 0 10px; white-space: pre; }
.diff .add { background: rgba(115,199,133,.12); color: #a5e3b2; }
.diff .del { background: rgba(255,123,114,.1); color: #ffaba5; }
.sb-working { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 12.5px; color: var(--claude); }
.sb-working .pixels { grid-template-columns: repeat(5, 4px); gap: 1.5px; }
.sb-working .pixels i { width: 4px; height: 4px; border-radius: 1px; }
.sb-composer {
  display: flex; align-items: center; margin: 0 14px 14px; padding: 10px 10px 10px 16px;
  border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.sb-composer .ph { flex: 1; font-size: 13px; color: var(--faint); }
.sb-composer .send { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 700; font-size: 14px; }

/* The tab of sections, coming out of the screen edge like the notch turned on its side */
.sb-rail {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 10px 20px 8px; background: #000;
  border: 1px solid var(--line); border-right: none; border-radius: 18px 0 0 18px;
}
.rail-btn { position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.rail-btn.on { background: rgba(255,255,255,.12); }
.rail-btn svg { width: 17px; height: 17px; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.on svg { stroke: none; fill: var(--claude); }
.rail-btn.badge::after { content: "2"; position: absolute; top: 2px; right: 1px; min-width: 14px; height: 14px; border-radius: 7px; background: #ff453a; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }

.points {
  list-style: none; margin: 56px auto 0; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  color: var(--muted); font-size: 15px; line-height: 1.55;
}
.points b { color: var(--text); font-weight: 600; }

/* Alternating feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 88px);
  max-width: 1180px; margin: 0 auto; padding: 130px clamp(20px, 5vw, 48px) 0;
}
.feature.flip .feature-copy { order: 2; }
.feature-visual {
  position: relative; min-height: 400px; border-radius: 26px; padding: 36px;
  background: linear-gradient(160deg, #17171b, #0f0f12);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}

/* Day view */
.day { background: #000; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 12px; }
.day-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.day-head b { font-size: 18px; } .day-head span { color: var(--faint); font-size: 13px; }
.day-grid { position: relative; padding-left: 52px; }
.hr { position: relative; height: 56px; border-top: 1px solid rgba(255,255,255,.07); }
.hr span { position: absolute; left: -52px; top: -7px; width: 44px; text-align: right; font-size: 10.5px; color: var(--faint); }
.ev { position: absolute; left: 52px; right: 0; padding: 4px 9px; border-radius: 7px; font-size: 11.5px; overflow: hidden; border-left: 3px solid; }
.ev b { font-weight: 600; margin-right: 4px; } .ev span { display: block; color: var(--muted); font-size: 10.5px; }
.ev-blue { background: rgba(92,143,242,.32); border-color: var(--blue); }
.ev-orange { background: rgba(242,150,77,.34); border-color: #f2964d; }
.ev-purple { background: rgba(176,124,240,.34); border-color: #b07cf0; right: 0; }
.now { position: absolute; left: 48px; right: 0; height: 1.5px; background: #ff453a; }
.now::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: #ff453a; }
.float-peek {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px;
  background: #000; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  font-size: 13px;
}
.float-peek > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.float-peek span { color: var(--muted); font-size: 12px; }
.date-tile { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date-tile b { font-size: 8.5px; color: #ff5f57; } .date-tile span { font-size: 16px; font-weight: 700; color: var(--text); }

/* GitHub */
.ears {
  align-self: center; display: flex; align-items: center; justify-content: space-between;
  width: 300px; height: 34px; padding: 0 14px; background: #000; border-radius: 0 0 14px 14px;
  border: 1px solid var(--line); border-top: none;
}
.ears-gap { flex: 1; }
.spin { display: inline-block; color: var(--amber); font-weight: 700; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.amber { color: var(--amber); font-size: 12px; font-weight: 600; }
.list { background: #000; border: 1px solid var(--line); border-radius: 18px; padding: 8px 8px 10px; }
.list-label { padding: 10px 10px 6px; font-size: 11px; font-weight: 600; color: var(--faint); }
.row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.row:hover { background: rgba(255,255,255,.04); }
.row div { display: flex; flex-direction: column; font-size: 13.5px; }
.row b { font-weight: 600; } .row span { color: var(--faint); font-size: 12px; margin-top: 1px; }
.check { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.check.pass { background: var(--green); } .check.pending { background: var(--amber); } .check.fail { background: #ff453a; }

/* Open notch with widgets */
.open-notch { background: #000; border: 1px solid var(--line); border-top: none; border-radius: 0 0 28px 28px; padding: 22px 18px 16px; }
.widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.w { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 12.5px; min-height: 112px; }
.w b { font-weight: 600; } .w span { color: var(--muted); font-size: 11.5px; }
.w .w-label { color: var(--faint); font-size: 10.5px; font-weight: 600; margin-bottom: 6px; }
.w-music { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto; column-gap: 10px; align-content: start; }
.art-sm { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #5c8ff2, #b06ee8 60%, #d97757); }
.w-music > div:nth-child(2) { display: flex; flex-direction: column; justify-content: center; }
.controls { grid-column: 1 / -1; margin-top: 10px; display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: 13px; }
.controls b { color: var(--text); }
.bar { grid-column: 1 / -1; height: 3px; margin-top: 10px; border-radius: 2px; background: rgba(255,255,255,.12); }
.bar i { display: block; height: 100%; border-radius: 2px; background: rgba(255,255,255,.7); }
.pill.sm { align-self: flex-start; margin-top: auto; padding: 4px 10px; font-size: 11px; }
.lyric { margin: 14px 0 0; text-align: center; font-size: 13px; font-weight: 600; }

/* Small tiles */
.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 130px clamp(20px, 5vw, 48px) 120px;
}
.tile { padding: 34px 30px; border-radius: 24px; background: linear-gradient(160deg, #17171b, #0f0f12); border: 1px solid var(--line); }
.tile h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.02em; font-weight: 650; }
.tile p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding-top: 96px; }
  .feature.flip .feature-copy { order: 0; }
  .points, .tiles { grid-template-columns: 1fr; }
  .desk-window { display: none; }
  .sb { left: 12px; }
  .sb-panel { width: auto; flex: 1; min-width: 0; }
  .desk { height: 600px; }
}

/* Pricing */
.pricing { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px) 120px; text-align: center; }
.price-card {
  max-width: 520px; margin: 48px auto 0; padding: 44px 40px 36px;
  border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(80% 60% at 50% 0%, rgba(217, 119, 87, 0.3), transparent 70%), linear-gradient(160deg, #17171b, #0f0f12);
}
.price { font-size: 96px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.price .currency { font-size: 44px; vertical-align: 0.9em; margin-right: 2px; color: var(--muted); font-weight: 600; }
.price-note { margin: 12px 0 30px; color: var(--faint); font-size: 14px; }
.price-list { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 14px; }
.price-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #000; background: var(--green);
}
.price-list b { color: var(--text); font-weight: 600; }

.tile code { font: 0.9em ui-monospace, "SF Mono", Menlo, monospace; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }

/* Jump links land below the floating nav. */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }

/* ---------- Colour: a soft glow behind each feature mockup ---------- */
section.feature:nth-of-type(3) .feature-visual { background: radial-gradient(80% 60% at 85% 0%, rgba(242, 184, 77, 0.2), transparent 70%), linear-gradient(160deg, #18181d, #0f0f12); }
section.feature:nth-of-type(4) .feature-visual { background: radial-gradient(80% 60% at 15% 0%, rgba(92, 143, 242, 0.24), transparent 70%), linear-gradient(160deg, #18181d, #0f0f12); }
section.feature:nth-of-type(5) .feature-visual { background: radial-gradient(80% 60% at 85% 0%, rgba(176, 124, 240, 0.24), transparent 70%), radial-gradient(60% 50% at 10% 100%, rgba(217, 119, 87, 0.16), transparent 70%), linear-gradient(160deg, #18181d, #0f0f12); }
.tile { background: radial-gradient(90% 70% at 0% 0%, rgba(217, 119, 87, 0.12), transparent 70%), linear-gradient(160deg, #18181d, #0f0f12); }

/* ---------- Mobile ---------- */
.feature > * { min-width: 0; }     /* let wide mockups shrink instead of widening the page */
body { overflow-x: clip; }

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-cta { font-size: 13px; padding: 7px 12px; }
  .hero { padding: 88px 16px 64px; }
  .screen { height: 210px; border-radius: 16px 16px 0 0; }
  .eyebrow { margin-top: 36px; font-size: 12px; }
  h1 { font-size: 40px; }
  .lede { margin: 18px auto 28px; }

  .showcase { padding-top: 72px; }
  .section-head { margin-bottom: 32px; }
  section h2 { font-size: 34px; }
  .desk { height: 560px; border-radius: 20px; }
  .sb { left: 8px; padding: 8px 0; gap: 6px; }
  .sb-body { padding: 14px; font-size: 12.5px; }
  .points { margin-top: 36px; gap: 20px; }

  .feature { padding-top: 72px; gap: 28px; }
  .feature-visual { min-height: 0; padding: 18px; border-radius: 20px; }
  .day { padding: 14px 12px 8px; }
  .day-grid { padding-left: 44px; }
  .hr span { left: -44px; width: 38px; }
  .ev { left: 44px; }
  .ev span { display: none; }       /* times and meeting apps don't fit beside each other */
  .now { left: 40px; }
  .ears { width: 100%; }
  .widgets { grid-template-columns: 1fr 1fr; }
  .w-music { grid-column: 1 / -1; min-height: 0; }
  .open-notch { padding: 18px 12px 14px; }

  .tiles { padding: 72px 16px; gap: 12px; }
  .tile { padding: 26px 22px; }
  .pricing { padding-bottom: 72px; }
  .price-card { padding: 34px 22px 28px; margin-top: 32px; }
  .price { font-size: 80px; }
  .cta { margin-bottom: 40px; padding: 56px 16px; }
}

/* =====================================================================
   Polish
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body { font-feature-settings: "ss01", "cv11"; }
::selection { background: rgba(217, 119, 87, 0.35); color: #fff; }
:focus-visible { outline: 2px solid rgba(217, 119, 87, 0.8); outline-offset: 3px; border-radius: 8px; }

/* Film grain over everything, so the big dark areas don't look flat. */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Headlines: tight, with a soft white-to-silver fall-off. */
h1, section h2 {
  background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.74));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
h1 { letter-spacing: -0.045em; font-weight: 700; }
section h2 { letter-spacing: -0.04em; }
.lede, .sub { text-wrap: pretty; }
.kicker, .eyebrow {
  background: linear-gradient(90deg, #f3a27f, #d97757);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker { font-size: 14px; letter-spacing: 0.01em; }

/* Nav button: glass. */
.nav-cta {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.16); }

/* Signup: one capsule with the button inside it. */
.waitlist { position: relative; display: block; width: min(460px, 100%); }
.waitlist input[type="email"] {
  display: block; width: 100%; height: 54px; padding: 0 160px 0 22px; font-size: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 60px -20px rgba(217, 119, 87, 0.35);
  backdrop-filter: blur(10px);
}
.waitlist input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.38); }
.waitlist button {
  position: absolute; top: 6px; right: 6px; height: 42px; padding: 0 20px; font-size: 14.5px;
  background: linear-gradient(180deg, #fff, #e9e9ee);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 20px -6px rgba(255, 255, 255, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.waitlist button:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -8px rgba(217, 119, 87, 0.55); }
.waitlist button:active { transform: translateY(0); }
.form-note { margin-top: 14px; text-align: center; }

/* Cards and mockups: a hairline highlight on the top edge and a soft drop shadow. */
.feature-visual, .tile, .price-card, .desk, .day, .list, .open-notch, .sb-panel, .float-peek, .screen {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}
.feature-visual, .tile, .price-card { border-color: rgba(255, 255, 255, 0.07); }
.tile { transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.13); }
.tile-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.22), rgba(217, 119, 87, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(217, 119, 87, 0.25);
}
.tile-icon svg { width: 20px; height: 20px; fill: none; stroke: #f0a07e; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* The pricing number gets the same gradient treatment as the headlines. */
.price { background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .currency { -webkit-text-fill-color: rgba(255, 255, 255, 0.55); }

/* Bottom call to action: a glow instead of a rule. */
.cta {
  border-top: none;
  /* The ellipse ends well inside the box, so the glow has no visible edges. */
  background: radial-gradient(42% 48% at 50% 38%, rgba(217, 119, 87, 0.2), transparent 100%);
}

/* Footer */
.footer { display: block; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.footer .brand { font-size: 14px; color: var(--text); }
.footer-links { display: flex; gap: 22px; margin-right: auto; }
.footer-links a { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-meta { font-size: 13px; color: var(--faint); }

/* Scroll reveal (only when JavaScript is running; see main.js). */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .waitlist input[type="email"] { padding-right: 140px; height: 52px; }
  .waitlist button { height: 40px; padding: 0 16px; font-size: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Round 2: blended light, plain headlines, live agents, animated CTA
   ===================================================================== */

/* Plain white headlines (no gradient text). */
h1, section h2, .price {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--text); -webkit-text-fill-color: currentColor;
}
.price .currency { -webkit-text-fill-color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5); }
.kicker, .eyebrow { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--claude); }

/* Wallpapers: the colour lives on a heavily blurred layer underneath, so the blues,
   oranges and purples melt into each other instead of sitting as separate blobs. */
.screen, .desk { isolation: isolate; }
.screen { background: #14141a; }
.desk { background: #121218; }
.screen::before, .desk::before {
  content: ""; position: absolute; inset: -25%; z-index: -1; pointer-events: none;
  filter: blur(70px) saturate(1.15);
  background:
    radial-gradient(45% 55% at 22% 75%, rgba(79, 122, 232, 0.85), transparent 75%),
    radial-gradient(40% 50% at 78% 70%, rgba(226, 130, 95, 0.8), transparent 75%),
    radial-gradient(35% 45% at 52% 95%, rgba(176, 124, 240, 0.6), transparent 75%),
    radial-gradient(30% 35% at 60% 25%, rgba(226, 130, 95, 0.35), transparent 75%);
}
.desk::before {
  background:
    radial-gradient(40% 55% at 15% 85%, rgba(79, 122, 232, 0.85), transparent 75%),
    radial-gradient(40% 45% at 55% 10%, rgba(226, 130, 95, 0.6), transparent 75%),
    radial-gradient(35% 50% at 92% 80%, rgba(176, 124, 240, 0.55), transparent 75%),
    radial-gradient(30% 40% at 40% 55%, rgba(120, 90, 200, 0.3), transparent 75%);
}
.menubar, .desk-menubar { position: relative; z-index: 1; }
.notch { z-index: 2; }

/* --- The desk's own notch, with peeks --- */
.desk-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 170px; height: 30px; background: #000; border-radius: 0 0 14px 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: width 0.5s cubic-bezier(0.2, 0.9, 0.25, 1), height 0.5s cubic-bezier(0.2, 0.9, 0.25, 1), border-radius 0.5s;
}
.desk-notch.open { width: 400px; height: 86px; border-radius: 0 0 24px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.desk-notch-inner {
  position: absolute; inset: 30px 0 0; display: flex; align-items: center; gap: 12px; padding: 6px 16px 14px;
  opacity: 0; transition: opacity 0.2s;
}
.desk-notch.open .desk-notch-inner { opacity: 1; transition-delay: 0.2s; }
.dn-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.dn-claude { background: rgba(242, 184, 77, 0.12); }
.dn-claude .pixels { grid-template-columns: repeat(5, 4px); gap: 1.5px; }
.dn-claude .pixels i { width: 4px; height: 4px; border-radius: 1px; }
.dn-done { background: rgba(115, 199, 133, 0.15); color: var(--green); }
.dn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; }
.dn-text b { font-weight: 650; }
.dn-text span { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-text code, .agent code { font: 11px ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, 0.8); }
.desk-notch .pill { font-size: 11px; padding: 5px 10px; }

/* --- Terminal with tabs --- */
.desk-window { z-index: 1; }
.win-tabs { display: flex; gap: 4px; margin: 0 auto; padding-right: 40px; }
.win-tabs b { font-weight: 500; font-size: 11.5px; padding: 3px 10px; border-radius: 6px; color: var(--faint); }
.win-tabs b.on { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.win-code { min-height: 230px; padding-bottom: 20px; color: rgba(255, 255, 255, 0.78); }
.sb { z-index: 2; }

/* --- Agent list in the sidebar --- */
.sb-head { padding: 14px 16px 12px; }
.sb-title b { font-size: 14px; }
.sb-new { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 16px; }
.agents { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); }
.agent {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 12px;
  transition: background 0.4s;
}
.agent.sel { background: rgba(255, 255, 255, 0.07); }
.agent.flash { animation: agent-flash 1s ease-out; }
@keyframes agent-flash { 0% { background: rgba(217, 119, 87, 0.28); } 100% { background: transparent; } }
.agent.sel.flash { animation: agent-flash-sel 1s ease-out; }
@keyframes agent-flash-sel { 0% { background: rgba(217, 119, 87, 0.28); } 100% { background: rgba(255, 255, 255, 0.07); } }
.ag-glyph { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ag-glyph.working { background: rgba(242, 184, 77, 0.12); }
.ag-glyph.working .pixels { grid-template-columns: repeat(5, 3.5px); gap: 1px; }
.ag-glyph.working .pixels i { width: 3.5px; height: 3.5px; border-radius: 1px; background: rgba(255, 255, 255, 0.16); }
.ag-glyph.working .pixels i.on { background: var(--amber); }
.ag-glyph.approval { background: var(--amber); color: #1a1205; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(242, 184, 77, 0.18); } }
.ag-glyph.done { background: rgba(115, 199, 133, 0.16); color: var(--green); }
.ag-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-meta b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-meta span { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-approval .ag-meta span { color: var(--amber); }
.ag-time { font: 11.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--claude); }
.ag-actions { display: flex; gap: 4px; }
.ag-actions .pill { font-size: 11px; padding: 4px 9px; transition: transform 0.15s, box-shadow 0.2s; }
.ag-actions .pill.pressed { transform: scale(0.92); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }

/* Transcript lines arrive with a small rise. */
.sb-body { overflow: hidden; justify-content: flex-end; }
.t-item { animation: t-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; display: flex; flex-direction: column; gap: 8px; }
@keyframes t-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Get early access: peeks pouring out of a notch --- */
.cta { background: none; padding-top: 40px; overflow: visible; }
.cta-stage { position: relative; width: min(640px, 100%); height: 150px; margin: 0 auto 40px; }
.cta-aurora {
  position: absolute; left: 50%; top: -20px; width: 720px; height: 360px; transform: translateX(-50%); z-index: -1;
  background: conic-gradient(from 0deg, rgba(79, 122, 232, 0.55), rgba(176, 124, 240, 0.5), rgba(226, 130, 95, 0.6), rgba(242, 184, 77, 0.35), rgba(79, 122, 232, 0.55));
  filter: blur(80px); opacity: 0.7; border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
  animation: aurora 16s linear infinite;
}
@keyframes aurora { to { transform: translateX(-50%) rotate(360deg); } }
.cta-edge {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.25) 70%, transparent);
}
.cta-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 180px; height: 32px;
  background: #000; border-radius: 0 0 16px 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); z-index: 2;
}
.cta-peek {
  position: absolute; top: 0; left: 50%; z-index: 3; width: 440px; max-width: calc(100% - 8px); height: 96px;
  display: flex; align-items: center; gap: 14px; padding: 36px 20px 16px; text-align: left;
  background: #000; border-radius: 0 0 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform-origin: top center;
  opacity: 0; animation: cta-peek 12s cubic-bezier(0.2, 0.9, 0.25, 1) infinite both;
  animation-delay: calc(var(--i) * 3s);
}
/* Each peek grows out of the notch, holds, then tucks back in as the next one arrives. */
@keyframes cta-peek {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.42, 0.33); }
  5%   { opacity: 1; transform: translateX(-50%) scale(1); }
  21%  { opacity: 1; transform: translateX(-50%) scale(1); }
  25%  { opacity: 0; transform: translateX(-50%) scale(0.42, 0.33); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.42, 0.33); }
}
.cp-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.cp-claude { background: rgba(242, 184, 77, 0.12); }
.cp-ok { background: rgba(115, 199, 133, 0.15); color: var(--green); }
.cp-done { background: rgba(217, 119, 87, 0.16); color: var(--claude); font-size: 24px; line-height: 0; padding-bottom: 6px; }
.cp-date { background: rgba(255, 255, 255, 0.08); flex-direction: column; line-height: 1; font-size: 16px; }
.cp-date b { font-size: 8.5px; color: #ff5f57; }
.cp-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.cp-text b { font-weight: 650; }
.cp-text span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 640px) {
  .desk-notch.open { width: calc(100% - 24px); }
  .cta-stage { height: 130px; }
  .cta-aurora { width: 420px; height: 280px; }
  .cta-peek { padding: 34px 14px 14px; gap: 10px; height: 88px; }
  .cta-peek .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-peek { animation: none; opacity: 0; }
  .cta-peek[style*="--i:0"] { opacity: 1; transform: translateX(-50%); }
  .cta-aurora { animation: none; }
}
@media (max-width: 640px) {
  .ag-actions .pill:not(.primary) { display: none; }
  .agent { padding: 8px; gap: 9px; }
}
