/* Servitrage site styles
   Night navy is the main canvas: the product works while the shop is closed.
   The paper-coloured "day" zone shows what the owner wakes up to. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --night: #0F1B2D;
  --night-lift: #172740;
  --night-bubble: #23375A;
  --night-line: rgba(245, 242, 234, 0.13);
  --paper: #F5F2EA;
  --paper-deep: #EAE4D6;
  --paper-line: rgba(15, 27, 45, 0.14);
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --ink-soft: #46526A;
  --mist: #C9D1DC;
  --signal: #FFB21A;
  --signal-hover: #FFC64F;

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--paper);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

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

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  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: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.h2 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.125rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.lead {
  max-width: 38em;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
}

.on-night .lead,
.on-night .muted { color: var(--mist); }
.on-paper .lead,
.on-paper .muted { color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #22324D; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 27, 45, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--night-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand svg { width: 34px; height: 34px; flex: none; }

.nav { display: none; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a {
  color: var(--mist);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--paper); }

@media (min-width: 900px) {
  .nav { display: block; margin-left: auto; margin-right: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 7vw, 96px) clamp(72px, 9vw, 120px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 72px; }
}

.hero__title {
  margin: 0 0 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6.6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
}
.hero__title span { display: block; }

.hero__lead {
  max-width: 33em;
  margin-bottom: 34px;
  color: var(--mist);
  font-size: clamp(1.0625rem, 1.55vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero__actions .text-link { color: var(--paper); }

.hero__note {
  max-width: 31em;
  margin-top: 22px;
  color: var(--mist);
  font-size: 0.9375rem;
}

/* ---------- Hero demo: an after-hours chat ---------- */
.demo {
  padding: 18px;
  background: var(--night-lift);
  border: 1px solid var(--night-line);
  border-radius: 30px;
}

.demo__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  background: rgba(245, 242, 234, 0.07);
  border-radius: 999px;
}
.demo__tab {
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.demo__tab:hover { color: var(--paper); }
.demo__tab[aria-selected="true"] { background: var(--paper); color: var(--ink); }

.demo__panels { display: grid; }
.demo__panel { grid-area: 1 / 1; visibility: hidden; }
.demo__panel.is-active { visibility: visible; }

.demo__time {
  margin: 20px 6px 14px;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.demo__time strong { color: var(--paper); font-weight: 700; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--night-line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
}
.chat-head__who { display: grid; line-height: 1.25; }
.chat-head__name { font-weight: 600; }
.chat-head__sub { color: var(--mist); font-size: 0.8125rem; }
.autopilot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid rgba(255, 178, 26, 0.45);
  border-radius: 999px;
  color: var(--signal);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.autopilot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.thread-wrap { position: relative; }

.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 4px 4px;
  list-style: none;
}

.msg {
  max-width: 84%;
  padding: 10px 14px 7px;
  border-radius: 18px;
  font-size: 0.96875rem;
  line-height: 1.45;
}
.msg--in {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.msg--out {
  align-self: flex-end;
  background: var(--night-bubble);
  color: var(--paper);
  border-bottom-right-radius: 6px;
}
.msg__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
  font-size: 0.75rem;
}
.msg--in .msg__meta { color: #5B667C; }
.msg--out .msg__meta { color: var(--mist); }
.msg__auto {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--signal);
  font-weight: 600;
}
.msg__auto::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.event {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.07);
  color: var(--mist);
  font-size: 0.8125rem;
}
.event svg { width: 16px; height: 16px; color: var(--signal); }
.thread .event:first-of-type { margin-top: 6px; }

/* Typing dots, placed over the slot of the next reply */
.typing {
  position: absolute;
  right: 4px;
  display: inline-flex;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  background: var(--night-bubble);
}
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  animation: typing 1s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Messages start hidden only when JavaScript is running */
.js .thread > li { opacity: 0; transform: translateY(6px); }
.js .thread > li.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ---------- Leaks (night) ---------- */
.leaks {
  padding-block: var(--section);
  border-top: 1px solid var(--night-line);
}
.leaks__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px 36px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .leaks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .leaks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.leaks__when {
  display: block;
  margin-bottom: 14px;
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.3vw, 2.625rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.leaks__what { max-width: 30ch; color: var(--mist); }

/* ---------- Day zone (paper) ---------- */
.day { background: var(--paper); color: var(--ink); }
.day-section { padding-block: var(--section); }
.day-section + .day-section { padding-top: 0; }

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  margin-top: 56px;
}
@media (min-width: 980px) {
  .features__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
}

.feature-list { margin: 0; padding: 0; list-style: none; }
.feature {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 4px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--paper-line);
}
.feature:last-child { border-bottom: 1px solid var(--paper-line); }
.feature__when {
  padding-top: 3px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
}
.feature__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.feature__desc { grid-column: 2; margin-top: 4px; color: var(--ink-soft); }

@media (max-width: 560px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__desc { grid-column: 1; }
}

/* Example enquiry sheet */
.sheet-figure { margin: 0; }
@media (min-width: 980px) { .sheet-figure { position: sticky; top: calc(var(--header-h) + 32px); } }

.sheet {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  box-shadow: 0 34px 60px -38px rgba(15, 27, 45, 0.45);
}
.sheet__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #E6E1D5;
  background: #FAF8F3;
  font-size: 0.875rem;
}
.sheet__bar svg { width: 18px; height: 18px; color: #1E8E5A; }
.sheet__name { font-weight: 600; }
.sheet__updated { margin-left: auto; color: var(--ink-soft); font-size: 0.8125rem; }
.sheet__scroll { overflow-x: auto; }
.sheet table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.sheet th,
.sheet td {
  padding: 12px 14px;
  border-bottom: 1px solid #EEEAE0;
  text-align: left;
  white-space: nowrap;
}
.sheet tr:last-child td { border-bottom: 0; }
.sheet th { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 600; }
.sheet td:first-child { font-weight: 600; }

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.status--new { background: #FFEDC7; color: #7A4A00; }
.status--quoted { background: #E3E9FF; color: #2C3D8C; }
.status--booked { background: #D3F4EE; color: #0A5C4F; }
.status--due { background: #F1E6FF; color: #5B2E8C; }
.status--done { background: #ECEDEF; color: #4A5260; }

.sheet-figure figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 0.875rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.step p { color: var(--ink-soft); }

.summary {
  margin-top: 24px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: var(--night);
  color: var(--paper);
  font-size: 0.9375rem;
}
.summary__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--mist);
  font-size: 0.8125rem;
}
.summary__head strong { color: var(--signal); font-weight: 600; }
.summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.step .summary__note { margin-top: 10px; color: var(--ink-soft); font-size: 0.8125rem; }

/* Who it's for: run-in paragraphs, no cards */
.who__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .who__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.who__list li { max-width: 36ch; color: var(--ink-soft); }
.who__list strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.who__close { margin-top: 36px; font-weight: 600; }

/* Free checklist */
.checklist-panel {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background: var(--paper-deep);
}
.checklist-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 40px;
}
.progress {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px 22px;
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  background: var(--white);
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 28px;
  height: 28px;
  margin: 1px 0 0;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.check input::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 37% 70%);
  transform: scale(0);
  transition: transform 0.12s ease;
}
.check input:checked { background: var(--signal); border-color: var(--ink); }
.check input:checked::before { transform: scale(1); }
.check__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.check__body { grid-column: 2; color: var(--ink-soft); }
.check__where { grid-column: 2; margin-top: 6px; color: var(--ink); font-size: 0.875rem; font-weight: 500; }
.check.is-done .check__title { color: var(--ink-soft); }

.template {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.9375rem;
}
.copy-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.copy-btn:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 520px) {
  .template { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .check__body, .check__where { grid-column: 1 / -1; }
  .copy-btn { justify-self: start; }
}

.checklist-panel__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
  font-weight: 600;
}

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (min-width: 940px) { .pricing__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; } }

.pricing__notes {
  display: grid;
  gap: 14px;
  max-width: 34em;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}
.pricing__notes li { padding-left: 18px; border-left: 3px solid var(--signal); }

.region {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--paper-deep);
}
.region input { position: absolute; opacity: 0; pointer-events: none; }
.region label {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
}
.region input:checked + label { background: var(--ink); color: var(--paper); }
.region input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }

.plan {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 30px;
  background: var(--night);
  color: var(--paper);
}
.plan__name {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.plan__prices { display: grid; gap: 18px; }
@media (min-width: 520px) { .plan__prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price__amount {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.price__label { display: block; margin-top: 8px; color: var(--mist); font-size: 0.9375rem; }

/* Region switch works without JavaScript */
.price[data-region="ae"] { display: none; }
.pricing:has(#region-ae:checked) .price[data-region="in"] { display: none; }
.pricing:has(#region-ae:checked) .price[data-region="ae"] { display: block; }

.plan__includes {
  display: grid;
  gap: 10px;
  margin: 30px 0 32px;
  padding: 26px 0 0;
  border-top: 1px solid var(--night-line);
  list-style: none;
}
.plan__includes li { display: flex; gap: 12px; align-items: flex-start; }
.plan__includes svg { width: 20px; height: 20px; margin-top: 3px; flex: none; color: var(--signal); }

/* FAQ */
.faq {
  max-width: 860px;
  margin-top: 44px;
  border-top: 1px solid var(--paper-line);
}
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 24px; color: var(--ink-soft); }

/* ---------- Audit (night) ---------- */
.audit { padding-block: var(--section); }
.audit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (min-width: 980px) { .audit__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }

.audit__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 32px; }
.audit__contact { display: grid; gap: 6px; margin-top: 36px; color: var(--mist); font-size: 0.9375rem; }
.audit__contact a { color: var(--paper); }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
}
.form-card__title {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .optional { color: var(--ink-soft); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid rgba(15, 27, 45, 0.28);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(255, 178, 26, 0.7);
  outline-offset: 1px;
}
.form-card .fine { margin-top: 14px; color: var(--ink-soft); font-size: 0.875rem; }
.form-card .fine a { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--night-line);
  color: var(--mist);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__title { margin-bottom: 12px; color: var(--paper); font-weight: 600; }
.site-footer__legal {
  display: grid;
  gap: 6px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 0.8125rem;
}

/* ---------- Simple pages (privacy, terms, thanks, 404) ---------- */
.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.page-head h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.page-head p { max-width: 36em; margin-top: 20px; color: var(--mist); font-size: 1.125rem; }
.page-head .hero__actions { margin-top: 32px; }

.doc { padding-block: clamp(48px, 7vw, 88px); }
.doc__body > * { max-width: 720px; }
.doc__body h2 {
  margin: 44px 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.doc__body h2:first-child { margin-top: 0; }
.doc__body p, .doc__body ul { margin: 0 0 14px; color: #2C3850; }
.doc__body ul { padding-left: 1.25em; }
.doc__body li { margin-bottom: 8px; }
.doc__body a { color: var(--ink); font-weight: 600; }
.doc__updated { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Motion preferences ---------- */
@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 .thread > li { opacity: 1; transform: none; }
  .typing { display: none; }
}
