/* Vesta website. Colours come from the app icon (build/icon.svg in the Vesta
   repo): the navy background and the campfire's flame gradient. No web fonts
   or outside requests, so the site itself tracks nobody. */

:root {
  --bg: #10153a;
  --bg-deep: #0b0f2a;
  --panel: #182050;
  --panel-2: #1e2759;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0fa;
  --muted: #b0b7d8;
  --flame-hi: #ffd27a;
  --flame: #f9962f;
  --flame-lo: #ef5f2b;
  --radius: 16px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--flame-hi); }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 42, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--flame-hi), var(--flame) 55%, var(--flame-lo)); color: #1a1205; }
.btn-primary:hover { color: #1a1205; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(249, 150, 47, .3); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.25); }

/* Hero */
.hero {
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(249, 150, 47, .18), transparent 70%),
    linear-gradient(180deg, #2b3566, var(--bg) 70%);
  padding: 88px 0 72px;
  text-align: center;
}
.hero .logo { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 16px 48px rgba(0,0,0,.35); }
.eyebrow {
  display: inline-block; margin: 24px 0 12px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 210, 122, .35); color: var(--flame-hi); font-size: .85rem; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 auto 16px; max-width: 18ch; }
.hero p.lede { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .small { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 10px; line-height: 1.2; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(249, 150, 47, .14); color: var(--flame-hi);
}
.icon svg { width: 22px; height: 22px; }

/* Heat explainer */
.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.2; margin: 0 0 12px; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #1a1205;
  background: linear-gradient(180deg, var(--flame-hi), var(--flame-lo));
}
.checks li strong { display: block; }
.checks li span { color: var(--muted); }
.diagram { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.diagram svg { width: 100%; height: auto; display: block; }

/* Pricing */
/* Four plans: 4 across, 2 x 2, or stacked; never three plus one. */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan .name { font-weight: 700; font-size: 1.05rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 0; line-height: 1.1; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .allot { color: var(--flame-hi); font-weight: 600; margin: 6px 0 12px; }
.plan .fit { color: var(--muted); margin: 0; }
.plan.featured { border-color: rgba(255, 210, 122, .45); background: var(--panel-2); }
.price-notes { margin: 28px auto 0; max-width: 760px; color: var(--muted); font-size: .95rem; }
.price-notes p { margin: 0 0 10px; }
.notice {
  margin: 0 auto 32px; max-width: 760px; text-align: center; padding: 14px 18px; border-radius: 12px;
  background: rgba(249, 150, 47, .1); border: 1px solid rgba(249, 150, 47, .3);
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--flame-hi); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Contact */
.contact { text-align: center; }
.contact .mail { font-size: 1.3rem; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Policy pages */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 16px 72px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; line-height: 1.2; }
.prose .updated { color: var(--muted); margin: 0 0 32px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 8px; }
.prose p, .prose li { color: #d6dbf0; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.prose .summary p:last-child, .prose .summary ul:last-child { margin-bottom: 0; }
