/* Free to Fly website: shared styles for every page. */
/* Brand tokens, taken from the app (Style/sass/_variables.scss and Style/landing.css). */
:root {
  --green: #607729;
  --green-dark: #2d3a12;
  --green-mid: #b2d092;
  --green-pale: #e9efe1;
  --cream: #f7f8f2;
  --blue-pale: #d0ebfb;
  --blue: #3f7fa8;
  --peach: #fdebd6;
  --text: #3b3b3b;
  --muted: #6b6f63;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .16);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.alt { background: var(--green-pale); }
.section.cream { background: var(--cream); }
.intro { font-size: 1.1rem; max-width: 44rem; color: var(--muted); }
.eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 22px; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid var(--green); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-outline { background: transparent; color: var(--green); }

/* Mock-up ribbon */

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--green-pale); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 9px 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; color: var(--green); cursor: pointer; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px 16px 20px; gap: 14px; border-bottom: 1px solid var(--green-pale); }
}
@media (max-width: 520px) { .site-header .wrap { gap: 10px; } .header-actions { gap: 6px; } .header-actions .btn { padding: 7px 9px; font-size: .78rem; border-radius: 8px; } .brand img { height: 44px; } }

/* Hero: children's faces stay visible in the middle, text on the left over a soft fade. */
.hero { position: relative; background: var(--green-dark); color: var(--white); overflow: hidden; }
/* The photo fills the right-hand side only, so the headline never covers a face. */
.hero-photo { position: absolute; top: 0; bottom: 0; right: 0; left: 40%; background: url(img/landing-hero.jpg) 50% 30% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-dark) 0%, rgba(45,58,18,.6) 7%, rgba(45,58,18,0) 18%); }
.hero .wrap { position: relative; min-height: 470px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero-text { max-width: min(500px, 36%); }
@media (max-width: 1100px) { .hero-photo { left: 46%; } .hero-text { max-width: 44%; } }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.hero .lead { font-size: 1.15rem; color: #eef3e4; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 8px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-mid); color: var(--green-dark); font-size: 13px; font-weight: 700; text-align: center; line-height: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero-photo { position: relative; left: 0; height: 40vw; background-position: 50% 30%; }
  .hero-photo::after { display: none; }
  .hero .wrap { min-height: 0; padding-top: 28px; }
  .hero-text { max-width: none; }
}

/* Credibility strip */
.strip { background: var(--cream); border-bottom: 1px solid var(--green-pale); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.strip-item { display: flex; gap: 12px; align-items: center; font-size: .98rem; }
.strip-item .badge { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--green-pale); color: var(--green); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.strip-item strong { display: block; color: var(--green-dark); }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr; } }

/* "Every child, free to fly": text beside two softly overlapping photos */
.connect { padding: 72px 0; }
.connect .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.connect p { color: var(--muted); font-size: 1.1rem; max-width: 30rem; }
.photo-pair { position: relative; height: 380px; }
.photo-pair img { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.photo-pair .main { left: 0; top: 0; width: 76%; height: 300px; }
.photo-pair .second { right: 0; bottom: 0; width: 44%; height: 190px; border: 6px solid var(--white); }
@media (max-width: 900px) {
  .connect .wrap { grid-template-columns: 1fr; gap: 28px; }
  .photo-pair { height: 300px; }
  .photo-pair .main { height: 230px; width: 80%; }
  .photo-pair .second { height: 140px; width: 46%; }
}

/* Three steps with drawn app screens */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.step { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.step .screen { background: var(--cream); padding: 18px; border-bottom: 1px solid var(--green-pale); min-height: 190px; flex: 1; }
.step .body { padding: 18px 20px 22px; }
.step .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; margin-right: 8px; font-size: .95rem; }
.step h3 { display: flex; align-items: center; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } }
.ui { background: var(--white); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 12px 14px; font-size: .78rem; }
.ui-title { font-weight: 700; color: var(--green-dark); margin-bottom: 8px; display: flex; justify-content: space-between; }
.ui-title span { color: var(--muted); font-weight: 400; }
.q { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-top: 1px solid #f0f2ea; }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--green-mid); display: block; }
.dots i.on { background: var(--green); border-color: var(--green); }
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; }
.bar b { font-weight: 600; color: var(--text); font-size: .72rem; }
.bar span { height: 10px; border-radius: 6px; background: var(--green); display: block; }
.bar span.def { background: var(--blue); }
.bar span.focus { outline: 2px solid #e2a54a; outline-offset: 1px; }
.plan-chip { display: inline-block; border-radius: 999px; padding: 3px 9px; margin: 0 4px 6px 0; font-weight: 600; font-size: .72rem; }
.c1 { background: var(--green-pale); color: var(--green-dark); }
.c2 { background: var(--blue-pale); color: #24506b; }
.c3 { background: var(--peach); color: #7a4a12; }
.c4 { background: #efe4f6; color: #5a3470; }
.trend { display: flex; align-items: flex-end; gap: 8px; height: 82px; padding-top: 6px; }
.trend div { flex: 1; border-radius: 6px 6px 0 0; background: var(--green-mid); }
.trend div:last-child { background: var(--green); }
.illus-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Feature cards (as on the trial page) */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.feature-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 22px 18px 24px; }
.feature-card img { width: 64%; max-width: 170px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; }
.feature-card p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 980px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } }

/* Emotional systems + PRRR */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sys-group { border-radius: var(--radius); padding: 18px; }
.sys-group.pro { background: var(--white); border: 2px solid var(--green-mid); }
.sys-group.def { background: var(--white); border: 2px solid var(--blue-pale); }
.sys-group h3 { font-size: 1.05rem; margin-bottom: 10px; }
.sys-group.def h3 { color: var(--blue); }
.sys { display: block; font-weight: 700; letter-spacing: .03em; padding: 8px 12px; border-radius: 10px; margin-bottom: 8px; font-size: .92rem; }
.sys.pro { background: var(--green-pale); color: var(--green-dark); }
.sys.def { background: var(--blue-pale); color: #24506b; }
.sys small { display: block; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.prrr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.prrr div { background: var(--white); border-radius: 12px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.prrr b { display: block; font-family: var(--serif); color: var(--green); font-size: 1.1rem; }
.prrr span { font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .prrr { grid-template-columns: 1fr 1fr; } .systems { grid-template-columns: 1fr; } }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: " \2192"; }

/* Who it's for */
.who-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.who-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .who-head { grid-template-columns: 1fr; gap: 20px; } }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.role { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.role:nth-child(2) { border-top-color: var(--green-mid); }
.role:nth-child(3) { border-top-color: var(--blue); }
.role:nth-child(4) { border-top-color: #e2a54a; }
.role .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-pale); display: grid; place-items: center; margin-bottom: 12px; }
.role .ic svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.role p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Photo + quote */

/* Trial band */
.trial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .trial { grid-template-columns: 1fr; } }
.trial-list { list-style: none; padding: 0; margin: 20px 0 0; }
.trial-list li { display: flex; gap: 14px; margin-bottom: 16px; }
.trial-list .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--blue-pale); display: grid; place-items: center; }
.trial-list .ic svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trial-list strong { display: block; color: var(--green-dark); }
.trial-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0 30px 30px; text-align: center; overflow: hidden; }
.trial-card .card-photo { margin: 0 -30px 22px; height: 170px; background: url(img/three-children.jpg) center 30% / cover; }
.trial-card .big { font: 700 3rem/1 var(--serif); color: var(--green); }
.trial-card .btn { width: 100%; margin-top: 18px; }
.note { background: var(--peach); border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-top: 18px; text-align: left; }

/* Footer */
.site-footer { background: var(--green-dark); color: #dfe8cf; padding: 46px 0 26px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--white); font: 700 1rem var(--serif); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.footer-logo { background: var(--white); border-radius: 12px; padding: 8px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 52px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }


/* ---------- Inner pages ---------- */
.nav a.active { color: var(--green); box-shadow: inset 0 -3px 0 var(--green-mid); }
.page-hero { background: var(--cream); border-bottom: 1px solid var(--green-pale); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } }

/* Assess -> Plan -> Review jump links */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; max-width: 560px; }
.journey a { position: relative; text-decoration: none; color: var(--green-dark); font-weight: 700; padding-top: 44px; text-align: center; }
.journey a::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; z-index: 1; }
.journey a:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--green-mid); }
.journey a:hover { color: var(--green); }

/* Stage sections: text beside a drawn screen */
.stage .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stage.flip .wrap > :first-child { order: 2; }
@media (max-width: 900px) { .stage .wrap { grid-template-columns: 1fr; gap: 28px; } .stage.flip .wrap > :first-child { order: 0; } }
.stage-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.points { list-style: none; padding: 0; margin: 18px 0 0; }
.points li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.points li::before { content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; }
.screen-frame { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--green-pale); }
.screen-frame .bar-top { display: flex; gap: 6px; margin-bottom: 14px; }
.screen-frame .bar-top i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7da; display: block; }
.screen-frame .ui { box-shadow: none; border: 1px solid #eef1e7; font-size: .82rem; }
.screen-frame .ui + .ui { margin-top: 10px; }

/* Drawn scale question */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.scale span { text-align: center; border: 1.5px solid var(--green-mid); border-radius: 8px; padding: 6px 2px; font-size: .7rem; color: var(--muted); }
.scale span.on { background: var(--green); border-color: var(--green); color: var(--white); font-weight: 700; }

/* Drawn two-part gauge */
.gauge { display: flex; align-items: center; gap: 16px; }
.gauge .arc { width: 120px; height: 60px; border-radius: 120px 120px 0 0; background: conic-gradient(from 270deg at 50% 100%, var(--green) 0 112deg, var(--blue) 112deg 180deg, transparent 180deg); position: relative; flex: 0 0 auto; }
.gauge .arc::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 38px; background: var(--white); border-radius: 76px 76px 0 0; }
.legend { font-size: .76rem; }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.focus-pill { display: inline-block; background: #fbecd4; color: #7a4a12; border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: .75rem; margin-top: 8px; }

/* Drawn plan */
.tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tabs span { border-radius: 8px; padding: 5px 10px; font-weight: 700; font-size: .74rem; }
.tabs .t-on { background: var(--green); color: var(--white); }
.tabs .t-off { background: var(--green-pale); color: var(--green-dark); }
.strategy { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid #f0f2ea; }
.strategy .i { width: 18px; height: 18px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: grid; place-items: center; font-size: .65rem; font-weight: 700; font-style: normal; }
.speech { background: var(--blue-pale); border-radius: 14px 14px 14px 4px; padding: 10px 12px; color: #24506b; font-size: .82rem; font-style: italic; }

/* Drawn before / after */
.compare { display: grid; gap: 7px; }
.compare .row { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: center; font-size: .72rem; font-weight: 600; }
.compare .pair { display: grid; gap: 3px; }
.compare .pair span { height: 8px; border-radius: 5px; display: block; }
.compare .before { background: #cfd8bf; }
.compare .after { background: var(--green); }

/* Small feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.tile { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-pale); display: grid; place-items: center; margin-bottom: 12px; }
.tile .ic svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.photo-side { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.cta-band { background: var(--green); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e6eed8; max-width: 36rem; margin: 0 auto 22px; }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* The onboarding pictures are round cut-outs, so show them as circles with a soft ring. */
.page-hero img.circle-photo, img.circle-photo { width: min(100%, 400px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 12px var(--green-pale), var(--shadow-lg); }
.section.alt .circle-photo, .page-hero .circle-photo { box-shadow: 0 0 0 12px var(--white), var(--shadow-lg); }

/* Full-width banner hero. The banner photos are about 3:1 with no people in their left part, so the
   photo is anchored to the left and the text sits over that empty part, starting 5% in from the
   window edge. Each page sets --tw: how wide the text may be before it would reach a face
   (home 30vw, approach 36vw, about 25vw: just under where the first child starts). */
.banner-hero { position: relative; background: var(--green-dark); color: var(--white); overflow: hidden; }
.banner-hero .photo { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: left 35%; }
.banner-hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,36,10,.85) 0%, rgba(25,36,10,.6) calc(var(--tw, 30vw) * .8), rgba(25,36,10,0) calc(var(--tw, 30vw) + 8vw)); }
.banner-hero .wrap { position: relative; max-width: none; min-height: min(36vw, 600px); display: flex; align-items: center; padding: 40px 0 40px 5vw; }
.banner-hero .hero-text { width: var(--tw, 30vw); min-width: 240px; }
.banner-hero h1 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.9rem); }
.banner-hero .lead { font-size: clamp(1rem, 1.15vw, 1.15rem); color: #eef3e4; }
.banner-hero .ticks { font-size: clamp(.92rem, 1.05vw, 1rem); }
.banner-hero .eyebrow { color: var(--green-mid); }
@media (max-width: 760px) {
  .banner-hero .photo { position: relative; height: 34vw; background-position: center; }
  .banner-hero .photo::after { display: none; }
  .banner-hero .wrap { min-height: 0; padding: 26px 16px 32px; }
  .banner-hero .hero-text { width: auto; min-width: 0; }
}
.hero-link { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green-mid); padding-bottom: 2px; }
.hero-link::after { content: " \2193"; }
.page-hero .hero-link { color: var(--green); }

/* Header: trial button styling when it's the current page */
.header-actions .btn.active { background: var(--green-dark); border-color: var(--green-dark); }

/* Jump chips under a page heading */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { text-decoration: none; background: var(--white); border: 1.5px solid var(--green-mid); color: var(--green-dark); font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 999px; }
.chips a:hover { background: var(--green-pale); }

/* Role sections (Who it's for) */
.role-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.role-head .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green-pale); display: grid; place-items: center; flex: 0 0 auto; }
.role-head .ic svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.role-head h2 { margin: 0; }
.uses { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; border-top: 5px solid var(--green); }
.uses h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--sans); color: var(--muted); margin-bottom: 14px; }
.uses ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.uses li { display: flex; gap: 12px; align-items: flex-start; }
.uses li b { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--green-pale); color: var(--green); display: grid; place-items: center; font-size: .85rem; }
.uses li span { padding-top: 6px; }
.uses.c2 { border-top-color: var(--green-mid); } .uses.c3 { border-top-color: var(--blue); } .uses.c4 { border-top-color: #e2a54a; }

/* Our approach */
.systems-explained { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.sx { border-radius: 14px; padding: 16px 18px; background: var(--white); box-shadow: var(--shadow); border-left: 5px solid var(--green); }
.sx.def { border-left-color: var(--blue); }
.sx b { display: block; letter-spacing: .04em; color: var(--green-dark); }
.sx.def b { color: #24506b; }
.sx p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .systems-explained { grid-template-columns: 1fr; } }
.group-label { font: 700 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 30px 0 0; color: var(--green); }
.group-label.def { color: var(--blue); }
.big-question { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 34px; border-left: 8px solid #e2a54a; }
.big-question q { display: block; font: 700 clamp(1.3rem, 2.4vw, 1.8rem)/1.3 var(--serif); color: var(--green-dark); quotes: none; margin-top: 14px; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.skill-chips span { background: var(--white); border-radius: 12px; padding: 10px 16px; font-weight: 600; box-shadow: var(--shadow); }
.prrr-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.prrr-cards div { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.prrr-cards div:nth-child(2) { border-top-color: var(--blue); } .prrr-cards div:nth-child(3) { border-top-color: #e2a54a; } .prrr-cards div:nth-child(4) { border-top-color: #9b7bb5; }
.prrr-cards p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) { .prrr-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prrr-cards { grid-template-columns: 1fr; } }

/* About us */
.free-to { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 26px; }
.free-to span { background: var(--white); border-radius: 14px; padding: 16px 18px; font: 600 1.05rem/1.3 var(--serif); color: var(--green-dark); box-shadow: var(--shadow); }
.free-to span::before { content: "Free to "; color: var(--green); }
.partner { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.partner .badge { width: 74px; height: 74px; border-radius: 18px; background: var(--green-pale); display: grid; place-items: center; font: 700 1.2rem var(--serif); color: var(--green); }
.partner p { margin: 0 0 8px; color: var(--muted); }

/* Forms (Contact, Free trial) */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px; }
.form-card h2 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: .97rem; padding: 10px 12px; border: 1.5px solid #d8dfcb; border-radius: 10px; background: var(--white); color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-pale); }
.field textarea { min-height: 130px; resize: vertical; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin-top: 10px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--green); }
.form-card .btn { width: 100%; margin-top: 14px; }
.form-card .small { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.side-cards { display: grid; gap: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Free trial hero: the bubbles photo with the faces in the middle, text left, form right */
.trial-hero { position: relative; background: var(--green-dark); color: var(--white); }
.trial-hero .photo { position: absolute; inset: 0; background: url(img/landing-hero.jpg) center 30% / cover no-repeat; }
.trial-hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,36,10,.88) 0%, rgba(25,36,10,.6) 24%, rgba(25,36,10,0) 38%); }
.trial-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(280px, 30%) 1fr minmax(360px, 32%); gap: 24px; align-items: center; min-height: 520px; padding-top: 36px; padding-bottom: 36px; }
.trial-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3vw, 2.6rem); }
.trial-hero .lead { color: #eef3e4; }
.trial-hero .form-card { color: var(--text); }
.ref-note { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .95rem; }
@media (max-width: 1100px) {
  .trial-hero .photo { position: relative; height: 34vw; }
  .trial-hero .photo::after { display: none; }
  .trial-hero .wrap { grid-template-columns: 1fr 1fr; min-height: 0; align-items: start; }
  .trial-hero .gap { display: none; }
}
@media (max-width: 760px) { .trial-hero .wrap { grid-template-columns: 1fr; } }
.demo-links { font-size: .85rem; margin-top: 14px; color: #dfe8cf; }
.demo-links a { color: var(--white); }
.trial-hero .hero-text { max-width: none; }
/* Same proportions as the app's trial page: narrow text left, faces in the middle, form right. */
@media (min-width: 1101px) {
  .trial-hero .wrap { grid-template-columns: minmax(260px, 25%) 1fr minmax(360px, 30%); max-width: 1320px; }
  .trial-hero h1 { font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
  .trial-hero .lead { font-size: 1rem; }
  .trial-hero .photo::after { background: linear-gradient(90deg, rgba(25,36,10,.9) 0%, rgba(25,36,10,.65) 22%, rgba(25,36,10,0) 33%); }
}

/* Sign in: the form sits under the normal site header and menu */
.signin-page { padding: 56px 0 72px; }
.signin-grid { display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: 56px; align-items: center; justify-content: center; }
.signin-grid .form-card h1 { font-size: 1.8rem; margin-bottom: 18px; }
.signin-side { display: grid; justify-items: center; }
.signin-side .side-cards { width: 100%; max-width: 420px; }
.signin-side .tile h3 { margin-bottom: 4px; }
@media (max-width: 860px) { .signin-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.price-hero-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 34px; text-align: center; justify-self: center; width: min(100%, 380px); border-top: 6px solid var(--green); }
.price-hero-card .amount { font: 700 3.6rem/1 var(--serif); color: var(--green); margin: 6px 0 10px; }
.price-hero-card .amount small { display: block; font: 600 1rem var(--sans); color: var(--muted); margin-top: 6px; }
.price-hero-card p { margin: 0; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.price-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 5px solid var(--green); }
.price-card.c2 { border-top-color: var(--blue); }
.price-card .rate { font: 700 2.2rem/1.1 var(--serif); color: var(--green-dark); margin: 6px 0 12px; }
.price-card .rate small { font: 600 .95rem var(--sans); color: var(--muted); }
.price-card .example { background: var(--cream); border-radius: 12px; padding: 12px 16px; margin-top: 8px; }
.price-card .example span { display: block; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.price-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px 18px 16px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th { text-align: left; font: 700 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 8px; border-bottom: 2px solid var(--green-pale); }
.price-table td { padding: 10px 8px; border-bottom: 1px solid #eef1e7; }
.price-table td:first-child { font-weight: 700; color: var(--green-dark); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--green); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.vat-note { font-size: .85rem; color: var(--muted); margin: 10px 8px 0; }
.trust-band { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-top: 18px; }
.trust-band .badge { flex: 0 0 74px; height: 74px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font: 700 1.3rem var(--serif); }
.trust-band h3 { margin-bottom: 2px; }
.trust-band p { margin: 0; color: var(--muted); }

/* Client alterations (29 Oct): four steps, systems + executive functions, PRRR section */
.steps3.steps4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps3.steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps3.steps4 { grid-template-columns: 1fr; } }
.systems-wide { margin-top: 26px; grid-template-columns: 1fr 1fr; }
.systems-wide .sys-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.systems-wide .sys-group h3 { grid-column: 1 / -1; }
.systems-wide .sys { margin: 0; }
@media (max-width: 900px) { .systems-wide { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .systems-wide .sys-group { grid-template-columns: 1fr; } }
.ef-title { margin-top: 34px; font-size: 1.45rem; }
.ef-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ef-row span { background: var(--white); border-radius: 12px; padding: 14px 12px; text-align: center; font-weight: 700; letter-spacing: .03em; font-size: .86rem; color: var(--green-dark); box-shadow: var(--shadow); border-top: 4px solid #e2a54a; display: block; }
.ef-row span b { display: block; letter-spacing: .03em; }
.ef-row span small { display: block; margin-top: 6px; font-weight: 400; letter-spacing: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 30%; margin-bottom: 14px; box-shadow: 0 0 0 4px var(--green-pale); }
.tile.bio p { margin-bottom: 10px; font-size: .92rem; }
@media (max-width: 900px) { .ef-row { grid-template-columns: 1fr 1fr; } }
.prrr-big { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.prrr-big div { padding: 20px 12px; }
.prrr-big b { font-family: var(--sans); letter-spacing: .06em; font-size: 1.05rem; }
.prrr-big span { font-size: .9rem; }
.prrr-big .all-staff { background: var(--green); }
.prrr-big .all-staff b, .prrr-big .all-staff span { color: var(--white); }
@media (max-width: 900px) { .prrr-big { grid-template-columns: 1fr 1fr; } }
.journey.journey4 { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
.tiles.tiles4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .tiles.tiles4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles.tiles4 { grid-template-columns: 1fr; } }
.ef-explained { grid-template-columns: repeat(5, 1fr); }
.sx.ef { border-left-color: #e2a54a; display: grid; place-items: center; text-align: center; min-height: 84px; }
.sx.ef b { color: var(--green-dark); font-size: .92rem; }
@media (max-width: 900px) { .ef-explained { grid-template-columns: 1fr 1fr; } }
#systems .ef-title { color: var(--green); }

/* About us: the "Free to..." statements as a slowly rolling banner, as on the original website */
.free-banner { background: var(--green); padding: 46px 0 50px; overflow: hidden; }
.free-banner .eyebrow { color: var(--green-mid); }
.marquee { display: flex; width: max-content; margin-top: 10px; animation: free-roll 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 56px; padding-right: 56px; }
.marquee-track span { font: 600 clamp(1.5rem, 3vw, 2.4rem)/1.2 var(--serif); color: var(--white); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--green-mid); }
.marquee-track span::after { content: "\2022"; color: var(--green-mid); margin-left: 56px; }
@keyframes free-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; flex-wrap: wrap; padding: 0 16px; }
  .marquee-track { flex-wrap: wrap; gap: 14px 28px; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-track span { white-space: normal; font-size: 1.4rem; }
  .marquee-track span::after { display: none; }
}

/* Home roles: five cards (All staff added at the client's request) */
.roles.roles5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.roles.roles5 .role { padding: 20px 18px; }
.roles.roles5 .role:nth-child(5) { border-top-color: #9b7bb5; }
@media (max-width: 1100px) { .roles.roles5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .roles.roles5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roles.roles5 { grid-template-columns: 1fr; } }

/* Sign in: two photos above the side notes */
.signin-photos { width: min(100%, 440px); height: 300px; }
.signin-photos .main { height: 230px; }
.signin-photos .second { height: 150px; }
.page-hero .photo-pair { width: 100%; }

/* Sign in: a button like the trial one, in blue (darker than --blue so white text stays readable) */
.btn-signin { background: #2f6a90; border-color: #2f6a90; color: var(--white); }
.header-actions .btn-signin.active { background: #234f6b; border-color: #234f6b; }
/* Team bios */
.read-more { background: none; border: 0; padding: 0; margin-top: 2px; font: 700 .95rem var(--sans); color: var(--green); text-decoration: underline; cursor: pointer; }
.nav a { white-space: nowrap; }
/* About us: two team boxes */
.tiles.tiles-two { grid-template-columns: repeat(2, minmax(0, 420px)); align-items: start; }
@media (max-width: 900px) { .tiles.tiles-two { grid-template-columns: 1fr; } }
.tile.bio .bio-quals { font-size: .85rem; font-weight: 600; color: var(--green-dark); }

/* Contact form messages and the field only bots fill in */
.form-message { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.form-message.ok { background: var(--green-pale, #e9efe1); color: var(--green-dark, #2d3a12); font-weight: 600; }
.form-message.error { background: #fdebd6; color: #6b3a05; }
.hp { position: absolute; left: -10000px; }
