:root {
  --accent: oklch(0.68 0.18 45);
  --ink: #111;
  --paper: #fafaf7;
  --mute: #666;
  --line: #e5e5e0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.accent { color: var(--accent); }

/* ─────────────────────────────────────────────
   Grid scaffolding — every row is a 6-column grid:
   80px gutter · 4 × 1fr · 80px gutter
   Cells flow left-to-right; specific positioning per section.
   ───────────────────────────────────────────── */
.row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr 1fr 80px;
  border-top: 1px solid var(--line);
}

.gutter-l {
  border-right: 1px solid var(--line);
  padding: 16px 8px;
  font-size: 11px;
  color: var(--mute);
  text-align: center;
}

.gutter-r {
  border-left: 1px solid var(--line);
}

.center { text-align: center; }

.section-tag {
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
}

.h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0;
}

.h2-big {
  font-size: 48px;
  letter-spacing: -2px;
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid transparent;
  transition: background 0.12s, color 0.12s;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper);
}
.btn-primary:hover { background: oklch(0.62 0.18 45); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  padding: 15px 28px;
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-block {
  display: block;
  width: 100%;
  border: none;
  margin-top: 8px;
  padding: 18px 24px;
}

/* ─────────────────────────────────────────────
   Navigation
   ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
  border-top: none;
  border-bottom: 1px solid var(--line);
}

.nav .gutter-l { padding: 16px 0; }

.nav .logo {
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  grid-column: 2 / 3;
}

.nav-links {
  padding: 16px;
  font-size: 13px;
  color: var(--mute);
  grid-column: 3 / 6;
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.12s;
}
.nav-links a:hover { color: var(--ink); }

.nav .gutter-r {
  padding: 16px 0;
  text-align: center;
  font-size: 11px;
  color: var(--mute);
}

/* ─────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────── */
.hero-title-row { border-top: none; }

.hero-title-row .gutter-l.vertical {
  font-size: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title-cell {
  grid-column: 2 / 6;
  padding: 80px 16px 40px;
}

.hero-h1 {
  font-size: clamp(56px, 9vw, 92px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -3px;
  margin: 0;
  text-transform: uppercase;
}

.hero-sub-row .gutter-l { border-right: 1px solid var(--line); }

.hero-lead {
  grid-column: 2 / 4;
  padding: 24px 16px;
  font-size: 15px;
  max-width: 400px;
  margin: 0;
}

.hero-cta {
  grid-column: 4 / 6;
  padding: 24px 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.figures-cell {
  grid-column: 2 / 6;
  padding: 16px;
}

.figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.figure-img {
  aspect-ratio: 1 / 1;
  background-position: center;
  background-size: cover;
  margin-bottom: 8px;
}

.figure-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--mute);
}

/* ─────────────────────────────────────────────
   About
   ───────────────────────────────────────────── */
.about-row .gutter-l { font-size: 10px; }

.about-title {
  grid-column: 2 / 3;
  padding: 48px 16px;
}

.about-body {
  grid-column: 3 / 5;
  padding: 48px 16px;
  border-left: 1px solid var(--line);
}
.about-body p { margin-top: 0; }
.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  grid-column: 5 / 6;
  padding: 48px 16px;
  border-left: 1px solid var(--line);
}
.about-stats dl { margin: 0; }
.about-stats .stat { margin-bottom: 24px; }
.about-stats .stat:last-child { margin-bottom: 0; }
.stat-n {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-l {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--mute);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   Pricing
   ───────────────────────────────────────────── */
.pricing-intro .gutter-l { font-size: 10px; }

.pricing-title {
  grid-column: 2 / 6;
  padding: 48px 16px;
}

.pricing-plans .gutter-l { border-right: 1px solid var(--line); }

.plan {
  padding: 32px 16px;
  border-left: 1px solid var(--line);
}
.plan:first-of-type { border-left: none; }

.plan-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--mute);
  margin-bottom: 20px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-top: 12px;
}

.plan-currency {
  font-size: 14px;
  color: var(--mute);
  font-weight: 400;
}

.plan-items {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.plan-items li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.plan-empty {
  grid-column: 5 / 6;
}

/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.faq-row .gutter-l { font-size: 10px; }

.faq-title {
  grid-column: 2 / 3;
  padding: 48px 16px;
}

.faq-list {
  grid-column: 3 / 6;
  margin: 0;
  border-left: 1px solid var(--line);
}

.faq-item {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  font-size: 14px;
  font-weight: 600;
}
.faq-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}

/* ─────────────────────────────────────────────
   Contact
   ───────────────────────────────────────────── */
.contact-row {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}
.contact-row .gutter-l {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
.contact-row .gutter-r {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
  grid-column: 2 / 4;
  padding: 64px 16px;
}

.contact-address {
  margin-top: 40px;
  font-size: 15px;
  line-height: 2;
  font-style: normal;
  display: flex;
  flex-direction: column;
}
.contact-address a { color: var(--paper); text-decoration: none; }
.contact-address a:hover { text-decoration: underline; }
.contact-address .muted { opacity: 0.7; }
.contact-address .spaced { margin-top: 16px; }

.contact-form-cell {
  grid-column: 4 / 6;
  padding: 64px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form .field { display: block; }
.contact-form label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 0;
  font-size: 14px;
  color: var(--paper);
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s;
}
.contact-form input:focus { border-bottom-color: var(--accent); }

/* ─────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  border-top: none;
}
.footer .gutter-l,
.footer .gutter-r { border-color: rgba(255, 255, 255, 0.1); }

.footer-text {
  grid-column: 2 / 6;
  padding: 16px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Responsive — collapse the strict Swiss grid on narrow screens
   ───────────────────────────────────────────── */
@media (max-width: 880px) {
  .row {
    grid-template-columns: 40px 1fr 40px;
  }
  .gutter-l { padding: 12px 4px; }

  /* Nav becomes simpler */
  .nav .logo { grid-column: 2 / 3; }
  .nav-links {
    grid-column: 1 / 4;
    grid-row: 2;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .nav .gutter-r { display: none; }

  /* Everything that spanned col 2-N now spans col 2 only */
  .hero-title-cell,
  .figures-cell,
  .pricing-title,
  .footer-text {
    grid-column: 2 / 3;
  }
  .hero-title-cell { padding: 48px 16px 24px; }
  .hero-h1 { letter-spacing: -1.5px; }

  .hero-lead,
  .hero-cta,
  .about-title,
  .about-body,
  .about-stats,
  .faq-title,
  .faq-list,
  .contact-info,
  .contact-form-cell,
  .plan {
    grid-column: 2 / 3;
    border-left: none !important;
  }

  .about-body,
  .about-stats,
  .faq-list,
  .contact-form-cell {
    border-top: 1px solid var(--line);
  }
  .contact-form-cell { border-top-color: rgba(255, 255, 255, 0.1); }

  .about-title,
  .about-body,
  .about-stats,
  .faq-title,
  .contact-info,
  .contact-form-cell,
  .pricing-title {
    padding: 32px 16px;
  }

  .about-stats dl {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
  }
  .about-stats .stat { margin-bottom: 0; }

  .figures {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-plans {
    grid-template-columns: 40px 1fr 40px;
  }
  .plan {
    border-left: none;
    border-top: 1px solid var(--line);
    grid-column: 2 / 3;
  }
  .plan:first-of-type { border-top: none; }
  .plan-empty { display: none; }

  .faq-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .hero-cta { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .figures { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 48px; letter-spacing: -1.5px; }
  .h2-big { font-size: 36px; letter-spacing: -1px; }
}
