/* Vadlo website. Colours and radii follow the app (src/constants/theme.ts). No external requests: fonts are self-hosted. */

@font-face {
  font-family: "Hind Vadodara";
  src: url("fonts/HindVadodara-400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hind Vadodara";
  src: url("fonts/HindVadodara-700Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --canvas: #fbfaf6;
  --text: #1e2422;
  --muted: #5a625f;
  --line: #dad6cc;
  --accent: #1f6f6a;
  --accent-text: #ffffff;
  --accent-soft: #e3efec;
  --accent-soft-text: #16524e;
  --lineage: #f2a93b;
  --hero-a: #dcebef;
  --hero-b: #f4f2ec;
  --shadow: 0 10px 30px rgba(30, 36, 34, 0.12);
  --radius: 20px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141816;
    --surface: #1d2220;
    --canvas: #171b19;
    --text: #ecefec;
    --muted: #a9b1ad;
    --line: #343b38;
    --accent: #4fa89f;
    --accent-text: #0e1412;
    --accent-soft: #1f3532;
    --accent-soft-text: #a8dad3;
    --hero-a: #1b2a2b;
    --hero-b: #141816;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Hind Vadodara", system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", "Noto Sans Gujarati", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* 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; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { color: var(--muted); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--text); font-size: 16px; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: var(--accent-text); }
.nav .btn:hover { color: var(--accent-text); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none; border: 2px solid var(--accent); font-size: 16px; line-height: 1.3; }
.btn:hover { filter: brightness(1.08); }
.btn.outline { background: transparent; color: var(--accent); }
.btn.big { padding: 14px 26px; font-size: 18px; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); padding: 56px 0 24px; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } .hero { padding-top: 72px; } }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-soft-text); padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -0.01em; }
h1 .gu { display: block; color: var(--accent); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.hero-shots { display: flex; justify-content: center; gap: 0; position: relative; min-height: 420px; }
.phone { border-radius: 26px; box-shadow: var(--shadow); width: min(250px, 46vw); background: var(--surface); }
.hero-shots .phone:first-child { transform: translateY(24px) rotate(-3deg); position: relative; z-index: 1; }
.hero-shots .phone:last-child { transform: translateY(-12px) rotate(3deg) translateX(-18px); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--canvas); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 10px; }
.section-lead { color: var(--muted); font-size: 19px; max-width: 40em; margin: 0 0 36px; }
h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.3; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-soft-text); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 20px 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery img { flex: 0 0 auto; width: 260px; border-radius: 24px; box-shadow: var(--shadow); scroll-snap-align: center; }
@media (min-width: 1100px) { .gallery { justify-content: center; } }

/* Privacy band */
.band { background: var(--accent); color: var(--accent-text); border-radius: 28px; padding: 40px 28px; display: grid; gap: 24px; }
.band h2 { color: inherit; }
.band p { margin: 0; opacity: 0.92; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.band li { padding-left: 28px; position: relative; }
.band li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }
.band a { color: inherit; font-weight: 700; }
@media (min-width: 800px) { .band { grid-template-columns: 1fr 1fr; padding: 48px; } }

/* FAQ */
.faq { max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Final call to action */
.final { text-align: center; }
.final img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.final .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer p { margin: 0; }

/* Text pages (privacy, terms, support, delete account) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { margin: 8px 0; }
.doc ul, .doc ol { padding-left: 22px; }
.doc .card { margin: 18px 0; }
.doc .card h2 { border: 0; padding: 0; margin-top: 0; }
.doc .notice { background: var(--accent-soft); color: var(--accent-soft-text); border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.doc .notice a { color: inherit; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .skip { display: none; }
  body { background: #fff; color: #000; }
}
