/* RestroForge marketing site — shared styles. Tokens match the app (ink / magenta / gold on warm paper). */
:root {
  --bg: #fff8ee;
  --surface: #ffffff;
  --ink: #2b1020;
  --ink-2: #4a1235;
  --muted: #6e5a66;
  --gold: #f9b208;
  --gold-soft: #ffe9b3;
  --magenta: #c4125c;
  --magenta-soft: #fbe0eb;
  --green: #1f9d55;
  --green-soft: #dff5e7;
  --line: rgba(43, 16, 32, 0.10);
  --shadow: 0 10px 30px rgba(43, 16, 32, 0.10);
  --radius: 16px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  padding-inline: 20px;
}
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin-inline: auto; }
.section { padding-block: clamp(36px, 5.5vw, 64px); }
.section.tight { padding-block: clamp(32px, 5vw, 56px); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--gold) 0%, #e5342a 55%, var(--magenta) 100%); box-shadow: 0 8px 22px rgba(196, 18, 92, .28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(196, 18, 92, .36); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(43,16,32,.25); }
.btn-light { color: var(--ink); background: #fff; }
.btn.small { padding: 9px 16px; font-size: .9rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 238, .97); border-bottom: 1px solid var(--line); margin-inline: -20px; padding-inline: 20px; }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.nav .logo img { height: 30px; width: auto; }
.nav .links { display: flex; gap: 22px; margin-left: 8px; font-weight: 500; font-size: .95rem; }
.nav .links a { color: var(--ink); }
.nav .links a:hover { color: var(--magenta); text-decoration: none; }
.nav .spacer { flex: 1; }
.nav .cta { display: flex; gap: 10px; align-items: center; }
.nav .menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 40px; height: 40px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav .links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 14px; }
  .nav .links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.open .links { display: flex; }
  .nav .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav .cta .btn-ghost { display: none; }
}

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 64px); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--ink); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.shot .bar { height: 30px; background: #f4ece4; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6d8cf; display: block; }
.shot .bar span { margin-left: 10px; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } }

/* USP cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(43,16,32,.04); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--magenta-soft); color: var(--magenta); font-size: 22px; margin-bottom: 14px; }
.card.gold .icon { background: var(--gold-soft); color: #8a5b00; }
.card.green .icon { background: var(--green-soft); color: var(--green); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .soon { display: inline-block; margin-left: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a5b00; background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Tour */
.tour { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.tour .tabs { display: flex; flex-direction: column; gap: 6px; }
.tour .tab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); }
.tour .tab strong { display: block; font-weight: 600; }
.tour .tab span { display: block; font-size: .86rem; color: var(--muted); }
.tour .tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: 0 2px 10px rgba(43,16,32,.05); }
.tour .tab[aria-selected="true"] strong { color: var(--magenta); }
.tour .panel img { width: 100%; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour .tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; } .tour .tab { min-width: 190px; } }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 26px; }
.feature { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.feature .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-top: 2px; }
.feature b { display: block; font-weight: 600; }
.feature span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Dark band */
.band { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(249, 178, 8, .10); }
.band::after { content: ''; position: absolute; left: -80px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(196, 18, 92, .18); }
.band > * { position: relative; z-index: 1; }
.band .muted { color: #d9c7d0; }
.band .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.band .three h3 { color: var(--gold); }
.band .three p { color: #e9dbe2; font-size: .95rem; margin: 0; }
@media (max-width: 800px) { .band .three { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--magenta); box-shadow: 0 16px 40px rgba(196, 18, 92, .14); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan .name { font-weight: 700; font-size: 1.15rem; }
.plan .for { color: var(--muted); font-size: .9rem; min-height: 2.8em; }
.plan .price { margin: 14px 0 2px; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .93rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: '–'; color: #b9a8b2; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .soon { font-size: .78rem; color: #8a5b00; background: var(--gold-soft); padding: 3px 9px; border-radius: 999px; margin-left: 8px; font-weight: 600; }
.pricing-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.pricing-notes div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: .9rem; }
.pricing-notes b { display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .pricing-notes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing-notes { grid-template-columns: 1fr; } }

/* Compare */
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { background: #fbf3ea; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { font-weight: 500; }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: #b9a8b2; }
.table-scroll { overflow-x: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--magenta); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }

/* CTA + footer */
.cta-band { text-align: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; font-size: .88rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--ink); }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: .98rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf9; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(196,18,92,.12); }
.form .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.form .status { font-size: .92rem; margin-top: 12px; }
.form .status.ok { color: var(--green); font-weight: 600; }
.form .status.err { color: var(--magenta); font-weight: 600; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
