/* Colours copied from the app's own theme.ts so the site and the app can't
   drift apart visually: red #F31111, near-black text #111114, muted #6B6B75,
   border #E3E3E7, white background. */
:root {
  --red: #F31111;
  --text: #111114;
  --muted: #6B6B75;
  --border: #E3E3E7;
  --surface: #F5F5F7;
  --bg: #FFFFFF;
  --success: #1F9D63;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.nav img { height: 34px; width: auto; display: block; }
/* The app name must appear as real TEXT, not only inside the logo image —
   Google's brand reviewer reads the page source and rejected the site when
   the name existed only as pixels in the logo. */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero p.tagline {
  color: var(--text);
  font-size: clamp(17px, 2.8vw, 22px);
  font-weight: 600;
  max-width: 640px;
  margin: 0 auto 18px;
}
.hero p.lede {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 640px;
  margin: 0 auto 28px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- sections ---------- */
section { padding: 52px 0; border-top: 1px solid var(--border); }
section h2 {
  font-size: clamp(21px, 3.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
section > .wrap > p { color: var(--muted); max-width: 640px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; }

.price-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.price {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 26px;
  min-width: 168px;
}
.price .amt { font-size: 27px; font-weight: 800; }
.price .lbl { color: var(--muted); font-size: 14px; }

/* ---------- legal pages ---------- */
.legal { padding: 46px 0 76px; }
.legal h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.legal h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 30px 0 8px;
}
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal p.intro { color: var(--muted); margin-bottom: 20px; }
.notice {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 54px;
  color: var(--muted);
  font-size: 14px;
}
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--text); }

a.mail { color: var(--red); font-weight: 700; text-decoration: none; }
a.mail:hover { text-decoration: underline; }

/* ---------- contact form ---------- */
.form { margin-top: 26px; max-width: 620px; }
.form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 6px;
}
.form .req { color: var(--red); }
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(243,17,17,0.12);
}
.form button {
  margin-top: 24px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 13px 30px;
  cursor: pointer;
}
.form button:hover { filter: brightness(0.93); }
.form button:disabled { opacity: 0.6; cursor: default; }

/* Honeypot — visually gone, still fillable by naive bots. Not display:none,
   which some bots specifically skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg { margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--red); }
