/* Sift site. Tokens from the Sift design system (Brand canvas). Flat colour, no gradient washes. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #FAF7F2; --linen: #F3EFE8; --card: #FFFFFF; --hair: #E8E2D8;
  --ink: #1E1A2B; --muted: #5A5568;
  --iris: #4A3FC9; --iris-link: #4A3FC9; --iris-cont: #E6E2FB; --on-iris-cont: #241B7A;
  --honey: #E9A93A; --honey-cont: #FFEFCF; --on-honey-cont: #6B4500;
  --coral: #DF6A4C; --coral-cont: #FBDDD3;
  --meadow: #2F8F5B; --meadow-cont: #DFF0E6; --on-meadow-cont: #0F5132;
  --chip: #EDE8E0;
  --shadow-rest: 0 1px 2px rgba(30,26,43,.06), 0 8px 24px -8px rgba(30,26,43,.14);
  --shadow-float: 0 2px 4px rgba(30,26,43,.05), 0 20px 48px -16px rgba(30,26,43,.26);
  --ease: cubic-bezier(.2,.9,.25,1.05);
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14111C; --linen: #1E1A2A; --card: #252031; --hair: #34303F;
    --ink: #F4F0E8; --muted: #B9B3C9;
    --iris: #6B60F0; --iris-link: #B6AFFF; --iris-cont: #2B2570; --on-iris-cont: #DAD6FF;
    --honey-cont: #3A2E12; --on-honey-cont: #F6D68F;
    --coral-cont: #4A2A22;
    --meadow-cont: #1B3A2A; --on-meadow-cont: #9ADBB8; --meadow: #4DB87F;
    --chip: #322D40;
    --shadow-rest: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
    --shadow-float: 0 2px 4px rgba(0,0,0,.3), 0 20px 48px -16px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--iris-link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--display); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 20; }
.skip:focus { left: 12px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 52ch; margin: 18px 0 0; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.site-head.stuck { border-bottom-color: var(--hair); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.brand svg { width: 30px; height: 30px; }
.site-head nav { display: flex; align-items: center; gap: 4px; }
.site-head nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.site-head nav a:not(.btn):hover { background: var(--linen); color: var(--ink); }
@media (max-width: 760px) { .site-head nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--iris); color: #fff; }
.btn-soft { background: var(--chip); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 28px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } .hero { padding: 56px 0 96px; } }
.hero h1 .l2 { color: var(--iris-link); display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.stage { position: relative; min-height: 440px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.b1 { width: min(440px, 90vw); aspect-ratio: 1; background: var(--iris-cont); }
.blob.b2 { width: 150px; aspect-ratio: 1; background: var(--honey-cont); right: 2%; top: 2%; }
.stage .cards { position: relative; width: min(100%, 372px); display: flex; flex-direction: column; gap: 10px; z-index: 1; }
.mascot { position: absolute; right: -6px; bottom: -64px; width: 120px; z-index: 2; }
@media (min-width: 940px) { .mascot { right: -30px; bottom: -58px; width: 140px; } }
.bob { animation: bob 6s ease-in-out infinite; }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes blink { 0%,93%,100% { transform: scaleY(1); } 95.5% { transform: scaleY(.1); } }

/* notification card */
.notif { background: var(--card); border-radius: 28px; padding: 14px 16px 16px; box-shadow: var(--shadow-float); display: grid; gap: 10px; color: var(--ink); animation: drop 600ms var(--ease) both; }
.notif.n2 { animation-delay: 140ms; padding-bottom: 14px; }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.n-top { display: flex; align-items: center; gap: 10px; }
.n-top svg { width: 24px; height: 24px; flex: none; }
.n-app { font-size: 13px; font-weight: 600; color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-timer { font-size: 12px; font-weight: 700; color: var(--on-honey-cont); background: var(--honey-cont); border-radius: 999px; padding: 4px 9px; display: inline-flex; align-items: center; gap: 5px; flex: none; }
.n-timer svg { width: 12px; height: 12px; }
.n-photo { position: relative; height: 150px; border-radius: 18px; overflow: hidden; }
.n-photo > svg { width: 100%; height: 100%; }
.n-title { font: 700 19px/1.15 var(--display); letter-spacing: -.01em; margin: 0; }
.n-sub { font-size: 13px; color: var(--muted); margin: 3px 0 0; font-weight: 500; }
.n-actions { display: flex; gap: 8px; }
.n-btn { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: var(--chip); color: var(--ink); font: 700 15px/1 var(--body); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: default; transition: transform .4s var(--ease); }
.n-btn.up { flex: 1.3; background: var(--iris); color: #fff; }
.n-btn.ghost { background: transparent; color: var(--iris-link); }
.n-btn svg { width: 16px; height: 16px; flex: none; }
.n-btn.pressed { transform: scale(.94); }
.n-stack { display: grid; }
.n-stack > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.n-done { opacity: 0; transform: translateY(8px); pointer-events: none; }
.notif[data-state="done"] .n-ask { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.notif[data-state="done"] .n-done { opacity: 1; transform: none; }
.n-chip { position: absolute; left: 10px; bottom: 10px; background: var(--meadow-cont); color: var(--on-meadow-cont); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px 5px 8px; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.n-chip svg { width: 16px; height: 16px; }
.n-chip path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.notif[data-state="done"] .n-chip { opacity: 1; transform: none; }
.notif[data-state="done"] .n-chip path { animation: draw .5s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thumbs { display: flex; gap: 6px; }
.thumbs span { flex: 1; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.thumbs span.dim { opacity: .45; }
.thumbs svg { width: 100%; height: 100%; }

/* sections */
section { scroll-margin-top: 72px; }
.band { padding: 72px 0; }
.band.linen { background: var(--linen); }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

/* steps */
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: var(--card); border-radius: 28px; padding: 26px 24px 28px; box-shadow: var(--shadow-rest); position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 16px; background: var(--iris-cont); color: var(--on-iris-cont); font: 800 22px/44px var(--display); text-align: center; margin-bottom: 16px; }
.step:nth-child(2) .num { background: var(--honey-cont); color: var(--on-honey-cont); }
.step:nth-child(3) .num { background: var(--meadow-cont); color: var(--on-meadow-cont); }
.step p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

/* features */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } .grid .wide { grid-column: span 2; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.feat { background: var(--card); border-radius: 24px; padding: 22px 22px 24px; box-shadow: var(--shadow-rest); display: flex; flex-direction: column; gap: 8px; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--iris-cont); color: var(--on-iris-cont); margin-bottom: 6px; }
.feat:nth-child(3n+2) .ic { background: var(--honey-cont); color: var(--on-honey-cont); }
.feat:nth-child(3n) .ic { background: var(--coral-cont); color: var(--coral); }
.feat .ic svg { width: 24px; height: 24px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.feat .demo { margin-top: auto; padding-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 6px 11px; background: var(--chip); color: var(--ink); }
.pill.i { background: var(--iris-cont); color: var(--on-iris-cont); }
.pill.m { background: var(--meadow-cont); color: var(--on-meadow-cont); }
.pill.h { background: var(--honey-cont); color: var(--on-honey-cont); }

/* compare */
.cmp { background: var(--card); border-radius: 28px; box-shadow: var(--shadow-rest); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 22px; }
.cmp thead th { font: 700 15px/1.3 var(--display); background: var(--linen); }
.cmp thead th:last-child { background: var(--iris-cont); color: var(--on-iris-cont); }
.cmp tbody th { font-weight: 700; width: 24%; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--hair); }
.cmp td { color: var(--muted); }
.cmp td:last-child { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead { display: none; }
  .cmp tr { padding: 16px 20px; }
  .cmp tbody tr + tr { border-top: 1px solid var(--hair); }
  .cmp tbody tr + tr > * { border-top: 0; }
  .cmp th, .cmp td { padding: 3px 0; width: auto !important; }
  .cmp td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
}
.cmp-note { color: var(--muted); font-size: 15px; margin: 18px 4px 0; max-width: 70ch; }

/* trust */
.trust { display: grid; gap: 16px; }
@media (min-width: 860px) { .trust { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.trust-main { background: var(--iris); color: #fff; border-radius: 32px; padding: 36px 32px; }
.trust-main h2 { color: #fff; }
.trust-main p { color: #E8E5FF; margin: 16px 0 0; max-width: 46ch; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-list li { background: var(--card); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow-rest); display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.trust-list .tick { width: 36px; height: 36px; border-radius: 12px; background: var(--meadow-cont); color: var(--on-meadow-cont); display: grid; place-items: center; }
.trust-list .tick svg { width: 20px; height: 20px; }
.trust-list b { display: block; font-family: var(--display); font-size: 17px; }
.trust-list span { color: var(--muted); font-size: 15px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-rest); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--iris-cont) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23241B7A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; transition: transform .4s var(--ease); }
@media (prefers-color-scheme: dark) { .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23DAD6FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .a { padding: 0 24px 22px; color: var(--muted); max-width: 66ch; }
.faq .a p { margin: 0; }
.faq .a p + p { margin-top: 10px; }

/* final cta */
.final { text-align: center; padding: 80px 0 96px; }
.final .mascot-sm { width: 120px; margin: 0 auto 8px; }
.final h2 { max-width: 16ch; margin: 0 auto; }
.final .cta-row { justify-content: center; }

/* footer */
.site-foot { border-top: 1px solid var(--hair); padding: 32px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* prose pages */
.prose { max-width: 700px; margin: 0 auto; padding: 40px 20px 72px; }
.prose h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -.03em; }
.prose h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); }
.callout { background: var(--iris-cont); color: var(--on-iris-cont); border-radius: 22px; padding: 18px 22px; margin: 22px 0; }
.callout p { color: inherit; margin: 0; }
.callout a { color: inherit; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 14px 0; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-rest); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 16px; }
.tbl th { background: var(--linen); font-family: var(--display); font-size: 14px; }
.tbl tr + tr > * { border-top: 1px solid var(--hair); }
@media (max-width: 560px) { .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; } .tbl thead { display: none; } .tbl tr { padding: 10px 14px; } .tbl td, .tbl th { padding: 2px 0; } .tbl tr + tr > * { border-top: 0; } .tbl tbody tr + tr { border-top: 1px solid var(--hair); } .tbl td:first-child { font-weight: 700; } }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.lost main { background: var(--card); border-radius: 32px; box-shadow: var(--shadow-float); padding: 36px 28px; max-width: 420px; width: 100%; }
.lost svg { width: 140px; margin: 0 auto 8px; }
.lost p { color: var(--muted); margin: 10px 0 24px; }

/* entrance on scroll */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
  .notif[data-state="done"] .n-chip path { stroke-dashoffset: 0; }
}
