/* =========================================================
   StayAutomate — shared styles
   Change the brand colours and fonts here, in one place.
   ========================================================= */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/fraunces-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/manrope.woff2") format("woff2");
}

:root {
  --bordeaux:       #6B1E2E;   /* main brand colour */
  --bordeaux-dark:  #4A1420;   /* hover, footer */
  --bordeaux-soft:  #F1E1DF;   /* light tint for badges, highlights */
  --beige:          #F6EFE4;   /* page background */
  --beige-deep:     #EDE3D3;   /* alternate section background */
  --paper:          #FFFCF7;   /* cards */
  --ink:            #2A1A1C;   /* main text */
  --ink-soft:       #6B5A57;   /* secondary text */
  --line:           #E2D6C6;   /* borders */
  --ok:             #2F6B4F;   /* "matched" green in the mock */
  --warn:           #7A4F00;   /* "to check" amber in the mock */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --max:    1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--bordeaux); }
a:hover { color: var(--bordeaux-dark); }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 18px;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 99px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid var(--bordeaux); transition: background .15s, color .15s;
}
.btn-primary { background: var(--bordeaux); color: var(--beige); }
.btn-primary:hover { background: var(--bordeaux-dark); border-color: var(--bordeaux-dark); color: var(--beige); }
.btn-ghost { background: transparent; color: var(--bordeaux); }
.btn-ghost:hover { background: var(--bordeaux); color: var(--beige); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  background: var(--bordeaux-soft); color: var(--bordeaux);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246,239,228,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--bordeaux); text-decoration: none; }
.logo span { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--bordeaux); }
.nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 15px; color: var(--beige); }
.nav-links .btn-ghost { color: var(--bordeaux); }
.nav-links .btn-ghost:hover { color: var(--beige); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--beige-deep); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { color: var(--ink-soft); font-size: 19px; margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero h1 em {
  font-style: italic;
  color: var(--bordeaux);
}
.hero .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }

/* Payout mock card */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -35px rgba(74,20,32,.45);
  overflow: hidden;
  container-type: inline-size;   /* lets the rows stack when the card itself is narrow */
}
.mock-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mock-head strong { font-size: 15px; }
.mock-head small { color: var(--ink-soft); font-size: 13px; }
/* Row: reference + dates on the first line with the explanation underneath (left);
   amount and status on the right, centred against those two lines.
   The amount and status columns are only as wide as the longest amount and the longest pill,
   the same on every row, so they line up down the card; the left side takes all the rest. */
.mock-row { display: grid; grid-template-columns: 5em minmax(0, 1fr) 4.4em 8.9em; align-items: baseline; gap: 2px 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mock-row--check { background: #FCF5E3; }
.mock-res, .mock-pay { display: contents; white-space: nowrap; }   /* their children sit directly in the row's columns */
.mock-res span { color: var(--ink-soft); font-size: 13px; }
.mock-row .amt { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.mock-note { grid-column: 1 / 3; grid-row: 2; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* always one line; cut with an ellipsis if the card is too narrow */
.status { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.status-ok   { background: #E3EFE7; color: var(--ok); }
.status-warn { background: #F6E3B4; color: var(--warn); }
.mock-row .status { grid-column: 4; grid-row: 1 / span 2; align-self: center; justify-self: start; }   /* each pill hugs its own text, starting at the left of its column */
.mock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 16px 22px; background: var(--beige-deep); font-size: 14px; font-weight: 700; }
/* Narrow card (phone width, or beside the headline on a small screen):
   stack each row — reference + dates, then amount + status, then explanation */
@container (max-width: 460px) {
  .mock-row { grid-template-columns: 5em minmax(0, 1fr); gap: 6px 16px; }
  .mock-row .amt { grid-column: 1; grid-row: 2; align-self: baseline; text-align: left; }
  .mock-row .status { grid-column: 2; grid-row: 2; align-self: baseline; }
  .mock-note { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------- Story ---------- */
.story .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.story blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.3; color: var(--bordeaux);
}
.story p { color: var(--ink-soft); margin: 0 0 18px; }
@media (max-width: 900px) { .story .container { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bordeaux); color: var(--beige); font-weight: 800; margin-bottom: 20px;
}
.step p { color: var(--ink-soft); margin: 10px 0 0; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step-actor {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--bordeaux-soft); color: var(--bordeaux);
  padding: 3px 10px; border-radius: 99px;
  margin-bottom: 14px;
}

/* Standout card: automatic step */
.step--auto {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
}
.step--auto::before {
  background: var(--beige);
  color: var(--bordeaux);
}
.step--auto h3 { color: var(--beige); }
.step--auto p  { color: rgba(246,239,228,.8); }
.step--auto .step-actor {
  background: rgba(246,239,228,.15);
  color: var(--beige);
}

/* ---------- Rules (beta) ---------- */
.rules .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.rules ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 12px; color: var(--ink-soft); }
.rules li svg { flex: none; margin-top: 4px; color: var(--bordeaux); }
.rule-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; }
.rule-card .rule-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.rule-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--beige); font-size: 15px; }
.rule-line b { font-size: 12px; letter-spacing: .1em; color: var(--bordeaux); min-width: 44px; }
.toggle { width: 42px; height: 24px; border-radius: 99px; background: var(--bordeaux); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--beige); }
@media (max-width: 900px) { .rules .container { grid-template-columns: 1fr; } }

/* ---------- Focus (what we don't do) ---------- */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.focus-col { border-radius: var(--radius); padding: 32px; }
.focus-col.yes { background: var(--bordeaux); color: var(--beige); }
.focus-col.no  { background: var(--paper); border: 1px solid var(--line); }
.focus-col h3 { margin-bottom: 18px; }
.focus-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.focus-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.focus-col li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 7px; }
.focus-col.no li { color: var(--ink-soft); }
.focus-col.no li::before { background: var(--line); }
.focus-col.yes li { color: rgba(246,239,228,.85); }
.focus-col.yes li::before { background: rgba(246,239,228,.5); }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing teaser ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.tier .tier-name { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.tier .price { font-family: var(--font-display); font-size: 54px; font-weight: 600; color: var(--bordeaux); margin: 12px 0 4px; }
.tier .price small { font-family: var(--font-body); font-size: 16px; color: var(--ink); font-weight: 600; }
.tier p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.pricing-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pricing-cta span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Final CTA + footer ---------- */
.final { background: var(--bordeaux); color: var(--beige); text-align: center; }
.final h2 { color: var(--beige); }
.final p { color: #E9D7D4; font-size: 19px; max-width: 560px; margin: 18px auto 32px; }
.final .btn-primary { background: var(--beige); color: var(--bordeaux); border-color: var(--beige); }
.final .btn-primary:hover { background: var(--paper); color: var(--bordeaux-dark); }
.final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--beige); border-color: rgba(246,239,228,.5); }
.btn-outline:hover { background: rgba(246,239,228,.1); border-color: var(--beige); color: var(--beige); }

footer { background: var(--bordeaux-dark); color: #D9C3C0; padding: 64px 0 28px; font-size: 14px; }
footer a { color: #F3E6E3; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: var(--beige); }
.footer-brand .logo span { color: var(--beige); }
.footer-brand .logo-by { color: rgba(246,239,228,.55); }
.footer-brand p { margin: 16px 0 0; max-width: 320px; line-height: 1.6; color: #D9C3C0; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(246,239,228,.5); margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(246,239,228,.15); margin-top: 48px; padding-top: 24px;
  font-size: 13px; color: rgba(246,239,228,.5);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Logo: "by HostelAnalytics" ---------- */
.logo-by {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0; text-transform: none;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Hero: Works with ---------- */
.hero-works-with {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; flex-wrap: wrap;
}
.hero-works-with span {
  font-size: 12px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase;
}
.hero-works-with img { height: 22px; width: auto; opacity: .8; }
.hero-works-with-logos { display: flex; align-items: center; gap: 14px; }

/* ---------- Integrations ---------- */
.integrations { padding: 52px 0; }
.integ-flow {
  display: flex; align-items: center; justify-content: center;
}
.integ-col { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 148px; }
.integ-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.logo-grid { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.logo-grid img { height: 28px; width: auto; max-width: 110px; object-fit: contain; }
.integ-pms-item { display: flex; align-items: center; gap: 10px; }
.integ-soon img { opacity: .35; }
.badge-live {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 99px;
  background: #E3EFE7; color: var(--ok);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.badge-live::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ok);
}
.badge-soon {
  display: inline-flex; padding: 3px 9px; border-radius: 99px;
  background: var(--beige-deep); color: var(--ink-soft);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.integ-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); padding: 0 12px; opacity: .45; flex: none;
}
.integ-node {
  background: var(--bordeaux); color: var(--beige);
  border-radius: 16px; padding: 22px 32px;
  text-align: center; flex: none;
}
.integ-node-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--beige);
}
.integ-node-name strong { font-weight: 700; }
.integ-node-sub { font-size: 13px; color: rgba(246,239,228,.65); margin-top: 4px; }
.integ-caption {
  text-align: center; color: var(--ink-soft); font-size: 15px;
  margin-top: 28px; margin-bottom: 0;
}
@media (max-width: 760px) {
  .integ-flow { flex-direction: column; gap: 10px; }
  .integ-arrow { transform: rotate(90deg); padding: 0; }
  .logo-grid { align-items: center; }
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px; margin-bottom: 32px;
}
.problem-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.problem-icon { color: var(--bordeaux); margin-bottom: 14px; display: block; }
.problem-item h3 { font-size: 18px; margin-bottom: 8px; }
.problem-item p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.problem-stat {
  display: flex; align-items: center;
  background: var(--bordeaux); color: var(--beige);
  border-radius: var(--radius); padding: 28px 36px; gap: 32px;
  flex-wrap: wrap;
}
.stat-block { flex: none; }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: 40px; font-weight: 700; color: var(--beige); line-height: 1;
}
.stat-label { display: block; font-size: 13px; color: rgba(246,239,228,.7); margin-top: 4px; }
.stat-divider { width: 1px; align-self: stretch; background: rgba(246,239,228,.2); flex: none; }
.stat-after { flex: 1; font-size: 16px; color: rgba(246,239,228,.8); min-width: 200px; }
.stat-after strong { color: var(--beige); }
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .problem-stat { gap: 20px; padding: 24px; }
}

/* ---------- How it works: closing line ---------- */
.how-closing {
  margin-top: 36px; text-align: center;
  color: var(--ink-soft); font-size: 17px;
}

/* ---------- Safety ---------- */
.safety-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; margin-bottom: 28px;
}
.safety-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.safety-icon { color: var(--bordeaux); margin-bottom: 12px; display: block; }
.safety-item h3 { font-size: 16px; margin-bottom: 6px; }
.safety-item p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }
.safety-settings {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px; border-top: 1px solid var(--line); padding-top: 24px;
}
.safety-setting { display: flex; gap: 12px; align-items: flex-start; }
.safety-setting svg { flex: none; margin-top: 2px; color: var(--bordeaux); }
.safety-setting strong { display: block; font-size: 15px; margin-bottom: 2px; }
.safety-setting span { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-settings { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .safety-grid { grid-template-columns: 1fr; }
}

/* ---------- Rules list (new) ---------- */
.rules-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 16px;
}
.rules-list li {
  display: flex; gap: 14px; color: var(--ink-soft);
  align-items: flex-start; font-size: 15px;
}
.rules-list li svg { flex: none; margin-top: 3px; color: var(--bordeaux); }

/* ---------- Rule suggestion card ---------- */
.rule-suggestion {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; display: grid; gap: 12px;
}
.rule-suggestion-head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 15px;
}
.rule-detected {
  background: var(--beige-deep); border-radius: 10px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 4px;
}
.rule-detected-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.rule-detected-value { font-size: 14px; color: var(--ink); font-style: italic; }
.rule-suggestion-actions { display: flex; gap: 10px; margin-top: 4px; }
.btn-sm { min-height: 36px; padding: 0 18px; font-size: 14px; }

/* ---------- Before / After ---------- */
.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 32px;
}
.ba-col { border-radius: var(--radius); padding: 32px; }
.ba-col h3 { margin-bottom: 18px; }
.ba-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ba-col li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 15px;
}
.ba-col li::before {
  content: ""; flex: none; width: 6px; height: 6px;
  border-radius: 50%; margin-top: 7px;
}
.ba-before { background: var(--paper); border: 1px solid var(--line); }
.ba-before h3 { color: var(--ink-soft); }
.ba-before li { color: var(--ink-soft); }
.ba-before li::before { background: var(--line); }
.ba-after { background: var(--bordeaux); }
.ba-after h3 { color: var(--beige); }
.ba-after li { color: rgba(246,239,228,.85); }
.ba-after li::before { background: rgba(246,239,228,.5); }
@media (max-width: 760px) { .before-after { grid-template-columns: 1fr; } }

/* ---------- Mobile navigation (<760px) ---------- */
.nav-right { display: contents; }
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: none; background: transparent; color: var(--bordeaux); cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; border-radius: 8px; }
.nav-mobile { display: none; }

@media (max-width: 760px) {
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav-links .btn-primary { display: none; }
  .nav-links .btn-ghost { padding: 0 16px; min-height: 38px; font-size: 14px; white-space: nowrap; }
  .nav .logo { font-size: 20px; }
  .nav .logo-by { display: block; margin-left: 0; margin-top: 2px; white-space: nowrap; }

  .nav-mobile.open {
    display: flex; flex-direction: column;
    padding: 6px 24px 22px;
    border-top: 1px solid var(--line);
    gap: 2px;
  }
  .nav-mobile a:not(.btn) {
    padding: 13px 2px; color: var(--ink); text-decoration: none;
    font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line);
  }
  .nav-mobile a:not(.btn):hover { color: var(--bordeaux); }
  .nav-mobile .btn { width: 100%; margin-top: 12px; }

  /* Hero actions: full width, stacked */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Works with: keep the three OTA logos on one line */
  .hero-works-with-logos { gap: 10px; flex-wrap: nowrap; }
  .hero-works-with img { height: 16px; }
}

/* ---------- Results & Reliability ---------- */
.results { background: var(--beige); color: var(--ink); text-align: center; }
.results[hidden] { display: none; }
.results-live {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-soft); font-size: 16px; margin: 18px 0 0;
}
.results-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #5FCB8B; box-shadow: 0 0 0 4px rgba(95,203,139,.22);
}
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.results-stat b {
  display: block; font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(44px, 6vw, 72px); color: var(--bordeaux); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.results-stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; } }

/* ---------- Legal pages (privacy, terms, GDPR) ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page .container { max-width: 808px; }   /* a readable text column */
.legal-page h1 { font-size: clamp(36px, 5vw, 54px); }
.legal-page h2 { font-size: clamp(23px, 2.8vw, 28px); margin: 52px 0 14px; }
.legal-page h3 { font-size: 18px; margin: 26px 0 8px; }
.legal-page h3 .badge { margin-left: 8px; }
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal-page .legal-updated { color: var(--ink-soft); font-size: 15px; margin: 14px 0 0; }
/* Highlighted box at the top of the page */
.legal-summary {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--bordeaux);
  border-radius: var(--radius); padding: 26px 28px; margin-top: 36px;
}
.legal-summary h2 { margin-top: 0; }
.legal-summary p { margin: 0; }
.legal-summary p + p { margin-top: 12px; }
/* Small table (sub-processors) */
.legal-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin: 0 0 14px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.legal-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 560px) { .legal-table th, .legal-table td { padding: 10px 12px; } }
/* Legal information: compact small text at the very end of the page */
.legal-info {
  border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-soft);
}
.legal-info h2 {
  font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px;
}
.legal-info ul { list-style: none; margin: 0; padding: 0; gap: 4px; }

/* ---------- Products dropdown (desktop nav) ---------- */
.nav-dd { position: relative; }
.nav-dd > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary:hover, .nav-dd[open] > summary { color: var(--bordeaux); }
.nav-dd > summary svg { transition: transform .15s; }
.nav-dd[open] > summary svg { transform: rotate(180deg); }
.nav-dd > summary:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 4px; border-radius: 6px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; width: 300px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -28px rgba(74,20,32,.45); padding: 8px; display: grid; gap: 2px;
}
.nav-links .nav-dd-menu a { display: block; padding: 12px 14px; border-radius: 10px; }
.nav-links .nav-dd-menu a:hover { background: var(--beige); }
.nav-dd-menu a strong { display: block; font-size: 15px; color: var(--ink); }
.nav-dd-menu a span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }
.nav-links a[aria-current="page"]:not(.btn), .nav-dd-menu a[aria-current="page"] strong { color: var(--bordeaux); }
@media (max-width: 760px) { .nav-dd { display: none; } }
.nav-mobile-label {
  padding: 14px 2px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- Module cards (home) ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.module-card:hover { border-color: var(--bordeaux); transform: translateY(-2px); color: var(--ink); }
.module-card .module-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--bordeaux-soft); color: var(--bordeaux);
}
.module-card h3 { font-size: 22px; }
.module-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.module-card .module-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.module-card .module-link { font-weight: 700; color: var(--bordeaux); font-size: 15px; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }

/* ---------- Module pages ---------- */
.page-hero { padding: 72px 0 64px; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.page-hero h1 em { font-style: italic; color: var(--bordeaux); }
.page-hero .lead { margin: 22px 0 32px; }
.page-hero .badge-live, .page-hero .badge-soon, .page-hero .badge { margin-left: 10px; }
@media (max-width: 900px) { .page-hero .container { grid-template-columns: 1fr; gap: 40px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .feature-icon { color: var(--bordeaux); display: block; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Method A / B */
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.method { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.method-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.method-tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); }
.method h3 { font-size: 26px; }
.method > p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.method ol { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 12px; }
.method ol li { counter-increment: m; display: flex; gap: 12px; font-size: 15px; }
.method ol li::before {
  content: counter(m); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bordeaux-soft); color: var(--bordeaux); font-weight: 800; font-size: 13px; margin-top: 1px;
}
.method-fit { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.method-fit strong { color: var(--bordeaux); }
.methods-note { margin: 28px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 760px; }
@media (max-width: 860px) { .methods { grid-template-columns: 1fr; } }

/* Simple illustration card (stats, access) */
.illus {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -35px rgba(74,20,32,.45); overflow: hidden;
}
.illus-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.illus-head strong { font-size: 15px; }
.illus-head small { color: var(--ink-soft); font-size: 13px; }
.illus table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.illus th, .illus td { padding: 11px 22px; border-bottom: 1px solid var(--line); text-align: right; }
.illus th:first-child, .illus td:first-child { text-align: left; }
.illus th { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.illus-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: var(--beige-deep); font-size: 14px; font-weight: 700; }
.pin-card { padding: 28px 22px 24px; text-align: center; }
.pin-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pin-code { font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: .18em; color: var(--bordeaux); margin: 6px 0 4px; }
.pin-qr { width: 132px; height: 132px; margin: 14px auto 10px; border-radius: 12px; background: var(--beige); display: grid; place-items: center; color: var(--ink); }
.pin-meta { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Price line on module pages */
.price-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--bordeaux); color: var(--beige); border-radius: 18px; padding: 32px 36px; }
.price-band .price { font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1; }
.price-band .price small { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: rgba(246,239,228,.8); }
.price-band p { margin: 8px 0 0; color: rgba(246,239,228,.8); font-size: 15.5px; }
.price-band .btn-primary { background: var(--beige); color: var(--bordeaux); border-color: var(--beige); }
.price-band .btn-primary:hover { background: var(--paper); color: var(--bordeaux-dark); }

/* ---------- Demo request form ---------- */
.demo-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -35px rgba(74,20,32,.35); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bordeaux); outline-offset: 1px; border-color: var(--bordeaux); }
fieldset.field { border: none; margin: 0; padding: 0; }
.checks { display: grid; gap: 10px; margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--bordeaux); flex: none; }
.check small { display: block; color: var(--ink-soft); font-size: 13px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.demo-form .btn { width: 100%; cursor: pointer; font-family: inherit; }
.demo-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 15px; min-height: 0; }
.form-status.error { color: #9B1C1C; }
.form-done { text-align: center; padding: 24px 8px; }
.form-done h2 { font-size: 30px; margin-bottom: 10px; }
.form-done p { color: var(--ink-soft); margin: 0; }

/* ---------- Used by ---------- */
.used-by { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.used-by span { font-weight: 500; color: var(--ink-soft); margin-right: 4px; }

/* ---------- What you need to start ---------- */
.start-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--bordeaux); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.start-box h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.start-box ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.start-box li { color: var(--ink-soft); font-size: 15.5px; }
.start-box li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 860px) { .start-box ul { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 600; color: var(--bordeaux); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 4px; border-radius: 6px; }
.faq-item p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16px; }
