/* Nestly — landing page. Warm ivory surfaces, muted violet accent, peach/lavender/sky light. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* brand */
  --n-ivory: #FFFCF8; --n-cream: #FFF4E6; --n-peach: #FFB79A; --n-coral: #EE8A74;
  --n-lavender: #C7B8FF; --n-violet: #6F57E8; --n-sky: #A9D4FF;
  /* surfaces & ink */
  --bg: #FFFCF8;
  --bg-soft: #FBF6EF;
  --card: #F9F3EC;
  --card-2: #F1E9E0;
  --card-border: rgba(90,60,30,.08);
  --text: #221E1B;
  --text-2: #645C56;
  --text-3: #958B84;
  --line: rgba(70,45,20,.09);
  --accent: #6F57E8;
  --accent-2: #8C78F5;
  --accent-rgb: 111,87,232;
  --eyebrow: #7259E6;
  --orange: #D46A4C;
  --green: #2F9E62;
  --btn-ghost: #F1E9E0;
  --btn-ghost-hover: #E9DFD4;
  --art: #F3ECE4;
  --art-dot: rgba(90,60,30,.07);
  --kbd: #fff;
  --nav-bg: rgba(255,252,248,.76);
  --shadow-lg: 0 30px 80px -24px rgba(90,60,140,.28), 0 0 0 1px rgba(90,60,30,.06);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --r: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110F;
    --bg-soft: #18140F;
    --card: #1D1916;
    --card-2: #27211C;
    --card-border: rgba(255,240,225,.07);
    --text: #F7F1EA;
    --text-2: #B6ABA1;
    --text-3: #81776E;
    --line: rgba(255,240,225,.08);
    --accent: #9C88FF;
    --accent-2: #B4A5FF;
    --accent-rgb: 156,136,255;
    --eyebrow: #B9A8FF;
    --orange: #FF9E7E;
    --green: #4CCB86;
    --btn-ghost: #26201B;
    --btn-ghost-hover: #2F2822;
    --art: #191512;
    --art-dot: rgba(255,240,225,.05);
    --kbd: #26201B;
    --nav-bg: rgba(20,17,15,.74);
    --shadow-lg: 0 40px 100px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,240,225,.06);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1104px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em;
  padding: .12em .45em; margin: 0 .1em; border-radius: 6px; font: 600 .78em/1.35 var(--font);
  background: var(--kbd); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); color: var(--text);
  vertical-align: .08em;
}
em { font-style: normal; color: var(--text); }
.ico { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--font); letter-spacing: -.01em; padding: 13px 22px;
  transition: transform .16s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #8C78F5, #6F57E8);
  box-shadow: 0 8px 26px -6px rgba(var(--accent-rgb),.65), inset 0 1px 0 rgba(255,255,255,.25);
}
@media (hover: hover) { .btn-primary:hover { box-shadow: 0 12px 34px -6px rgba(var(--accent-rgb),.8), inset 0 1px 0 rgba(255,255,255,.25); } }
.btn-ghost { background: var(--btn-ghost); color: var(--text); }
@media (hover: hover) { .btn-ghost:hover { background: var(--btn-ghost-hover); } }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-lg { padding: 17px 28px; font-size: 17.5px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: 60px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand-icon { width: 26px; height: 26px; }
.brand-icon.sm { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(50,208,116,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(50,208,116,.55); } 70% { box-shadow: 0 0 0 7px rgba(50,208,116,0); } 100% { box-shadow: 0 0 0 0 rgba(50,208,116,0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 104px 0 72px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 0 auto; height: 560px; pointer-events: none;
  background: radial-gradient(34% 46% at 38% 34%, rgba(255,183,154,.30), transparent 70%), radial-gradient(34% 46% at 62% 30%, rgba(143,123,255,.24), transparent 70%);
  filter: blur(10px);
}
.hero-inner { position: relative; }
.hero-title {
  margin: 0 auto; font-size: clamp(46px, 8.4vw, 104px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em;
}
.ht-line { display: block; white-space: nowrap; }
.ht-line.dim { color: #A69C94; }
@media (prefers-color-scheme: dark) { .ht-line.dim { color: #6F665E; } }
.hero-icon { --nl-size: .86em; vertical-align: -.12em; margin: 0 .02em; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(.28em); filter: blur(10px); animation: wordIn .9s var(--ease-out) forwards; }
.hero-title .ht-line:first-child .w:nth-child(1) { animation-delay: .05s; }
.hero-title .ht-line:first-child .w:nth-child(2) { animation-delay: .14s; animation-name: iconIn; }
.hero-title .ht-line:first-child .w:nth-child(3) { animation-delay: .22s; }
.hero-title .ht-line.dim .w:nth-child(1) { animation-delay: .3s; }
.hero-title .ht-line.dim .w:nth-child(2) { animation-delay: .37s; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes iconIn {
  0% { opacity: 0; transform: translateY(.3em) scale(.6) rotate(-12deg); filter: blur(8px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 14px 34px rgba(98,92,255,.55)); }
}
.hero-lede { max-width: 640px; margin: 30px auto 0; font-size: 20px; line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-offer { margin: 30px 0 0; font-size: 14.5px; color: var(--text-2); }
.hero-offer b { color: var(--orange); font-weight: 600; }
.hero-fine { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.hero-demo { max-width: 1000px; margin-top: 64px; }
@media (max-width: 640px) { .hero-demo { margin-top: 44px; } }
.h-in { opacity: 0; transform: translateY(14px); animation: fadeUp .8s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats-wrap { padding: 72px 0 24px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); overflow: hidden;
}
.stats > div { padding: 30px 16px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stats b small { font-size: .6em; margin-left: 1px; }
.stats > div > span { font-size: 13.5px; color: var(--text-2); }

/* ---------- Feature sections ---------- */
.feature { padding: 112px 0 0; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--eyebrow); margin-bottom: 14px; letter-spacing: -.005em; }
.feature h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-copy p { color: var(--text-2); font-size: 17.5px; margin: 22px 0 0; }
.split-copy p + p { margin-top: 16px; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.center-head p { color: var(--text-2); font-size: 18px; margin: 22px auto 0; max-width: 640px; }

.ill-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 18px;
}
.ill-screen {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; padding: 22px;
  background:
    radial-gradient(60% 70% at 15% 8%, rgba(255,170,140,.85), transparent 60%),
    radial-gradient(70% 80% at 88% 18%, rgba(150,190,255,.7), transparent 65%),
    linear-gradient(160deg, #8A6CF0, #6F57E8 55%, #5B4BC9);
  color: #fff;
}

/* Search illustration */
.ill-search { display: flex; flex-direction: column; gap: 12px; }
.is-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.95); color: #1d1d1f; font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4), 0 0 0 3px rgba(255,255,255,.25);
}
.is-bar svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.is-text { white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 18px; background: var(--accent); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.is-label { font-size: 12px; font-weight: 600; opacity: .8; margin-top: 4px; }
.is-chips { display: flex; gap: 8px; flex-wrap: wrap; min-height: 32px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px);
}
.ill-search .chip { opacity: 0; transform: translateY(6px) scale(.92); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.ill-search .chip.on { opacity: 1; transform: none; }
.is-results { display: flex; flex-direction: column; gap: 6px; }
.is-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); font-size: 13.5px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.is-row.on { opacity: 1; transform: none; }
.is-row b { font-weight: 600; flex: 1; }
.is-row em { color: rgba(255,255,255,.75); font-size: 12.5px; }

/* File-type glyphs (tiny pages with a coloured label) */
.fi { position: relative; display: inline-block; width: 20px; height: 25px; border-radius: 3px; background: #fff; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.fi::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 8px; border-radius: 2px; background: #888; }
.fi.lg { width: 38px; height: 48px; border-radius: 5px; }
.fi.lg::after { height: 13px; bottom: 7px; }
.fi-pdf::after { background: #e5484d; }
.fi-mov::after { background: #e5468e; }
.fi-img::after { background: #7c5ce6; }
.fi-zip::after { background: #9a7b4f; }
.fi-dmg::after { background: #8a8a92; }
.fi-doc::after { background: var(--accent); }

/* Mini cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mcard, .pcard, .qcard {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 18px 18px 24px;
  transition: transform .35s var(--ease-out), border-color .25s;
}
@media (hover: hover) { .mcard:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb),.28); } }
.mcard h4, .pcard h4 { margin: 20px 4px 6px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.mcard p, .pcard p { margin: 0 4px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.mc-art {
  height: 130px; border-radius: 13px; display: grid; place-items: center; overflow: hidden; position: relative;
  background-color: var(--art);
  background-image: radial-gradient(var(--art-dot) 1px, transparent 1.2px); background-size: 14px 14px;
}
.mc-art.grad { background: linear-gradient(160deg, #8A6CF0, #6F57E8 55%, #5B4BC9); }
.tag-sm { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(50,208,116,.16); color: var(--green); }

.typo { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.typo-q { padding: 6px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); text-decoration: underline wavy rgba(229,72,77,.6); text-underline-offset: 4px; }
.typo-arrow { color: var(--text-3); }
.typo-hit { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; padding: 6px 10px 6px 8px; border-radius: 8px; border: 1px solid var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18); }
.typo-hit .fi { width: 13px; height: 16px; }
.typo-hit .fi::after { height: 5px; bottom: 3px; }

.doc-lines { width: 150px; padding: 14px; border-radius: 8px; background: #fff; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.doc-lines i { display: block; height: 6px; border-radius: 3px; background: #e4e4ea; }
.doc-lines i.short { width: 55%; }
.doc-lines i.hl { height: auto; font: 600 10.5px/1.3 var(--font); font-style: normal; color: #1d1d1f; background: #ffe58a; padding: 2px 4px; border-radius: 3px; }

.chip-edit { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.chip-edit .chip { background: rgba(var(--accent-rgb),.14); border-color: rgba(var(--accent-rgb),.35); color: var(--accent-2); }
.chip-edit .chip.off { text-decoration: line-through; opacity: .5; animation: chipOut 3.2s var(--ease-io) infinite; }
@keyframes chipOut { 0%,35% { opacity: 1; text-decoration-color: transparent; transform: none; } 55%,85% { opacity: .4; text-decoration-color: currentColor; transform: scale(.94); } 100% { opacity: 1; transform: none; } }

/* Clean illustration */
.ill-clean { display: flex; align-items: center; gap: 26px; }
.ring-box { position: relative; width: 150px; height: 150px; flex: none; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-bg { stroke: rgba(255,255,255,.18); }
.ring-fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s var(--ease-out); }
.ill-clean.in .ring-fg { stroke-dashoffset: 160; }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font-size: 22px; letter-spacing: -.02em; }
.ring-num span { font-size: 12px; opacity: .8; }
.clean-rows { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); font-size: 13.5px;
  opacity: 0; transform: translateX(10px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.ill-clean.in .cr { opacity: 1; transform: none; }
.ill-clean.in .cr:nth-child(2) { transition-delay: .08s; } .ill-clean.in .cr:nth-child(3) { transition-delay: .16s; } .ill-clean.in .cr:nth-child(4) { transition-delay: .24s; }
.cr b { flex: 1; font-weight: 600; }
.cr em { color: #fff; font-weight: 600; font-size: 13px; }
.cr-ic { width: 22px; height: 22px; border-radius: 7px; flex: none; }
.c-red { background: #ff6b6f; } .c-amber { background: #f2b134; } .c-blue { background: #5b93ff; } .c-pink { background: #ff7ab6; }

.dupe { display: flex; align-items: center; gap: 12px; position: relative; }
.dupe .eq { font-size: 22px; font-weight: 700; color: var(--text-3); }
.dupe .tag-sm { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.undo-pill { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.undo-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px -4px rgba(var(--accent-rgb),.7); }
.undo-btn.sm { padding: 5px 10px; font-size: 12px; }
.icloud { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-3); }
.icloud svg { width: 64px; }

/* Sources illustration */
.ill-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.src { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  transition: transform .3s var(--ease-out), background .2s; }
@media (hover: hover) { .src:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); } }
.src-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.src b { font-size: 14px; font-weight: 600; }
.src em { font-size: 12px; color: rgba(255,255,255,.75); }
.s-chatgpt .src-ic { background: #10a37f; } .s-gmail .src-ic { background: #ea4335; } .s-drive .src-ic { background: #1fa463; }
.s-canva .src-ic { background: #00c4cc; } .s-github .src-ic { background: #24292f; } .s-slack .src-ic { background: #611f69; }

/* Quick search panel illustration */
.qs-panel { border-radius: 14px; padding: 12px; background: var(--art); border: 1px solid var(--line); }
.qs-in { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; background: var(--card-2); font-weight: 500; }
.qs-in svg { width: 17px; height: 17px; color: var(--text-3); }
.qs-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 14px 4px 7px; }
.qs-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; background: var(--card-2); border: 1.5px solid transparent; margin-bottom: 6px; }
.qs-row.on { border-color: var(--accent); }
.qs-row div { flex: 1; display: flex; flex-direction: column; }
.qs-row b { font-size: 14px; font-weight: 600; }
.qs-row em { font-size: 12px; color: var(--text-3); }

/* Keys grid */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.kcol { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 22px 22px 14px; }
.kcol h5 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.krow { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14.5px; color: var(--text-2); }
.krow + .krow { border-top: 1px solid var(--line); }

/* Grid art */
.ocr { position: relative; }
.ocr-shot { width: 180px; padding: 12px; border-radius: 9px; background: #fff; color: #1d1d1f; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.ocr-l { font: 600 11.5px/1.3 ui-monospace, Menlo, monospace; }
.ocr-l.hl { background: rgba(var(--accent-rgb),.2); outline: 1.5px solid var(--accent); border-radius: 3px; padding: 1px 3px; }
.copied { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; gap: 4px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.similar { display: flex; gap: 8px; position: relative; padding-bottom: 6px; }
.ph { display: block; width: 58px; height: 58px; border-radius: 10px; background: linear-gradient(180deg, #ff9a6b, #c75ea8 55%, #5b4fe0); position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; background: #2b2e6e; border-radius: 50% 50% 0 0; }
.ph.p2 { filter: hue-rotate(-15deg) brightness(1.05); } .ph.p3 { filter: hue-rotate(10deg) brightness(.92); }
.similar .ph:first-child { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.similar .tag-sm { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.libtiles { display: grid; grid-template-columns: repeat(3, 70px); gap: 7px; }
.lt { font-size: 10.5px; font-weight: 700; padding: 18px 7px 6px; border-radius: 8px; }
.t-img { background: #ece6ff; color: #6a4fd8; } .t-vid { background: #ffe3ef; color: #d23c7f; } .t-mus { background: #fff0dc; color: #c8781c; }
.t-doc { background: #e3ecff; color: var(--accent); } .t-arc { background: #f3ece1; color: #8d6d3c; } .t-app { background: #e0f6e8; color: #23955a; }
.ql { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ql-win { padding: 8px; border-radius: 10px; background: rgba(127,127,140,.18); backdrop-filter: blur(8px); }
.ql-win .ph { width: 110px; height: 64px; }
.ws { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--card-2); }
.ws-tab { font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 7px; color: var(--text-2); }
.ws-tab.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.saved { width: 200px; display: flex; flex-direction: column; gap: 6px; }
.sv-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding: 7px 10px; border-radius: 8px; background: var(--card-2); }
.sv-row em { margin-left: auto; color: var(--text-3); }
.sv-ic { width: 12px; height: 14px; background: var(--accent); clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }
.xfer { width: 200px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.xf-row { width: 100%; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; }
.xf-row em { color: var(--green); font-size: 11.5px; }
.xf-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--card-2); overflow: hidden; }
.xf-bar i { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 3px; animation: xfer 2.6s var(--ease-io) infinite; }
@keyframes xfer { 0% { width: 0; } 70%,100% { width: 100%; } }
.music { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--card-2); font-size: 13px; font-weight: 600; }
.eqz { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eqz i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite alternate; }
.eqz i:nth-child(1) { animation-delay: -.2s; } .eqz i:nth-child(2) { animation-delay: -.6s; } .eqz i:nth-child(3) { animation-delay: -.4s; } .eqz i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.menubar-dl { width: 200px; }
.mb-strip { height: 22px; border-radius: 6px 6px 0 0; background: var(--card-2); display: flex; justify-content: flex-end; align-items: center; padding: 0 10px; }
.mb-ic { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.mb-menu { display: flex; flex-direction: column; padding: 6px; border-radius: 0 0 10px 10px; background: var(--bg); border: 1px solid var(--line); }
.mb-menu span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; padding: 5px 6px; border-radius: 6px; }
.mb-menu span:first-child { background: var(--accent); color: #fff; }
.mb-menu .fi { width: 11px; height: 14px; } .mb-menu .fi::after { height: 4px; bottom: 2px; }

/* Theme board */
.theme-board { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 18px; }
.tb-main { margin: 0; }
.tb-main img { border-radius: 12px; transition: opacity .3s var(--ease-out); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.tb-main figcaption, .tb-thumb span { font-size: 13px; color: var(--text-2); text-align: center; margin-top: 10px; font-weight: 500; }
.tb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.tb-thumb { background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; transition: transform .2s var(--ease-out); }
.tb-thumb:active { transform: scale(.96); }
.tb-thumb img { border-radius: 8px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.tb-thumb.is-on img { outline-color: var(--accent); }
.tb-thumb span { margin-top: 6px; font-size: 12px; }

/* Compare */
.table-hint { display: none; }
@media (max-width: 600px) { .table-hint { display: block; text-align: right; font-size: 13px; color: var(--text-2); margin: 0 4px 8px; } }
.table-wrap { max-width: 860px; margin: 0 auto; border-radius: var(--r); border: 1px solid var(--card-border); background: var(--card); overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.compare th.hl { color: var(--accent-2); }
.compare td:first-child { font-weight: 600; }
.compare td:not(:first-child) { color: var(--text-2); }
.compare .hl { background: rgba(var(--accent-rgb),.07); }
.compare td.hl { color: var(--text); }
.compare .ok { width: 16px; height: 16px; color: var(--green); vertical-align: -3px; margin-right: 6px; }
.compare .no { color: var(--text-3); }
.table-note { text-align: center; font-size: 14px; color: var(--text-3); margin: 22px 0 0; }

/* Privacy + quotes */
.pcard { padding: 26px; }
.pc-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(var(--accent-rgb),.12); color: var(--eyebrow); }
.pc-ic svg { width: 21px; height: 21px; }
.pcard h4 { margin: 18px 0 8px; } .pcard p { margin: 0; }
.qcard { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.qcard p { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; }
.qcard cite { font-style: normal; font-size: 13.5px; color: var(--text-3); margin-top: auto; }

/* Pricing */
.price-card { max-width: 440px; margin: 0 auto; padding: 30px 28px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow-lg); text-align: center; }
.pc-head { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.pc-app { width: 46px; height: 46px; }
.pc-head b { display: block; font-size: 17px; }
.pc-head span { font-size: 13.5px; color: var(--text-2); }
.pc-price { margin-top: 26px; display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.pc-price .amt { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; transition: transform .35s var(--ease-out); }
.pc-price .per { font-size: 17px; color: var(--text-3); }
.pc-sub { margin: 10px 0 0; font-size: 14px; color: var(--orange); }
.plan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.plan { position: relative; padding: 14px 8px 12px; border-radius: 14px; background: var(--card-2); border: 1.5px solid transparent; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, transform .16s var(--ease-out); }
.plan:active { transform: scale(.97); }
.plan b { font-size: 19px; }
.plan span { font-size: 12.5px; color: var(--text-2); }
.plan.is-on { border-color: var(--accent); background: rgba(var(--accent-rgb),.08); }
.plan-badge { position: absolute !important; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10.5px !important; font-weight: 700; color: #fff !important; padding: 2px 8px; border-radius: 999px; background: var(--accent); }
.plan-tiles.seats { grid-template-columns: repeat(3, 1fr); }
.plan-tiles.seats .plan-badge { white-space: nowrap; }
.pc-price .was { font-size: 24px; font-weight: 600; color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 2px; align-self: center; }
.pc-price .was[hidden] { display: none; }
/* Launch ladder: $9 → $13 → $19, the live step highlighted, sold-out steps struck. */
.ladder { max-width: 440px; margin: 0 auto 18px; }
.ladder-steps { display: flex; align-items: stretch; gap: 6px; }
.lstep { flex: 1; padding: 10px 6px; border-radius: 14px; border: 1.5px dashed var(--line); text-align: center; display: flex; flex-direction: column; gap: 2px; transition: border-color .25s, background-color .25s; }
.lstep b { font-size: 18px; letter-spacing: -.02em; }
.lstep span { font-size: 12px; color: var(--text-3); }
.lstep.is-now { border: 1.5px solid var(--accent); background: rgba(var(--accent-rgb),.08); }
.lstep.is-now span { color: var(--accent-2); font-weight: 600; }
.lstep.is-past { opacity: .5; }
.lstep.is-past b { text-decoration: line-through; }
.lstep-arrow { align-self: center; width: 10px; height: 10px; border-top: 2px solid var(--text-3); border-right: 2px solid var(--text-3); transform: rotate(45deg); flex: none; opacity: .6; }
.ladder-meter { margin-top: 12px; }
.ladder-meter[hidden] { display: none; }
.lm-bar { height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.lm-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .9s var(--ease-out); }
.lm-text { margin: 8px 0 0; font-size: 13px; color: var(--text-2); text-align: center; }
.lm-text b { color: var(--orange); }
@media (max-width: 420px) { .plan-tiles.seats .plan-badge { font-size: 9.5px !important; } .pc-price .amt { font-size: 54px; } }
.pc-list { list-style: none; padding: 0; margin: 22px 0 24px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); animation: fadeUp .4s var(--ease-out) both; }
.pc-list li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.pc-try { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--accent-2); text-decoration: none; font-weight: 500; }
.pc-try:hover { text-decoration: underline; }
.pc-fine { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--text-3); }

/* FAQ */
.faq-title { margin-bottom: 30px !important; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; margin-top: -.8px; background: var(--text-3); border-radius: 1px; transition: transform .3s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--text-2); font-size: 16px; max-width: 680px; }
.faq details[open] p { animation: fadeUp .35s var(--ease-out); }

/* Final CTA */
.finalcta { padding: 150px 0 120px; text-align: center; }
.fc-icon { --nl-size: 96px; display: block; margin: 0 auto; }
#organize .cards3 { margin-top: 40px; }
.finalcta h2 { margin: 26px 0 0; font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -.04em; line-height: 1.05; font-weight: 800; }
.finalcta p { color: var(--text-2); margin: 16px 0 30px; font-size: 18px; }
.finalcta-sub { display: block; margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-links { margin-left: auto; display: flex; gap: 22px; font-size: 13.5px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Page toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80;
  padding: 11px 18px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .cards3, .grid3, .keys { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-note { display: none; }
  .hero { padding: 72px 0 48px; }
  .hero-lede { font-size: 17.5px; }
  .ht-line { white-space: normal; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards3, .grid3, .keys { grid-template-columns: 1fr; }
  .feature { padding-top: 84px; }
  .ill-clean { flex-direction: column; }
  .ill-sources { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; flex-wrap: wrap; gap: 10px 18px; }
  .btn-lg { padding: 15px 22px; font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .h-in, .hero-title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Nestly components placed in half-width slots stack internally — reserve their real height */
@media (min-width: 641px) { .split-media nestly-search-demo { min-height: 518px; } }

/* Downloaded From */
@media (min-width: 921px) { #sources .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; } }
.src-note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px !important; color: var(--text-3) !important; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 26px !important; }
.src-note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green); }
