/* ============================================================
   Automira â€” Landing Page
   Clean Scandinavian SaaS Â· warm off-white Â· calm teal
   ============================================================ */

:root {
  /* Surfaces */
  --bg:          #f7f3ec;
  --bg-2:        #ffffff;
  --bg-3:        #f1ece2;
  --card:        #ffffff;
  --line:        #e8e0d2;
  --line-2:      #efe7d8;
  --line-3:      #ddd2bd;

  /* Ink */
  --ink:         #1f1b16;
  --ink-2:       #4a4339;
  --ink-3:       #8a8174;
  --ink-4:       #b8ad9b;

  /* Accent â€” calm teal */
  --accent:      oklch(0.58 0.07 195);
  --accent-2:    oklch(0.52 0.08 195);
  --accent-soft: oklch(0.95 0.02 195);
  --accent-ink:  oklch(0.30 0.05 195);
  --accent-deep: oklch(0.22 0.05 200);

  /* Warm secondary (used very sparingly) */
  --sand:        oklch(0.88 0.04 70);

  /* Status */
  --ok:          oklch(0.62 0.10 155);
  --ok-soft:     oklch(0.95 0.03 155);
  --warn:        oklch(0.66 0.13 55);
  --warn-soft:   oklch(0.96 0.04 70);
  --bad:         oklch(0.60 0.14 25);
  --bad-soft:    oklch(0.95 0.03 25);

  /* Shape */
  --r-xs:        6px;
  --r-sm:        10px;
  --r-md:        14px;
  --r-lg:        20px;
  --r-xl:        28px;
  --r-2xl:       36px;

  --shadow-xs:   0 1px 2px rgba(31, 27, 22, 0.05);
  --shadow-sm:   0 2px 6px -2px rgba(31, 27, 22, 0.08);
  --shadow-md:   0 8px 24px -10px rgba(31, 27, 22, 0.12),
                 0 2px 6px -2px rgba(31, 27, 22, 0.06);
  --shadow-lg:   0 28px 60px -30px rgba(31, 27, 22, 0.30);

  --font:        "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display:"Fraunces", "Manrope", serif;
  --font-mono:   ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container:   1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ===== Layout primitives ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--bg-3); }
.section__head {
  max-width: 680px;
  margin: 0 0 56px;
}
.section__head--center { margin: 0 auto 56px; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  text-wrap: balance;
}
.section__sub {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid oklch(0.58 0.07 195 / .2);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.eyebrow--quiet {
  background: transparent;
  border-color: transparent;
  padding: 0;
  color: var(--accent-ink);
}
.eyebrow--invert {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.15);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  background: transparent;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s, background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: var(--r-sm); }

.btn--primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover:not(:disabled) { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-3);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink); }
.btn--with-arrow span { transition: transform .15s; }
.btn--with-arrow:hover span { transform: translateX(3px); }

.btn--invert {
  background: white;
  color: var(--ink);
  border-color: white;
}
.btn--invert:hover { background: var(--bg); }
.btn--ghost-invert {
  background: transparent;
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.25);
}
.btn--ghost-invert:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.iconbtn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, color .15s, border-color .15s;
}
.iconbtn:hover { background: var(--bg); color: var(--ink); border-color: var(--ink-3); }

/* ===== Generic atoms ===== */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.dot--live { background: var(--ok); box-shadow: 0 0 0 4px oklch(0.62 0.10 155 / .15); }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 4px oklch(0.66 0.13 55 / .15); }

.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: "";
  position: absolute;
  left: 5px; top: 4px;
  width: 8px; height: 4px;
  border-left: 1.8px solid var(--accent-2);
  border-bottom: 1.8px solid var(--accent-2);
  transform: rotate(-45deg);
}

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill--ok { background: var(--ok-soft); color: oklch(0.30 0.06 155); border-color: oklch(0.62 0.10 155 / .25); }
.pill--warn { background: var(--warn-soft); color: oklch(0.40 0.10 55); border-color: oklch(0.66 0.13 55 / .25); }
.pill--risk { background: var(--bad-soft); color: oklch(0.40 0.10 25); border-color: oklch(0.60 0.14 25 / .25); }

/* ===== Brand mark ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 10px;
  background:
    conic-gradient(from 210deg at 50% 50%,
      oklch(0.58 0.07 195) 0deg, oklch(0.72 0.06 195) 120deg,
      oklch(0.45 0.08 195) 240deg, oklch(0.30 0.05 200) 360deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), var(--shadow-xs);
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 9px;
  border-radius: 50%;
  background: var(--bg);
}
.brand__name { font-weight: 700; letter-spacing: -0.01em; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.97 0.01 80 / .85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0;
  flex: 1;

  font-size: 14.5px;
  color: var(--ink-2);
}
}

.nav__links a {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s ease;
  padding: 8px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #0f766e;
  border-radius: 999px;
  transition: width .18s ease;
}

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

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav__links a.is-active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  gap: 10px;
}
.nav__toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav__inner {
    position: relative;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;

    flex-direction: column;
    gap: 6px;

    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(25, 20, 15, 0.12);
    z-index: 99;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav__links a:hover {
    background: #dff5f2;
    color: #0f766e;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    display: none;
  }
}
/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% 30%;
  background:
    radial-gradient(900px 500px at 80% 0%, oklch(0.92 0.04 195 / .55), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, oklch(0.92 0.04 70 / .35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero__copy {
  display: flex; flex-direction: column; gap: 22px;
  max-width: 540px;
}
.hero__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__title-accent {
  font-style: italic;
  color: var(--accent-ink);
}
.hero__sub {
  margin: 0;
  font-size: 18.5px;
  color: var(--ink-2);
  max-width: 480px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 4px;
}
.hero__bullets {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }

/* Hero visual */
.hero__visual {
  position: relative;
  height: 300px;
}
.herocard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.herocard--main {
  position: absolute;
  top: 24px; left: 24px; right: 16px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  animation: float 8s ease-in-out infinite;
}
.herocard__head {
  display: flex; align-items: center; gap: 12px;
}
.herocard__avatar {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 13px;
  letter-spacing: .02em;
}
.herocard__meta { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.herocard__meta strong { font-size: 14.5px; }
.herocard__meta span { font-size: 12px; color: var(--ink-3); }
.herocard__line { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.herocard__when {
  margin-top: 4px;
  display: flex; align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  gap: 14px;
}
.herocard__when > div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.herocard__when span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.herocard__when strong { font-size: 15.5px; margin-top: 2px; }
.herocard__divider { width: 1px; background: var(--line); flex: 0 0 1px; }

.herocard--note {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  background: var(--card);
  white-space: nowrap;
}
.herocard--note { left: 0; bottom: 60px; animation: float 9s ease-in-out infinite reverse; }
.herocard--note-alt { left: auto; right: 0; bottom: 8px; animation: float 11s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Trust strip */
.trust {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-3);
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.trust__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.trust__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.trust__list li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Problem section ===== */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.problem {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.problem:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-3);
}
.problem__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent-ink);
  font-weight: 500;
}
.problem h3 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.problem p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.problem__stat {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.problem__stat-val {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.problem__stat-key {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ===== Flow ===== */
.flow {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: flow;
}
.flow__step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; gap: 16px;
  align-items: flex-start;
  position: relative;
  transition: border-color .15s;
}
.flow__step:hover { border-color: var(--line-3); }
.flow__index {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.flow__body h3 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -.005em; }
.flow__body p  { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ===== Booking widget ===== */
.section--demo {
  background:
    linear-gradient(180deg, var(--bg) 0, var(--bg-3) 100%);
}
.booking {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
.booking__chrome {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  flex-wrap: wrap;
}
.booking__tabs {
  display: flex; gap: 4px;
  flex-wrap: wrap;
}
.booking__tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: 999px;
}
.tab__num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.booking__tab.is-active {
  background: oklch(0.95 0.02 195);
  color: var(--accent-ink);
}
.booking__tab.is-active .tab__num {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.booking__tab.is-done .tab__num {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.booking__tab.is-done { color: var(--ink-2); }

.booking__chrome-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.booking__pane { padding: 32px; }
.booking__pane.is-hidden { display: none; }
.booking__pane--center { text-align: center; }

.booking__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -.01em;
}
.booking__sub {
  margin: -10px 0 22px;
  color: var(--ink-2);
}

.booking__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.booking__actions--center { justify-content: center; }
.booking__hint { font-size: 13.5px; color: var(--ink-3); }

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.service {
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .08s;
  display: flex; flex-direction: column; gap: 10px;
  font-family: inherit;
}
.service:hover { border-color: var(--ink-3); }
.service[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px oklch(0.58 0.07 195 / .12);
}
.service__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service__name { font-weight: 600; }
.service__price { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.service__meta { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.service__pill { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.service[aria-checked="true"] .service__pill {
  background: white;
  border-color: oklch(0.58 0.07 195 / .3);
  color: var(--accent-ink);
}
.service__radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-grid; place-items: center;
  flex-shrink: 0;
}
.service[aria-checked="true"] .service__radio {
  border-color: var(--accent); background: var(--accent);
}
.service[aria-checked="true"] .service__radio::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: white;
}

/* Schedule (calendar + slots) */
.schedule {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}
.calendar {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.calendar__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.calendar__title {
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: capitalize;
}
.calendar__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  padding: 0 2px 8px;
}
.calendar__weekdays span { text-align: center; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.day:hover:not(:disabled):not(.day--full) { background: var(--bg); border-color: var(--line); }
.day:disabled, .day.day--past { color: oklch(0.78 0.01 80); cursor: not-allowed; }
.day.day--outside { opacity: .25; }
.day.day--available::after {
  content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.day.day--full {
  background: var(--bad-soft);
  color: oklch(0.45 0.08 25);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: oklch(0.60 0.14 25 / .5);
}
.day.day--today { border-color: var(--ink); }
.day.is-selected, .day.is-selected:hover {
  background: var(--ink); border-color: var(--ink); color: white;
}
.day.is-selected.day--available::after { background: white; }

.legend {
  list-style: none; margin: 18px 0 0;
  padding: 14px 0 2px;
  border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 12.5px; color: var(--ink-2);
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend__swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.legend__swatch--available::after { content: ""; position: absolute; inset: 0; margin: auto; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.legend__swatch--full { background: var(--bad-soft); border-color: oklch(0.60 0.14 25 / .25); }
.legend__swatch--unavail {
  background: var(--bg);
  background-image: repeating-linear-gradient(-45deg, transparent 0 3px, oklch(0.85 0.01 80) 3px 4px);
}

.slots {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.slots__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.slots__label { font-weight: 600; letter-spacing: -.01em; }
.slots__date { font-size: 13px; color: var(--ink-3); }
.slots__body { flex: 1; }
.slots__hint, .slots__notice {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0;
  padding: 32px 12px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}
.slots__notice {
  color: oklch(0.45 0.08 25);
  background: var(--bad-soft);
  border-color: oklch(0.60 0.14 25 / .2);
  border-style: solid;
}
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot {
  appearance: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
  display: flex; align-items: center; justify-content: space-between;
  font-family: inherit;
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot.is-selected { background: var(--ink); border-color: var(--ink); color: white; }
.slot:disabled {
  cursor: not-allowed;
  background: var(--bg);
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.slot__tag {
  font-size: 11.5px; font-weight: 500;
  padding: 2px 8px; border-radius: 999px;
  background: var(--bg); color: var(--ink-3);
  border: 1px solid var(--line);
  text-decoration: none;
}
.slot.is-selected .slot__tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); border-color: transparent; }

/* Form */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field__input {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field__input::placeholder { color: oklch(0.75 0.01 80); }
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px oklch(0.58 0.07 195 / .15);
}
.field__input.is-invalid { border-color: var(--bad); background: oklch(0.97 0.01 25); }
.field__error { font-size: 12.5px; color: var(--bad); min-height: 1em; }

.summary {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.summary__key { color: var(--ink-3); }
.summary__val { font-weight: 600; }
.summary__row--total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 15px; }

.consent {
  display: flex; gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}
.consent input {
  width: 18px; height: 18px;
  accent-color: oklch(0.58 0.07 195);
  margin-top: 1px;
  flex-shrink: 0;
}

/* Confirmation */
.check__ring {
  width: 68px; height: 68px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: var(--ok-soft);
  display: grid; place-items: center;
  animation: pop .4s ease both;
}
.check__mark {
  width: 22px; height: 12px;
  border-left: 3px solid var(--ok);
  border-bottom: 3px solid var(--ok);
  transform: rotate(-45deg) translate(2px, -2px);
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.receipt {
  margin: 22px auto 0;
  max-width: 460px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.receipt__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; gap: 16px; }
.receipt__row span { color: var(--ink-3); }
.receipt__row strong { font-weight: 600; text-align: right; }

.payload {
  margin: 18px auto 0;
  max-width: 460px;
  text-align: left;
  font-size: 13px;
}
.payload summary { cursor: pointer; color: var(--ink-2); padding: 8px 0; }
.payload pre {
  background: #16130f;
  color: #d4cfc4;
  padding: 14px 16px;
  border-radius: var(--r-md);
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ===== Automation pipeline ===== */
.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.node {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  align-items: center;
  gap: 22px;
}
.node__tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.node h4 { margin: 0; font-size: 17px; letter-spacing: -.005em; }
.node p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.node__code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid oklch(0.58 0.07 195 / .2);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  text-align: center;
  justify-self: end;
  white-space: nowrap;
}
.node--in  { border-color: oklch(0.58 0.07 195 / .35); background: oklch(0.97 0.01 195); }
.node--out { border-color: oklch(0.62 0.10 155 / .35); background: oklch(0.97 0.02 155); }

.pipeline__arrow {
  justify-self: center;
  width: 2px; height: 22px;
  background:
    linear-gradient(180deg, var(--line-3) 0 60%, transparent 60% 100%);
  position: relative;
}
.pipeline__arrow::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px; height: 7px;
  border-right: 2px solid var(--line-3);
  border-bottom: 2px solid var(--line-3);
}

/* ===== Dashboard preview ===== */
.dashboard__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.dashboard__copy { max-width: 440px; }
.checklist {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px; color: var(--ink-2);
}
.checklist li { display: inline-flex; align-items: center; gap: 12px; }

.dashboard__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash__head {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.dash__head strong { display: block; }
.dash__head span { font-size: 12.5px; color: var(--ink-3); }
.dash__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat__key { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.stat__val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.02em;
  margin-top: 4px;
}
.stat__val--warn { color: oklch(0.55 0.13 35); }
.stat__trend { font-size: 12px; color: var(--ink-3); }
.stat__trend--up { color: oklch(0.45 0.10 155); }
.stat__trend--warn { color: oklch(0.55 0.13 35); }

.dash__list { padding: 0; }
.dash__listhead {
  padding: 14px 22px;
  display: flex; justify-content: space-between;
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.dash__list ul { list-style: none; margin: 0; padding: 0; }
.dash__list li {
  padding: 14px 22px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-2);
}
.dash__list li:last-child { border-bottom: none; }
.dash__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.dash__name { font-size: 14.5px; color: var(--ink-2); }

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-3);
}
.plan__head { display: flex; flex-direction: column; gap: 10px; }
.plan__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.01em;
}
.plan__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  margin-top: -2px;
  padding-top: 22px;
}
.plan__from {
  font-size: 13.5px;
  color: var(--ink-3);
}
.plan__amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -.02em;
  line-height: 1;
}
.plan__period {
  font-size: 14px;
  color: var(--ink-3);
}
.plan__setup {
  margin: -12px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
.plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan__cta {
  margin-top: auto;
  width: 100%;
}

/* Featured (Flow) â€” dark brown, light text, warm beige button */
.plan--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.plan--featured:hover {
  transform: translateY(-10px);
  border-color: var(--ink);
}
.plan--featured .plan__name { color: white; }
.plan--featured .plan__desc { color: rgba(255,255,255,.72); }
.plan--featured .plan__price { border-top-color: rgba(255,255,255,.18); }
.plan--featured .plan__from { color: rgba(255,255,255,.6); }
.plan--featured .plan__period { color: rgba(255,255,255,.6); }
.plan--featured .plan__setup { color: rgba(255,255,255,.55); }
.plan--featured .plan__features { color: rgba(255,255,255,.85); }
.plan--featured .plan__cta {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.plan--featured .plan__cta:hover {
  background: #fff;
  border-color: #fff;
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid oklch(0.58 0.07 195 / .3);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.check--invert {
  background: rgba(255,255,255,.12);
}
.check--invert::after {
  border-left-color: white;
  border-bottom-color: white;
}

.pricing__note {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .pricing { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-2px); }
}

/* ===== Kontakt / contact form ===== */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}
.contact__info {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2xl);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__info-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-wrap: balance;
}
.contact__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.contact__step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid oklch(0.58 0.07 195 / .25);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.contact__note {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-3);
  padding: 14px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  line-height: 1.45;
}
.contact__note .dot { margin-top: 6px; flex-shrink: 0; }

.contact__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.contact__form { gap: 16px; }
/* ===== Contact page header fix ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  white-space: nowrap;
}

.site-header .btn {
  flex-shrink: 0;
}
/* Select wrapper */
.field__select {
  position: relative;
  display: block;
}
.field__select .field__input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  width: 100%;
}
.field__caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-30%) rotate(180deg);
  font-size: 16px;
  color: var(--ink-3);
  pointer-events: none;
  line-height: 1;
}

/* Textarea */
.field__textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

/* Checkbox group */
.checkgroup {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkgroup legend {
  padding: 0;
  margin-bottom: 4px;
}
.checkgroup__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.checkitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  line-height: 1.3;
}
.checkitem:hover { border-color: var(--ink-3); color: var(--ink); }
.checkitem input {
  width: 17px;
  height: 17px;
  accent-color: oklch(0.58 0.07 195);
  flex-shrink: 0;
}
.checkitem:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.contact__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact__hint {
  font-size: 13px;
  color: var(--ink-3);
}

.contact__message {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}
.contact__message:empty { display: none; }
.contact__message--ok {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--ok-soft);
  border: 1px solid oklch(0.62 0.10 155 / .3);
  color: oklch(0.30 0.06 155);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__message--err {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bad-soft);
  border: 1px solid oklch(0.60 0.14 25 / .3);
  color: oklch(0.40 0.10 25);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; gap: 24px; }
  .contact__info, .contact__card { padding: 26px 22px; }
  .checkgroup__grid { grid-template-columns: 1fr; }
}

/* ===== Final CTA ===== */
.cta {
  background: var(--ink);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta__blur {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(600px 300px at 30% 30%, oklch(0.45 0.10 195 / .55), transparent 60%),
    radial-gradient(500px 300px at 75% 75%, oklch(0.40 0.10 25 / .35), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
  color: rgb(255, 255, 255);
  text-wrap: balance;
}
.cta__sub {
  font-size: 17.5px;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }


/* ===== Footer ===== */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer__brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.footer__brand strong { font-size: 16px; }
.footer__brand p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 240px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h5 {
  margin: 0 0 12px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  font-weight: 700;
}
.footer__cols a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s;
}
.footer__cols a:hover { color: var(--ink); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer__newsletter {
  flex: 1 1 320px;
  max-width: 420px;
}

.newsletter__title {
  font-family: 'Fraunces', serif; /* หัวข้อใช้ Fraunces */
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer__newsletter p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
}

.newsletter__form input {
  flex: 1;
  font-family: 'Manrope', sans-serif;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter__form input:focus {
  border-color: #111;
  background-color: #fff;
}

.newsletter__form button {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter__form button:hover {
  background-color: #333;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  padding-top: 15px;
}

.footer__socials a {
  color: #444;
  transition: transform 0.2s, color 0.2s;
}

.footer__socials a:hover {
  color: #000;
  transform: translateY(-2px);
}
/* ===== Final responsive nav fix: tablet + mobile ===== */

.nav__toggle {
  display: none;
}

@media (max-width: 1100px) {
  .nav__inner {
    position: relative;
    gap: 12px;
  }

  .brand {
    flex-shrink: 0;
  }

  .nav__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    margin-left: auto;

    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);

    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  .nav__links {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;

    flex-direction: column;
    gap: 6px;

    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(25, 20, 15, 0.12);
    z-index: 99;
  }

  .nav__links.is-open {
    display: flex !important;
  }

  .nav__links a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;

    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    text-align: left;

    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .nav__links a:hover,
  .nav__links a:focus,
  .nav__links a:active,
  .nav__links a.is-active {
    background: #dff5f2;
    color: #0f766e;
  }

  .nav__links a::after {
    display: none !important;
  }

  .nav__cta {
    display: flex;
    margin-left: 0;
  }

  .nav__cta .btn--ghost {
    display: none;
  }

  .nav__cta .btn--primary {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Extra small mobile */
@media (max-width: 420px) {
  .nav__inner {
    gap: 8px;
  }

  .brand__name {
    font-size: 14px;
  }

  .nav__cta .btn--primary {
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav__toggle {
    width: 36px;
    height: 36px;
  }
}
/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .problems { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: 1fr; }
  .node { grid-template-columns: 100px 1fr; row-gap: 8px; }
  .node__code { grid-column: 1 / -1; justify-self: start; }
  .dashboard__grid { grid-template-columns: 1fr; gap: 36px; }
  .dash__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .booking__pane { padding: 22px 18px; }
  .booking__chrome { padding: 12px 14px; }
  .booking__tab { padding: 4px 10px; font-size: 13px; }
  .form__row { grid-template-columns: 1fr; }
  .dash__stats { grid-template-columns: 1fr 1fr; }
  .dash__list li { grid-template-columns: 54px 1fr; }
  .dash__list li .pill { grid-column: 1 / -1; justify-self: end; }
  .booking__actions { flex-direction: column-reverse; align-items: stretch; }
  .booking__actions .btn { width: 100%; }
  .booking__hint { text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .footer {
    padding-top: 40px;
    overflow-x: hidden;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .newsletter__form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter__form input,
  .newsletter__form button {
    width: 100%;
  }

  .footer__bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .cta__inner {
    padding: 52px 24px;
  }

  .cta__title {
    font-size: clamp(34px, 4vw, 46px);
  }

  .cta__sub {
    max-width: 620px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
}