/* Landing page (/) only. Loaded after styles.css, reuses its tokens (--brand, --ink, --bg, ...).
   Display face: Bricolage Grotesque (SIL OFL 1.1, see /fonts/OFL.txt), self-hosted because the
   CSP only allows same-origin fonts. Body text stays on the system UI stack. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-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;
}

.lp {
  --lp-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --lp-max: 1120px;
  --lp-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --lp-section: clamp(4rem, 9vw, 7.5rem);
  --lp-ink-2: #3d3833;
  --lp-brand-deep: #0b5f58;
  --lp-wa: #1c8649; /* same WhatsApp green as .btn.wa in styles.css */
  --lp-dark: #1d1b19;
  --lp-dark-ink: #f4efe9;
  --lp-dark-muted: #b9b0a6;
  --lp-dark-line: rgba(244, 239, 233, .14);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.lp h1, .lp h2, .lp h3 { font-family: var(--lp-display); text-wrap: balance; color: var(--ink); }
.lp h2 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 720; margin: 0 0 1rem; }
.lp p { text-wrap: pretty; }
.lp-container { max-width: var(--lp-max); margin-inline: auto; padding-inline: var(--lp-gutter); }
.lp-eyebrow { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ---- buttons & links (landing only; app pages keep their own) ---- */
.lp .btn { transition-property: background-color, border-color, color, transform; transition-duration: .15s; transition-timing-function: ease-out; }
.lp .btn:hover { background: var(--lp-brand-deep); border-color: var(--lp-brand-deep); }
.lp .btn:active { transform: scale(.96); }
.lp-btn-lg { min-height: 52px; padding: .75rem 1.5rem; font-size: 1.05rem; border-radius: 10px; }
.lp .btn.lp-btn-inverse { background: #fff; border-color: #fff; color: var(--brand); }
.lp .btn.lp-btn-inverse:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.lp-text-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em;
  text-decoration-color: rgba(29, 27, 25, .28); transition: text-decoration-color .15s ease-out;
}
.lp-text-link:hover { text-decoration-color: currentColor; }

/* ---- nav ---- */
.lp-nav { padding-block: 1rem; }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-logo { font-family: var(--lp-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.lp-logo span { color: var(--brand); }
.lp-logo-sm { font-size: 1rem; }
.lp-nav-links { display: flex; align-items: center; gap: .35rem; }
.lp-label-short { display: none; }
.lp-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .15s ease-out;
}
.lp-link:hover { background: rgba(29, 27, 25, .06); }
@media (max-width: 400px) {
  .lp-logo { font-size: 1.2rem; }
  .lp-link { padding: 0 .55rem; }
  .lp-nav .btn { padding-inline: .8rem; }
}
/* Narrowest phones: "Free trial" instead of "Start free trial" so the nav never wraps.
   The long label stays in the accessibility tree; the short one is aria-hidden. */
@media (max-width: 374px) {
  .lp-label-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lp-label-short { display: inline; }
}

/* ---- hero ---- */
.lp-hero { padding-block: clamp(2rem, 6vw, 4.5rem) var(--lp-section); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 760; margin: 0 0 1.4rem; }
/* The quote always gets its own line; on wider screens the opening mark hangs into the margin
   so "ada" lines up with "Fewer" and "messages" (measured advance of “ ≈ 0.34em). */
.lp-quote { display: block; color: var(--brand); white-space: nowrap; }
@media (min-width: 901px) { .lp-quote { text-indent: -.34em; } } /* two-column only: gutter >= 36px */
.lp-lead { max-width: 33em; margin: 0 0 2rem; font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--lp-ink-2); }
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-bottom: 1.6rem; }
.lp-assurances { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.lp-assurances li { display: inline-flex; align-items: center; gap: .55rem; }
.lp-assurances li::before {
  content: ''; width: .32rem; height: .62rem; margin: -.2rem 0 0 .15rem; /* optical: rotated box sits left */
  border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* hero product specimen: the real booking page (BM) + the WhatsApp message it produces */
.lp-hero-visual { position: relative; justify-self: center; width: min(100%, 330px); }
.lp-phone {
  border-radius: 42px; padding: 10px; background: #1d1b19;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -30px rgba(29, 27, 25, .55), 0 14px 28px -14px rgba(29, 27, 25, .35);
}
.lp-phone-screen { overflow: hidden; border-radius: 32px; background: var(--bg); font-size: .78rem; line-height: 1.35; }
.lp-mock-top {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: 1.15rem 1rem .75rem; background: #fff; border-bottom: 1px solid var(--line); font-weight: 750; font-size: .92rem;
}
.lp-mock-lang { display: flex; gap: 4px; }
.lp-mock-lang span { padding: .12rem .4rem; border: 1px solid var(--brand); border-radius: 6px; color: var(--brand); font-size: .64rem; font-weight: 700; }
.lp-mock-lang span.on { background: var(--brand); color: #fff; }
/* Generous bottom padding: the WhatsApp card overlaps this area, never the submit button. */
.lp-mock-body { padding: .9rem .9rem 2.4rem; }
.lp-mock-label { margin: .85rem 0 .4rem; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.lp-mock-label:first-child { margin-top: 0; }
.lp-mock-svc {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem;
  padding: .5rem .7rem; background: #fff; border: 1px solid var(--line); border-radius: 9px;
}
.lp-mock-svc.on { border-color: var(--brand); background: var(--brand-soft); }
.lp-mock-svc > span { display: flex; flex-direction: column; }
.lp-mock-svc small { color: var(--muted); font-size: .66rem; }
.lp-mock-svc > b { font-variant-numeric: tabular-nums; }
.lp-mock-chips { display: flex; flex-wrap: wrap; gap: .32rem; }
.lp-mock-date, .lp-mock-time {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 700;
}
.lp-mock-date { min-width: 3.35rem; padding: .28rem .4rem; line-height: 1.15; }
.lp-mock-date small { font-size: .6rem; font-weight: 500; opacity: .8; }
.lp-mock-time { padding: .38rem .5rem; font-variant-numeric: tabular-nums; }
.lp-mock-date.on, .lp-mock-time.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.lp-mock-submit {
  display: flex; align-items: center; justify-content: center; min-height: 2.35rem; margin-top: .95rem;
  border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700;
}
.lp-wa {
  position: relative; margin: -1.9rem 1.75rem 0 -2.25rem; padding: .6rem .6rem .65rem;
  background: #efeae2; border-radius: 20px; /* 10px bubble radius + 0.6rem padding */
  box-shadow: 0 0 0 1px rgba(29, 27, 25, .06), 0 28px 50px -20px rgba(29, 27, 25, .45);
}
.lp-wa-head { display: flex; align-items: center; gap: .45rem; margin: 0 0 .45rem .2rem; color: #54656f; font-size: .7rem; font-weight: 700; }
.lp-wa-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lp-wa); }
.lp-wa-bubble {
  position: relative; margin: 0; padding: .5rem .65rem 1.15rem; background: #d9fdd3; border-radius: 10px 10px 3px 10px;
  color: #111b21; font-size: .76rem; line-height: 1.45; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.lp-wa-time { position: absolute; right: .55rem; bottom: .25rem; color: #667781; font-size: .62rem; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .lp-phone { animation: lp-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .lp-wa { animation: lp-rise .6s cubic-bezier(.2, .7, .2, 1) .5s both; }
}
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- how it works ---- */
.lp-how { padding-block: var(--lp-section); background: #fff; border-block: 1px solid var(--line); }
.lp-how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lp-how-intro { position: sticky; top: 2rem; }
.lp-how-intro p:last-child { max-width: 24em; margin: 0; color: var(--muted); font-size: 1.1rem; }
.lp-steps { margin: 0; padding: 0; list-style: none; }
.lp-step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.25rem; padding-block: 2.1rem; border-top: 1px solid var(--line); }
.lp-step:first-child { padding-top: .35rem; border-top: 0; }
.lp-step:last-child { padding-bottom: 0; }
.lp-step-num { padding-top: .3rem; color: var(--brand); font-family: var(--lp-display); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-step h3 { margin: 0 0 .4rem; font-size: 1.4rem; font-weight: 680; letter-spacing: -.015em; }
.lp-step p { max-width: 36em; margin: 0; color: var(--lp-ink-2); }
.lp-frag {
  grid-column: 2; max-width: 30rem; margin-top: 1.15rem; padding: .85rem 1rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; font-size: .9rem;
}
.lp-frag-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.5rem; gap: 1rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.lp-frag-row > span:nth-child(2) { color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-frag-row > b { text-align: right; font-variant-numeric: tabular-nums; }
.lp .lp-frag-note { margin: .55rem 0 0; color: var(--muted); font-size: .82rem; }
.lp-frag-link { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.lp-frag-label { color: var(--muted); font-size: .82rem; font-weight: 600; }
.lp-frag-url { padding: .4rem .7rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .86rem; overflow-wrap: anywhere; }
.lp-frag-url b { color: var(--brand); }
.lp-frag-booking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; background: #fff; }
.lp .lp-frag-when, .lp .lp-frag-who { margin: 0; }
.lp-frag-actions { display: flex; gap: .4rem; }
.lp-chip-btn { display: inline-flex; align-items: center; min-height: 2.1rem; padding: 0 .75rem; border-radius: 8px; color: #fff; font-size: .84rem; font-weight: 700; }
.lp-chip-btn.wa { background: var(--lp-wa); }
.lp-chip-btn.confirm { background: var(--brand); }

/* ---- facts (dark band) ---- */
.lp-facts { padding-block: var(--lp-section); background: var(--lp-dark); color: var(--lp-dark-ink); }
.lp-facts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.lp-facts .lp-eyebrow { color: #7fd1c3; }
.lp-facts h2 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4rem); }
.lp .lp-facts-lead { max-width: 26em; margin: 0; color: var(--lp-dark-muted); font-size: 1.15rem; }
.lp-facts-list { margin: 0; }
.lp-facts-list > div { padding-block: 1.3rem; border-top: 1px solid var(--lp-dark-line); }
.lp-facts-list > div:first-child { padding-top: .3rem; border-top: 0; }
.lp-facts-list > div:last-child { padding-bottom: 0; }
.lp-facts-list dt { margin-bottom: .25rem; color: #fff; font-family: var(--lp-display); font-size: 1.3rem; font-weight: 650; letter-spacing: -.01em; }
.lp-facts-list dd { margin: 0; color: var(--lp-dark-muted); }

/* ---- FAQ ---- */
.lp-faq { padding-block: var(--lp-section) 0; }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 6vw, 6rem); align-items: start; }
.lp-faq-list details { border-top: 1px solid var(--line); }
.lp-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px;
  padding: 1.15rem 0; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 650;
}
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after {
  content: ''; flex: none; width: .6rem; height: .6rem; margin: -.3rem .3rem 0 0;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease-out;
}
.lp-faq-list details[open] summary::after { margin-top: .3rem; transform: rotate(-135deg); }
.lp-faq-list summary:hover { color: var(--brand); }
.lp-faq-list summary:focus-visible { outline: 3px solid rgba(15, 118, 110, .35); outline-offset: 2px; border-radius: 4px; }
.lp-faq-list details p { max-width: 40em; margin: -.25rem 0 1.3rem; color: var(--lp-ink-2); }

/* ---- final call to action ---- */
.lp-final { padding-block: var(--lp-section) 0; }
.lp-final-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.75rem 3rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); background: var(--brand); border-radius: 24px; color: #fff;
}
.lp-final-panel h2 { margin-bottom: .5rem; color: #fff; }
.lp .lp-final-panel h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.1rem); }
.lp-final-panel p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1.1rem; }
.lp-final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.lp .lp-final-actions p { font-size: .95rem; }
.lp-final-actions a:not(.btn) { color: #fff; font-weight: 600; }
/* The default teal focus ring is invisible on the teal panel. */
.lp-final-panel a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- footer (overrides the centred app footer in styles.css) ---- */
.lp-footer { padding: 2.5rem 0 3rem; text-align: left; color: var(--muted); font-size: .9rem; }
.lp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-footer nav { display: flex; gap: .5rem 1.25rem; }
.lp-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-footer a { color: var(--muted); }
.lp-footer a:hover { color: var(--ink); }

/* in-page link to #how */
#how { scroll-margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html:has(body.lp) { scroll-behavior: smooth; } }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .lp-hero-grid, .lp-how-grid, .lp-facts-grid, .lp-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-how-intro { position: static; }
  .lp-wa { margin-left: -.5rem; margin-right: 1.25rem; }
}
@media (max-width: 760px) {
  .lp-final-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .lp-step { grid-template-columns: minmax(0, 1fr); }
  .lp-step-num { padding-top: 0; margin-bottom: .35rem; }
  .lp-frag { grid-column: 1; }
  .lp-frag-row { grid-template-columns: minmax(0, 1fr) auto 5rem; gap: .75rem; }
}
