:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --text: #111827;
  --muted: #5b6472;
  --line: #e3e8e6;
  --brand: #0f766e;
  --brand-dark: #0b5c56;
  --warn: #b45309;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.8em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 56px 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 0.9rem; margin: 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); box-shadow: inset 0 0 0 5px var(--brand), inset 0 0 0 8px #fff; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn) { display: none; }
@media (min-width: 720px) { .nav a:not(.btn) { display: inline; } }

.btn {
  display: inline-block; border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 600; font-size: 1rem;
  background: var(--brand); color: #fff !important; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-ghost:hover { background: var(--bg-soft); }

.hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 40px 0 24px; }
.hero-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; padding-top: 24px; } }
.ticks { list-style: none; padding: 0; margin: 16px 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.gen { display: grid; gap: 20px; }
@media (min-width: 640px) { .gen { grid-template-columns: 1fr 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.9rem; }
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
label { display: block; font-size: 0.85rem; color: var(--muted); margin: 8px 0; }
input[type=text], input[type=url], input[type=email], input[type=tel], textarea, select {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
input[type=color] { display: block; width: 100%; height: 40px; margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 2px; }
input[type=file] { display: block; margin-top: 4px; font-size: 0.85rem; max-width: 100%; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > label { flex: 1 1 120px; }
.design { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.design summary { cursor: pointer; font-weight: 600; }
.gen-preview { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#qr { width: 100%; max-width: 300px; aspect-ratio: 1; }
#qr canvas, #qr svg { width: 100% !important; height: auto !important; }
.warn { color: var(--warn); font-size: 0.85rem; margin: 0; }

.grid3 { display: grid; gap: 20px; }
@media (min-width: 800px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.feature p { color: var(--muted); margin: 0; }

.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; overflow-x: auto; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.compare thead th { background: var(--bg-soft); }

.signup { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 12px auto 6px; }
.signup input[type=email] { flex: 1 1 240px; margin: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); }

.plans { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price { font-size: 2.2rem; font-weight: 700; margin: 4px 0; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 400; }

.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p { color: #374151; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 32px 0; margin-top: 40px; }
.footer-grid { display: grid; gap: 24px; margin-bottom: 20px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { margin: 0 0 8px; font-size: 0.9rem; }
.site-footer a:not(.logo) { display: block; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin: 4px 0; }
