/* NotchTasks website. One stylesheet for the home page and the two legal pages. */
:root {
  --bg: #08090b;
  --ink: #f3f1ec;
  --dim: #9a9ca3;
  --faint: #5d6068;
  --line: rgba(255, 255, 255, 0.09);
  --panel: rgba(255, 255, 255, 0.035);
  --accent: #ff9f0a;   /* the app's own orange: an agent is waiting */
  --ok: #30d158;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;  /* what the app itself is set in */
  --spring: cubic-bezier(0.3, 1.25, 0.4, 1);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --screen: radial-gradient(ellipse 62% 75% at 78% 70%, rgba(52, 107, 123, 0.55), transparent 75%), radial-gradient(ellipse 65% 95% at 15% 88%, rgba(164, 91, 58, 0.42), transparent 75%), linear-gradient(135deg, #17242c, #101721 52%, #252c35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---- Header (shared with the legal pages) */
.top {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 17px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); font-size: 14.5px; }
.top nav a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.top nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #0a0a0b; font: 600 16px/1 var(--text); text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
  box-shadow: 0 0 0 0 rgba(255, 159, 10, 0);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(255, 159, 10, 0.55); }
.btn:active { transform: translateY(0) scale(0.98); }
.top nav a.btn.small { height: 34px; padding: 0 16px; font-size: 14px; color: #0a0a0b; }

/* ---- Type */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.4vw, 88px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.sub, .lede { color: var(--dim); max-width: 58ch; text-wrap: pretty; }
.sub { margin: 18px 0 0; font-size: 18px; }
.block { padding-block: clamp(48px, 6vw, 88px); }

/* ---- Hero */
.hero { padding-top: clamp(32px, 5vw, 64px); text-align: center; }
.eyebrow { margin: 0 0 22px; font: 500 12.5px/1 var(--mono); color: var(--dim); letter-spacing: 0.02em; }
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.lede { margin: 26px auto 0; font-size: clamp(17px, 1.6vw, 20px); }
.cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 34px; }
.note { color: var(--faint); font-size: 14.5px; }

.hero > :is(.eyebrow, .lede, .cta) { animation: lift 0.8s var(--spring) both; }
@keyframes lift { from { opacity: 0; transform: translateY(36px) scale(0.97); } }
.hero > :nth-child(2) { animation-delay: 0.06s; }
.hero > :nth-child(3) { animation-delay: 0.12s; }
.hero > :nth-child(4) { animation-delay: 0.18s; }
.nt-headline-line { display: block; animation: lift 0.8s var(--spring) both; animation-delay: calc(0.08s + var(--i) * 0.08s); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---- The display: any computer screen, seen from just below its top edge */
.stage {
  /* wider than the text column: the screen is the subject */
  --sw: min(1280px, 100vw - 48px);
  position: relative; margin-top: clamp(24px, 3vw, 40px); perspective: 1600px;
  width: var(--sw); margin-left: calc((100% - var(--sw)) / 2);
}
/* a 14-inch laptop screen is 1512 x 982 points; the notch is drawn at that scale (--sk, set from the width) */
.display {
  width: 100%; height: max(calc(var(--sw) * 0.28125), calc(365px * var(--sk, 1) + 28px + 2 * clamp(6px, 0.9vw, 11px))); padding: clamp(6px, 0.9vw, 11px); border-radius: 24px; background: #050607;
  transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * -14deg)) rotateY(var(--y, 0deg)) scale(calc(0.94 + var(--p, 1) * 0.06));
  box-shadow: 0 0 0 1px #454950, 0 2px 0 2px #20242a, 0 8px 0 3px #111417, 0 22px 38px -12px #000, 0 0 140px -30px rgba(255, 159, 10, 0.2);
  will-change: transform;
  -webkit-mask-image: linear-gradient(#000 calc(var(--nt-visible, 365px) * var(--sk, 1) + 26px), transparent 100%); mask-image: linear-gradient(#000 calc(var(--nt-visible, 365px) * var(--sk, 1) + 26px), transparent 100%);
}
.screen { position: relative; height: 100%; border-radius: 15px; overflow: hidden; background: var(--screen); }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(116deg, transparent 20%, rgba(255, 255, 255, 0.07) 45%, transparent 62%); }
.bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: calc(32px * var(--sk, 1)); padding: 0 17px; background: rgba(9, 13, 17, 0.6); color: rgba(255, 255, 255, 0.7); font: 500 clamp(8px, 1vw, 12px)/1 var(--ui); }
.nt-bar-left, .nt-bar-right { display: flex; align-items: center; gap: clamp(7px, 1.2vw, 16px); }
.nt-app-mark { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, #ffa852, #f37357); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.2); }
.nt-bar-wifi { width: 11px; height: 9px; border: 2px solid rgba(255, 255, 255, 0.7); border-bottom: 0; border-radius: 9px 9px 0 0; }
.nt-bar-battery { width: 16px; height: 8px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 2px; box-shadow: inset 11px 0 rgba(255, 255, 255, 0.7); }
.island .bar { padding-top: calc(7px * var(--sk, 1)); height: calc(42px * var(--sk, 1)); }
.island .notch { top: calc(43px * var(--sk, 1)); }
.win { position: absolute; overflow: hidden; border-radius: 11px; background: rgba(11, 15, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); color: rgba(230, 237, 238, 0.58); font: 500 11px/1.5 var(--mono); }
.nt-win-head { display: flex; align-items: center; gap: 9px; height: 25px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); }
.nt-win-head i { width: 7px; height: 7px; border-radius: 50%; background: #bc6d61; box-shadow: 11px 0 #b8955f, 22px 0 #689b79; margin-right: 22px; }
.nt-code-lines { display: grid; gap: 9px; padding: 18px 20px; }
.nt-code-lines i { display: block; width: 78%; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #be9085 0 17%, #6e9ca7 17% 52%, #b7ad84 52% 70%, #738eab 70%); opacity: 0.65; }
.nt-code-lines i:nth-child(2n) { width: 52%; margin-left: 16px; }.nt-code-lines i:nth-child(3n) { width: 68%; margin-left: 32px; }
.win p { margin: 8px 14px; white-space: nowrap; }.win p em { color: #7fae9c; font-style: normal; }.win p i { display: inline-block; width: 5px; height: 12px; background: #98b8b3; vertical-align: -2px; }
.win-a { left: 7%; top: 55%; width: 48%; height: 65%; }
.win-b { right: 7%; top: 65%; width: 30%; height: 38%; }
.floor { position: absolute; z-index: -1; inset: auto 10% -12% 10%; height: 40%; background: radial-gradient(closest-side, rgba(255, 159, 10, 0.16), transparent); filter: blur(30px); pointer-events: none; }

/* ---- The notch. Sizes are the app's: 32 pt tall at rest, 380 pt wide when it opens, 8 pt ears, 10 pt bottom corners. */
.notch {
  --w: 250px; --h: 32px; --r: 10px;
  position: absolute; top: 0; left: 50%; z-index: 3; width: var(--w); height: var(--h);
  transform: translateX(-50%) scale(var(--k, 1)); transform-origin: 50% 0;
  background: #000; border-radius: 0 0 var(--r) var(--r); color: #fff; font: 400 12px/1.25 var(--ui); text-align: left;
  transition: width 0.6s var(--spring), height 0.6s var(--spring), border-radius 0.6s var(--spring), top 0.5s var(--ease), box-shadow 0.5s;
}
.notch::before, .notch::after { content: ""; position: absolute; top: 0; width: 8px; height: 8px; transition: opacity 0.3s; }
.notch::before { left: -8px; background: radial-gradient(circle at 0 100%, transparent 7.6px, #000 8.1px); }
.notch::after { right: -8px; background: radial-gradient(circle at 100% 100%, transparent 7.6px, #000 8.1px); }
.notch[data-state="open"] { --w: 560px; --h: 235px; --r: 28px; }
.notch[data-state="ask"], .notch[data-state="press"] { --w: 560px; --h: 365px; --r: 28px; }
.notch:is([data-state="allowed"], [data-state="phone"], [data-state="wait"], [data-state="building"], [data-state="built"]) { --w: 320px; --h: 66px; --r: 16px; }

/* without a hardware notch it is a free-standing pill, round at every corner */
.island .notch { border-radius: min(calc(var(--h) / 2), 28px); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07); }
.island.display { --nt-visible: 408px; height: max(calc(var(--sw) * 0.28125), calc(408px * var(--sk, 1) + 28px + 2 * clamp(6px, 0.9vw, 11px))); }
.island .notch::before, .island .notch::after { opacity: 0; }
.n-top { position: absolute; inset: 0 0 auto; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; }
.n-top span { display: flex; align-items: center; gap: 7px; }
.n-top b { font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.n-count { color: #ff9f6b; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.4s var(--spring); }
.notch:is([data-state="ask"], [data-state="press"], [data-state="wait"]) .n-count { opacity: 1; transform: none; }
.n-r { opacity: 0; transition: opacity 0.3s; }
.notch[data-state="building"] .n-r { opacity: 1; }
.n-pct { color: rgba(255, 255, 255, 0.85); }

.sprite {
  --s: 16px; flex: none; display: inline-block; width: var(--s); height: var(--s);
  background: var(--src) 0 0 / calc(var(--s) * var(--n)) var(--s) no-repeat; image-rendering: pixelated;
  animation: frames 0.72s steps(var(--n)) infinite;
}
@keyframes frames { to { background-position: calc(var(--s) * var(--n) * -1) 0; } }
.nt-ic { flex: none; display: inline-block; width: 16px; height: 16px; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.nt-ic-thermo { --icon: url(assets/icons/thermometer-medium.png); }.nt-ic-fan { --icon: url(assets/icons/fanblades-fill.png); }
.nt-ic-timer { --icon: url(assets/icons/timer.png); }.nt-ic-mirror { --icon: url(assets/icons/person-crop-square-fill.png); }
.nt-ic-tray { --icon: url(assets/icons/tray-and-arrow-down.png); }.nt-ic-gear { --icon: url(assets/icons/gearshape.png); }
.nt-ic-power { --icon: url(assets/icons/power.png); }.nt-ic-hammer { --icon: url(assets/icons/hammer-fill.png); }
.nt-ic-check { --icon: url(assets/icons/checkmark-circle-fill.png); }.nt-ic-gauge { --icon: url(assets/icons/gauge-with-dots-needle-67percent.png); }
.nt-ic-hand { --icon: url(assets/icons/hand-raised-fill.png); }.nt-ic-xmark { --icon: url(assets/icons/xmark.png); }

.face { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.45s var(--spring); pointer-events: none; }
.notch:is([data-state="open"], [data-state="ask"], [data-state="press"]) .f-open,
.notch[data-state="allowed"] .f-allowed, .notch[data-state="phone"] .f-phone, .notch[data-state="wait"] .f-wait,
.notch[data-state="building"] .f-building, .notch[data-state="built"] .f-built { opacity: 1; transform: none; transition-delay: 0.12s; }
.notch.nt-exit .face { opacity: 0 !important; transform: translateY(-6px) !important; transition-delay: 0s !important; }

.notch:not([data-state="idle"]) .n-top { opacity: 0; visibility: hidden; }
.notch:not([data-state="idle"]) .n-top :is(.n-l, .n-r) { display: none; }
.notch[data-state="idle"] .n-top { transition-delay: 0.6s; }
.n-top { transition: opacity 0.2s; }
.f-open { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 12px; }
.grow { flex: 1; }
.sys { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 6px; color: rgba(255, 255, 255, 0.6); font-size: 11px; }
.sys b { font-weight: 600; margin-right: 6px; }
.sys .batt { color: var(--ok); font-size: 12px; margin: 0 4px 0 0; }
.ring { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255, 255, 255, 0.14) 0); }
.ring i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #000; color: #fff; font: 700 8.5px/1 var(--ui); font-style: normal; }
.tile { border-radius: 14px; background: rgba(255, 255, 255, 0.07); padding: 10px 12px; }
.agent { display: grid; gap: 7px; }
.agent > div { display: flex; align-items: center; gap: 8px; }
.r1 b { font-weight: 700; font-size: 13px; }
.r1 .ring { width: 13px; height: 13px; } .r1 .ring i { width: 9px; height: 9px; background: #1a1a1c; }
.r1 .lim { color: #aaa; font-size: 11px; font-weight: 600; margin-left: -4px; }
.badge { min-width: 24px; padding: 3px 8px; border-radius: 99px; background: #ff9479; color: #111; font-size: 11px; text-align: center; }
.rec { width: 13px; height: 13px; border-radius: 50%; border: 3px solid rgba(255, 148, 121, 0.48); background: #ff9479; box-shadow: 0 0 0 2px rgba(255, 148, 121, 0.15); box-sizing: border-box; margin: 0 2px; }
.r2 { font-size: 12px; font-weight: 500; }
.r2 em { font-style: normal; color: var(--accent); font-size: 11px; }
.media { display: flex; align-items: center; gap: 11px; }
.art { flex: none; width: 44px; height: 44px; border-radius: 9px; background: radial-gradient(circle at 30% 25%, #ffd7a8, transparent 45%), linear-gradient(140deg, #ff7a59, #6b3df5 70%, #171a3a); }
.media > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.media b { font-weight: 700; font-size: 13px; }
.media em { font-style: normal; color: #98989d; font-size: 11px; }
.meter.play { flex: none; height: 3px; margin-top: 3px; } .meter.play i { width: 58%; background: var(--ok); }
.ctl { display: flex; align-items: center; gap: 13px; padding: 0 4px; }
.ctl svg:first-child { transform: scaleX(-1); } .ctl svg:nth-child(2) { width: 17px; height: 17px; }
.tools { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.tools > span { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 9px; border-radius: 12px; background: #242426; }
.tools { padding-left: 4px; color: #fff; }
.tools > .nt-ic { color: rgba(255, 255, 255, 0.7); margin-right: 2px; }
.tools em { font-style: normal; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.tools span .nt-ic { width: 14px; height: 14px; }
/* an ask takes the place of everything but the agents; without one its card is not there */
.notch:not([data-state="ask"], [data-state="press"]) .f-open .card { display: none; }
.notch:is([data-state="ask"], [data-state="press"]) :is(.media, .chips) { display: none; }
.card { padding: 11px; border-radius: 14px; background: rgba(255, 159, 10, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.35); display: grid; gap: 7px; }
.notch[data-state="ask"] .card { animation: card-pulse 0.7s ease-out 0.25s 1; }
@keyframes card-pulse { 50% { box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.85), 0 0 24px rgba(255, 159, 10, 0.26); } }
.card .row, .activity .row { display: flex; align-items: center; gap: 9px; }
.card .row div, .activity .row div { flex: 1; min-width: 0; display: grid; }
.card b { font-weight: 600; }
.card em, .f-line em, .activity em { font-style: normal; color: #98989d; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card time { color: var(--accent); font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card small { color: var(--accent); font-size: 10px; font-weight: 700; margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.card small .nt-ic { width: 12px; height: 12px; }
.card code, .activity code { display: block; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font: 400 11px/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, 0.9); }
.card .acts { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.card u { margin-right: auto; color: #98989d; font-size: 11px; }
.card .acts > span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 7px; font-size: 11px; font-weight: 600; transition: transform 0.15s, filter 0.15s; }
.card .acts .nt-ic { width: 12px; height: 12px; }
.deny { background: rgba(255, 255, 255, 0.14); color: #fff; }
.allow { background: #fff; color: #000; }
.notch[data-state="press"] .allow { transform: scale(0.92); filter: brightness(0.82); }

.f-line { top: 32px; bottom: auto; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 16px 2px; white-space: nowrap; border-radius: 0; }
.f-line b { font-weight: 600; }
.ok { flex: none; display: grid; place-items: center; width: 16px; height: 16px; }
.ok .nt-ic { width: 15px; height: 15px; color: var(--ok); }
.done svg { width: 10px; height: 10px; fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 50% { opacity: 0.35; transform: scale(0.8); } }
.meter { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.meter i { display: block; width: 62%; height: 100%; border-radius: 3px; background: #fff; transition: width 0.14s linear; }
.meter.warn i { background: var(--accent); }
.f-limit em { color: var(--accent); font-weight: 600; }

/* The preview keeps one readable open layout through permission, build and fan states. */
.notch:not([data-notch="pair"]):is([data-state="allowed"], [data-state="building"], [data-state="built"], [data-state="fans"]) { --w: 560px; --h: 235px; --r: 28px; }
.notch:not([data-notch="pair"]):is([data-state="ask"], [data-state="press"]) { --h: 365px; }
.notch:not([data-notch="pair"]):not([data-state="idle"]) .f-open { opacity: 1; }
.notch:not([data-notch="pair"]) .f-line { display: none; }
.notch[data-state="idle"] .n-count, .notch[data-state="idle"] .n-r { opacity: 1; transform: none; }
.n-top .nt-ic-gauge { color: var(--accent); width: 13px; height: 13px; }
.n-top .n-r { gap: 6px; }
.n-top .n-pct { color: var(--accent); }
.f-open { padding: 0 16px 14px; gap: 10px; }
.sys { height: 58px; gap: 8px; padding: 0 4px; font-size: 14px; }
.sys .ring { width: 34px; height: 34px; }
.sys .ring i { width: 27px; height: 27px; font-size: 13px; }
.sys b { margin-right: 8px; }
.sys .nt-temp { color: var(--ok); }
.sys .nt-temp, .sys .nt-fan-speed { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sys .nt-fan-speed { color: #bfc0c2; }
.sys .nt-temp .nt-ic, .sys .nt-fan-speed .nt-ic { width: 17px; height: 17px; margin: 0; }
.notch[data-state="fans"] .nt-fan-speed .nt-ic { animation: fan-spin var(--spin, 1.2s) linear infinite; }
@keyframes fan-spin { to { transform: rotate(360deg); } }
.agent { padding: 14px 18px; border-radius: 18px; gap: 9px; }
.agent .r1 b { font-size: 15px; }
.agent .r1 .lim { font-size: 12px; }
.agent .r1 .nt-week { font-size: 12px; color: #aaa; }
.agent .r2 { font-size: 13px; }
.agent .r2 em { color: #ff9f6b; font-size: 12px; }
.nt-allowed { display: none; color: var(--ok); font-size: 12px; }
.notch[data-state="allowed"] .r2 em { display: none; }
.notch[data-state="allowed"] .nt-allowed { display: inline; }
.agent .r2 .nt-ic-check { display: none; color: var(--ok); }
.notch[data-state="allowed"] .agent .r2 .nt-ic-check { display: inline-block; animation: check-in 0.6s var(--spring) 0.15s both; }
@keyframes check-in { from { opacity: 0; transform: scale(0.2) rotate(-90deg); } }
.tools { gap: 5px; padding: 0; white-space: nowrap; }
.tools > span { height: 27px; padding: 0 8px; }
.tools .nt-drop { min-width: 0; flex: 1; background: none; padding: 0; color: #aaa; }
.nt-drop em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tools .nt-round { flex: none; width: 27px; padding: 0; justify-content: center; border-radius: 50%; }
.nt-build, .nt-fans { display: none; align-items: center; gap: 10px; min-height: 76px; font-size: 13px; }
.nt-build em { color: var(--dim); font-style: normal; }
.nt-build .nt-ic { color: var(--accent); }
.nt-build .nt-ic-check { display: none; }
.notch[data-state="built"] .nt-build .nt-ic-hammer, .notch[data-state="built"] .nt-build em { display: none; }
.notch[data-state="built"] .nt-build .nt-ic-check { display: inline-block; color: var(--ok); animation: check-in 0.6s var(--spring) both; }
.nt-build .meter i { width: 8%; transition: width 2.9s linear, background 0.3s; }
.nt-fans { display: none; grid-template-columns: auto 1fr auto; row-gap: 9px; }
.nt-fans > b:first-child { grid-column: 1 / -1; }
.nt-slider { height: 5px; background: #36383c; border-radius: 5px; }
.nt-slider i { display: block; width: 0; height: 5px; background: var(--ok); border-radius: inherit; transition: width 2s var(--ease) 0.2s; }
.notch.nt-fan-on .nt-slider i { width: 72%; }.notch.nt-fan-on .nt-slider:last-of-type i { width: 64%; }
.nt-fans b { font-size: 11px; }
.notch:not(:is([data-state="ask"], [data-state="press"])) .card { display: none; }
.notch:is([data-state="ask"], [data-state="press"]) .card { display: grid; }
.notch:is([data-state="ask"], [data-state="press"]) .tools { display: flex; }
.notch:is([data-state="building"], [data-state="built"]) .nt-build { display: flex; }
.notch[data-state="fans"] .nt-fans { display: grid; }
.notch:is([data-state="building"], [data-state="built"], [data-state="fans"]) .agent { display: none; }
.notch[data-state="built"] .nt-build .meter i { background: var(--ok); width: 100%; }
.notch[data-state="allowed"] .agent { animation: allowed-flash 1s ease-out 0.12s both; }
@keyframes allowed-flash { 25% { box-shadow: inset 0 0 0 2px var(--ok), 0 0 20px rgba(48, 209, 88, 0.25); } 100% { box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.5); } }
.notch:is([data-state="building"], [data-state="built"], [data-state="fans"]) .tools { margin-top: auto; }

.switch { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.switch button { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--dim); font: 500 14.5px/1 var(--text); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.switch button:hover, .cmd button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.switch button.on { background: rgba(255, 255, 255, 0.12); color: var(--ink); }
.has { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; padding: 0; max-width: 760px; }
.has li { padding: 6px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 13.5px; }
.caption { margin: 14px 0 0; color: var(--faint); font-size: 14.5px; min-height: 1.6em; }

/* ---- Three reasons the notch opens */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.trio article, .grid article, .get article { transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s; }
.trio article:hover, .grid article:hover, .get article:hover { transform: translateY(-2px); }
.grid article:hover { border-top-color: rgba(255, 255, 255, 0.22); }
.trio article:hover .mini, .get article:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.trio h3 { margin-top: 22px; }
.trio p, .grid p { margin: 8px 0 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.mini { position: relative; height: 235px; border-radius: 18px; overflow: hidden; background: var(--screen); box-shadow: inset 0 0 0 1px var(--line); }
.mini::before { content: ""; position: absolute; inset: 0 0 auto; height: 32px; background: rgba(0, 0, 0, 0.18); }

/* ---- Computer and phone */
.pair { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: clamp(36px, 7vw, 100px); align-items: center; }
.points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.points li { display: grid; gap: 4px; padding-left: 20px; border-left: 1px solid var(--line); }
.points b { font: 700 17px/1.3 var(--display); }
.points span { color: var(--dim); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }

.link { position: relative; display: grid; justify-items: center; perspective: 1500px; }
.edge { position: relative; width: min(380px, 100%); height: 124px; border: 9px solid #000; border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--screen); box-shadow: 0 0 0 1px #26282d;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.edge small { position: absolute; left: 14px; bottom: 30px; color: rgba(255, 255, 255, 0.4); font: 500 11px/1 var(--mono); }
.wire { width: 20px; height: 84px; margin-top: -22px; overflow: visible; }
.wire path { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulse { position: absolute; left: 50%; top: 100px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px 4px rgba(255, 159, 10, 0.6); opacity: 0; }
.pulse.down { animation: travel 0.9s var(--ease); }
.pulse.up { animation: travel 0.9s var(--ease) reverse; background: var(--ok); box-shadow: 0 0 18px 4px rgba(48, 209, 88, 0.6); }
@keyframes travel { 0% { opacity: 0; transform: translateY(0) scale(0.5); } 20% { opacity: 1; transform: translateY(16px) scale(1); } 80% { opacity: 1; transform: translateY(72px) scale(1); } 100% { opacity: 0; transform: translateY(88px) scale(0.5); } }

.phone {
  width: 236px; height: 430px; padding: 9px; border-radius: 46px; background: #000;
  transform: rotateY(calc((0.5 - var(--p, 0.5)) * 18deg)) rotateX(calc((0.5 - var(--p, 0.5)) * -8deg)); will-change: transform;
  box-shadow: 0 0 0 1px #2c2e33, 0 -1px 0 1px #44474e, 0 50px 90px -30px #000, 0 0 110px -30px rgba(255, 159, 10, 0.22);
}
.glass { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: radial-gradient(130% 70% at 30% 0%, #2a3350, #10131c 55%, #07080b); font-family: var(--ui); color: #fff; }
.cam { position: absolute; top: 11px; left: 50%; width: 78px; height: 23px; margin-left: -39px; border-radius: 12px; background: #000; }
.clock { display: grid; justify-items: center; padding-top: 48px; }
.clock span { font-size: 13px; font-weight: 500; opacity: 0.75; }
.clock b { font-size: 54px; line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; }
.activity {
  position: absolute; left: 8px; right: 8px; bottom: 18px; padding: 12px; border-radius: 22px; background: rgba(22, 22, 24, 0.94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid; gap: 9px; font-size: 12.5px; line-height: 1.25; text-align: left;
  opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 0.4s, transform 0.55s var(--spring);
}
.activity.show { opacity: 1; transform: none; }
.activity .row b { display: block; text-wrap: balance; }
.activity b { font-weight: 600; }
.activity time { color: var(--accent); font-size: 11px; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btns span { display: grid; place-items: center; height: 34px; border-radius: 17px; font-weight: 600; font-size: 13px; transition: transform 0.15s, filter 0.15s; }
.activity.tap .allow { transform: scale(0.93); filter: brightness(0.8); }
.done { display: none; align-items: center; justify-content: center; gap: 8px; height: 34px; border-radius: 17px; background: rgba(48, 209, 88, 0.16); color: var(--ok); font-weight: 600; font-size: 13px; }
.done svg { width: 14px; height: 14px; stroke: var(--ok); }
.activity.answered .btns { display: none; }
.activity.answered .done { display: flex; animation: rise 0.4s var(--ease); }

/* ---- Getting it */
.final .sub { margin-inline: auto; }
.get { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; margin-top: 30px; text-align: left; }
.get article { padding: 30px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; }
.get p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.cmd { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 500 13.5px/2.4 var(--mono); color: var(--ink); scrollbar-width: none; }
.cmd code::before { content: "$ "; color: var(--accent); }
.cmd.ps code::before { content: "> "; }
.cmd button { flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ink); color: #0a0a0b; font: 600 14px/1 var(--text); cursor: pointer; transition: transform 0.15s var(--ease), filter 0.15s; }
.cmd button:active { transform: scale(0.96); }
.get .or a { color: var(--ink); text-underline-offset: 3px; }
.get .fine { margin: 0; color: var(--faint); font-size: 14px; }
.get .dl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.get .tabs { margin: 0; }
.get .os { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.get .os[hidden] { display: none; }
.btn.ghost { justify-self: start; background: none; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }
.btn[aria-disabled="true"] { pointer-events: none; }

/* ---- The rest */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 28px; }
.grid article { padding: 26px 0 28px; border-top: 1px solid var(--line); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.plan { padding: 34px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.plan.pro { background: linear-gradient(160deg, rgba(255, 159, 10, 0.11), rgba(255, 159, 10, 0.02) 60%); box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.32); }
.plan h3 { color: var(--dim); font: 500 13px/1 var(--mono); letter-spacing: 0.02em; }
.price { margin: 16px 0 0; font: 700 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: -0.03em; }
.price small { display: block; margin-top: 10px; font: 400 15px/1.4 var(--text); letter-spacing: 0; color: var(--dim); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 5px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.fine { margin: 24px 0 0; color: var(--faint); font-size: 14px; }

.faq { margin-top: 24px; max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font: 400 24px/1 var(--text); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 24px; color: var(--dim); max-width: 64ch; }

.final { text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 20% 15% 0; background: radial-gradient(closest-side, rgba(255, 159, 10, 0.13), transparent); filter: blur(20px); pointer-events: none; }
.final > * { position: relative; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 30px 44px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.js .reveal { opacity: 0; transform: translateY(36px) scale(0.97); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js :is(.trio, .grid, .get) article.reveal.in:hover { transform: translateY(-2px); transition-duration: 0.15s; transition-delay: 0s; }

/* ---- Legal pages */
.doc { max-width: 760px; padding-block: 64px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin-top: 44px; }
.doc p, .doc li { color: #c6c7cc; }
.doc a { color: var(--accent); }
.meta { color: var(--faint); font-size: 14.5px; }

@media (max-width: 860px) {
  .trio, .grid, .get, .pair { grid-template-columns: minmax(0, 1fr); }
  .get article { min-width: 0; }
  .grid { gap: 0; }
  .mini { height: clamp(220px, 36vw, 300px); }
  .top nav a:not(.btn) { display: none; }
  .link { max-width: 440px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .display {
    height: calc(365px * var(--sk, 1) + 54px); padding: 7px; border-radius: 18px;
  }
  .island.display { height: calc(408px * var(--sk, 1) + 42px); }
  .screen { border-radius: 12px; }
  .plan { padding: 26px; }
  .switch button { padding: 0 13px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { transform: none; transition: opacity 0.15s !important; }
  .face { transform: none; transition: opacity 0.15s !important; }
  .display, .phone { transform: none !important; }
  html { scroll-behavior: auto; }
}
