/* Sunovabit — shared site styles. Plain CSS, no build step. */
:root {
  --navy: #13213a;
  --navy-2: #1c2f52;
  --orange: #e0662b;
  --red: #c8102e;
  --gold: #e8b04a;
  --cream: #f7f1e6;

  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f3ede2;
  --text: #17202e;
  --muted: #5a6474;
  --line: #e4dccd;
  --accent: var(--orange);
  --accent-ink: #b44a16;

  --radius: 16px;
  --max: 1120px;
  --font-head: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1626;
    --surface: #14213a;
    --surface-2: #1a2a47;
    --text: #eef1f6;
    --muted: #a8b2c3;
    --line: #26385a;
    --accent-ink: #f08a55;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }
.bit { font-family: var(--font-mono); font-weight: 700; color: var(--orange); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .03em; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-panel { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.menu .menu-panel a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; border-radius: 8px; }
.menu .menu-panel a:hover { background: var(--surface-2); }
@media (max-width: 760px) { .nav { display: none; } .menu { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: currentColor; color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 72px 0; }
.eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.alt { background: var(--surface-2); }

/* Home hero */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; } }
.hero-mark { width: min(360px, 80%); margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(19,33,58,.25)); }
.hero h1 .bit { font-size: .95em; }

/* App cards */
.app-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.app-card .icon { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; }
.badge { display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge.live { background: #e6f6ec; color: #1c7a45; border-color: #bfe6cd; }

/* Roots */
.roots-list { display: grid; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
@media (min-width: 720px) { .roots-list { grid-template-columns: 1fr 1fr; } }
.roots-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.roots-list .dot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--navy); color: var(--gold); }

/* Product heroes */
.product-hero { padding: 64px 0; color: #fff; }
.product-hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .product-hero .wrap { grid-template-columns: 1.3fr 1fr; } }
.product-hero p.lead { color: rgba(255,255,255,.82); }
.product-hero .btn-ghost { color: #fff; }
.product-hero .eyebrow { color: var(--gold); }
.dentdog-hero { background: radial-gradient(ellipse at 50% -10%, #2a2018 0%, #14100b 60%); }
.dentdog-hero h1 span { color: #ff6a1a; }
.mow-hero {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 60px, rgba(0,0,0,.07) 60px 120px),
    linear-gradient(180deg, #2f7d32, #1f5a24);
}
.mow-hero h1 span { color: #ffd54a; }
.product-art { width: min(300px, 80%); margin: 0 auto; border-radius: 28%; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.feature h3 { display: flex; gap: 10px; align-items: center; }
.feature .ico { font-size: 1.4rem; }

/* Long-form text (policies, support) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.page-head { padding: 56px 0 8px; }
.note { border-left: 4px solid var(--gold); background: var(--surface-2); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--muted); }
details.faq { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--surface); margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq[open] summary { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { margin: 0 0 8px; color: var(--text); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
