/* Relavynt public site (lane rv-marketing-site). On "/" the app's reset stylesheet is also
   loaded, so element rules here are written as `body <tag>` to outrank its bare-tag resets. */
:root {
  --brand: #102932; --brand-strong: #0a1c22; --brand-soft: #e3f5f0; --on-brand: #ffffff;
  --accent: #5fc7ae; --accent-soft: #e3f5f0; --link: #137a68;
  --soon: #b7791f; --soon-soft: #fff3df;
  --ink: #102932; --ink-2: #33505a; --muted: #5e757c;
  --bg: #ffffff; --bg-2: #f2f8f7; --surface: #ffffff; --line: #dce7e5;
  --shadow: 0 1px 2px rgba(16,41,50,.06), 0 8px 24px rgba(16,41,50,.08);
  --radius: 14px; --radius-sm: 10px; --wrap: 1160px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #5fc7ae; --brand-strong: #86dac5; --brand-soft: #143b3c; --on-brand: #102932;
    --accent: #5fc7ae; --accent-soft: #143b3c; --link: #7fd8c2;
    --soon: #f5b955; --soon-soft: #3a2c14;
    --ink: #edf6f4; --ink-2: #c2d7d3; --muted: #8eaaa6;
    --bg: #0b1d23; --bg-2: #102932; --surface: #14333c; --line: #23474f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #5fc7ae; --brand-strong: #86dac5; --brand-soft: #143b3c; --on-brand: #102932;
  --accent: #5fc7ae; --accent-soft: #143b3c; --link: #7fd8c2;
  --soon: #f5b955; --soon-soft: #3a2c14;
  --ink: #edf6f4; --ink-2: #c2d7d3; --muted: #8eaaa6;
  --bg: #0b1d23; --bg-2: #102932; --surface: #14333c; --line: #23474f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
body a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body a:hover { color: var(--brand); }
body h1, body h2, body h3, body h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
body h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
body h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; }
body h3 { font-size: 1.15rem; font-weight: 700; }
body p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.stack-lg > * + * { margin-top: 18px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font); padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 24px; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Badges */
.badge { display: inline-block; font: 700 .68rem/1 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; vertical-align: middle; }
.badge-soon { background: var(--soon-soft); color: var(--soon); }
.badge-early { background: var(--brand-soft); color: var(--brand-strong); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 800 1.25rem/1 var(--display); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-img { height: 40px; width: auto; display: block; }
.logo-img.logo-dark { display: none; }
:root[data-theme="dark"] .logo-img.logo-light { display: none; }
:root[data-theme="dark"] .logo-img.logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-img.logo-light { display: none; } :root:not([data-theme="light"]) .logo-img.logo-dark { display: block; } }
.nav { display: none; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .nav summary { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " \25BE"; font-size: .75em; }
.nav > a:hover, .nav summary:hover { background: var(--bg-2); color: var(--ink); }
.nav details { position: relative; }
.nav .menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.nav .menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav .menu a span { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.nav .menu a:hover { background: var(--bg-2); }
.header-cta { display: none; gap: 8px; margin-left: auto; }
.theme-btn { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink-2); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; }
.menu-toggle { display: inline-flex; }
@media (min-width: 1060px) {
  .nav { display: flex; } .header-cta { display: flex; } .menu-toggle { display: none; } .theme-btn { margin-left: 0; order: 9; }
}
@media (max-width: 1059px) {
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 66px; left: 0; right: 0; margin: 0; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 66px); overflow: auto; }
  .site-header.open .nav .menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; }
}

/* Hero */
.page-hero { padding: 48px 0 40px; background: radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 70%); }
.home-hero { padding: 64px 0 56px; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.eyebrow { display: inline-block; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; }
.trust-row span::before { content: "\2713  "; color: var(--brand); font-weight: 700; }
.hero-visual { min-width: 0; }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding: 8px 0 0; }
.section-alt { background: var(--bg-2); }
.section-intro { color: var(--ink-2); font-size: 1.08rem; max-width: 46em; margin-bottom: 28px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose ul, .summary ul { list-style: disc; } .prose ol { list-style: decimal; } .prose li { margin: .35em 0; }
.grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card p { color: var(--ink-2); margin-bottom: .6em; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); font-size: 1.3rem; margin-bottom: 12px; }
.card-linked { display: block; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.card-linked:hover { transform: translateY(-2px); border-color: var(--brand); color: inherit; }
.card-link { font-weight: 600; color: var(--brand); text-decoration: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-2); font-family: var(--display); }
.compare thead th:nth-child(2) { color: var(--brand); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; }
.quote blockquote { margin: 0 0 10px; font-size: 1.02rem; }
.quote figcaption { color: var(--muted); font-size: .85rem; }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font: 800 2.1rem/1.1 var(--display); color: var(--brand); }
.stat small { display: block; color: var(--muted); margin-top: 6px; font-size: .78rem; }
.summary { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: var(--radius); padding: 20px 24px; }
.summary-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-strong); margin-bottom: 8px; }
.summary ul { margin: 0 0 6px; padding-left: 1.2em; } .summary li { margin: .3em 0; }
.fineprint { color: var(--muted); font-size: .8rem; margin-top: 10px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; padding-right: 28px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--brand); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item > div { color: var(--ink-2); padding-top: 10px; }
.cta-band { background: radial-gradient(700px 260px at 85% 0%, rgba(95,199,174,.28), transparent 70%), linear-gradient(135deg, #102932, #173f48); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; } .cta-band p { color: rgba(255,255,255,.88); max-width: 40em; margin: 0 auto 22px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-primary { background: #5fc7ae; color: #102932; } .cta-band .btn-primary:hover { background: #86dac5; color: #102932; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 90px; background: var(--bg-2); }
.site-footer > .wrap:first-child { display: grid; gap: 32px; }
@media (min-width: 900px) { .site-footer > .wrap:first-child { grid-template-columns: 1fr 2.4fr; } }
.footer-brand p { color: var(--ink-2); max-width: 30em; margin-top: 12px; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-cols h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; } .footer-cols li { margin: 7px 0; }
.footer-cols a { color: var(--ink-2); text-decoration: none; font-size: .93rem; } .footer-cols a:hover { color: var(--brand); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .82rem; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); font-weight: 600; transform: translateY(140%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Demos */
.demo { container-type: inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-height: 120px; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: .85rem; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.demo-bar b { margin-left: 6px; color: var(--ink-2); }
.demo-body { padding: 16px; }
.demo-cols { display: grid; gap: 14px; }
@container (min-width: 600px) { .demo-cols { grid-template-columns: 1.1fr 1fr; } }
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 190px; max-height: 280px; overflow-y: auto; padding: 4px; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.45; }
.msg-user { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input, .demo input, .demo select, .demo textarea { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font: 500 .82rem/1 var(--font); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); }
.mic { width: 42px; flex: 0 0 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); cursor: pointer; font-size: 1.1rem; }
.mic.on { background: #d93a3a; color: #fff; border-color: #d93a3a; }
.record { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .9rem; background: var(--bg); }
.record h4 { margin: 0 0 6px; font-size: 1rem; }
.record .row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.record .row:last-child { border-bottom: 0; }
.record .row span:first-child { color: var(--muted); }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; font-size: .85rem; }
.timeline li { padding: 6px 0 6px 14px; border-left: 2px solid var(--brand-soft); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.dial-card { display: grid; gap: 10px; }
.dial-now { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 12px; background: var(--brand-soft); }
.dial-now b { font-size: 1.05rem; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); animation: pulse 1.2s infinite; flex: 0 0 12px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.queue { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.queue li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.queue li.done { color: var(--muted); }
.queue li .tag { font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--bg-2); white-space: nowrap; }
.queue li .tag.ok { background: var(--brand-soft); color: var(--brand-strong); }
.queue li .tag.no { background: #fde8e8; color: #a12626; }
.queue li .tag.vm { background: var(--soon-soft); color: var(--soon); }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.meter div { background: var(--bg-2); border-radius: 10px; padding: 10px 6px; }
.meter b { display: block; font: 800 1.4rem/1 var(--display); color: var(--brand); }
.meter span { font-size: .75rem; color: var(--muted); }
.plan { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: p; }
.plan li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--bg); }
.plan li::before { content: counter(p); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 800; font-size: .85rem; }
.plan small { display: block; color: var(--muted); }
.plan .mins { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.tool-out { white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .92rem; min-height: 120px; }
.form-grid { display: grid; gap: 10px; }
@container (min-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.result-big { font: 800 2rem/1.1 var(--display); color: var(--brand); }
.sig-pad { width: 100%; height: 150px; border: 2px dashed var(--line); border-radius: 12px; background: var(--bg); touch-action: none; cursor: crosshair; display: block; }
.doc { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .88rem; color: var(--ink-2); }
.doc h4 { color: var(--ink); }
.stamp { display: inline-block; border: 2px solid var(--brand); color: var(--brand); font-weight: 800; padding: 4px 10px; border-radius: 8px; transform: rotate(-4deg); }
.glasses-view { background: #0b1d23; color: #d9fff7; border-radius: 14px; padding: 18px; font: 500 .95rem/1.5 var(--font); min-height: 180px; position: relative; }
.glasses-view .hud { border: 1px solid rgba(95,199,174,.5); border-radius: 10px; padding: 12px; background: rgba(95,199,174,.08); }
.glasses-view small { color: #7fbdb2; }
