/* Ossavi marketing site. Same visual language as the app: dark, teal accent, dark ink on solid teal. */
:root {
  color-scheme: dark;
  --bg: #0a0d0d;
  --bg-2: #0f1414;
  --panel: #131a1a;
  --line: #1f2a2a;
  --line-2: #2b3838;
  --text: #e8eeed;
  --text-2: #a0adab;
  --text-3: #6b7a78;
  --teal: #14b8a6;
  --teal-2: #2dd4bf;
  --teal-soft: rgba(20, 184, 166, 0.14);
  --ink: #032b27;          /* text on solid teal */
  --ok: #3ecf8e;
  --warn: #f5b544;
  --bad: #ff5c72;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 650; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, filter .15s; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn.primary { background: linear-gradient(180deg, #2ccfbf, #0f9488); color: var(--ink); box-shadow: 0 8px 24px rgba(20, 184, 166, .28), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn.ghost:hover { border-color: #3d4d4d; background: rgba(255, 255, 255, .05); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 13, 13, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--teal); display: grid; place-items: center; flex: none; }
.mark svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2.6; }
.mark .dot { fill: var(--ink); stroke: none; }
.links { display: flex; gap: 22px; }
.links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 88px 40px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(700px 420px at 50% 30%, rgba(20, 184, 166, .22), transparent 70%), radial-gradient(500px 360px at 85% 10%, rgba(76, 179, 255, .10), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 65%); }
.hero > * { position: relative; z-index: 1; }
.hero-in { text-align: center; display: grid; justify-items: center; gap: 22px; margin-bottom: 56px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-2); }
h1 { padding-bottom: .08em; /* room for descenders under the gradient text */ font-size: clamp(38px, 6.2vw, 72px); line-height: 1.03; font-weight: 780; letter-spacing: -0.035em; max-width: 15ch;
  background: linear-gradient(180deg, #fff 30%, #bfeee7); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .hl { background: linear-gradient(180deg, var(--teal-2), var(--teal)); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--text-2); max-width: 60ch; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-trust { font-size: 14px; color: var(--text-3); }

/* screenshots in a window frame */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #0c1010; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(20, 184, 166, .06); }
.frame img { width: 100%; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0e1313; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #253030; }
.frame-bar span { margin: 0 auto; font: 12px var(--mono); color: var(--text-3); background: rgba(255,255,255,.03); border: 1px solid var(--line); padding: 3px 14px; border-radius: 7px; transform: translateX(-20px); }
.hero-shot { box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(20, 184, 166, .12), 0 0 120px rgba(20, 184, 166, .12); }

/* features */
.features { padding-block: 110px 40px; display: grid; gap: 110px; }
.section-h { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; font-weight: 750; margin-top: 10px; max-width: 22ch; }
.section-h.small { font-size: clamp(26px, 3vw, 36px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 740; }
.feature p { color: var(--text-2); font-size: 16.5px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 15.5px; }
.ticks a { color: var(--teal-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .35); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--teal-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.code { font-family: var(--mono); font-size: .88em; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 6px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin-right: 2px; white-space: nowrap; }
.pill.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill.close { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.pill.off { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }

/* the smaller features */
.more { padding-block: 80px; }
.grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); gap: 1px; }
.cell { background: var(--bg-2); padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }
.cell h4 { font-size: 16.5px; font-weight: 700; }
.cell p { color: var(--text-2); font-size: 15px; }

/* how it works */
.how { padding-block: 100px; background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps li { position: relative; padding: 26px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps li + li::before { content: ""; position: absolute; left: -21px; top: 46px; width: 20px; height: 1px; background: var(--line-2); }
.step-n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 750; color: var(--ink); background: var(--teal); }
.steps h3 { font-size: 20px; font-weight: 720; }
.steps p { color: var(--text-2); font-size: 15.5px; }

/* security */
.security { padding-block: 100px; }
.sec-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.sec-in .lede { margin-top: 18px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sec-list li { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); font-size: 15.5px; }
.sec-list strong { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }

/* pricing */
.pricing { padding-block: 40px 100px; }
.pricing .lede { margin-top: 18px; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; grid-template-rows: auto auto auto auto 1fr auto; }
.plan.featured { border-color: rgba(45, 212, 191, .45); background: radial-gradient(360px 200px at 50% 0%, rgba(20, 184, 166, .16), transparent 70%), var(--panel);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, .12), 0 20px 60px rgba(0, 0, 0, .35); }
.plan h3 { font-size: 20px; font-weight: 720; }
.plan-for { color: var(--text-2); font-size: 14.5px; min-height: 2.8em; min-height: 2lh; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.price .amt { font-size: 40px; font-weight: 780; letter-spacing: -0.03em; line-height: 1.1; }
.price .per { color: var(--text-2); font-size: 15px; }
.yearly { color: var(--text-3); font-size: 13.5px; }
.plan .ticks { margin: 10px 0 14px; align-content: start; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
.price-note { margin-top: 22px; color: var(--text-3); font-size: 14px; max-width: 80ch; }

/* request access */
.access { padding-block: 40px 110px; }
.access-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; padding: 56px; border-radius: 24px;
  border: 1px solid rgba(45, 212, 191, .22); background: radial-gradient(600px 320px at 15% 0%, rgba(20, 184, 166, .2), transparent 70%), var(--bg-2); }
.access-copy { display: grid; gap: 16px; }
.access h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 760; }
.access-copy > p { color: var(--text-2); }
.req-form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.req-form .opt { font-weight: 500; color: var(--text-3); }
.req-form input, .req-form select, .req-form textarea { width: 100%; font: 15.5px/1.4 var(--font); color: var(--text); background: #0b1010; border: 1px solid var(--line-2);
  border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.req-form textarea { resize: vertical; min-height: 104px; }
.req-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.req-form input::placeholder, .req-form textarea::placeholder { color: #566462; }
.req-form input:hover, .req-form select:hover, .req-form textarea:hover { border-color: #3a4a4a; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.req-form input:user-invalid, .req-form textarea:user-invalid { border-color: var(--bad); }
.req-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* thanks / error pages */
body.solo { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(700px 420px at 50% 0%, rgba(20, 184, 166, .18), transparent 70%), var(--bg); }
.solo-in { max-width: 520px; display: grid; gap: 18px; justify-items: start; }
.solo-h { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; font-weight: 760; margin-top: 18px; }
.solo-in .lede a { color: var(--teal-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.foot-in p { margin-right: auto; }
.foot-in a:not(.brand) { color: var(--text-2); text-decoration: none; }
.brand.small { font-size: 15px; color: var(--text); }
.brand.small .mark { width: 24px; height: 24px; border-radius: 7px; }
.brand.small .mark svg { width: 15px; height: 15px; }

/* legal pages (privacy.html, terms.html): a plain top bar and readable prose */
.legal-bar { border-bottom: 1px solid var(--line); }
.legal-bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.legal-bar a:not(.brand) { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.legal { max-width: 72ch; padding-block: 56px 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; font-weight: 760; margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 16.5px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal strong { color: var(--text); }
.legal a { color: var(--teal-2); }
.legal .summary { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 18px 20px; margin-bottom: 8px; }

/* narrower screens */
/* Five plans: three across until the two-column layout below takes over. */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .links { display: none; }
  .feature, .feature.flip, .sec-in, .access-in { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .steps li + li::before { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .nav-cta .btn.ghost { display: none; }
  .hero { padding-block: 56px 24px; }
  .hero-in { margin-bottom: 36px; }
  .features { gap: 80px; padding-block: 80px 24px; }
  .grid, .plans { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .frame-bar span { display: none; }
  .access-in { padding: 32px 20px; }
  .row2 { grid-template-columns: 1fr; }
  .req-form .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
