/* Layout: navy hero with a phone mockup of a client's page, then cream sections that read top to bottom: problem → offer → steps → pilot → FAQ → form. */
:root {
  --navy: #0B2A43;
  --navy-2: #12395A;
  --cream: #FAF3E3;
  --paper: #FFFFFF;
  --gold: #E3B15C;
  --gold-ink: #6B5418;
  --blue: #4A6E8C;
  --ink: #0B2A43;
  --muted: #3F5266;
  --on-navy-muted: #C9D4DE;
  --line: #E3D9BF;
  --field: #8C8777;
  --error: #A3261B;
  --ok: #1F6B4A;
  --display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .95; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.serif { font-family: var(--accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn svg { transition: transform .3s; flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold::before { background: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy::before { background: var(--gold); }
.btn-navy:hover, .btn-navy:focus-visible { color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header: sticks to the top on tablet/desktop so "Book a call" is always one tap away */
.site-head { background: var(--navy); color: var(--cream); position: sticky; top: 0; z-index: 30; transition: box-shadow .25s; }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(11,42,67,.28); }
section[id] { scroll-margin-top: 88px; }

/* Phone: fixed bottom bar with the call button (the header scrolls away there) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--navy); color: var(--on-navy-muted);
  box-shadow: 0 -8px 24px rgba(11,42,67,.25);
  font-size: 14px;
  transform: translateY(0); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta .btn { min-height: 48px; padding: 0 20px; font-size: 16px; flex: 1 1 auto; justify-content: center; max-width: 280px; }
.sticky-cta span { flex: 0 1 auto; text-align: right; line-height: 1.3; }
.sticky-cta span strong { color: var(--cream); white-space: nowrap; }
.sticky-cta.off { transform: translateY(110%); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.brand .serif { color: var(--gold); font-size: 1.12em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--on-navy-muted); }
.nav-links a:hover { color: var(--cream); }
.lang { border: 1.5px solid rgba(250,243,227,.35); border-radius: 999px; padding: 6px 12px; color: var(--cream) !important; }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav-links .btn-gold, .nav-links .btn-gold:hover { color: var(--navy); }

/* Hero */
.hero { background: var(--navy); color: var(--cream); position: relative; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; padding-block: 32px 112px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: var(--on-navy-muted); }
.swipe { position: relative; display: inline-block; isolation: isolate; padding: 0 .12em; color: var(--navy); }
.swipe::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .14em; bottom: .04em;
  background: var(--gold); border-radius: .08em;
  transform: skewX(-8deg); transform-origin: left center;
  animation: swipe .9s cubic-bezier(.65,0,.35,1) .35s both;
}
@keyframes swipe { from { transform: skewX(-8deg) scaleX(0); } to { transform: skewX(-8deg) scaleX(1); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-phone { font-size: 16px; color: var(--on-navy-muted); }
.hero-phone strong { color: var(--cream); font-weight: 700; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1.5px solid rgba(250,243,227,.28); color: var(--cream); }

/* Phone mockup of an example client page */
.mock { flex: 1 1 320px; min-width: 0; max-width: 420px; margin-inline: auto; position: relative; padding-bottom: 28px; }
.mock-label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 14px; text-align: center; }
.phone {
  width: min(300px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; max-width: 100%;
  background: #0A1F31; border-radius: 40px; padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.4), inset 0 0 0 2px rgba(250,243,227,.12);
}
.screen { height: 100%; border-radius: 30px; overflow: hidden; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.screen-top { background: var(--blue); color: #fff; padding: 22px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.screen-co { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.screen-h { font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -0.03em; }
.screen-btn { align-self: flex-start; background: #fff; color: var(--blue); font-weight: 800; font-size: 12px; padding: 8px 12px; border-radius: 999px; }
.screen-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.screen-label { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.screen-field { height: 26px; border-radius: 7px; border: 1px solid #CBD3DA; display: flex; align-items: center; padding-inline: 8px; font-size: 11px; color: #536475; }
.screen-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.screen-pills span { font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 999px; border: 1px solid #CBD3DA; }
.screen-pills span.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.screen-send { margin-top: 4px; background: var(--navy); color: #fff; font-weight: 800; font-size: 12px; text-align: center; padding: 9px; border-radius: 9px; }
.notif {
  position: absolute; left: -8px; bottom: 0; width: min(270px, 92%);
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: flex-start;
  animation: pop .7s cubic-bezier(.34,1.56,.64,1) 1.1s both;
}
.notif-icon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--gold); display: grid; place-items: center; }
.notif small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.notif strong { display: block; font-size: 15px; line-height: 1.25; }
.notif span { font-size: 13px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }

/* Drip edge under the hero */
.drips { position: absolute; left: 0; right: 0; top: 100%; height: 0; pointer-events: none; z-index: 2; }
.drips i { position: absolute; top: -1px; background: var(--navy); border-radius: 0 0 999px 999px; transform-origin: top; animation: drip 1.3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes drip { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Sections */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.white { background: var(--paper); border-block: 1px solid var(--line); }

.pain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain article { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pain .q { font-family: var(--accent); font-style: italic; font-size: 30px; line-height: 1.1; color: var(--navy); }
.pain p { color: var(--muted); font-size: 17px; }

.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.offer-item { display: flex; gap: 18px; padding-block: 24px; border-top: 1.5px solid var(--line); }
.offer-item svg { flex: none; margin-top: 3px; }
.offer-item div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.offer-item p { color: var(--muted); font-size: 17px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 4px solid var(--navy); counter-increment: step; }
.steps li::before { content: "0" counter(step); font-weight: 800; font-size: 40px; line-height: 1; color: var(--gold-ink); letter-spacing: -0.03em; }
.steps p { color: var(--muted); font-size: 16px; }

.pilot { background: var(--navy); color: var(--cream); }
.pilot-grid { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.pilot-copy { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pilot .eyebrow { color: var(--gold); }
.pilot-big { font-weight: 800; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.pilot-big .serif { color: var(--gold); }
.pilot-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pilot-side .row { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px solid rgba(250,243,227,.25); border-radius: 16px; font-weight: 600; }
.pilot-side p { color: var(--on-navy-muted); font-size: 16px; margin-top: 8px; }

.faq { display: flex; flex-direction: column; max-width: 860px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 22px; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; color: var(--gold-ink); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* Form */
.form-grid { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.form-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-box { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: var(--cream); border: 1.5px solid var(--line); font-size: 16px; }
.contact-box strong { font-size: 19px; user-select: all; }
.enquiry { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(227,177,92,.5); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 12px; font-size: 16px; font-weight: 500; background: var(--paper); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.err { color: var(--error); font-size: 14px; font-weight: 600; }
.field.invalid input[type=text], .field.invalid input[type=tel], .field.invalid input[type=email] { border-color: var(--error); }
.field.invalid .choice span { border-color: var(--error); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 16px; font-weight: 600; }
.status.bad { color: var(--error); }
.fine { font-size: 14px; color: var(--muted); }

/* Footer */
.site-foot { background: var(--navy); color: var(--on-navy-muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-block: 48px; }
.foot strong { color: var(--cream); font-size: 18px; }
.foot a { color: var(--cream); }
.foot-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* Simple pages (thank-you, privacy) */
.simple { padding-block: clamp(64px, 9vw, 112px); }
.simple .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.prose h2 { font-size: 26px; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 900px) {
  .pain { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 561px) {
  .sticky-cta { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .site-head { position: static; }
  section[id] { scroll-margin-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .nav-links .hide-sm { display: none; }
  .notif { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
