/* Gastline – Website. Farben und Schrift wie in der App (src/app/globals.css). */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  --bg: oklch(0.982 0.003 264);
  --surface: oklch(1 0 0);
  --ink: oklch(0.21 0.025 266);
  --ink-2: oklch(0.44 0.025 266);
  --ink-3: oklch(0.58 0.02 266);
  --line: oklch(0.912 0.009 266);
  --line-2: oklch(0.87 0.012 266);

  --brand: oklch(0.43 0.15 268);
  --brand-hover: oklch(0.38 0.15 268);
  --brand-soft: oklch(0.948 0.018 268);
  --brand-ink: oklch(0.32 0.1 268);
  --night: oklch(0.205 0.055 268);
  --night-2: oklch(0.255 0.06 268);
  --night-line: oklch(0.34 0.05 268);
  --night-ink: oklch(0.86 0.02 268);

  --warm: oklch(0.8 0.13 80);
  --warm-soft: oklch(0.96 0.04 85);
  --free: oklch(0.66 0.13 160);
  --free-soft: oklch(0.95 0.04 160);
  --soon: oklch(0.76 0.14 75);
  --busy: oklch(0.6 0.17 27);
  --blocked: oklch(0.72 0.01 266);

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px oklch(0.21 0.025 266 / 0.06);
  --shadow: 0 1px 2px oklch(0.21 0.025 266 / 0.05), 0 8px 24px -8px oklch(0.21 0.025 266 / 0.12);
  --shadow-lg: 0 2px 4px oklch(0.21 0.025 266 / 0.04), 0 24px 60px -20px oklch(0.25 0.08 268 / 0.35);

  --wrap: 1160px;
  --gutter: 20px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-hover);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.15) inset, 0 6px 16px -6px oklch(0.43 0.15 268 / 0.6);
}

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

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

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

.btn-light {
  background: #fff;
  color: var(--night);
}

.btn-light:hover {
  background: var(--brand-soft);
  color: var(--night);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.982 0.003 264 / 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.menu {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: oklch(0.21 0.025 266 / 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .login {
  padding: 8px 12px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.header-actions .login:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-open .menu-toggle .icon-open {
  display: none;
}

.menu-open .menu-toggle .icon-close {
  display: block;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
  }

  .menu-open .site-header {
    background: var(--bg);
    border-bottom-color: var(--line);
  }

  .menu-open .menu {
    position: fixed;
    inset: 68px 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px oklch(0.21 0.025 266 / 0.25);
  }

  .menu-open .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .menu-open .nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    color: var(--ink);
  }

  .menu-open .header-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .menu-open .header-actions .btn {
    min-height: 50px;
  }

  .menu-open .header-actions .login {
    text-align: center;
    font-size: 16px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
}

.section-tight {
  padding: 80px 0;
}

.section-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
}

.section-head p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 19px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto 30%;
  height: 900px;
  background: radial-gradient(closest-side, oklch(0.85 0.08 268 / 0.55), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -20%;
  width: 700px;
  height: 600px;
  background: radial-gradient(closest-side, oklch(0.93 0.07 80 / 0.6), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero .lead {
  max-width: 38em;
  margin: 24px auto 0;
  color: var(--ink-2);
  font-size: clamp(18px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 0 24px;
  font-size: 17px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 15px;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts .icon {
  width: 17px;
  height: 17px;
  color: var(--free);
  stroke-width: 2.4;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.7);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.pill-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.pill-dot .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

/* Product illustration in the hero */

.demo {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: end;
  max-width: 1080px;
  margin: 72px auto 0;
  text-align: left;
}

.demo .app-window {
  grid-column: 2;
  grid-row: 1;
}

.demo .call-card {
  grid-column: 1;
  grid-row: 1;
  margin: 0 -56px -36px 0;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.975 0.004 266);
}

.app-dots {
  display: flex;
  gap: 6px;
}

.app-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line-2);
}

.app-url {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  text-align: center;
}

.app-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 360px;
}

.app-side {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: oklch(0.985 0.004 266);
}

.app-side .side-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
}

.app-side .side-logo svg {
  width: 22px;
  height: 22px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.side-item .icon {
  width: 15px;
  height: 15px;
}

.side-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.app-main {
  padding: 16px 18px 18px;
}

.app-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.app-main-head strong {
  font-size: 14px;
  font-weight: 650;
}

.legend {
  display: flex;
  gap: 10px;
  color: var(--ink-3);
  font-size: 11px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.legend .l-free {
  background: var(--free);
}

.legend .l-soon {
  background: var(--soon);
}

.legend .l-busy {
  background: var(--busy);
}

.floor {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: oklch(0.99 0.002 266);
  background-image: radial-gradient(oklch(0.88 0.01 266) 1px, transparent 1px);
  background-size: 16px 16px;
}

.floor .zone {
  fill: oklch(0.96 0.01 268 / 0.7);
  stroke: var(--line-2);
  stroke-dasharray: 4 4;
}

.floor .zone-label {
  fill: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.floor .chair {
  fill: oklch(0.93 0.008 266);
}

.floor .t {
  stroke-width: 2;
  transition: fill 0.5s, stroke 0.5s;
}

.floor .t-free {
  fill: var(--free-soft);
  stroke: var(--free);
}

.floor .t-soon {
  fill: var(--warm-soft);
  stroke: var(--soon);
}

.floor .t-busy {
  fill: oklch(0.95 0.035 27);
  stroke: var(--busy);
}

.floor .t-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 650;
  text-anchor: middle;
  dominant-baseline: central;
}

.floor .t-sub {
  fill: var(--ink-2);
  font-size: 8.5px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
}

.floor .t-new {
  fill: oklch(0.95 0.035 27);
  stroke: var(--busy);
}

.floor .t-sub-new {
  opacity: 0;
  transition: opacity 0.4s;
}

.floor .ring {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  opacity: 0;
}

.demo.step-5 .floor .t-target {
  fill: oklch(0.95 0.035 27);
  stroke: var(--busy);
}

.demo.step-5 .floor .t-sub-new {
  opacity: 1;
}

.demo.step-5 .floor .t-sub-old {
  opacity: 0;
}

.demo.step-5 .floor .ring {
  animation: ring 1.6s ease-out 2;
}

@keyframes ring {
  0% {
    opacity: 0.9;
    stroke-width: 3;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    stroke-width: 1;
    transform: scale(1.5);
  }
}

.floor .ring {
  transform-box: fill-box;
  transform-origin: center;
}

.call-card {
  position: relative;
  z-index: 2;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.call-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.call-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.call-avatar .icon {
  width: 16px;
  height: 16px;
}

.call-head strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.25;
}

.call-head small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.3;
}

.call-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--free-soft);
  color: oklch(0.42 0.1 160);
  font-size: 11px;
  font-weight: 600;
}

.call-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--free);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.bubbles {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 214px;
}

.ringing {
  display: none;
}

.js .ringing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.js .ringing .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
  animation: ring-phone 1s ease-in-out infinite;
}

.demo[data-step="0"] .ringing {
  opacity: 1;
}

@keyframes ring-phone {
  0%,
  50%,
  100% {
    transform: rotate(0);
  }
  10%,
  30% {
    transform: rotate(-14deg);
  }
  20%,
  40% {
    transform: rotate(14deg);
  }
}

.bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.42;
  transition: opacity 0.35s, transform 0.35s;
}

.js .bubble {
  opacity: 0;
  transform: translateY(6px);
}

.bubble.guest {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: oklch(0.95 0.008 266);
  color: var(--ink);
}

.bubble.ai {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--brand);
  color: #fff;
}

.js .bubble.is-shown {
  opacity: 1;
  transform: none;
}

.toast {
  position: absolute;
  z-index: 3;
  top: -22px;
  right: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.35s, transform 0.35s;
}

.toast.is-shown {
  opacity: 1;
  transform: none;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--warm-soft);
  color: oklch(0.5 0.12 70);
}

.toast-icon .icon {
  width: 16px;
  height: 16px;
}

.toast strong {
  display: block;
  font-size: 13px;
}

.toast span {
  color: var(--ink-2);
}

@media (max-width: 1180px) {
  .toast {
    right: 12px;
  }
}

@media (max-width: 900px) {
  .demo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-top: 56px;
  }

  .demo .app-window,
  .demo .call-card {
    grid-column: 1;
  }

  .demo .call-card {
    grid-row: 2;
    width: min(380px, calc(100% - 24px));
    margin: -40px 0 0 12px;
  }

  .toast {
    top: 56px;
    right: 8px;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 64px;
  }

  .app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-side {
    display: none;
  }

  .legend {
    display: none;
  }

  .bubbles {
    min-height: 0;
  }

  .toast {
    max-width: 240px;
  }
}

/* ---------- Pain points ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pain {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.pain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.pain h3 {
  font-size: 21px;
}

.pain p {
  margin-top: 10px;
  color: var(--ink-2);
}

.statement {
  max-width: 860px;
  margin: 64px auto 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.statement span {
  color: var(--ink-3);
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  gap: 24px;
}

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pillar:nth-child(even) .pillar-visual {
  order: -1;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
}

.pillar-tag .tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.pillar-tag .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.pillar h3 {
  font-size: clamp(26px, 3vw, 34px);
}

.pillar > div > p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 18px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--free-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23178a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.pillar-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
}

/* Mini visual: availability */
.slots {
  display: grid;
  gap: 10px;
}

.slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14.5px;
}

.slot-row b {
  font-weight: 650;
}

.slot-row small {
  color: var(--ink-3);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-ai {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.badge-web {
  background: oklch(0.95 0.03 230);
  color: oklch(0.4 0.1 230);
}

.badge-team {
  background: oklch(0.95 0.008 266);
  color: var(--ink-2);
}

.badge-walk {
  background: var(--warm-soft);
  color: oklch(0.45 0.1 70);
}

/* Mini visual: booking widget */
.booking {
  max-width: 340px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.booking-head strong {
  font-size: 15px;
}

.langs {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: oklch(0.96 0.006 266);
  font-size: 11.5px;
  font-weight: 600;
}

.langs span {
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--ink-3);
}

.langs .is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.field-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.field-mock div {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
}

.field-mock small {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.3;
}

.times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.times span {
  padding: 7px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.times .is-off {
  color: var(--ink-3);
  background: oklch(0.97 0.004 266);
  text-decoration: line-through;
  font-weight: 500;
}

.times .is-on {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.booking .fake-btn {
  padding: 11px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.embed-note {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: center;
}

.embed-note code {
  padding: 2px 6px;
  border-radius: 6px;
  background: oklch(0.95 0.006 266);
  color: var(--ink-2);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
}

/* Mini visual: floor plan */
.floor-mini {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 22px;
  }

  .pillar:nth-child(even) .pillar-visual {
    order: 0;
  }

  .pillar-visual {
    padding: 16px;
  }
}

/* ---------- Feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
}

.feature {
  padding: 28px 24px;
  background: var(--surface);
}

.feature .icon {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  color: var(--brand);
}

.feature h4 {
  font-size: 16.5px;
  letter-spacing: -0.015em;
}

.feature p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.features-title {
  margin-top: 88px;
  font-size: clamp(24px, 2.6vw, 30px);
  text-align: center;
}

.features-title + .features {
  margin-top: 32px;
}

@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Night band: phone assistant ---------- */

.night {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.night::before {
  content: "";
  position: absolute;
  inset: -30% 40% auto -20%;
  height: 700px;
  background: radial-gradient(closest-side, oklch(0.45 0.16 268 / 0.55), transparent 70%);
  pointer-events: none;
}

.night .wrap {
  position: relative;
}

.night .eyebrow {
  color: var(--warm);
}

.night .section-head p {
  color: var(--night-ink);
}

.assistant-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.transcript {
  padding: 24px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-xl);
  background: var(--night-2);
}

.transcript-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--night-ink);
  font-size: 13px;
}

.transcript-head strong {
  color: #fff;
  font-size: 14px;
}

.line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--night-line);
  font-size: 15.5px;
  line-height: 1.5;
}

.line:first-of-type {
  border-top: 0;
}

.line .who {
  color: var(--night-ink);
  font-size: 13px;
  font-weight: 600;
  padding-top: 2px;
}

.line.ai .who {
  color: var(--warm);
}

.line .tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 7px;
  background: oklch(0.3 0.06 268);
  color: var(--night-ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.line .tool::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--free);
}

.capabilities {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capabilities li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--night-line);
}

.capabilities li:last-child {
  border-bottom: 0;
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: oklch(0.3 0.07 268);
  color: var(--warm);
}

.capabilities h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.capabilities p {
  margin-top: 4px;
  color: var(--night-ink);
  font-size: 15.5px;
}

@media (max-width: 960px) {
  .assistant-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .transcript {
    padding: 18px;
  }

  .line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.step h3 {
  font-size: 21px;
}

.step p {
  margin-top: 10px;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.plan.is-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.plan h3 {
  font-size: 20px;
}

.plan .plan-for {
  min-height: 3.2em;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 4px;
}

.price .cur {
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
}

.price .amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price .amount.is-text {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.price-note {
  color: var(--ink-3);
  font-size: 14px;
}

.plan .btn {
  width: 100%;
  margin: 22px 0 24px;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}

.plan li {
  display: flex;
  gap: 10px;
}

.plan li .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--free);
  stroke-width: 2.4;
}

.plan li.is-muted {
  color: var(--ink-3);
}

.plan li.is-muted .icon {
  color: var(--ink-3);
}

.plan li.is-lead {
  font-weight: 600;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pricing-notes div {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.pricing-notes .icon {
  margin-top: 2px;
  color: var(--brand);
}

.pricing-notes strong {
  color: var(--ink);
}

.fineprint {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
}

@media (max-width: 900px) {
  .pricing-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan .plan-for {
    min-height: 0;
  }
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}

.faq-grid .section-head {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  flex: none;
  color: var(--ink-3);
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  padding: 0 40px 24px 0;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-grid .section-head {
    position: static;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq details p {
    padding-right: 0;
  }
}

/* ---------- Pilot + contact ---------- */

.pilot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--warm-soft);
  border: 1px solid oklch(0.88 0.07 85);
}

.pilot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--warm);
  color: var(--ink);
}

.pilot h3 {
  font-size: 22px;
}

.pilot p {
  margin-top: 4px;
  color: var(--ink-2);
}

@media (max-width: 800px) {
  .pilot {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.contact-grid .section-head {
  margin-bottom: 32px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-points .cp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

.contact-points strong {
  display: block;
  font-size: 16px;
}

.contact-points span,
.contact-points a {
  color: var(--ink-2);
  font-size: 15.5px;
}

.contact-points a {
  color: var(--brand);
}

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.topic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.topic legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
}

.topic label {
  position: relative;
}

.topic input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.topic span:hover {
  border-color: var(--ink-3);
}

.topic input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 600;
}

.topic input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.field label .opt {
  color: var(--ink-3);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(0.43 0.15 268 / 0.15);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--busy);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-foot small {
  max-width: 340px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
}

.form-status.is-error {
  display: block;
  background: oklch(0.96 0.03 27);
  color: oklch(0.42 0.14 27);
}

.form-success {
  display: none;
  padding: 24px 0 8px;
  text-align: center;
}

.form-success .ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--free-soft);
  color: var(--free);
}

.form-success .ok .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--ink-2);
}

.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 22px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-foot .btn {
    width: 100%;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 40px;
  background: var(--night);
  color: var(--night-ink);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo svg rect {
  fill: #fff;
}

.site-footer .logo svg circle {
  fill: var(--night);
}

.site-footer p {
  max-width: 30ch;
  margin-top: 14px;
}

.site-footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--night-ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  color: oklch(0.68 0.03 268);
  font-size: 14px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

.footer-bottom:first-child {
  margin-top: 0;
}

/* ---------- Legal pages ---------- */

.header-back {
  margin-left: auto;
}

.legal {
  padding: 64px 0 96px;
}

.legal .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}

.legal h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4.4vw, 46px);
  letter-spacing: -0.035em;
}

.legal .meta {
  margin-bottom: 40px;
  color: var(--ink-3);
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}

.legal p,
.legal ul {
  margin: 0 0 14px;
  color: var(--ink-2);
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.legal strong {
  color: var(--ink);
}

.toc {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.table-wrap {
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.legal th,
.legal td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: oklch(0.975 0.004 266);
  font-size: 14px;
  font-weight: 600;
}

.legal td {
  color: var(--ink-2);
}

.legal td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.legal tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }

  .legal table {
    min-width: 0;
  }

  .legal thead {
    display: none;
  }

  .legal tr {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .legal tbody tr:last-child {
    border-bottom: 0;
  }

  .legal td {
    display: block;
    padding: 2px 0;
    border: 0;
  }

  .legal td:nth-child(2)::before {
    content: "Zweck: ";
    color: var(--ink-3);
  }

  .legal td:nth-child(3)::before {
    content: "Ort: ";
    color: var(--ink-3);
  }
}

.thanks {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.thanks p {
  max-width: 44ch;
  margin: 14px auto 28px;
  color: var(--ink-2);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
