/* Fonts are served from our own origin, not from Google's CDN. Loading them
   from fonts.gstatic.com would send every visitor's IP address to Google
   before they have agreed to anything — which a German court (LG München I,
   20 Jan 2022, 3 O 17493/20) held to be a GDPR breach precisely because
   self-hosting is a readily available alternative. These are the latin
   subsets of the same variable fonts the apps use, ~24 KB and ~22 KB. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Palette and type mirror the shipped apps (client-app/master-app) so the
   site and the product read as one brand, not two. */
:root {
  --bg: #f8f5ee;
  --surface: #ffffff;
  --surface-soft: #efeae0;
  --ink: #182526;
  --text: #243131;
  --muted: #687270;
  --border: #ddd6ca;
  --primary: #16a37b;
  --primary-dark: #0e6f57;
  --mint: #ddf6ec;
  --urgent: #f36b3f;
  --urgent-soft: #ffe8de;
  --amber: #a66a00;
  --amber-soft: #fff0cf;
  --radius: 18px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo,
.btn {
  font-family: 'Space Grotesk', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--primary-dark);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.nav a:hover {
  background: var(--surface-soft);
}

.nav a.active {
  background: var(--ink);
  color: #fff;
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary);
}

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

.btn-ghost:hover {
  border-color: var(--primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* --- sections --- */
section {
  padding: 64px 0;
}

.hero {
  padding: 72px 0 56px;
}

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 10px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 28px;
}

.panel {
  background: var(--ink);
  color: #f2efea;
  border-radius: 24px;
  padding: 34px;
}

.panel h2,
.panel h3 {
  color: #fff;
}

.panel .eyebrow {
  color: var(--primary);
}

.panel .lead {
  color: #cfe2dc;
}

.panel .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.tint {
  background: var(--surface-soft);
}

/* --- price table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}

.price-table th {
  background: var(--surface-soft);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  overflow-x: auto;
}

/* --- steps --- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.step-body h3 {
  margin-bottom: 4px;
}

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

/* --- notice --- */
.notice {
  background: var(--amber-soft);
  border: 1px solid #e9ce8a;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.95rem;
  margin-top: 24px;
}

/* --- faq --- */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--ink);
}

details[open] summary {
  margin-bottom: 10px;
}

/* --- footer --- */
.site-footer {
  background: var(--ink);
  color: #cfd8d5;
  padding: 48px 0 34px;
  font-size: 0.93rem;
}

.site-footer a {
  color: #cfe2dc;
}

.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 7px;
}

.legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 30px;
  padding-top: 20px;
  color: #9aa8a4;
  font-size: 0.86rem;
}
