@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ground: #F4F5F1;
  --card: #FFFFFF;
  --line: #E3E5DF;
  --line-strong: #D5D8D1;
  --ink: #16181A;
  --muted: #55595E;
  --accent: #1F5C4A;
  --accent-dark: #16473A;
  --accent-soft: #E6EFEA;
  --accent-on: #DCE9E3;
  --warm: #8A4F0E;
  --warm-soft: #F6EBDD;
  --danger: #A3261B;
  --radius: 16px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 600; }
h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40ch; margin: 20px 0 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font-family: var(--body); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #FFFFFF; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #7FB3A0; outline-offset: 2px;
}
.btn.secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: #ECEEE8; color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.step-num { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent); }
.step h3 { margin: 8px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Box preview (hero) */
.preview { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px -32px rgba(22, 24, 26, .35); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.preview-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.preview-item .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.preview-item strong { display: block; font-size: 15px; }
.preview-item span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Compare */
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 18px; background: #FAFBF8; }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--muted); font-size: 14px; width: 26%; }
.compare .us { color: var(--accent); font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* Pricing */
.price-card { background: var(--accent); color: #FFFFFF; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.price-card .amount { font-family: var(--display); font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--accent-on); }
.price-card .btn { background: #FFFFFF; color: var(--accent); align-self: flex-start; }
.price-card .btn:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: -2px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], textarea, select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  font-family: var(--body); font-size: 16px; color: var(--ink); background: #FFFFFF;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
fieldset { border: none; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #FFFFFF; font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.chip input:focus-visible + span { outline: 3px solid #7FB3A0; outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: minmax(0, 1fr); } }
.hidden-field { position: absolute; left: -9999px; }

.progress { display: flex; gap: 6px; margin: 0 0 24px; }
.progress span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.progress span.on { background: var(--accent); }
.step-panel[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.error { color: var(--danger); font-size: 14px; font-weight: 500; }

.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--warm-soft); border-radius: 14px; padding: 16px; font-size: 15px; }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* Legal */
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 32px 0 8px; }
.legal p, .legal li { color: #2E3135; }
