/* SystemWatch website. White gallery, light grey bands, system type, one blue. */

:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --page: #ffffff;
  --band: #f5f5f7;
  --card: #ffffff;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --radius: 28px;
  --radius-s: 18px;
  --button-radius: 12px;
  --max: 980px;
  --wide: 1240px;
  --top: 92px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fill: #e8e8ed;
  --raised: #ffffff;
  --hover: #ececf0;
  --soft-line: #e2e2e7;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-line: rgba(0, 0, 0, 0.08);
  --ui-bg: #f5f5f7;
  --ui-card: #ffffff;
  --ui-line: rgba(0, 0, 0, 0.06);
  --track: rgba(120, 120, 128, 0.2);
  --red: #ff3b30;
  --orange: #ff9500;
  --yellow: #ffcc00;
  --green: #28cd41;
  --ui-blue: #007aff;
  --purple: #af52de;
  color-scheme: light;
}

/* Dark mode: follows the system unless the footer switch picked light or dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #6e6e73; --page: #000000; --band: #101011; --card: #1c1c1e;
    --line: #38383a; --link: #2997ff; --fill: #2c2c2e; --raised: #48484a; --hover: #252527; --soft-line: #2c2c2e;
    --nav-bg: rgba(22, 22, 23, 0.8); --nav-line: rgba(255, 255, 255, 0.1);
    --ui-bg: #2c2c2e; --ui-card: #3a3a3c; --ui-line: rgba(255, 255, 255, 0.06); --track: rgba(120, 120, 128, 0.4);
    --red: #ff453a; --orange: #ff9f0a; --yellow: #ffd60a; --green: #32d74b; --ui-blue: #0a84ff; --purple: #bf5af2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #6e6e73; --page: #000000; --band: #101011; --card: #1c1c1e;
  --line: #38383a; --link: #2997ff; --fill: #2c2c2e; --raised: #48484a; --hover: #252527; --soft-line: #2c2c2e;
  --nav-bg: rgba(22, 22, 23, 0.8); --nav-line: rgba(255, 255, 255, 0.1);
  --ui-bg: #2c2c2e; --ui-card: #3a3a3c; --ui-line: rgba(255, 255, 255, 0.06); --track: rgba(120, 120, 128, 0.4);
  --red: #ff453a; --orange: #ff9f0a; --yellow: #ffd60a; --green: #32d74b; --ui-blue: #0a84ff; --purple: #bf5af2;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
s { text-decoration-thickness: 0.07em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.band { background: var(--band); }
.muted { color: var(--text-2); }

/* MARK: Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--button-radius);
  background: var(--blue);
  color: #fff;
  font: 500 17px/1 var(--font);
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { background: var(--blue-hover); text-decoration: none; }
.button:active { transform: scale(0.98); }
.button-small { min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.button-large { min-height: 54px; padding: 0 30px; font-size: 19px; border-radius: 14px; }

.link { color: var(--link); font-size: 17px; }
.link::after { content: " ›"; }
.buttons { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: center; margin-top: 30px; }

/* MARK: Top bar: the launch offer stays pinned above the navigation */

.topbar { position: sticky; top: 0; z-index: 50; }
.ribbon { background: #1d1d1f; color: #f5f5f7; font-size: 13px; line-height: 1.35; text-align: center; padding: 10px 22px; letter-spacing: -0.01em; }
.ribbon s { color: #a1a1a6; margin-right: 2px; }
.ribbon strong { font-weight: 600; color: #fff; }
.ribbon a { color: #2997ff; margin-left: 8px; white-space: nowrap; }
.ribbon [data-ribbon-left]:not(:empty)::before { content: "· "; color: #a1a1a6; }

.nav {
  height: 52px;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-line);
  position: relative;
}
.nav-inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text); font-size: 13px; opacity: 0.85; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav-cta { margin-left: 4px; }
.nav-menu { display: none; margin-left: auto; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.nav-menu span { display: block; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform 0.3s var(--ease); }

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--page); padding: 8px 22px 22px; border-bottom: 1px solid var(--line); }
  .nav-links a { font-size: 19px; padding: 12px 0; border-bottom: 1px solid var(--soft-line); opacity: 1; }
  .nav.open .nav-links { display: flex; }
  .nav-menu { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav.open .nav-menu span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-menu span:last-child { transform: translateY(-7px) rotate(-45deg); }
}

/* MARK: Reveal on scroll */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* MARK: Hero: the title alone, revealed line by line */

.hero { position: relative; min-height: calc(100svh - var(--top)); display: grid; place-items: center; overflow: hidden; padding: 40px 22px 18vh; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.title { font: 700 clamp(50px, 8.6vw, 132px)/0.98 var(--display); letter-spacing: -0.046em; margin: 0; }
.title .line { display: block; overflow: hidden; padding: 0.02em 0.04em 0.1em; margin-bottom: -0.08em; }
.title .line > span { display: inline-block; transform: translateY(105%) rotate(2deg); transform-origin: 0 100%; opacity: 0; filter: blur(12px); transition: transform 1.4s var(--ease-out), opacity 1.1s var(--ease-out), filter 1.2s var(--ease-out); }
.title .line:nth-child(2) > span { color: var(--text-3); transition-delay: 0.14s; }
.title.in .line > span { transform: none; opacity: 1; filter: none; }
.hero-offer { margin-top: 34px; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.015em; }
.hero-offer s { color: var(--text-3); margin-right: 4px; }
.hero-offer strong { font-weight: 600; }
.hero-offer span { color: var(--text-2); }
.hero [data-intro] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--delay, 0s); }
.hero.in [data-intro] { opacity: 1; transform: none; }
.pulse { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; pointer-events: none; }

/* MARK: The MacBook scene */

.mac { position: relative; height: 560vh; }
.mac-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.mac-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.mac.ready .mac-canvas { opacity: 1; }
.mac-lines { position: absolute; left: 0; right: 0; top: calc(var(--top) + 5vh); z-index: 2; pointer-events: none; padding: 0 22px; }
.mac-line { position: absolute; left: 0; right: 0; text-align: center; font: 700 clamp(32px, 4.4vw, 60px)/1.06 var(--display); letter-spacing: -0.036em; opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), filter 0.35s var(--ease); }
.mac-line.on { opacity: 1; transform: none; filter: none; transition: opacity 0.9s var(--ease-out) 0.3s, transform 1.1s var(--ease-out) 0.3s, filter 0.9s var(--ease-out) 0.3s; }
.device { display: none; }
.mac.static { height: auto; }
.mac.static .mac-stage { position: relative; height: auto; overflow: visible; padding: 60px 0 100px; }
.mac.static .mac-canvas, .mac.static .mac-lines { display: none; }
.mac.static .device { display: block; max-width: 980px; margin: 0 auto; padding: 0 22px; }
.device-screen { background: #0b0b0c; border-radius: 22px 22px 0 0; padding: 2.2% 2.2% 1.6%; }
.device-screen img { border-radius: 4px; }
.device-base { height: 18px; margin: 0 -6%; background: #d4d5d8; border-radius: 0 0 22px 22px; position: relative; }
.device-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); background: #b9babd; border-radius: 0 0 9px 9px; }

/* MARK: Section headlines */

.section { padding: 130px 0; }
.headline { font-size: clamp(42px, 5.8vw, 80px); line-height: 1.04; letter-spacing: -0.034em; font-weight: 700; }
.headline-m { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
.subhead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--text-2); margin-top: 20px; max-width: 720px; letter-spacing: -0.014em; }
.center .subhead { margin-left: auto; margin-right: auto; }
.subhead strong { color: var(--text); font-weight: 600; }

/* MARK: Feature grid */

.features { padding: 150px 0 130px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; max-width: var(--wide); margin: 72px auto 0; padding: 0 22px; }
.tile { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 440px; }
.t-4 { grid-column: span 4; }
.t-5 { grid-column: span 5; }
.t-6 { grid-column: span 6; }
.t-7 { grid-column: span 7; }
.tile-text { padding: 38px 40px 0; }
.tile h3 { font-size: 28px; line-height: 1.12; letter-spacing: -0.026em; font-weight: 700; }
.tile-text p { color: var(--text-2); margin-top: 10px; font-size: 17px; line-height: 1.42; max-width: 38ch; }
/* Live recreations of the app's interface inside the feature tiles. */
.ui { margin: auto 28px 28px; padding-top: 30px; font-size: 13px; line-height: 1.3; letter-spacing: -0.005em; display: flex; flex-direction: column; gap: 10px; }
.ui-heading { font: 700 17px/1.2 var(--display); letter-spacing: -0.018em; padding: 0 2px; }
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-card { background: var(--ui-bg); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.ui strong { font-weight: 600; }
.ui .red { color: var(--red); } .ui .orange { color: var(--orange); } .ui .green { color: var(--green); } .ui .blue { color: var(--ui-blue); }
.ui em { font-style: normal; font-weight: 500; font-size: 11px; margin-left: 6px; }
.ui-card.app { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: start; }
.ui-card.app img { width: 32px; height: 32px; margin-top: 1px; }
.app-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-info strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-info .state { color: var(--text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-info .state.red { color: var(--red); } .app-info .state.orange { color: var(--orange); }
.metrics { color: var(--text-2); font-size: 11px; white-space: nowrap; display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.metrics b { color: var(--text); font-weight: 500; margin-right: 6px; font-variant-numeric: tabular-nums; }
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.dot.blue { background: var(--ui-blue); } .dot.purple { background: var(--purple); }
.meter { display: flex; gap: 2px; margin-top: 4px; }
.meter i { width: 9px; height: 3px; border-radius: 2px; background: currentColor; }
.meter i.off { background: var(--track); }
.meter.red { color: var(--red); } .meter.orange { color: var(--orange); } .meter.yellow { color: var(--yellow); }
.ui-grid.two .temp { padding-bottom: 8px; }
.temp-top { display: flex; justify-content: space-between; align-items: baseline; }
.temp-top span { font-size: 11px; font-weight: 500; }
.temp-value { display: block; font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.spark { display: block; width: 100%; height: 30px; margin-top: 6px; overflow: visible; }
.spark .spark-line { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ui-list { background: var(--ui-bg); border-radius: 14px; padding: 2px 14px; }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ui-line); min-height: 52px; }
.ui-row:last-child { border-bottom: 0; }
.ui-row img, .ui-row .gear { width: 28px; height: 28px; flex: none; }
.ui-row .gear { display: grid; place-items: center; color: var(--text-2); }
.ui-row .gear svg { width: 22px; height: 22px; fill: currentColor; }
.row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-text span { color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row > b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui-callout { background: var(--ui-bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ui-callout span { color: var(--text-2); font-size: 12px; }
.switch { width: 32px; height: 19px; border-radius: 10px; background: var(--track); position: relative; flex: none; transition: background 0.3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.switch.on { background: var(--ui-blue); }
.switch.on::after { transform: translateX(13px); }
.mac-button { flex: none; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--ui-card); color: var(--text); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.06); transition: opacity 0.3s var(--ease); }
.fix .done { display: none; flex: none; font-size: 12px; font-weight: 500; color: var(--green); }
.fix .done u { color: var(--link); text-decoration: none; margin-left: 6px; font-weight: 400; }
.fix.applied .mac-button { display: none; }
.fix.applied .done { display: inline; }
.fix.working .mac-button { opacity: 0.4; }
.history strong { font-size: 13px; }
.history-chart { display: block; width: 100%; height: 96px; margin-top: 12px; }
.history-chart .area { fill: color-mix(in srgb, var(--ui-blue) 12%, transparent); }
.history-chart .line { fill: none; stroke: var(--ui-blue); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease-out) 0.3s; }
.tile.in .history-chart .line { stroke-dashoffset: 0; }
.history-note { color: var(--text-2); font-size: 12px; margin-top: 10px; }
.ui.chat { gap: 10px; }
.bubble { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.38; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--ui-blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.bot { align-self: flex-start; background: var(--ui-bg); border-bottom-left-radius: 6px; opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease-out) 0.9s, transform 0.8s var(--ease-out) 0.9s; }
.tile.in .bubble.bot { opacity: 1; transform: none; }
.ui-row.dev { min-height: 50px; }
.stack { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; background: var(--fill); }
.stack i { width: 0; background: var(--c); transition: width 1.4s var(--ease-out); }
.tile.in .stack i { width: var(--w); }
.ui-grid.power { grid-template-columns: 0.85fr 1.15fr; }
.chip { display: flex; flex-direction: column; gap: 7px; }
.chip-row { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; font-size: 12px; }
.chip-row span { color: var(--text-2); }
.chip-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.chip-row .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; display: block; }
.chip-row .bar i { display: block; height: 100%; width: var(--bar, 10%); background: var(--c); border-radius: 2px; transition: width 1.2s var(--ease-out); }
@media (max-width: 1100px) { .ui-grid { grid-template-columns: 1fr; } .ui-grid.two { grid-template-columns: 1fr 1fr; } }
.mini-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--wide); margin: 56px auto 0; padding: 0 22px; text-align: center; }
.mini-facts div { padding: 6px 14px; border-left: 1px solid var(--line); }
.mini-facts div:first-child { border-left: 0; }
.mini-facts strong { display: block; font: 600 19px/1.25 var(--display); letter-spacing: -0.016em; }
.mini-facts span { display: block; color: var(--text-2); font-size: 15px; margin-top: 2px; }
@media (max-width: 1000px) {
  .t-4, .t-5, .t-6, .t-7 { grid-column: span 6; }
  .mini-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .mini-facts div:nth-child(3) { border-left: 0; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .t-4, .t-5, .t-6, .t-7 { grid-column: auto; }
  .tile { min-height: 0; }
  .tile-text { padding: 30px 28px 0; }
  .tile-shot { margin-left: 28px; width: calc(100% - 28px); }
}

/* MARK: Feature stories */

.story { padding: 150px 0 0; overflow: clip; }
.story-head { text-align: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: var(--max); margin: 70px auto 0; padding: 0 22px 20px; }
.fact h3 { font-size: 21px; line-height: 1.24; letter-spacing: -0.016em; }
.fact p { color: var(--text-2); margin-top: 8px; font-size: 17px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 30px; margin-top: 56px; } }

/* MARK: Sticky split (Tune-Up) */

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; max-width: var(--wide); margin: 80px auto 0; padding: 0 22px; align-items: start; }
.split-media { position: sticky; top: calc(var(--top) + 8vh); }
.split-media .frame { position: relative; aspect-ratio: 2320 / 1520; }
.split-media .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(0.97); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); }
.split-media .frame img.on { opacity: 1; transform: none; }
.split-steps { padding: 6vh 0 18vh; }
.split-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 0.5s var(--ease); }
.split-step.on { opacity: 1; }
.split-step h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.026em; font-weight: 700; }
.split-step p { color: var(--text-2); font-size: 19px; line-height: 1.42; margin-top: 12px; }
.split-step p strong { color: var(--text); font-weight: 600; }
.providers { max-width: var(--max); margin: 30px auto 0; padding: 0 22px; text-align: center; color: var(--text-2); font-size: 17px; }
.providers strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 0; }
  .split-media { top: calc(var(--top) + 12px); z-index: 1; background: var(--page); padding-bottom: 14px; }
  .split-step { min-height: 46vh; }
}

/* MARK: Fan curve demo */

.curve-demo { max-width: 880px; margin: 70px auto 0; padding: 0 22px; }
.curve-card { background: var(--band); border-radius: var(--radius); padding: 36px 40px 30px; }
.curve-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.curve-readout { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.curve-readout span { color: var(--text-2); font-weight: 400; }
.segmented { display: inline-flex; background: var(--fill); border-radius: 9px; padding: 2px; }
.segmented button { border: 0; background: none; font: 13px/1 var(--font); padding: 7px 14px; border-radius: 7px; cursor: pointer; color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--raised); font-weight: 600; }
.curve-svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.curve-svg .grid line { stroke: var(--line); stroke-width: 1; }
.curve-svg .axis text { fill: var(--text-3); font: 12px var(--font); }
.curve-svg .curve { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; }
.curve-svg .area { fill: rgba(0, 113, 227, 0.08); }
.curve-svg .knob { fill: var(--page); stroke: var(--blue); stroke-width: 3; cursor: grab; }
.curve-svg .knob:active { cursor: grabbing; }
.curve-svg .now line { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 4; }
.curve-svg .now circle { fill: var(--text); }
.curve-svg .now text { fill: var(--text); font: 600 12px var(--font); }
.curve-note { color: var(--text-2); font-size: 14px; margin-top: 12px; text-align: center; }
@media (max-width: 760px) { .curve-card { padding: 24px 18px; } }

/* MARK: Pricing */

.pricing { padding: 150px 0 140px; }
.deal { display: grid; grid-template-columns: 1.05fr 1fr; max-width: 1080px; margin: 64px auto 0; background: var(--band); border-radius: 36px; overflow: hidden; }
.deal-main { padding: 60px 56px 52px; display: flex; flex-direction: column; align-items: flex-start; }
.deal-name { font: 700 30px/1.1 var(--display); letter-spacing: -0.026em; }
.deal-kind { color: var(--text-2); margin-top: 6px; }
.deal-price { display: flex; align-items: baseline; gap: 18px; margin-top: 34px; }
.deal-price s { font: 500 clamp(30px, 3vw, 40px)/1 var(--display); color: var(--text-3); letter-spacing: -0.02em; }
.deal-price strong { font: 700 clamp(84px, 9vw, 128px)/0.9 var(--display); letter-spacing: -0.055em; }
.deal-terms { margin-top: 16px; font-size: 17px; color: var(--text); }
.launch-meter { margin-top: 24px; width: 100%; max-width: 420px; }
.launch-meter .bar { height: 8px; background: var(--fill); border-radius: 4px; overflow: hidden; }
.launch-meter .bar i { display: block; height: 100%; width: calc(var(--sold, 0) * 1%); background: var(--blue); border-radius: 4px; transition: width 1.6s var(--ease-out); }
.launch-meter p { font-size: 15px; color: var(--text-2); margin-top: 10px; }
.launch-meter p strong { color: var(--text); font-weight: 600; }
.deal-button { margin-top: 32px; }
.deal-refund { font-size: 15px; margin-top: 18px; color: var(--text); }
.deal-assure { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.deal-side { padding: 60px 56px 52px; border-left: 1px solid var(--line); }
.deal-side-title { font: 600 19px/1.2 var(--display); letter-spacing: -0.016em; }
.included { list-style: none; margin: 18px 0 0; padding: 0; }
.included li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--soft-line); position: relative; font-size: 16px; }
.included li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.included li:last-child { border-bottom: 0; }
.anchor { display: flex; justify-content: center; align-items: center; gap: 40px; max-width: 1080px; margin: 56px auto 0; padding: 0 22px; text-align: center; }
.anchor > div { flex: 1; max-width: 340px; }
.anchor-price { font: 700 44px/1 var(--display); letter-spacing: -0.04em; color: var(--text-3); }
.anchor-price span { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.anchor p:not(.anchor-price) { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.anchor-win .anchor-price { color: var(--text); }
.anchor-vs { color: var(--text-3); font-size: 15px; }
.compare-toggle { max-width: var(--max); margin: 56px auto 0; padding: 0 22px; }
.compare-toggle summary { list-style: none; cursor: pointer; text-align: center; color: var(--link); font-size: 17px; }
.compare-toggle summary::-webkit-details-marker { display: none; }
.compare-toggle summary::after { content: " ›"; display: inline-block; transition: transform 0.3s var(--ease); }
.compare-toggle[open] summary::after { transform: rotate(90deg); }
.compare { margin-top: 30px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 600; font-size: 14px; color: var(--text-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 26%; }
.compare .yes { font-weight: 600; }
.compare .no { color: var(--text-3); }
.compare-note { color: var(--text-2); font-size: 14px; margin-top: 16px; text-align: center; }
@media (max-width: 900px) {
  .deal { grid-template-columns: 1fr; border-radius: 28px; margin-left: 16px; margin-right: 16px; }
  .deal-main, .deal-side { padding: 40px 28px; }
  .deal-side { border-left: 0; border-top: 1px solid var(--line); }
  .anchor { flex-direction: column; gap: 18px; }
}

/* MARK: Questions */

.questions { max-width: var(--max); margin: 60px auto 0; padding: 0 22px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; cursor: pointer; padding: 26px 40px 26px 0; font: 600 21px/1.3 var(--display); letter-spacing: -0.016em; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-weight: 300; font-size: 30px; color: var(--text-2); transition: transform 0.3s var(--ease); }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { padding: 0 40px 26px 0; color: var(--text-2); }

/* MARK: Process search teaser */

.lookup { max-width: 700px; margin: 40px auto 0; padding: 0 22px; text-align: center; }
.search { width: 100%; max-width: 560px; height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; font: 17px var(--font); color: var(--text); background: var(--card); margin-top: 30px; }
.search:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 22px; }

/* MARK: CTA band (guides) */

.cta-band { background: var(--band); padding: 100px 0; margin-top: 110px; }
.cta-inner { max-width: var(--wide); margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
.cta-copy p { color: var(--text-2); font-size: 19px; margin-top: 16px; }
.cta-copy .offer-line { color: var(--text); font-size: 17px; margin-top: 18px; }
.cta-copy .offer-line s { color: var(--text-3); }
.cta-copy .buttons { justify-content: flex-start; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* MARK: Articles (guides, processes) */

.page-hero { text-align: center; max-width: 860px; margin: 0 auto; padding: 100px 22px 40px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.07; letter-spacing: -0.03em; font-weight: 700; }
.page-hero p { color: var(--text-2); font-size: 21px; margin-top: 18px; }
.page-hero .search { margin-top: 34px; }

.article { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.article-head { max-width: 820px; margin: 0 auto; padding: 90px 0 48px; text-align: center; }
.article-head h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
.article-head .lede { font-size: 21px; color: var(--text-2); margin-top: 18px; line-height: 1.4; }
.article-meta { color: var(--text-3); font-size: 14px; margin-top: 16px; }
.crumbs { color: var(--text-3); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--text-2); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 64px; justify-content: center; }
.article-layout.single { grid-template-columns: minmax(0, 700px); }
.article-toc { position: sticky; top: calc(var(--top) + 30px); align-self: start; font-size: 14px; }
.article-toc a { display: block; color: var(--text-2); padding: 6px 0; line-height: 1.3; }
.article-toc a:hover { color: var(--text); text-decoration: none; }
.article-toc a.on { color: var(--text); font-weight: 600; }
aside.facts { position: sticky; top: calc(var(--top) + 30px); align-self: start; background: var(--band); border-radius: var(--radius-s); padding: 22px; font-size: 14px; display: block; margin: 0; max-width: none; }
aside.facts dl { margin: 0; }
aside.facts dt { color: var(--text-3); margin-top: 14px; }
aside.facts dt:first-child { margin-top: 0; }
aside.facts dd { margin: 2px 0 0; font-weight: 600; }
.prose { font-size: 18px; line-height: 1.6; padding-bottom: 20px; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.022em; margin: 56px 0 14px; font-weight: 700; }
.prose h3 { font-size: 22px; line-height: 1.25; margin: 36px 0 10px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose .table, .prose pre { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose code { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--band); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--band); border-radius: 14px; padding: 18px 20px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { border-left: 3px solid var(--line); padding-left: 18px; color: var(--text-2); margin-left: 0; }
.prose .table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.prose .note { background: var(--band); border-radius: 14px; padding: 16px 20px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article-toc { display: none; }
  aside.facts { position: static; }
}

.related { padding: 90px 0 0; }
.related-inner { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.related h2 { font-size: 28px; letter-spacing: -0.022em; margin-bottom: 20px; font-weight: 700; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.related-links.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related-links.cards a { background: var(--band); border-radius: var(--radius-s); padding: 18px 20px; color: var(--text); }
.related-links.cards a:hover { text-decoration: none; background: var(--hover); }
.related-links.cards strong { display: block; font-weight: 600; }
.related-links.cards span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }

.process-index { max-width: var(--wide); margin: 0 auto; padding: 20px 22px 0; }
.process-group { margin-top: 56px; }
.process-group h2 { font-size: 28px; letter-spacing: -0.022em; margin-bottom: 18px; font-weight: 700; }
.process-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.process-list a { background: var(--band); border-radius: var(--radius-s); padding: 16px 18px; color: var(--text); }
.process-list a:hover { text-decoration: none; background: var(--hover); }
.process-list strong { display: block; font: 600 16px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; }
.process-list span { display: block; color: var(--text-2); font-size: 14px; margin-top: 3px; }
.process-list a[hidden], .process-group[hidden] { display: none; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; max-width: var(--wide); margin: 30px auto 0; padding: 0 22px; }
.guide-card { background: var(--band); border-radius: var(--radius); padding: 34px 32px; color: var(--text); display: flex; flex-direction: column; }
.guide-card:hover { text-decoration: none; background: var(--hover); }
.guide-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 700; }
.guide-card p { color: var(--text-2); margin-top: 10px; flex: 1; }
.guide-card .link { margin-top: 18px; }

/* MARK: Footer */

.footer { background: var(--band); margin-top: 130px; padding: 44px 0 30px; font-size: 12px; color: var(--text-2); }
.home .footer { margin-top: 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer h2 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.footer-cols a { display: block; color: var(--text-2); padding: 4px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.theme-switch { display: inline-flex; background: var(--fill); border-radius: 8px; padding: 2px; flex: none; }
.theme-switch button { border: 0; background: none; color: var(--text-2); font: 12px/1 var(--font); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--raised); color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

@media (max-width: 760px) {
  :root { --top: 104px; }
  .section { padding: 90px 0; }
  .story { padding-top: 100px; }
  .features { padding: 100px 0 90px; }
  .pricing { padding: 100px 0; }
  .mac { height: 460vh; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero [data-intro], .title .line > span, .mac-line { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .tile-shot { transition: none; }
}

/* MARK: Thank-you page (after Stripe Checkout) */

.no-ribbon .ribbon { display: none; }
.thanks { min-height: calc(100svh - var(--top)); display: grid; place-items: center; padding: 80px 22px 100px; }
.thanks-inner { max-width: 640px; width: 100%; text-align: center; }
.thanks-title { font: 700 clamp(48px, 7vw, 88px)/1 var(--display); letter-spacing: -0.045em; }
.thanks-lede { font-size: 21px; color: var(--text-2); margin-top: 18px; }
.license-card { background: var(--band); border-radius: var(--radius); padding: 30px 30px 26px; margin-top: 40px; }
.license-label { color: var(--text-2); font-size: 15px; }
.license-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.license-key { font: 600 clamp(18px, 2.6vw, 26px)/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em; color: var(--text); user-select: all; word-break: break-all; }
.license-note { color: var(--text-2); font-size: 15px; margin-top: 14px; }
.thanks .buttons { margin-top: 32px; }
.thanks-steps { text-align: left; max-width: 460px; margin: 40px auto 0; padding-left: 1.4em; font-size: 17px; line-height: 1.5; }
.thanks-steps li { margin: 10px 0; color: var(--text-2); }
.thanks-steps strong { color: var(--text); font-weight: 600; }
.thanks-small { color: var(--text-3); font-size: 14px; margin-top: 44px; }
