/* Sift website. Light only. Tokens and sizes from the design handoff SPEC.md (Row W, 2026-12-05). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.3100e775e8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.34b9c504ca.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --page: #FFFFFF;
  --ink: #1C1E21;
  --ink2: #65676B;
  --placeholder: #A1A1A6;
  --control: #E4E6EB;
  --hairline: #E8E8E8;
  --primary: #1D1D1F;
  --on-primary: #FFFFFF;
  --error: #D93026;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 160px;
  --content: 1120px;
  --section-gap: 160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  padding: 8px 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Top bar ---------- */
.topbar {
  height: 72px; padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.topbar-links { display: flex; gap: 28px; }
.topbar-links a, .footer a, .footer p { font-size: 14px; letter-spacing: -0.005em; text-decoration: none; }
.topbar-links a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { width: 28px; height: 28px; }
.logo span { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.topbar-right { display: flex; justify-content: flex-end; }
.btn-quiet {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  background: var(--control); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; line-height: 18px;
}
.btn-quiet:hover { background: #DADDE3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; height: 44px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--on-primary); padding: 0 6px 0 20px; gap: 12px; }
.btn-primary:hover { background: #000; }
.btn-icon {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--primary);
  display: grid; place-items: center;
}
.btn-icon > * { grid-area: 1 / 1; }
.btn-secondary { background: var(--control); color: var(--ink); padding: 0 22px; }
.btn-secondary:hover { background: #DADDE3; }
.btn-primary:focus-visible { outline-offset: 3px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { padding-top: 128px; text-align: center; }
.hero h1 {
  max-width: 1000px; margin: 0 auto; padding: 0 16px;
  font-size: 84px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
}
.hero-sub { margin: 24px auto 0; padding: 0 16px; font-size: 20px; letter-spacing: -0.01em; line-height: 1.45; }
.hero-cta { margin-top: 48px; display: flex; justify-content: center; padding: 0 16px; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-join { width: 480px; max-width: 100%; text-align: left; overflow: hidden; }
.hero-join.is-opening { transition: height 220ms var(--ease), opacity 220ms var(--ease); }
.beta-line { margin-top: 16px; padding: 0 16px; font-size: 14px; letter-spacing: -0.005em; color: var(--ink2); }

.hero-panel {
  position: relative; margin: 96px auto 0; width: min(1280px, calc(100% - 160px)); aspect-ratio: 1280 / 780;
  border-radius: 28px; overflow: hidden;
  background: #8fbf6a url("/img/bg-hero-1280.b232e888d3.jpg") center / cover no-repeat;
  background-image: image-set(url("/img/bg-hero-1280.75c50aa820.webp") type("image/webp") 1x, url("/img/bg-hero-2560.58da188730.webp") type("image/webp") 2x, url("/img/bg-hero-1280.b232e888d3.jpg") type("image/jpeg") 1x);
  --map-x: 23.4375%; --map-y: 9.2308%; --map-w: 70.3125%;
  --note-x: 8.5938%; --note-y: 32.0513%; --note-w: 39.0625%;
}
.win {
  position: absolute; display: block; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 56px rgba(13, 38, 13, 0.18);
}
.win::after, .pic::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hairline); pointer-events: none;
}
.win img, .pic img { width: 100%; }
.win-map { left: var(--map-x); top: var(--map-y); width: var(--map-w); }
.win-note { left: var(--note-x); top: var(--note-y); width: var(--note-w); }

/* ---------- Sections ---------- */
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.05em; line-height: 1.05; }
.body { font-size: 17px; letter-spacing: -0.01em; line-height: 1.5; }
.row, .wide, .beta { width: min(var(--content), calc(100% - 80px)); margin: var(--section-gap) auto 0; }
.row { display: grid; gap: 80px; align-items: center; }
.row-right { grid-template-columns: minmax(0, 360fr) minmax(0, 680fr); }
.row-left { grid-template-columns: minmax(0, 680fr) minmax(0, 360fr); }
.row-small { grid-template-columns: minmax(0, 560fr) minmax(0, 360fr); padding: 0 60px; }
.row-text h2 + .body { margin-top: 24px; }
.soon { margin-top: 32px; }
.soon-head { display: flex; align-items: center; gap: 8px; }
.soon-name { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; margin-right: 2px; }
.soon-text { margin-top: 12px; font-size: 15px; letter-spacing: -0.005em; line-height: 1.5; }
.pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--control);
  font-size: 12px; font-weight: 500; line-height: 16px; color: var(--ink); white-space: nowrap;
}
.orb {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 32% 30%, #EEF7FF 0 18%, transparent 46%),
    radial-gradient(circle at 70% 75%, #2f7cf6 0 20%, transparent 62%),
    radial-gradient(circle at 50% 50%, #62c0ff 0, #12a8ff 55%, #2f7cf6 100%);
  box-shadow: inset 0 0 0 0.5px rgba(47, 124, 246, 0.35);
}

.panel { position: relative; overflow: hidden; border-radius: 28px; background: center / cover no-repeat; }
.pic { position: absolute; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); background: #fff; }
.pill-on { position: absolute; z-index: 2; }

.panel-notes {
  aspect-ratio: 680 / 560; background-color: #cfe5c8;
  background-image: url("/img/bg-notes-680.1f7c79a9fd.jpg");
  background-image: image-set(url("/img/bg-notes-680.3542db0749.webp") type("image/webp") 1x, url("/img/bg-notes-1360.60f48cbd6d.webp") type("image/webp") 2x, url("/img/bg-notes-680.1f7c79a9fd.jpg") type("image/jpeg") 1x);
}
.pic-note { left: 5.8824%; top: 7.1429%; width: 88.2353%; }
.pic-reply { left: 5.8824%; top: 70.1786%; width: 88.2353%; z-index: 1; }
.pin-notes { left: 7.6471%; top: calc(70.1786% - 12px); }

.panel-maps {
  aspect-ratio: 680 / 520; background-color: #e9cfb4;
  background-image: url("/img/bg-maps-680.a5926df3c3.jpg");
  background-image: image-set(url("/img/bg-maps-680.5d554a82f1.webp") type("image/webp") 1x, url("/img/bg-maps-1360.8a400681ec.webp") type("image/webp") 2x, url("/img/bg-maps-680.a5926df3c3.jpg") type("image/jpeg") 1x);
}
.pic-canvas { left: 5.8824%; top: 7.6923%; width: 111.7647%; }
.pic-bar { left: 25%; top: 64.0385%; width: 47.0588%; border-radius: 999px; z-index: 1; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1); }
.pin-maps { left: 73.8235%; top: calc(68.8462% - 12px); }

.wide-text { display: grid; grid-template-columns: minmax(0, 360fr) minmax(0, 680fr); gap: 80px; align-items: start; }
.wide-text .body { padding-top: 4px; }
.panel-library {
  margin-top: 48px; aspect-ratio: 1120 / 600; background-color: #f6dba7;
  background-image: url("/img/bg-library-1120.f71e4c5ac1.jpg");
  background-image: image-set(url("/img/bg-library-1120.d4da316979.webp") type("image/webp") 1x, url("/img/bg-library-2240.2f0a964e43.webp") type("image/webp") 2x, url("/img/bg-library-1120.f71e4c5ac1.jpg") type("image/jpeg") 1x);
}
.pic-gallery { left: 3.5714%; top: 6.6667%; width: 62.5%; }
.pic-space { left: 50%; top: 29.3333%; width: 46.4286%; z-index: 1; }

.panel-cards {
  aspect-ratio: 560 / 420; background-color: #b9ddd6;
  background-image: url("/img/bg-flashcards-560.81e62f7ee3.jpg");
  background-image: image-set(url("/img/bg-flashcards-560.594fb8a819.webp") type("image/webp") 1x, url("/img/bg-flashcards-1120.f127108505.webp") type("image/webp") 2x, url("/img/bg-flashcards-560.81e62f7ee3.jpg") type("image/jpeg") 1x);
}
.pic-deck { left: 7.1429%; top: 9.5238%; width: 85.7143%; }

/* Track and beta cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.card { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--hairline); overflow: hidden; }
.track { padding-bottom: 24px; }
.track-pic { position: relative; height: 240px; background: var(--tint); overflow: hidden; }
.track-pic .pic { left: 24px; top: 24px; width: 440px; border-radius: 10px; }
.track h3 { margin: 24px 24px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; }
.track p { margin: 4px 24px 0; font-size: 15px; letter-spacing: -0.005em; line-height: 1.45; }

.beta { padding-bottom: 160px; }
.steps { margin-top: 48px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 32px; }
.step-n {
  width: 28px; height: 28px; border-radius: 50%; background: var(--control);
  display: grid; place-items: center; font-size: 13px; font-weight: 500; line-height: 1; flex: none;
}
.step h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.step p { margin-top: 8px; font-size: 15px; letter-spacing: -0.005em; line-height: 1.35; }
.beta-note { margin-top: 48px; font-size: 15px; letter-spacing: -0.005em; color: var(--ink2); }

/* ---------- Bottom call to action and footer ---------- */
.cta {
  position: relative; min-height: 680px; padding: 128px 16px 0;
  display: flex; flex-direction: column; align-items: center;
  background: url("/img/bg-hills-1440.82e42c18d1.png") center bottom / 100% 280px no-repeat;
  background-image: image-set(url("/img/bg-hills-1440.257accc59d.webp") type("image/webp") 1x, url("/img/bg-hills-2880.50a25aa79f.webp") type("image/webp") 2x, url("/img/bg-hills-1440.82e42c18d1.png") type("image/png") 1x);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; }
.cta h2 { font-size: 60px; letter-spacing: -0.05em; line-height: 1; text-align: center; }
.cta .join { width: 480px; max-width: 100%; }
.cta-line { font-size: 14px; letter-spacing: -0.005em; text-align: center; }
.nojs-line { display: none; font-size: 15px; text-align: center; }
.no-js .nojs-line { display: block; }
.no-js .cta .join { display: none; }

.footer {
  margin-top: auto; width: min(var(--content), 100% - 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 0 36px;
}
.footer-privacy { justify-self: end; }
.footer a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

/* ---------- Email field and its states (W1.1, W4) ---------- */
.field {
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 6px 0 20px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 120ms ease;
}
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.join.is-error .field { box-shadow: inset 0 0 0 1.5px var(--error); }
.field-text { flex: 1; min-width: 0; display: flex; flex-direction: column; cursor: text; }
.field-label { font-size: 11.5px; line-height: 14px; color: var(--ink2); }
.field-input {
  width: 100%; border: 0; padding: 0; margin: 0; background: transparent; outline: none;
  font: inherit; font-size: 15px; letter-spacing: -0.005em; line-height: 20px; color: var(--ink);
}
.field-input::placeholder { color: var(--placeholder); opacity: 1; }
.field .btn:focus-visible { outline-offset: 2px; }
.join-msg { min-height: 0; padding: 0 20px; font-size: 13px; line-height: 1.4; }
.join-msg:not(:empty) { margin-top: 8px; }
.join.is-error .join-msg { color: var(--error); }
.join.is-note .join-msg { color: var(--ink2); }
.join-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--primary); border-right-color: transparent; display: none; }
.join.is-busy .i-arrow { display: none; }
.join.is-busy .spinner { display: block; animation: spin 700ms linear infinite; }
.join.is-busy .btn-primary { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.ts-slot:empty { display: none; }
.ts-slot { margin-top: 12px; display: flex; justify-content: center; }
.join-done {
  display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 16px 28px;
  border-radius: 39px; box-shadow: inset 0 0 0 1px var(--hairline); background: #fff; text-align: left;
  font-size: 15px; letter-spacing: -0.005em; line-height: 22px;
}
.join-done[hidden] { display: none; }
.join-done:focus { outline: none; }
.done-icon { flex: none; display: grid; }

/* ---------- Motion: fade in and rise 8px once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero-panel.reveal { transition-duration: 320ms; transition-delay: 60ms; }
}

/* ---------- Under 900px ---------- */
@media (max-width: 899px) {
  :root { --section-gap: 96px; }
  .topbar { height: 56px; padding: 0 16px; grid-template-columns: auto 1fr; }
  .topbar-links { display: none; }
  .topbar-logo { grid-column: 1; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 56px; max-width: 680px; }
  .hero-panel { margin-top: 48px; width: calc(100% - 48px); border-radius: 20px; }
  .row, .wide, .beta { width: calc(100% - 48px); }
  .row, .row-right, .row-left, .row-small { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0; }
  .row-left .panel { order: 2; }
  .row-text h2 + .body { margin-top: 16px; }
  .soon { margin-top: 16px; }
  .panel { border-radius: 20px; }
  .pic { border-radius: 10px; }
  .wide-text { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wide-text .body { padding-top: 0; }
  .panel-library { margin-top: 24px; }
  .cards { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .steps { margin-top: 24px; }
  .step { flex-direction: row; align-items: flex-start; gap: 16px; padding: 24px; }
  .step-n { margin-top: 0; }
  .beta { padding-bottom: 96px; }
  .beta-note { margin-top: 24px; }
  .cta { padding-top: 64px; }
}

/* ---------- Under 520px (W3) ---------- */
@media (max-width: 519px) {
  .hero h1 { font-size: 46px; padding: 0 16px; }
  .hero-sub { font-size: 17px; }
  .hero-cta { margin-top: 48px; }
  .hero-buttons { gap: 8px; }
  .beta-line { font-size: 13px; max-width: 300px; margin-left: auto; margin-right: auto; }
  .hero-panel {
    width: calc(100% - 32px); aspect-ratio: 358 / 380;
    --map-x: 13.4078%; --map-y: 7.3684%; --map-w: 92.1788%;
    --note-x: 4.4693%; --note-y: 38.9474%; --note-w: 64.2458%;
  }
  .win { border-radius: 8px; box-shadow: 0 12px 28px rgba(13, 38, 13, 0.18); }
  .row, .wide, .beta { width: calc(100% - 32px); }
  h2 { font-size: 28px; max-width: 320px; }
  .body { font-size: 16px; }
  .track-pic { height: 180px; }
  .step h3 { font-size: 17px; }
  .cta { min-height: 640px; padding: 64px 16px 0; align-items: stretch; background-size: auto 340px; background-position: 30% bottom; }
  .cta-inner { align-items: flex-start; gap: 24px; }
  .cta h2 { font-size: 34px; text-align: left; }
  .cta .join { width: 100%; }
  .cta-line { display: none; }
  .nojs-line { text-align: left; }
  /* Mobile field: input pill full width, the button below it, hugging its label. */
  .field { flex-direction: column; align-items: stretch; height: auto; padding: 0; gap: 16px; box-shadow: none; background: transparent; }
  .field-text { padding: 8px 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--hairline); }
  .field:focus-within { box-shadow: none; }
  .field:focus-within .field-text { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .join.is-error .field { box-shadow: none; }
  .join.is-error .field-text { box-shadow: inset 0 0 0 1.5px var(--error); }
  .field .btn { align-self: flex-start; }
  .join-msg { order: 0; }
  .join-done { border-radius: 24px; padding: 16px 20px; }
  .footer { width: 100%; grid-template-columns: 1fr; gap: 12px; padding-bottom: 28px; }
  .footer-privacy { justify-self: start; }
}

/* ---------- Privacy page ---------- */
.prose { width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: 96px 0 128px; }
.prose h1 { font-size: 60px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.prose-lead { margin-top: 24px; font-size: 20px; letter-spacing: -0.01em; line-height: 1.45; }
.prose h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.03em; }
.prose h2 + p { margin-top: 12px; }
.prose p { font-size: 17px; letter-spacing: -0.01em; line-height: 1.5; }
.prose a { text-decoration-color: rgba(28, 30, 33, 0.35); text-underline-offset: 3px; }
.prose-date { margin-top: 48px; color: var(--ink2); font-size: 15px !important; }
.footer-plain { margin: 0 auto; padding: 32px 0 36px; border-top: 1px solid var(--hairline); }
@media (max-width: 519px) {
  .prose { padding: 64px 0 96px; }
  .prose h1 { font-size: 46px; }
  .prose-lead { font-size: 17px; }
  .footer-plain { width: calc(100% - 32px); }
}

/* Painted backgrounds below the hero load when they come near (site.js adds .bg-on); without JS they load at once. */
.js .panel:not(.bg-on), .js .cta:not(.bg-on) { background-image: none !important; }
