/* Mac to the Future — the site, in the app's own look. */
:root {
  --night: #121826;
  --panel: #1b2232;
  --panel-edge: #2a3346;
  --ink: #eef2f8;
  --muted: #8c96a8;
  --blue: #0a84ff;
  --blue-deep: #0060d0;
  --green: #30d158;
  --radius-window: 18px;
  --radius-control: 10px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html { background: var(--night); }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(1200px 700px at 78% -10%, #1d2a44 0%, transparent 60%) no-repeat, var(--night);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 28px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 26px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* Buttons, as in the app */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 600 16px var(--sans); cursor: pointer; text-decoration: none;
}
.button:hover { text-decoration: none; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: #2a95ff; }
.button.quiet { background: #2a3346; color: var(--ink); }
.button.quiet:hover { background: #333d53; }
.button[disabled] { opacity: .5; cursor: default; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 56px 88px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; font-weight: 700; }
.hero p.lede { font-size: 20px; color: #c7cfdc; max-width: 30em; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fineprint { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* The app window in miniature */
.window {
  background: linear-gradient(180deg, #1f2738 0%, #1a2130 100%);
  border: 1px solid var(--panel-edge); border-radius: var(--radius-window);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  padding: 18px 22px 22px;
}
.window .lights { display: flex; gap: 8px; margin-bottom: 18px; }
.window .lights i { width: 12px; height: 12px; border-radius: 50%; background: #3a4357; }
.window .lights i:nth-child(1) { background: #ff5f57; }
.window .lights i:nth-child(2) { background: #febc2e; }
.window .lights i:nth-child(3) { background: #28c840; }
.window .heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.window h2 { margin: 0; font-size: 24px; letter-spacing: -0.01em; }
.window .numbers { display: flex; gap: 22px; text-align: right; }
.window .numbers b { display: block; white-space: nowrap; font: 700 34px/1 var(--rounded); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.window .numbers small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.window .bar { height: 6px; border-radius: 3px; background: #2a3346; margin: 22px 0 14px; overflow: hidden; }
.window .bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; }
.window .rows { display: grid; gap: 6px; }
.window .row { position: relative; display: flex; justify-content: space-between; padding: 7px 12px; border-radius: 8px; background: #232b3c; font-size: 13px; overflow: hidden; }
.window .row::before { content: ""; position: absolute; inset: 0; width: var(--done, 0%); background: rgba(10, 132, 255, .22); }
.window .row.done::before { width: 100%; background: rgba(48, 209, 88, .18); }
.window .row span { position: relative; }
.window .row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid #222a3a; }
section.block h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; max-width: 22em; }
section.block > .wrap > p { color: #c7cfdc; max-width: 40em; margin: 0 0 32px; }

/* Three plain statements */
.claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.claims h3 { margin: 0 0 8px; font-size: 19px; }
.claims p { margin: 0; color: var(--muted); font-size: 16px; }
.claims svg { width: 28px; height: 28px; margin-bottom: 14px; color: var(--blue); }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #23304a; color: var(--blue); font: 700 16px var(--rounded); margin-bottom: 14px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* What comes over */
.lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.lists h3 { margin: 0 0 12px; font-size: 18px; }
.lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lists li { padding-left: 26px; position: relative; color: #c7cfdc; font-size: 16px; }
.lists li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.lists .stays li::before { background: #4a5468; }

/* Pricing as one comparison */
.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-window); overflow: hidden; }
.prices th, .prices td { text-align: left; padding: 22px 24px; vertical-align: top; border-bottom: 1px solid #262f42; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices th { width: 28%; font-size: 18px; }
.prices th small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; margin-top: 4px; }
.prices .amount { font: 700 30px/1 var(--rounded); white-space: nowrap; }
.prices .amount small { font: 400 14px var(--sans); color: var(--muted); }
.prices td.what { color: #c7cfdc; font-size: 15px; }
.prices td.go { text-align: right; white-space: nowrap; }
.prices tr.featured { background: #1f2a40; }

/* Questions */
details { border-bottom: 1px solid #262f42; padding: 18px 0; max-width: 46em; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: #c7cfdc; margin: 12px 0 0; font-size: 16px; }

footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; border-top: 1px solid #222a3a; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; }
footer nav a { color: var(--muted); }

/* Buy page */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 40px 96px; align-items: start; }
.buy h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 16px; }
.buy .summary p { color: #c7cfdc; }
.buy .item { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #262f42; }
.buy .item b { font: 700 28px var(--rounded); }
.buy .included { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: #c7cfdc; font-size: 15px; }
.buy .included li { padding-left: 24px; position: relative; }
.buy .included li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pay { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-window); padding: 26px; }
.pay label { display: block; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.pay input[type=email] {
  width: 100%; height: 44px; padding: 0 12px; border-radius: var(--radius-control); border: 1px solid #364057;
  background: #141b29; color: var(--ink); font: 16px var(--sans); margin-bottom: 18px;
}
.pay input[type=email]:focus { outline: 2px solid var(--blue); border-color: transparent; }
#payment { min-height: 180px; margin-bottom: 20px; }
.pay .button { width: 100%; }
.pay .message { margin: 14px 0 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.pay .message.error { color: #ff6961; }
.result { text-align: center; padding: 18px 0 6px; }
.result .check { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--green); }
.result .code { font: 700 30px var(--rounded); letter-spacing: .06em; background: #141b29; border: 1px dashed #3a4560; border-radius: 12px; padding: 14px; margin: 18px 0; user-select: all; }
.secure { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.secure svg { width: 14px; height: 14px; }

/* In the app's window: no site chrome */
body.in-app .top, body.in-app footer { display: none; }
body.in-app .buy { padding-block-start: 24px; }

@media (max-width: 900px) {
  .hero, .buy, .lists { grid-template-columns: 1fr; }
  .claims { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .prices th, .prices td { display: block; width: auto; padding: 14px 20px; border: 0; }
  .prices tr { display: block; border-bottom: 1px solid #262f42; padding: 8px 0; }
  .prices td.go { text-align: left; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 18px; }
  .steps { grid-template-columns: 1fr; }
  .window .heading { flex-wrap: wrap; }
  .window h2 { font-size: 20px; }
  .window .numbers { gap: 18px; }
  .window .numbers b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Additions: the brand image, the buy page's notes, the download notice */
.brand img { border-radius: 7px; }
.buy .fineprint { margin-top: 28px; font-size: 14px; color: var(--muted); }
.result h2 { margin: 0 0 8px; font-size: 24px; }
.result p { color: #c7cfdc; margin: 0; }
.notice { max-width: 640px; text-align: center; padding: 72px 28px 120px; }
.notice img { margin-bottom: 20px; }
.notice h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; margin: 0 0 16px; }
.notice p { color: #c7cfdc; margin: 0 auto 16px; max-width: 34em; }
.notice .button { margin-top: 12px; }
