/* 2PeakGrowth site styles (redesign, 2026-10). Rainier morning colors, fir-tree lines,
   fade-and-lift service cards. Sections below: brand base, layout, slider, colors, trees, cards, additions. */

/* ===== Brand base ===== */
/* Brand base: navy, blue and the peaks logo; Plus Jakarta Sans + Inter. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --navy: #0B1B33;
  --navy-2: #142A4C;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EAF1FF;
  --sky: #7DB2FA;
  --sand: #F5F0E8;
  --text: #3D4A5C;
  --muted: #5F6B7B;
  --line: #E2DCD0;
  --white: #FFFFFF;
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font: 17px/1.65 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Placeholders */
.ph { display: inline-block; border: 1.5px dashed var(--blue); background: var(--blue-soft); color: var(--blue-dark); font: 600 15px/1.4 var(--body); letter-spacing: 0; padding: 4px 10px; border-radius: 6px; }
.on-dark .ph, .ph.dark { background: rgba(125,178,250,.12); border-color: var(--sky); color: #DCE8FF; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px var(--head); color: var(--navy); letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--blue); font-weight: 800; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); padding: 15px 24px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-main { background: var(--blue); color: #fff; }
.btn-main:hover { background: var(--blue-dark); }
.btn-line { border-color: #C9D2E0; color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }

/* Rather talk */
.talk { font-size: 16px; color: var(--muted); }
.talk a { color: var(--navy); font-weight: 700; white-space: nowrap; }

/* Get Started form */
.lead { display: grid; gap: 14px; }
.lead[hidden] { display: none; }
.lead .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 600; font-size: 14px; color: var(--navy); }
.field input, .field select { font: 16px var(--body); color: var(--navy); width: 100%; padding: 12px 13px; border: 1.5px solid #D5DBE4; border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.lead .btn { width: 100%; padding: 16px; }
.lead-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.lead-done { text-align: center; padding: 24px 8px; }
.lead-done:focus { outline: none; }
.lead-done h3 { font-size: 22px; margin-bottom: 8px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; border: 1.5px solid #D5DBE4; border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; }
.choice input { position: absolute; opacity: 0; }
.choice strong { display: block; color: var(--navy); font-size: 15px; }
.choice span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Live phone */
.phone { background: var(--navy); border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(11,27,51,.3); }
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 25px; overflow: hidden; background: #fff; }
.phone-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--phone-scale, .5)); transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.phone-screen iframe.on { opacity: 1; pointer-events: auto; }
.example-note { font-size: 13px; color: var(--muted); }

/* Nav */
nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #EEF0F3; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); }
.nav-links a:hover { color: var(--navy); }
.nav-links .btn { padding: 11px 18px; font-size: 15px; color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 5px auto; background: var(--navy); }

/* Footer: the client login lives here */
footer { background: var(--navy); color: #A9B8CE; padding: 56px 0 28px; font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
footer .logo { color: #fff; }
footer .logo b { color: var(--sky); }
footer p { margin-top: 12px; max-width: 28em; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.foot-login { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 8px 14px; color: #fff; font-weight: 600; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid #EEF0F3; padding: 8px 24px 20px; }
  nav.open .nav-links { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .lead .row2, .choices { grid-template-columns: 1fr; }
}

/* Chat (scripted, no AI; saves a lead at the end) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-open { border: 0; cursor: pointer; position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font: 600 16px var(--body); text-decoration: none; border-radius: 999px; padding: 14px 20px; box-shadow: 0 12px 30px rgba(11,27,51,.3); }
.chat-open::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; }
.chat { padding: 0; position: fixed; right: 24px; bottom: 90px; z-index: 80; width: 380px; max-width: calc(100vw - 32px); height: min(560px, 75vh); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px rgba(11,27,51,.25); overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #C9D6EA; padding: 14px 16px; }
.chat-head h2 { color: #fff; font-size: 17px; }
.chat-head p { font-size: 12.5px; }
.chat-close { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #F7F9FC; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid #E3E8F0; color: var(--text); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--muted); letter-spacing: .2em; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; background: #F7F9FC; }
.chat-chips:not(:empty) { padding-bottom: 12px; }
.chat-chips button { font: 600 14px var(--body); color: var(--blue-dark); background: #fff; border: 1.5px solid #C9D7F5; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #E3E8F0; }
.chat-form input { flex: 1; min-width: 0; font: 16px var(--body); padding: 11px 12px; border: 1.5px solid #D5DBE4; border-radius: 10px; }
.chat-form button { font: 600 15px var(--body); background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; }
@media (max-width: 760px) {
  .chat-open { right: 16px; bottom: 16px; }
  .chat { right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 82vh; border-radius: 20px 20px 0 0; }
}

/* ===== Layout ===== */
/* Round 3: what K liked from round 2. C's browser + phone stage, E's small form up front,
   utility.agency-level restraint (few words, space, one action). Brand pieces come from ../r2/base.css. */

.hero { background: linear-gradient(180deg, #fff 0%, #F3F6FB 100%); padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.area { margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { display: block; color: var(--blue); }
.sub { margin: 16px 0 24px; }

/* A call button and "Log in" stay visible on phones, next to the menu button */
.nav-call-m, .nav-login-m { display: none; }
@media (max-width: 760px) {
  .nav-in { gap: 6px; }
  .logo svg { flex-shrink: 0; }
  .nav-call-m { flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; color: var(--navy); }
  .nav-call-m svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .nav-login-m { display: block; white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; padding: 10px 4px; }
  .nav-login-m + .nav-toggle { margin-left: 0; }
}
@media (max-width: 359px) { nav .logo { font-size: 17px; gap: 8px; } }

/* Small Get Started form */
.mini-form { background: #fff; border: 1px solid #E3E8F0; border-radius: 18px; padding: 20px; box-shadow: 0 18px 40px rgba(11,27,51,.08); max-width: 520px; scroll-margin-top: 96px; }
.mini-form h2 { font-size: 18px; margin-bottom: 12px; }
.mini-form .lead { gap: 10px; }
.mini-form .field label { font-size: 13px; }
.mini-form .field input, .mini-form .field select { padding: 10px 12px; }
.mini-form .btn { padding: 14px; }
.mini-form .talk { margin-top: 12px; font-size: 15px; }

/* Stage: live browser behind, live phone in front */
.stage { position: relative; }
.devices { position: relative; padding-bottom: 48px; }
.browser { background: #fff; border-radius: 12px; box-shadow: 0 30px 70px rgba(11,27,51,.16), 0 2px 6px rgba(11,27,51,.06); overflow: hidden; width: 90%; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F3F6; border-bottom: 1px solid #E4E7EC; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3D8DF; }
.browser-bar .url { flex: 1; margin-left: 10px; height: 22px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.browser-screen { position: relative; aspect-ratio: 1280 / 800; overflow: hidden; background: #fff; }
.browser-screen iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform: scale(var(--browser-scale, .4)); transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.browser-screen iframe.on { opacity: 1; }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 32%; min-width: 150px; }
.switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.switch span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.switch button { font: 600 14px var(--body); color: var(--navy-2); background: #fff; border: 1px solid #DCE2EA; border-radius: 99px; padding: 7px 13px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.stage .example-note { margin-top: 8px; }

/* Services and steps: short, quiet */
section { padding: 88px 0; }
.head { max-width: 600px; margin-bottom: 32px; }
.head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { border: 1px solid #E3E8F0; border-radius: 16px; padding: 24px; }
.svc h3 { font-size: 19px; }
.svc .tag { font-size: 13.5px; font-weight: 600; color: var(--blue-dark); margin: 4px 0 8px; }
.svc p { font-size: 15.5px; }
.how { background: #F3F6FB; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 2px solid var(--navy); padding-top: 16px; }
.steps .n { font-size: 13.5px; font-weight: 600; color: var(--blue-dark); }
.steps h3 { font-size: 19px; margin: 4px 0 6px; }
.steps p { font-size: 15.5px; }

@media (max-width: 960px) {
  /* Phones: headline, then the stage, then the form (so H's typing shows just above). */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-left { display: contents; }
  .hero-left > * { order: 1; }
  .stage { order: 2; margin: 8px 0 28px; }
  .hero-left .mini-form { order: 3; max-width: none; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding: 36px 0 56px; }
  .browser { width: 100%; }
  .stage .phone { width: 36%; }
  .mini-form { padding: 16px; }
  section { padding: 64px 0; }
}

/* Service cards (the original site's three, with "Learn more" → "Why it matters") */
.svc { display: flex; flex-direction: column; }
.svc.main { border-color: #BFD3F5; box-shadow: 0 12px 30px rgba(11,27,51,.06); }
.svc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 14px; }
.svc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc .tag { display: inline-block; align-self: flex-start; background: var(--blue-soft); border-radius: 99px; padding: 2px 10px; }
.svc ul { list-style: none; display: grid; gap: 8px; margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid #E3E8F0; font-size: 14.5px; }
.svc li { position: relative; padding-left: 22px; }
.svc li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.learn { margin-top: auto; align-self: flex-start; font: 600 15px var(--body); color: var(--blue-dark); background: #fff; border: 1.5px solid #C9D7F0; border-radius: 10px; padding: 10px 16px; cursor: pointer; }
.learn:hover, .learn[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-soft); }
.why { margin-top: 18px; background: #fff; border: 1px solid #E3E8F0; border-radius: 16px; padding: 28px; scroll-margin: 96px; }
.why h3 { font-size: 22px; margin-bottom: 16px; }
.why ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why li strong { display: block; font: 700 17px var(--head); color: var(--navy); margin-bottom: 4px; }
.why li p { font-size: 15px; }
.why .btn { margin-top: 20px; }
@media (max-width: 860px) { .why ol { grid-template-columns: 1fr; gap: 16px; } .why { padding: 22px 18px; } }

/* Footer contact and social links with small icons */
footer ul a { display: inline-flex; align-items: center; gap: 10px; }
.foot-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; opacity: .85; }
.hero h1 + .mini-form { margin-top: 32px; }

/* ===== Before/after slider ===== */
/* Before/after slider: no site (a search result) and our current site, as computer + phone screenshots. */
.ba { position: relative; aspect-ratio: 1.42; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #E3E8F0; box-shadow: 0 30px 70px rgba(11,27,51,.14); --pos: 92%; }
.ba-layer { position: absolute; inset: 0; }

/* After: browser + phone, revealed right of the divider */
.ba-after { clip-path: inset(0 0 0 var(--pos)); background: linear-gradient(180deg, #F3F6FB, #E9EFF8); padding: 6% 6% 0; }
.ba-after .browser { width: 82%; box-shadow: 0 20px 50px rgba(11,27,51,.18); }
.ba-after .browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ba-after .phone { position: absolute; right: 5%; bottom: -8%; width: 28%; }

.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--navy); pointer-events: none; }
.ba-line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px #fff; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type=range]:focus-visible + .ba-line::after { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--blue); }

.ba-labels { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ba-labels button { font: 600 14px var(--body); background: #fff; border: 1px solid #DCE2EA; border-radius: 99px; padding: 7px 14px; cursor: pointer; color: var(--navy-2); }
.ba-labels button.after { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 760px) {
  .ba { aspect-ratio: .9; }
  .ba-before { padding: 16px; }
  .g-search, .g-card { max-width: 100%; }
  .g-map { display: none; }
  .ba-after { padding: 8% 5% 0; }
  .ba-after .browser { width: 100%; }
  .ba-after .phone { width: 40%; bottom: -14%; }
}

/* "Our own site" version: both sides are a computer + phone pair of screenshots */
.ba-layer.ours { padding: 6% 6% 0; font-family: inherit; }
.ba-before.ours { background: #E7EAEE; }
.ba-layer.ours .browser { width: 82%; box-shadow: 0 20px 50px rgba(11,27,51,.18); }
.ba-layer.ours .browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ba-layer.ours .phone { position: absolute; right: 5%; bottom: -8%; width: 28%; }
.ba-layer.ours .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .ba-layer.ours { padding: 8% 5% 0; } .ba-layer.ours .browser { width: 100%; } .ba-layer.ours .phone { width: 40%; bottom: -14%; } }

/* ===== Rainier morning colors ===== */
/* Rainier morning: today's navy, a pale glacier blue, and a tiny touch of sunrise orange. */
:root {
  --navy: #0B1B33; --navy-2: #142A4C;
  --blue: #2D5F8B; --blue-dark: #234C70; --blue-soft: #E3EEF5; --sky: #A8C8DC;
  --glacier: #EAF2F7; --sunrise: #E58E5A;
  --tree: #2D5F8B; --tree-foot: #A8C8DC;
  --logo-bg: #0B1B33; --logo-bg-foot: #142A4C; --peak-1: #2D5F8B; --peak-2: #A8C8DC;
}
.hero { background: linear-gradient(180deg, #fff 0%, var(--glacier) 100%); }
.hero h1 span { color: var(--blue); }
.how, .ba-after { background: var(--glacier); }
/* The sunrise touch: small details only */
.steps li { border-top-color: var(--sunrise); }
.chat-open::before { background: var(--sunrise); }
.ph { border-color: var(--sunrise); }
footer { background: var(--navy); }

/* ===== Tree lines ===== */
/* Faded evergreen tree lines behind the hero and the footer.
   Colors come from each theme's --tree and --tree-foot. */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.trees { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 210px; pointer-events: none; color: var(--tree);
         -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%); mask-image: linear-gradient(to top, #000 45%, transparent 100%); }
/* Depth: farther trees are fainter, like mountain haze */
/* the tree images carry their own colors and depth */
.trees { object-fit: cover; object-position: bottom; }
footer { position: relative; overflow: hidden; }
footer > .wrap { position: relative; z-index: 1; }
footer .trees { top: 0; bottom: auto; height: 120px; transform: scaleY(-1); color: var(--tree-foot); }
footer .trees { -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
/* The logo follows the theme */
.logo svg rect { fill: var(--logo-bg); }
.logo svg path:nth-of-type(1) { fill: var(--peak-1); }
.logo svg path:nth-of-type(2) { fill: var(--peak-2); }
footer .logo svg rect { fill: var(--logo-bg-foot); }
@media (max-width: 760px) { .trees { height: 130px; } }

/* ===== Service cards (fade and lift) ===== */
/* Flip-card options for the service cards (K, 2026-10-10). Both faces share one grid
   cell, so the card is as tall as its taller face. Three styles: .style-flip, .style-slide, .style-fade. */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fcard { position: relative; perspective: 1400px; }
.fcard-in { display: grid; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.face { grid-area: 1 / 1; display: flex; flex-direction: column; border: 1px solid #E3E8F0; border-radius: 16px; padding: 24px; background: #fff; }
.face.back { background: var(--navy); border-color: var(--navy); color: #C9D6EA; }
.face.back h3 { color: #fff; font-size: 19px; margin-bottom: 12px; }
.face.back ul { list-style: none; display: grid; gap: 12px; margin: 0 0 18px; padding: 0; border: 0; font-size: 14.5px; }
.face.back li { padding-left: 0; }
.face.back li::before { display: none; }
.face.back li strong { display: block; color: #fff; font: 700 15px var(--head); margin-bottom: 2px; }
.face.back .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.face.back .btn-main { background: var(--sky); color: var(--navy); }
.face.back .flip-back { font: 600 14px var(--body); background: none; color: #fff; border: 1.5px solid rgba(255,255,255,.35); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.face .learn { margin-top: auto; }
.face.front { position: relative; }

/* A. Classic flip: turns over sideways */
.style-flip .face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.style-flip .face.back { transform: rotateY(180deg); }
.style-flip .fcard.is-flipped .fcard-in { transform: rotateY(180deg); }

/* B. Slide-up: the back slides up over the front like a drawer */
.style-slide .fcard-in { overflow: hidden; border-radius: 16px; }
.style-slide .face.back { transform: translateY(101%); transition: transform .5s cubic-bezier(.2,.7,.2,1); z-index: 1; }
.style-slide .fcard.is-flipped .face.back { transform: none; }

/* C. Fade and lift: the front fades, the back rises in */
.style-fade .face { transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.style-fade .face.back { opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none; }
.style-fade .fcard.is-flipped .face.front { opacity: 0; transform: scale(.98); pointer-events: none; }
.style-fade .fcard.is-flipped .face.back { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .fcard-in, .face { transition: none !important; }
}
.fgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .fgrid, .fgrid.two { grid-template-columns: 1fr; } }

.option-head { display: flex; align-items: baseline; gap: 12px; margin: 56px 0 6px; }
.option-head h2 { font-size: 24px; }
.option-head span { color: var(--muted); font-size: 15px; }


/* ===== Real-site additions ===== */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-error { background: #FDECEC; border: 1px solid #F3C2C2; color: #8A1C1C; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }
fieldset.field { border: 0; }
.lbl { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }

/* Chat button: a small shake to draw the eye (site.js decides when) */
@keyframes chat-wiggle {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-6deg) scale(1.04); }
  30% { transform: rotate(5deg) scale(1.04); }
  45% { transform: rotate(-4deg); }
  60% { transform: rotate(3deg); }
  75% { transform: rotate(-1deg); }
}
.chat-open.wiggle { animation: chat-wiggle .8s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .chat-open.wiggle { animation: none; } }
