@font-face { font-family: Geist; src: url(fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geistmono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --tile: #f3f6f4;
  --text: #0d1210;
  --text-2: #5f6a65;
  --line: rgba(13, 18, 16, 0.08);
  --btn: #127a44;
  --btn-text: #ffffff;
  --btn-hover: #0e6638;
  --nav: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 60px -20px rgba(12, 42, 28, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  --wall: url(img/wall-light.svg) center / cover;
  --menubar: rgba(255, 255, 255, 0.42);
  --menubar-text: #0d1210;
  --radius: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --tile: #111513;
    --text: #f2f5f3;
    --text-2: #939d98;
    --line: rgba(255, 255, 255, 0.1);
    --btn: #22b163;
    --btn-text: #04170c;
    --btn-hover: #34c675;
    --nav: rgba(0, 0, 0, 0.7);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.14);
    --wall: url(img/wall-dark.svg) center / cover;
    --menubar: rgba(0, 0, 0, 0.32);
    --menubar-text: #f2f5f3;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav .nav-cta { transition: none; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 Geist, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
.lede, .statement p, .privacy p, .big { text-wrap: pretty; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 19px; letter-spacing: -0.05em;
}
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav nav a:not(.btn) { color: var(--text-2); transition: color .15s; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn); color: var(--btn-text);
  font-weight: 500; border-radius: 999px;
  transition: background .15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; }
.btn-sm { height: 30px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 17px; }
.nav-cta { max-width: 0; padding: 0; margin-left: -28px; overflow: hidden; white-space: nowrap; opacity: 0; pointer-events: none; transition: max-width .25s, padding .25s, margin .25s, opacity .2s; }
.scrolled .nav-cta { max-width: 120px; padding: 0 14px; margin-left: 0; opacity: 1; pointer-events: auto; }
.nw { white-space: nowrap; }

/* Hero */
.hero { text-align: center; padding: 88px 24px 0; }
.hero-icon { margin: 0 auto 28px; filter: drop-shadow(0 10px 20px rgba(12, 42, 28, .25)); }
h1 {
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: 0.98; letter-spacing: -0.055em;
}
.lede {
  max-width: 30em; margin: 24px auto 36px;
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.4; letter-spacing: -0.01em;
  color: var(--text-2);
}


/* A display showing the real panel at 1:1, under its menu bar icon */
.display {
  max-width: 1032px; margin: 72px auto 0; padding: 11px 11px 0;
  background: #0b0b0c; border-radius: 26px 26px 0 0;
  box-shadow: 0 0 0 1px #2b2c2e, 0 0 0 2px #0b0b0c, 0 40px 80px -30px rgba(12, 42, 28, .45);
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.screen {
  position: relative; height: 700px; overflow: hidden;
  border-radius: 15px 15px 0 0; background: url(img/desktop-light.svg) center / cover;
  text-align: left;
}
.menubar {
  height: 24px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--menubar);
  -webkit-backdrop-filter: blur(40px) saturate(160%); backdrop-filter: blur(40px) saturate(160%);
  color: var(--menubar-text);
  font: 400 13px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.menus { display: flex; gap: 20px; white-space: nowrap; overflow: hidden; }
.menus b { font-weight: 700; }
.extras { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.extra { display: grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 5px; }
.extra.is-open { background: rgba(255, 255, 255, .5); }
.clock { padding: 0 8px; }
.menu-panel { position: absolute; top: 30px; right: 72px; width: 360px; }
.menu-panel img { border-radius: 23px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 24px 60px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) {
  .extra.is-open { background: rgba(255, 255, 255, .2); }
  .menu-panel img { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 24px 60px rgba(0, 0, 0, .6); }
  .screen { background-image: url(img/desktop-dark.svg); }
  .display { background: #1c1d1f; box-shadow: 0 0 0 1px #3a3b3e, 0 40px 80px -30px rgba(0, 0, 0, .8); }
}

/* Statements: two-tone text instead of heading plus paragraph */
.statement, .privacy { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.statement { padding-top: 168px; }
.statement p { text-wrap: balance; margin: 0; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 600; }
.statement span, .privacy span, .big span { color: var(--text-2); }
.privacy { padding-top: 168px; text-align: center; max-width: 720px; }
.privacy p { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; }
.big { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 600; }

/* Update stage: big type beside the panel on the wallpaper */
.stage {
  max-width: 1032px; margin: 120px auto 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  min-height: 560px; padding: 64px 72px 0;
  border-radius: var(--radius); background: var(--wall); overflow: hidden;
}
.stage h2 { margin: 0; text-align: left; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -0.055em; color: #0c2a1c; align-self: flex-end; padding-bottom: 72px; }
@media (prefers-color-scheme: dark) { .stage h2 { color: #fff; } }
.shot { display: block; width: 360px; max-width: 100%; }
.shot img { border-radius: 23px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 24px 60px rgba(0, 0, 0, .25); }
.stage .shot { align-self: flex-end; }
.stage .shot img { border-radius: 23px 23px 0 0; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }

/* Two cards, picture first, one line under each */
.duo { max-width: 1032px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0; }
.card { margin: 0; padding: 0; }
.card-visual { display: grid; place-items: center; height: 340px; padding: 0 20px; border-radius: var(--radius); background: var(--tile); }
.rows { width: 300px; }
.rows img { border-radius: 14px; box-shadow: 0 0 0 .5px var(--line), 0 18px 40px rgba(0, 0, 0, .14); }
figcaption { padding: 18px 8px 0; color: var(--text-2); font-size: 17px; line-height: 1.45; text-wrap: pretty; }
figcaption b { color: var(--text); font-weight: 600; }

/* Select: picture left, statement right */
.split { max-width: 1032px; margin: 168px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .shot { justify-self: center; }
.split .shot img { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); border-radius: 23px 23px 0 0; }

/* Homebrew strip */
.tools { margin: 168px auto 0; text-align: center; }
.tools .big { padding: 0 24px; }
.marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.track span { padding: 12px 18px; border-radius: 14px; background: var(--tile); font: 500 15px/1 "Geist Mono", ui-monospace, monospace; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Release notes vignette, drawn in the system font so it reads like the app */
.notes {
  margin: auto 0; align-self: center; width: 100%; max-width: 360px;
  padding: 18px 20px 20px; border-radius: 16px;
  background: var(--bg); box-shadow: var(--shadow);
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.notes-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.notes-head b { display: block; font-size: 14px; font-weight: 600; }
.notes-head span { color: var(--text-2); }
.notes ul { margin: 0; padding: 0 0 0 26px; list-style: none; display: grid; gap: 8px; }
.notes li { position: relative; }
.notes li::before { content: ""; position: absolute; left: -15px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); }
.notes li.sec::before {
  left: -19px; top: .25em; width: 11px; height: 12px; border-radius: 0; background: #ff9500;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 0 1 4v7c0 6.2 4.3 11.4 10 13 5.7-1.6 10-6.8 10-13V4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 0 1 4v7c0 6.2 4.3 11.4 10 13 5.7-1.6 10-6.8 10-13V4z'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Pricing */
.pricing h2 { margin: 0 0 64px; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.05em; }
.pricing { max-width: 1080px; margin: 0 auto; padding: 160px 24px 120px; text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto 48px; text-align: left; }
.plan { padding: 40px; border-radius: var(--radius); background: var(--tile); }
.plan-pro { box-shadow: inset 0 0 0 2px var(--btn); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -0.02em; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: var(--btn); color: var(--btn-text); }
.price { margin: 18px 0 0; font-size: 48px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.plan ul { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 0.5px solid var(--line); display: grid; gap: 12px; }
.plan li { padding-left: 0; }



/* Small screens */
@media (max-width: 760px) {
  .nav nav { gap: 20px; }
  .nav-cta { margin-left: -20px; }
  .hero { padding-top: 56px; }
  .hero-icon { width: 72px; height: 72px; }
  .display { margin: 56px -8px 0; padding: 7px 7px 0; border-radius: 18px 18px 0 0; }
  .screen { height: 560px; border-radius: 11px 11px 0 0; }
  .menus span { display: none; }
  .extra:not(.is-open) { display: none; }
  .menu-panel { right: 50%; transform: translateX(50%); width: min(340px, calc(100% - 24px)); }
  .statement, .privacy { padding-top: 112px; }
  .stage { flex-direction: column; align-items: stretch; min-height: 0; padding: 40px 24px 0; margin: 80px 16px 0; gap: 32px; }
  .stage h2 { align-self: flex-start; padding-bottom: 0; }
  .stage .shot { align-self: center; }
  .duo, .split, .plans { grid-template-columns: 1fr; }
  .duo { padding: 0 16px; gap: 40px; }
  .card-visual { height: 280px; }
  .split { margin-top: 112px; gap: 40px; }
  .split .big { order: -1; }
  .tools { margin-top: 112px; }
  .pricing { padding-top: 112px; }
  h2 { margin-bottom: 40px; }
  .plan { padding: 32px 28px; }
}
