/* Selora Research Studies — style.css
 *
 * The Aleric theme, medical-light demo, rebuilt left to right. Values are
 * the theme's own where they could be measured (main.css): Familjen Grotesk
 * 600 at -0.04em for headings, DM Sans for text, theme blue #0752C5, ink
 * #111112, 24px corners on photographs, 100px pills, 35px top corners on the
 * footer. See tools/shell.py for the full token notes.
 *
 * 1  Tokens      2  Base       3  Buttons     4  Header and menu
 * 5  Hero        6  Home       7  Inner pages 8  Forms
 * 9  Footer      10 Responsive
 */

/* 1 ───────────────────────────────────────────────────────────── Tokens ── */
:root {
  --blue: #0752C5;
  --blue-d: #053F9A;
  --ink: #111112;
  --grey: #545454;
  --line: rgba(17, 17, 18, .1);
  --night: #131A24;
  --night-2: #0D131B;
  --foot: #C5C8CD;
  --white: #FFFFFF;
  --mist: #F5F7FA;
  --lav: #EFEBFF;
  --mint: #E6F9E4;
  --peach: #FFF0EA;
  --sky: #E6F0FF;
  --red: #B42318;
  --ff-head: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gut: 24px;
  --r: 24px;
  --shadow: 0 4px 32px rgba(0, 0, 0, .06);
}

/* 2 ─────────────────────────────────────────────────────────────── Base ── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--ff-body);
  letter-spacing: -0.02em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* Lenis, the smooth scroll (its recommended base rules) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
svg { flex: none; }

.s-sub { font: 500 17px/1.3 var(--ff-body); color: var(--ink); margin: 0 0 14px; }
.s-title { font-size: clamp(34px, 4.2vw, 55px); line-height: 1.05; }
.s-head { margin-bottom: 40px; max-width: 640px; }
.s-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.s-lede { font-size: 19px; line-height: 1.5; color: var(--grey); margin: 18px 0 0; }

.tag {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--ink); background: #fff;
}
.more {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 14px/1 var(--ff-body); letter-spacing: 0; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.more svg { width: 15px; height: 15px; transition: transform .25s; }
.more:hover { color: var(--blue); }
.more:hover svg { transform: translate(2px, -2px); }

.tint-lav { background: var(--lav); }
.tint-mint { background: var(--mint); }
.tint-peach { background: var(--peach); }
.tint-sky { background: var(--sky); }

/* 3 ──────────────────────────────────────────────────────────── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 100px;
  background: var(--blue); color: #fff; cursor: pointer;
  font: 600 15px/1.2 var(--ff-body); letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.btn svg { width: 15px; height: 15px; transition: transform .3s; }
.btn:hover { background: var(--blue-d); color: #fff; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* 4 ─────────────────────────────────────────────────── Header and menu ── */
.topbar { background: var(--ink); color: #F3F1F2; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar ul { display: flex; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }
.topbar a { color: #F3F1F2; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(17, 17, 18, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand .mark { width: 50px; height: 50px; margin: -3px 0; }
.brand-word { display: flex; flex-direction: column; font: 600 27px/1 var(--ff-head); letter-spacing: -0.04em; }
.brand-word small { font: 500 12px/1 var(--ff-body); letter-spacing: 0; margin-top: 5px; opacity: .8; }
.brand:hover { color: var(--ink); }

.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.site-nav > .menu { display: flex; align-items: center; gap: 30px; }
.site-nav > .menu > li { position: relative; }
.site-nav > .menu > li > a,
.sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 30px 0; background: none; border: 0; cursor: pointer;
  font: 600 14px/1 var(--ff-body); letter-spacing: 0; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.sub-toggle svg { width: 13px; height: 13px; transition: transform .25s; }
.site-nav > .menu > li > a:hover, .sub-toggle:hover,
.site-nav > .menu > li > a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--blue); }
.sub {
  position: absolute; top: 100%; left: -22px; min-width: 290px;
  background: #fff; border-radius: 18px; padding: 12px;
  box-shadow: 0 24px 60px rgba(17, 17, 18, .14);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.sub a {
  display: block; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.3;
}
.sub a:hover, .sub a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub {
  opacity: 1; visibility: visible; transform: none;
}
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.nav-cta { display: none; }
.head-cta { min-height: 46px; padding: 12px 22px; flex: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 5 ─────────────────────────────────────────────────────────────── Hero ── */
.hero, .page-hero, .area-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, #fff 100%),
    radial-gradient(55% 75% at 0% 0%, #CDEFF4 0%, rgba(205, 239, 244, 0) 70%),
    radial-gradient(45% 70% at 100% 0%, #DFF6E5 0%, rgba(223, 246, 229, 0) 70%),
    radial-gradient(40% 50% at 30% 100%, #E7F0FF 0%, rgba(231, 240, 255, 0) 70%),
    #fff;
}
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-sub { font: 500 19px/1.3 var(--ff-body); margin: 0 0 18px; }
.hero h1 { font-size: clamp(46px, 6.1vw, 88px); line-height: 1.04; }
.chip {
  display: inline-block; width: 1.42em; height: .78em; vertical-align: -.04em;
  border-radius: 100px; overflow: hidden; background: var(--sky);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.hero-lede { font-size: 21px; line-height: 1.45; color: var(--grey); max-width: 31ch; margin: 24px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.play { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.play-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background-color .3s; }
.play-dot svg { width: 18px; height: 18px; }
.play-text { text-decoration: underline; text-underline-offset: 4px; }
.play:hover { color: var(--ink); }
.play:hover .play-dot { background: var(--blue); }

/* The theme's expanding panels: one wide, two narrow; the one under the
 * pointer (or the keyboard) takes the width. */
.panels { display: flex; gap: 14px; height: 560px; }
.hpanel {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden;
  color: #fff; text-decoration: none; transition: flex-grow .55s cubic-bezier(.3, .7, .2, 1);
}
.hpanel.is-active { flex-grow: 3.4; }
.panels:hover .hpanel.is-active:not(:hover), .panels:focus-within .hpanel.is-active:not(:focus-visible) { flex-grow: 1; }
.panels .hpanel:hover, .panels .hpanel:focus-visible { flex-grow: 3.4; }
.hpanel:hover, .hpanel:focus-visible { color: #fff; }
.hpanel img { width: 100%; height: 100%; object-fit: cover; }
.hpanel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 18, 0) 52%, rgba(2, 2, 6, .78) 100%);
}
.hpanel-meta {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 30px 28px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s;
  white-space: nowrap;
}
.hpanel.is-active .hpanel-meta { opacity: 1; transform: none; transition-delay: .2s; }
.panels:hover .hpanel.is-active:not(:hover) .hpanel-meta,
.panels:focus-within .hpanel.is-active:not(:focus-visible) .hpanel-meta { opacity: 0; transition-delay: 0s; }
.panels .hpanel:hover .hpanel-meta, .panels .hpanel:focus-visible .hpanel-meta { opacity: 1; transform: none; transition-delay: .2s; }
.hpanel-title { font: 600 30px/1.1 var(--ff-head); letter-spacing: -0.04em; white-space: normal; max-width: 12ch; }
.hpanel-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; opacity: .92; }
.hpanel-link svg { width: 14px; height: 14px; }

/* The single page-load moment: hero copy, then the panels. A CSS animation
 * that runs on its own, so the hero can never be left hidden: an earlier
 * version waited for main.js to add a class, and when that code was lost in
 * an edit the whole hero stayed invisible. */
.hero-copy > *, .panels { animation: hero-rise .7s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.panels { animation-delay: .3s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 6 ─────────────────────────────────────────────────────────────── Home ── */
.feats { position: relative; padding-bottom: 10px; }
.feats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { display: flex; align-items: flex-start; gap: 18px; padding: 28px 26px 26px; border-radius: 18px; }
.feat-icon {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat > div { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.feat h3 { font-size: 21px; line-height: 1.2; margin: 14px 0 10px; }
.feat p { font-size: 15.5px; line-height: 1.55; color: #3D3D3D; margin: 0 0 20px; flex: 1; }
.feat-go {
  display: inline-grid; place-items: center; width: 56px; height: 34px; border-radius: 100px;
  border: 1px solid rgba(17, 17, 18, .14); color: var(--ink); background: rgba(255, 255, 255, .5);
  transition: background-color .25s, color .25s;
}
.feat-go svg { width: 15px; height: 15px; }
.feat-go:hover { background: var(--ink); color: #fff; }

.about-md { position: relative; padding: 120px 0 110px; overflow: hidden; }
.ghost {
  position: absolute; left: -.06em; top: 46%; margin: 0;
  font: 600 clamp(90px, 15vw, 230px)/1 var(--ff-head); letter-spacing: -0.05em;
  color: #F2F3F6; pointer-events: none; user-select: none;
}
.about-title {
  position: relative; text-align: center;
  font-size: clamp(60px, 12.5vw, 190px); line-height: .95; letter-spacing: -0.055em; margin-bottom: 64px;
}
.about-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-fig img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r); }
.about-copy > p { font-size: 18.5px; line-height: 1.6; color: var(--grey); }
.about-note { display: flex; gap: 28px; align-items: flex-start; margin-top: 42px; padding-top: 40px; border-top: 1px solid var(--line); }
.about-badge {
  width: 120px; height: 120px; border-radius: 50%; background: var(--sky); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.about-badge svg { width: 54px; height: 54px; stroke-width: 1.3; }
.about-note h3 { font-size: 30px; line-height: 1.12; margin-bottom: 12px; }
.about-note p { color: var(--grey); }

.services { padding: 30px 0 120px; }
.svc-grid { display: grid; grid-template-columns: .85fr 2fr; gap: 64px; align-items: start; }
.svc-head { position: sticky; top: 120px; }
.svc-head .s-head { margin-bottom: 32px; }
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
/* The theme's .tp-service-md-item: white, a faint wide shadow, 16px corners;
 * on hover the whole card fills blue and everything in it turns white. */
.svc {
  position: relative; padding: 44px 40px 40px; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 40px rgba(0, 0, 0, .06); transition: background-color .4s ease, transform .4s ease, box-shadow .4s ease;
}
.svc-mark { display: inline-block; color: var(--blue); margin-bottom: 40px; transition: color .4s ease; }
.svc-mark svg { width: 62px; height: 62px; stroke-width: 1.2; }
.svc h3 { font-size: clamp(26px, 2.4vw, 35px); line-height: 1.08; margin-bottom: 16px; }
.svc h3 a { color: var(--ink); text-decoration: none; transition: color .4s ease; }
/* the whole card is the link target for a pointer */
.svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.svc p { color: var(--grey); font-size: 17px; line-height: 1.6; margin-bottom: 26px; transition: color .4s ease; }
.svc .more { position: relative; z-index: 1; transition: color .4s ease; }
.svc:hover, .svc:focus-within { background: var(--blue); transform: scale(1.02); box-shadow: 0 24px 60px rgba(7, 82, 197, .25); }
.svc:hover .svc-mark, .svc:focus-within .svc-mark,
.svc:hover h3 a, .svc:focus-within h3 a,
.svc:hover .more, .svc:focus-within .more { color: #fff; }
.svc:hover p, .svc:focus-within p { color: #E6EEFB; }
.svc:hover .svc-mark { animation: shake .4s ease-in-out 1; }
@keyframes shake { 10% { transform: translateY(-10px); } 50% { transform: skew(15deg); } 80% { transform: rotate(10deg); } 100% { transform: none; } }

/* The theme's tp_fade_anim: up 40px and in over .75s as it scrolls into view.
 * Hidden only once the script has marked the page, so nothing is lost if it
 * does not run. */
.js .fade-up { opacity: 0; transform: translateY(40px); }
.js .fade-up.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s cubic-bezier(.25, .46, .45, .94) var(--d, 0s), transform .75s cubic-bezier(.25, .46, .45, .94) var(--d, 0s),
              background-color .4s ease, box-shadow .4s ease;
}
.js .svc.fade-up.is-in:hover, .js .svc.fade-up.is-in:focus-within { transform: scale(1.02); transition-delay: 0s; }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-bottom: 1px solid var(--line); }
.strip-img { display: block; overflow: hidden; }
.strip-img img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; transition: transform .8s ease; }
.strip-item:hover .strip-img img { transform: scale(1.04); }
.strip-body { padding: 22px 20px 30px; }
.strip-body h3 { font-size: clamp(22px, 2vw, 30px); margin-top: 14px; }
.strip-body h3 a { color: var(--ink); text-decoration: none; }
.strip-body h3 a:hover { color: var(--blue); }

.faq-md { padding: 120px 0 60px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.faq { margin-bottom: 36px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; letter-spacing: inherit; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 19px/1.3 var(--ff-head); letter-spacing: -0.03em; color: var(--ink);
}
.faq-q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .3s; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--grey); margin: 0; padding: 0 30px 24px 0; }
.faq-fig { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 1; }
.faq-disc { position: absolute; inset: 9% 0 0 4%; border-radius: 50%; background: linear-gradient(160deg, #EEF3FB, #F7F9FC); }
.faq-fig img { position: absolute; inset: 0 6% 4% 10%; width: 84%; height: 96%; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.faq-bubble {
  position: absolute; right: 2%; top: 12%; width: 76px; height: 76px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px rgba(7, 82, 197, .3);
}
.faq-bubble svg { width: 36px; height: 36px; }

.marquee { overflow: hidden; padding: 30px 0 60px; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span {
  font: 600 clamp(64px, 9vw, 130px)/1 var(--ff-head); letter-spacing: -0.04em;
  color: #EEF0F3; white-space: nowrap; padding-right: .3em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.sample { padding: 40px 0 120px; }
.sample .s-head { margin-bottom: 26px; }
.sample-msg { margin: 0 auto; max-width: 980px; text-align: center; }
.sample-msg p {
  font: 600 clamp(26px, 3.4vw, 48px)/1.2 var(--ff-head); letter-spacing: -0.04em; color: #2C2C2E; margin: 0;
}
.sample-note { text-align: center; color: var(--grey); font-size: 15px; margin: 22px 0 56px; }
.sample-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 980px; margin: 0 auto; }
.sample-points div { border-top: 1px solid var(--ink); padding-top: 22px; }
.sample-points h3 { font-size: 24px; margin-bottom: 8px; }
.sample-points p { color: var(--grey); margin: 0; }

.reads { padding: 0 0 130px; }
.reads-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.reads-head .s-head { margin: 0; }
.reads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.read-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r); }
.read-body {
  position: relative; margin: -96px 22px 0; padding: 36px 30px 32px; text-align: center;
  background: #fff; box-shadow: var(--shadow); border-radius: 0; transition: background-color .4s;
}
.read-meta { display: flex; justify-content: center; gap: 20px; font-size: 14px; font-weight: 500; color: var(--ink); padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.read h3 { font-size: 25px; line-height: 1.18; margin-bottom: 22px; }
.read h3 a { color: var(--ink); text-decoration: none; }
.read:hover .read-body { background: var(--blue); }
.read:hover .read-body, .read:hover .read-body a, .read:hover .read-meta, .read:hover h3 a { color: #fff; }
.read:hover .read-meta { border-color: rgba(243, 241, 242, .2); }

.cta-band { padding: 0 0 110px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--blue); color: #fff; border-radius: var(--r); padding: 54px 60px;
}
.cta-inner h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 10px; }
.cta-inner p { margin: 0; color: #E6EEFB; font-size: 18px; }
.cta-inner .btn { flex: none; }

/* 7 ──────────────────────────────────────────────────────── Inner pages ── */
.page-hero { padding: 64px 0 84px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; margin-bottom: 30px; color: var(--grey); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.page-hero h1, .area-hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; max-width: 15ch; }
.ph-lede { font-size: 20px; line-height: 1.5; color: var(--grey); max-width: 46ch; margin: 22px 0 0; }

.area-hero { padding: 56px 0 80px; }
.area-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.area-hero .svc-icon { margin-bottom: 22px; }
.area-hero .hero-actions { margin-top: 32px; }
.area-hero-fig img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r); }

.area-body, .guide, .faq-page, .signup, .legal, .areas-hub { padding: 90px 0 110px; }
.area-body-grid, .guide-grid, .faq-page-grid, .form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 108px; }
.side-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 30px; background: #fff; }
.side-card h2 { font-size: 23px; margin-bottom: 12px; }
.side-card p { color: var(--grey); font-size: 16px; }
.side-card--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.side-card--blue h2 { color: #fff; }
.side-card--blue p { color: #E6EEFB; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 16px; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--blue); }
.side-links a[aria-current="page"] { font-weight: 600; }
.side-fig img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.prose { max-width: 760px; }
.prose > h2, .prose section > h2, .qgroup h2 { font-size: clamp(28px, 2.8vw, 36px); margin: 52px 0 16px; }
.prose > h2:first-child, .prose > .guide-fig + h2, .prose section:first-child > h2 { margin-top: 0; }
.prose p, .prose li { color: var(--grey); font-size: 17.5px; line-height: 1.7; }
.prose p.lead { font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose a { color: var(--blue); }
.guide-fig { margin-bottom: 48px; }
.guide-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }

.ticks { display: grid; gap: 12px; margin: 6px 0 8px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg {
  width: 26px; height: 26px; padding: 6px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--sky); color: var(--blue);
}
.qlist { display: grid; gap: 10px; }
.qlist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--mist); border-radius: 14px; color: var(--ink); }
.qlist svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.qgroups { display: grid; grid-template-columns: 1fr; }
.qgroup h2 { margin-top: 40px; }

.note { margin-top: 44px; padding: 26px 30px; background: var(--mist); border-radius: 18px; border-left: 4px solid var(--blue); }
.note p { margin: 0; color: var(--ink); }
.note h2 { font-size: 26px; margin-bottom: 10px; }
.note p + .more { margin-top: 16px; }

.how { padding: 100px 0; background: var(--mist); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.how-steps li { background: #fff; border-radius: 18px; padding: 30px 26px; display: grid; gap: 18px; align-content: start; }
.num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); font: 600 21px/1 var(--ff-head);
}
.how-steps h3 { font-size: 22px; margin-bottom: 8px; }
.how-steps p { color: var(--grey); margin: 0; font-size: 16px; }
.how-steps--tight { grid-template-columns: 1fr; gap: 14px; margin: 8px 0 12px; }
.how-steps--tight li { grid-template-columns: 48px 1fr; background: var(--mist); padding: 22px 24px; gap: 18px; }
.how-steps--small li { background: none; padding: 0; grid-template-columns: 40px 1fr; gap: 14px; }
.how-steps--small .num { width: 40px; height: 40px; font-size: 18px; }
.how-steps--small h3 { font-size: 18px; margin-bottom: 4px; }
.how-steps--small p { font-size: 15px; }

.split { padding: 100px 0; }
.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.split-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.pair { padding: 100px 0 40px; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-card { border: 1px solid var(--line); border-radius: var(--r); padding: 42px 40px; }
.pair-card h2 { font-size: 34px; margin-bottom: 22px; }
.pair-card .ticks li { color: var(--grey); }
.pair-card--soft { background: var(--peach); border-color: var(--peach); }
.pair-card--soft .ticks svg { background: #fff; }
.prose-band { padding: 80px 0 110px; }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.area-photo { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.area-photo-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.area-photo-body h3 { font-size: 26px; margin: 0 0 10px; }
.area-photo-body h3 a { color: var(--ink); text-decoration: none; }
.area-photo-body h3 a:hover { color: var(--blue); }
.area-photo-body p { color: var(--grey); font-size: 16px; }
.areas-hub .note { max-width: 760px; }

.terms { display: grid; gap: 0; margin: 10px 0 0; }
.term { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.term dt { font: 600 20px/1.3 var(--ff-head); letter-spacing: -0.03em; }
.term dd { margin: 0; color: var(--grey); }

.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: 108px; }
.legal-toc p { font-weight: 600; margin-bottom: 12px; }
.legal-toc li a { display: block; padding: 7px 0; color: var(--grey); text-decoration: none; font-size: 15.5px; }
.legal-toc li a:hover { color: var(--blue); }
.legal section { scroll-margin-top: 110px; }
.legal section + section { margin-top: 44px; }
.legal section > h2 { margin: 0 0 14px; font-size: 30px; }

.faq-page .faq { margin: 0; }
.foot-contact { display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 19px; height: 19px; margin-top: 3px; }
.foot-contact--dark a, .foot-contact--dark span { color: var(--ink); }
.foot-contact--dark svg { color: var(--blue); }

/* 8 ────────────────────────────────────────────────────────────── Forms ── */
.panel-head h2 { font-size: 34px; margin-bottom: 8px; }
.panel-head p { color: var(--grey); }
.signup .panel { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 44px; background: #fff; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select {
  width: 100%; height: 56px; padding: 0 16px; border: 1px solid #C9CDD4; border-radius: 12px;
  background: #fff; color: var(--ink); font: 400 17px var(--ff-body); letter-spacing: -0.01em;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111112' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 82, 197, .14); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.consents { display: grid; gap: 14px; margin-top: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 18px; background: var(--mist); border-radius: 14px; border: 1px solid transparent; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.check span { font-size: 13.5px; line-height: 1.6; color: #3D3D3D; }
.check a { color: var(--blue); }
.check.is-invalid { border-color: var(--red); background: #FEF3F2; }
.form-error { display: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: #FEF3F2; color: var(--red); font-weight: 600; font-size: 15px; }
.form-error.is-shown { display: block; }
.form .btn { justify-self: start; min-width: 240px; }
.form-done { display: none; text-align: left; }
.form-done.is-shown { display: block; }
.form-done h2 { font-size: 36px; margin: 18px 0 10px; }
.form-done p { color: var(--grey); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #127A3A; }
.done-icon svg { width: 30px; height: 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9 ───────────────────────────────────────────────────────────── Footer ── */
.site-footer { background: var(--night); color: var(--foot); border-radius: 35px 35px 0 0; padding-top: 100px; overflow: hidden; }
.site-footer a { color: var(--foot); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--white { color: var(--ink); }
.site-footer .btn--white:hover { background: var(--blue); color: #fff; text-decoration: none; }
.site-footer > .wrap { overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-bottom: 80px; border-bottom: 1px solid rgba(243, 241, 242, .1); }
.foot-call h2 { color: #fff; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; margin-bottom: 30px; }
.foot-mail {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 100px;
  border: 1px solid rgba(243, 241, 242, .25); font-weight: 600; font-size: 17px;
}
.site-footer .foot-mail { color: #fff; }
.foot-mail svg { width: 15px; height: 15px; }
.foot-card {
  border-radius: var(--r); padding: 40px; border: 1px solid rgba(243, 241, 242, .12);
  background: rgba(255, 255, 255, .05); box-shadow: 5px 6px 99px 5px rgba(0, 0, 0, .25);
}
.foot-card > .foot-card-title { color: #fff; font: 600 24px/1.2 var(--ff-head); letter-spacing: -0.03em; margin-bottom: 18px; }
.foot-card .ticks { margin-bottom: 18px; }
.foot-card .ticks li { color: #E7E9EC; }
.foot-card .ticks svg { background: rgba(255, 255, 255, .1); color: #fff; }
.foot-card > p { color: var(--foot); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 40px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; margin-bottom: 22px; }
.foot-brand p { font-size: 15.5px; line-height: 1.6; }
.foot-col h2 { color: #fff; font: 500 18px/1.3 var(--ff-head); letter-spacing: -0.02em; margin-bottom: 18px; }
.foot-col li { font-size: 15.5px; line-height: 1.5; padding: 4px 0; }
.foot-col .foot-contact li { padding: 0; }
.foot-big {
  margin: 0; text-align: center; color: rgba(255, 255, 255, .06);
  font: 600 clamp(110px, 25vw, 380px)/.8 var(--ff-head); letter-spacing: -0.06em;
  transform: translateY(.08em); user-select: none;
}
.foot-copy { background: var(--night-2); border-top: 1px solid rgba(243, 241, 242, .08); }
.foot-copy .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; padding-top: 14px; padding-bottom: 14px; }
.foot-copy p { margin: 0; flex: 1; font-size: 14px; }
.foot-copy ul { display: flex; gap: 20px; font-size: 14px; }
.to-top {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: #fff; color: var(--ink); }

/* 10 ─────────────────────────────────────────────────────── Responsive ── */
@media (max-width: 1199px) {
  .site-nav > .menu { gap: 22px; }
  .feats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1099px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header .wrap { min-height: 76px; gap: 16px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    background: #fff; padding: 8px var(--gut) 24px; box-shadow: 0 24px 40px rgba(17, 17, 18, .1);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > .menu > li { border-bottom: 1px solid var(--line); }
  .site-nav > .menu > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 15px; }
  .sub {
    position: static; min-width: 0; box-shadow: none; padding: 0 0 12px; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover .sub-toggle svg { transform: none; }
  .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
  .sub a { padding: 10px 12px; }
  .nav-cta { display: inline-flex; margin-top: 20px; align-self: flex-start; }
  .head-cta { margin-left: auto; }
  .head-cta + .nav-toggle { margin-left: 0; }
}

@media (max-width: 991px) {
  .hero { padding: 48px 0 80px; }
  .hero-grid, .about-grid, .svc-grid, .faq-grid, .area-hero-grid, .split-grid,
  .area-body-grid, .guide-grid, .faq-page-grid, .form-grid, .legal-grid, .foot-top { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .panels { height: 460px; }
  .svc-head { position: static; }
  .ghost { display: none; }
  .svc-head .s-head { margin-bottom: 24px; }
  .side, .legal-toc { position: static; }
  .legal-toc { display: none; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-item:last-child { display: none; }
  .reads-grid { grid-template-columns: 1fr 1fr; }
  .reads-grid .read:last-child { display: none; }
  .area-grid { grid-template-columns: 1fr; }
  .faq-fig { width: min(100%, 400px); }
  .area-hero-fig img { aspect-ratio: 16 / 11; }
  .split-fig img { aspect-ratio: 4 / 3; object-position: center 25%; }
  .about-fig img { aspect-ratio: 16 / 11; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 40px; }
}

@media (max-width: 767px) {
  :root { --gut: 16px; --r: 20px; }
  body { font-size: 16.5px; }
  .topbar p { display: none; }
  .topbar .wrap { justify-content: center; }
  .head-cta { display: none; }
  .head-cta + .nav-toggle { margin-left: auto; }
  .brand .mark { width: 40px; height: 40px; }
  .brand-word { font-size: 24px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-lede { font-size: 18.5px; }
  .panels { height: 380px; gap: 8px; }
  .hpanel.is-active, .panels .hpanel:hover, .panels .hpanel:focus-visible { flex-grow: 4.5; }
  .hpanel-meta { padding: 0 18px 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hpanel-title { font-size: 23px; }
  .feats-grid, .svc-cards, .how-steps, .pair-grid, .sample-points, .foot-grid, .row2 { grid-template-columns: 1fr; }
  .strip, .reads-grid { grid-template-columns: 1fr; }
  .strip-item:last-child, .reads-grid .read:last-child { display: block; }
  .about-md { padding: 80px 0; }
  .about-title { margin-bottom: 40px; }
  .about-note { flex-direction: column; gap: 20px; }
  .about-badge { width: 84px; height: 84px; }
  .about-badge svg { width: 40px; height: 40px; }
  .svc { padding: 28px 24px; }
  .services, .reads { padding-bottom: 80px; }
  .faq-md { padding: 80px 0 30px; }
  .faq-grid { gap: 40px; }
  .faq-fig { order: -1; width: min(86%, 340px); }
  .faq-a p { padding-right: 0; }
  .reads-head { flex-direction: column; align-items: flex-start; }
  .read-body { margin: -70px 14px 0; padding: 28px 22px; }
  .page-hero { padding: 40px 0 56px; }
  .ph-lede { font-size: 18px; }
  .area-body, .guide, .faq-page, .signup, .legal, .areas-hub { padding: 56px 0 80px; }
  .area-photo { grid-template-columns: 1fr; padding: 14px; }
  .area-photo-img img { aspect-ratio: 16 / 10; }
  .term { grid-template-columns: 1fr; gap: 6px; }
  .signup .panel { padding: 28px 20px; }
  .form .btn { width: 100%; }
  .pair-card { padding: 30px 24px; }
  .cta-band { padding-bottom: 72px; }
  .cta-inner { padding: 36px 26px; }
  .site-footer { padding-top: 70px; border-radius: 26px 26px 0 0; }
  .foot-top { padding-bottom: 56px; gap: 36px; }
  .foot-card { padding: 28px 22px; }
  .foot-mail { font-size: 15px; padding: 12px 18px; max-width: 100%; }
  .foot-grid { gap: 36px; padding-top: 56px; }
  .foot-copy .wrap { flex-wrap: wrap; justify-content: space-between; }
  .foot-copy p { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .topbar li:last-child { display: none; }
  .hero-actions .btn { width: 100%; }
  .chip { width: 1.25em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .fade-up { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .side, .cta-band { display: none; }
}
