:root {
  --ink: #1a2a32;
  --muted: #5a6b74;
  --line: #d5e0d5;
  --paper: #f7f4ef;
  --panel: #fffdf9;
  --brand: #0b5f63;
  --brand-deep: #084548;
  --accent: #b45309;
  --soft: #e4eef0;
  --ok: #0f766e;
  --shadow: 0 18px 40px rgba(26, 42, 50, 0.08);
  --radius: 18px;
  --brand-font: "Copperplate Gothic Light", Copperplate, "Cinzel", serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 8%, rgba(11, 95, 99, 0.14), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(180, 83, 9, 0.10), transparent 30%),
    linear-gradient(165deg, #f3efe7 0%, var(--paper) 45%, #eef4f4 100%);
  min-height: 100vh;
}

a { color: var(--brand); }
a:hover { color: var(--brand-deep); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid rgba(213, 224, 213, 0.9);
}

.site-header .inner,
.site-footer .inner,
.wrap {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-block {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-family: var(--brand-font);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover { text-decoration: underline; }

.hero {
  padding: 2.4rem 0 1.4rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--body);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: 1.45rem; margin-top: 1.8rem; }
h3 { font-size: 1.1rem; margin-top: 1.2rem; }

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid #d9e2dc;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}

@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-title {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.step-copy { color: var(--muted); font-size: 0.98rem; }

.qr-card {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(228, 238, 240, 0.7), transparent 40%),
    var(--panel);
}

.qr-frame {
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: 0.8rem auto 1rem;
  padding: 0.75rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d5e0d5;
  display: grid;
  place-items: center;
}

.qr-frame img,
.qr-frame canvas {
  width: 100%;
  height: auto;
  display: block;
}

.qr-caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.disclosure {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.legal-body {
  padding-bottom: 3rem;
}

.legal-body p,
.legal-body li {
  color: #24343c;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.site-footer {
  border-top: 1px solid #d5e0d5;
  margin-top: 1rem;
  background: rgba(255, 253, 249, 0.7);
}

.site-footer .inner {
  padding: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-stack {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.95rem;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  border: 1px solid #cfd9d4;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  font: inherit;
  background: #fff;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.94rem;
}

.consent input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--brand-deep); }

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.success {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: #e7f6f2;
  color: var(--ok);
  border: 1px solid #b7e0d6;
}

.success.show { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
