/* RyeeLabs site. One stylesheet, system fonts only (no third-party requests). */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f3f1ee;
  --text: #17151a;
  --muted: #5e5a63;
  --line: #e7e3df;
  --accent-1: #ff9a5a;
  --accent-2: #ff4f7b;
  --accent-3: #d62d8c;
  --accent: #e8386f;
  --accent-ink: #ffffff;
  --ok: #14b383;
  --violet: #6b4dff;
  --shadow: 0 1px 2px rgba(23, 21, 26, .05), 0 12px 32px -12px rgba(23, 21, 26, .18);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e12;
    --surface: #18171d;
    --surface-2: #211f27;
    --text: #f4f2f6;
    --muted: #a7a2ad;
    --line: #2c2a33;
    --accent: #ff5d86;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(100deg, var(--accent-1), var(--accent-2) 45%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3)); display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(232, 56, 111, .6); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(100deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3)); box-shadow: 0 10px 24px -10px rgba(232, 56, 111, .7); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--line); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.band { background: var(--surface-2); }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(255, 79, 123, .18), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(255, 154, 90, .16), transparent 70%); pointer-events: none; }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); max-width: 640px; margin-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--surface-2); color: var(--accent); }
.card .icon svg { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: 6px; vertical-align: middle; }

/* Product card on home */
.product { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.product img { width: 112px; height: 112px; }
.product h3 { font-size: 1.6rem; margin-bottom: 6px; }

/* RyeeCapture hero visual */
.stage { position: relative; aspect-ratio: 5 / 4; border-radius: 26px; background: linear-gradient(145deg, #ffe0cf, #ffd0de 50%, #f6c4ea); box-shadow: var(--shadow); overflow: hidden; }
@media (prefers-color-scheme: dark) { .stage { background: linear-gradient(145deg, #3a2230, #2d1b33 55%, #221a3a); } }
.stage .doc { position: absolute; left: 7%; top: 9%; width: 70%; background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 40px -18px rgba(60, 20, 50, .45); color: #222; font-size: .78rem; line-height: 1.9; }
.doc .bar { height: 9px; border-radius: 5px; background: #ececf1; margin: 6px 0; }
.doc .row { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.doc .mask { display: inline-block; height: 13px; border-radius: 3px; background: #1d1b22; }
.selection { position: absolute; left: 4%; top: 6%; width: 76%; height: 58%; border: 2px dashed rgba(255, 255, 255, .95); border-radius: 16px; box-shadow: 0 0 0 1px rgba(214, 45, 140, .5); }
.toast { position: absolute; right: 6%; bottom: 8%; width: min(78%, 330px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-radius: 18px; padding: 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 24px 48px -20px rgba(40, 10, 40, .55); color: #17151a; }
@media (prefers-color-scheme: dark) { .toast { background: rgba(32, 30, 38, .92); color: #f4f2f6; } }
.toast .thumb { width: 92px; height: 62px; border-radius: 10px; background: #fff; border: 1px solid #e6e4ea; padding: 8px; flex: none; }
.toast .thumb i { display: block; height: 5px; border-radius: 3px; background: #e4e2ea; margin-bottom: 5px; }
.toast .thumb i.k { background: #1d1b22; width: 60%; }
.toast strong { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.toast .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.toast .dot svg { width: 11px; height: 11px; }
.toast small { display: block; opacity: .7; font-size: .82rem; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .98rem; }
kbd { font: 600 .85em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card { padding: 0; overflow: hidden; }
.compare .label { padding: 14px 20px; font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.compare .body { padding: 20px; font: .95rem/2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.compare .mask { display: inline-block; vertical-align: middle; height: 1.05em; border-radius: 4px; background: var(--text); }
.pill-ok { color: var(--ok); }

/* Shelf mock */
.shelf { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.shelf .search { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.shelf .search b { color: var(--text); font-weight: 600; }
.shelf .item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.shelf .item.sel { background: color-mix(in srgb, var(--accent-2) 12%, transparent); }
.shelf .mini { height: 54px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); padding: 8px; }
.shelf .mini i { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 5px; }
.shelf .meta { font-size: .9rem; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf .meta b { color: var(--text); display: block; font-size: 1rem; }
.chip { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.keep { color: var(--accent); }
.shelf .keys { display: flex; flex-wrap: wrap; gap: 14px; padding: 14px 20px; font-size: .85rem; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 0; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; font-size: .97rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 18%, transparent); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 15px; width: 6px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan.best { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, var(--accent-1), var(--accent-2), var(--accent-3)) border-box; }
.plan .badge { position: absolute; top: -13px; left: 24px; background: linear-gradient(100deg, var(--accent-1), var(--accent-3)); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 22px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-1), var(--accent-3)); -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%); mask: radial-gradient(circle, #000 60%, transparent 61%); }

/* Legal / text pages */
.doc-page { padding: 64px 0 96px; }
.doc-page .wrap { max-width: 780px; }
.doc-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc-page h2 { font-size: 1.4rem; margin-top: 2em; }
.doc-page h3 { font-size: 1.1rem; margin-top: 1.4em; }
.doc-page ul { padding-left: 1.2em; }
.doc-page li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .95rem; }
.callout { background: var(--surface-2); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.todo { background: #fff3b0; color: #5a4600; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .todo { background: #4a3f00; color: #ffe680; } }

/* Founder and story */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.founder-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px 28px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.founder-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; background: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3)); opacity: .9; }
.monogram { position: relative; width: 132px; height: 132px; margin: 22px auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); background: var(--surface); border: 6px solid var(--surface); box-shadow: 0 10px 30px -12px rgba(214, 45, 140, .55); }
.founder-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.founder-role { color: var(--muted); margin: 2px 0 14px; }
.founder-card .tag { margin: 0; background: color-mix(in srgb, var(--accent-2) 14%, transparent); color: var(--accent); }
.big { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; }
.founder-teaser { grid-template-columns: 240px 1fr; }
.founder-teaser .monogram { width: 104px; height: 104px; font-size: 2rem; margin-top: 14px; }
.founder-teaser .founder-card::before { height: 86px; }
.pull { margin: 0 auto; max-width: 900px; text-align: center; }
.pull p { font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; font-weight: 750; letter-spacing: -0.025em; margin-bottom: 18px; }
.pull cite { font-style: normal; color: var(--muted); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.timeline li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.timeline li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; margin-bottom: 8px; background: linear-gradient(100deg, var(--accent-1), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline li.next { border-style: dashed; box-shadow: none; background: transparent; }
.timeline .step { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin: 4px 0 8px; }
.timeline p { font-size: .97rem; margin: 0; }
.cta { text-align: center; max-width: 760px; }
.cta h2 { margin-bottom: 10px; }
@media (max-width: 920px) {
  .founder, .founder-teaser { grid-template-columns: 1fr; gap: 32px; }
  .founder-card { max-width: 340px; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; } .founder-card { max-width: none; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--text); font-size: .9rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.legal-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .privacy-band { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .features, .plans { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: auto 1fr; }
  .product .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .wrap { padding: 0 16px; }
  .grid-3, .grid-2, .features, .plans, .compare, .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 0; }
  .nav a { padding: 6px 7px; font-size: .85rem; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; border-radius: 8px; font-size: .85rem; }
  .product { grid-template-columns: 1fr; }
  .product img { width: 88px; height: 88px; }
  .shelf .item { grid-template-columns: 64px 1fr; }
  .shelf .item .chip { display: none; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
