:root {
  --paper: #f6f3ec;
  --card: #fffdf8;
  --ink: #16383b;
  --muted: #5c6e6f;
  --teal: #0f4c52;
  --teal-deep: #0b3a3e;
  --coral: #e15b48;
  --gold: #e2b23a;
  --sage: #e7f2ee;
  --line: #e4ddd2;
  --shadow: 0 16px 40px rgba(22, 56, 59, 0.08);
  --serif: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(226, 178, 58, 0.16), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 30;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow { width: min(720px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.brand span { color: var(--coral); }

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.menu a:hover,
.menu a:focus-visible {
  background: var(--card);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0 3.6rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  background: var(--teal);
  color: white;
}

.btn.primary:hover,
.btn.primary:focus-visible { background: var(--teal-deep); }

.btn.ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.btn.full { width: 100%; }

.btn:focus-visible,
input:focus-visible,
.menu a:focus-visible,
.download-card:focus-visible {
  outline: 3px solid rgba(225, 91, 72, 0.35);
  outline-offset: 2px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.trust-row span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 420px);
  background: transparent;
}

.section { padding: 3.5rem 0; }

.soft {
  background: rgba(255, 253, 248, 0.72);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.card,
.panel,
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.2rem 1.15rem 1.15rem;
}

.card p,
.step p { margin: 0; color: var(--muted); }

.icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  background: var(--sage);
  font-size: 1.15rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.step { padding: 1.15rem; }

.step strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--coral);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.privacy-box {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow);
}

.privacy-box p { margin-bottom: 0; color: #d7eeeb; }

.download-band {
  padding-bottom: 4rem;
}

.notice {
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #e7f3ec;
  color: #1d5c3a;
  border: 1px solid #c9e4d4;
}

.panel { padding: 1.4rem; }

.errors {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem 0.8rem 1.4rem;
  border-radius: 12px;
  background: #fdecea;
  color: #8d2e24;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

label {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input:not([type]) {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #d3cbc0;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.form-note,
.fine {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 7.5rem;
  padding: 1rem;
  text-decoration: none;
  background: var(--sage);
  border: 1px solid #cfe0da;
  border-radius: 16px;
}

.download-card:hover { background: #dff0ea; }

.download-card strong { font-size: 1.15rem; }

.download-card span { color: var(--muted); }

.missing {
  margin-top: 0.8rem;
  color: #8d2e24;
}

.legal {
  padding: 2.5rem 0 4rem;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.legal h2 { margin-top: 1.8rem; font-size: 1.35rem; }

.legal p,
.legal li { color: var(--muted); }

.legal ul { margin: 0.4rem 0 1rem; padding-left: 1.2rem; }

.legal a { color: var(--teal); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.6rem;
  color: var(--muted);
}

.footer-row,
.footer-row nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row a { text-decoration: none; }

.footer-row a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .hero,
  .split,
  .features,
  .steps { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .features,
  .field-row,
  .download-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1.6rem; }
  .panel { padding: 1rem; }
}
