/* Coral Active - shared stylesheet for every page.
   Brand Refresh palette and type: ivory page, Poppins 300 headlines, Montserrat body,
   Schibsted Grotesk uppercase labels. Single light theme by choice.
   Page-only styles live in home.css and lp-sync.css. */

:root {
  color-scheme: light;
  --navy: #1E2440; --night: #14182E; --coral: #FF6B57; --pink: #E54E80; --star: #94DBDF; --star-dk: #2E8F95;
  --ivory: #FAF7F2; --sand: #F1ECE4; --white: #FFFFFF;
  /* Darker cuts of the brand colors for small text: the bright ones fail WCAG AA on ivory. */
  --coral-ink: #C93A27; --pink-ink: #C2336A; --teal-ink: #1F747A;
  --ink-2: rgba(30,36,64,.8); --ink-3: rgba(30,36,64,.68); --rule: rgba(30,36,64,.14); --rule-2: rgba(30,36,64,.07);
  --grad: linear-gradient(100deg, #FF6B57 0%, #E54E80 100%);
  --grad-deep: linear-gradient(100deg, #E5503B 0%, #CF3B70 100%);
  --grad-teal: linear-gradient(100deg, #1E2440 0%, #1F5E6E 55%, #2E8F95 100%);
  --shadow: 0 1px 2px rgba(15,19,48,.05), 0 18px 50px -18px rgba(15,19,48,.16);
  --shadow-lift: 0 2px 4px rgba(15,19,48,.05), 0 30px 60px -28px rgba(15,19,48,.3);
  --f-head: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-label: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 3.2vw, 48px);
  --gut: max(var(--pad), calc((100% - 1400px) / 2));   /* side gutter: content never wider than 1400px */
  --sec: clamp(72px, 10vw, 148px);                     /* space above a section */
  --ease: cubic-bezier(.2,.7,0,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ivory); color: var(--navy); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(229,78,128,.22); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pink-ink); outline-offset: 3px; border-radius: 6px; }

.lbl { font: 600 11px/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; }
.gt { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; }
.link { color: var(--pink-ink); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 600 13px/1 var(--f-body); transition: top .15s ease; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; font: 600 14px/1 var(--f-body); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn::after { content: "\2192"; transition: transform .2s ease; }
.btn:hover { transform: translateY(-1px); background: var(--pink-ink); box-shadow: 0 14px 30px -12px rgba(194,51,106,.55); }
.btn:hover::after { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ivory); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--sm::after { content: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule-2); transition: background .3s ease, border-color .3s ease; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gut) 12px; }
.bar__logo img { height: 30px; width: auto; }
.bar__nav { display: flex; gap: 26px; align-items: center; }
.bar__nav > a:not(.btn) { text-decoration: none; }
.bar__nav > a:not(.btn):hover { color: var(--pink-ink); }

.dd { position: relative; }
.dd__btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.dd__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.dd__btn:hover, .dd__btn[aria-current] { color: var(--pink-ink); }
.dd__menu { position: absolute; top: calc(100% + 6px); left: -16px; min-width: 268px; display: grid; gap: 2px; padding: 8px; background: var(--white); border: 1px solid var(--rule-2); border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(30,36,64,.4); text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu, .dd.open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd__btn::after, .dd.open .dd__btn::after { transform: translateY(1px) rotate(225deg); }
.dd__menu a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 10px; text-decoration: none; }
.dd__menu a:hover, .dd__menu a:focus-visible, .dd__menu a[aria-current] { background: var(--sand); }
.dd__menu b { font: 500 14px/1.2 var(--f-body); color: var(--navy); }
.dd__menu small { font: 400 12px/1.4 var(--f-body); color: var(--ink-3); }

/* Mobile menu */
.mnav-btn, .mnav__close { font: 600 11px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 11px 15px; cursor: pointer; }
.mnav-btn { display: none; }
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--ivory); padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-rows: auto 1fr auto; gap: 24px; overflow-y: auto; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; }
.mnav__top img { height: 30px; width: auto; }
.mnav__links { display: grid; align-content: start; gap: 4px; }
.mnav__links .lbl { color: var(--ink-3); margin-top: 20px; }
.mnav__links a { font: 300 28px/1.2 var(--f-head); letter-spacing: -.02em; color: var(--navy); text-decoration: none; padding: 5px 0; }
.mnav__links a:hover, .mnav__links a:focus-visible, .mnav__links a[aria-current] { color: var(--pink-ink); }
.mnav__cta { justify-content: center; padding: 18px; font-size: 15px; }
@media (max-width: 760px) {
  .bar__nav { gap: 10px; }
  .bar__nav .dd, .bar__nav > a:not(.btn) { display: none; }
  .mnav-btn { display: inline-flex; }
}

/* Page hero (every page except the home page) */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 11vw, 144px) var(--gut) clamp(40px, 6vw, 80px); display: grid; gap: clamp(20px, 2.6vw, 32px); justify-items: start; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -6%; top: 0; bottom: 0; width: min(64vw, 900px); pointer-events: none; filter: blur(28px);
  -webkit-mask-image: linear-gradient(#000 45%, transparent 96%); mask-image: linear-gradient(#000 45%, transparent 96%);   /* fades out before the hero's bottom edge, so there is no hard cut-off */
  background: radial-gradient(circle at 40% 18%, rgba(255,107,87,.3), transparent 46%), radial-gradient(circle at 72% 40%, rgba(229,78,128,.24), transparent 44%), radial-gradient(circle at 46% 62%, rgba(148,219,223,.42), transparent 40%); }
.hero .lbl { color: var(--coral-ink); }
.hero h1 { font: 300 clamp(40px, 6.2vw, 100px)/1 var(--f-head); letter-spacing: -.045em; max-width: 15ch; }
.hero p { max-width: 56ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); }
.hero--tight { padding-bottom: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .hero::before { width: 120vw; right: -50%; opacity: .8; } }

/* Sections */
.sec { padding: var(--sec) var(--gut) 0; }
.sec--flush { padding-top: clamp(24px, 3vw, 40px); }
.sec__hd { display: grid; row-gap: clamp(18px, 2.4vw, 30px); border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: clamp(32px, 4.4vw, 60px); }
.sec__hd .lbl { color: var(--ink-3); }
.sec__hd h2 { font: 300 clamp(30px, 4vw, 60px)/1.06 var(--f-head); letter-spacing: -.035em; max-width: 22ch; }
.sec__sub { max-width: 58ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); margin-bottom: clamp(32px, 4.4vw, 60px); }
.sec__hd + .sec__sub { margin-top: calc(clamp(32px, 4.4vw, 60px) * -.45); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 var(--gut); }
.fact { padding: 26px 22px 28px; border-right: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; min-width: 0; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { font: 300 clamp(40px, 4.6vw, 68px)/1 var(--f-head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-3); }
.facts-note { margin: 16px var(--gut) 0; color: var(--ink-3); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--rule); padding-inline: 0; } .fact:last-child { border-bottom: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--rule-2); border-radius: 20px; padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 12px; align-content: start; min-width: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .lbl { color: var(--teal-ink); }
.card h3 { font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--f-head); letter-spacing: -.015em; }
.card p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Dark highlight band */
.band { margin-top: clamp(40px, 6vw, 88px); border-radius: 24px; color: #fff; padding: clamp(28px, 4.4vw, 60px); display: grid; gap: 12px; position: relative; overflow: hidden;
  background: radial-gradient(60% 130% at 100% 0%, rgba(229,78,128,.6), transparent 62%), radial-gradient(46% 110% at 0% 100%, rgba(255,107,87,.42), transparent 62%), var(--navy); }
.band .lbl { color: rgba(255,255,255,.78); }
.band h3 { font: 300 clamp(26px, 3.2vw, 44px)/1.1 var(--f-head); letter-spacing: -.025em; max-width: 22ch; }
.band p { color: rgba(255,255,255,.86); max-width: 52ch; }

/* Two-column feature lists */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.list li { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; }
.list li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-top: 8px; }
.list b { font-weight: 600; }
.col h3 { font: 300 clamp(22px, 2vw, 30px)/1.15 var(--f-head); letter-spacing: -.02em; margin-bottom: 22px; }
.col .lbl { color: var(--coral-ink); display: block; margin-bottom: 12px; }
.col .sec__sub { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Orchestration flow */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.2fr) 64px minmax(0, 1fr); align-items: center; }
.flow__box { background: var(--white); border: 1px solid var(--rule-2); border-radius: 18px; padding: 22px; display: grid; gap: 12px; min-width: 0; box-shadow: var(--shadow); }
.flow__box .lbl { color: var(--ink-3); }
.flow__box b { font: 400 17px/1.3 var(--f-head); }
.flow__box img { height: 22px; width: auto; max-width: 110px; }
.flow__rule { background: var(--grad-deep); color: #fff; border: 0; padding: 28px 24px; box-shadow: 0 30px 60px -28px rgba(207,59,112,.75); }
.flow__rule .lbl { color: rgba(255,255,255,.88); }
.flow__rule b { font-size: clamp(18px, 1.6vw, 22px); }
.flow__acts { display: grid; gap: 10px; }
.flow__act { background: var(--white); border: 1px solid var(--rule-2); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; min-width: 0; box-shadow: var(--shadow); }
.flow__act img { height: 18px; width: auto; max-width: 84px; flex: none; }
.flow__act span { font-size: 14px; }
.flow__src { margin-top: 24px; color: var(--ink-3); }
.flow__src a { color: var(--pink-ink); }
.flow__line { height: 2px; background: linear-gradient(90deg, var(--rule), var(--star-dk)); position: relative; overflow: hidden; }
.flow__line::after { content: ""; position: absolute; top: -3px; width: 14px; height: 8px; border-radius: 4px; background: var(--star-dk); box-shadow: 0 0 10px var(--star); left: -16px; animation: run 2s linear infinite; }
@keyframes run { to { left: 100%; } }
@keyframes rundown { to { top: 100%; } }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow__line { width: 2px; height: 36px; margin: 0 auto; background: linear-gradient(var(--rule), var(--star-dk)); }
  .flow__line::after { left: -3px; top: -16px; width: 8px; height: 14px; animation-name: rundown; }
}

/* Connector catalog */
.feat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 26px; margin-bottom: clamp(28px, 3.6vw, 48px); border-radius: 20px; background: var(--white); border: 1px solid var(--rule-2); box-shadow: var(--shadow); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.feat img { height: 26px; width: auto; }
.feat .lbl { color: var(--coral-ink); }
.feat b { display: block; font: 400 clamp(18px, 1.8vw, 24px)/1.2 var(--f-head); margin-top: 4px; }
.feat__go { color: var(--pink-ink) !important; white-space: nowrap; }
@media (max-width: 640px) { .feat { grid-template-columns: 1fr; gap: 14px; } }
.tools { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 13px/1 var(--f-body); color: var(--navy); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 11px 15px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chip span { font: 600 11px/1 var(--f-label); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.chip.on span { color: rgba(250,247,242,.66); }
.search { position: relative; flex: 0 1 280px; }
.search input { width: 100%; font: 400 14px/1.2 var(--f-body); color: var(--navy); background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 11px 16px 11px 40px; }
.search input:focus { outline: 2px solid var(--pink-ink); outline-offset: 1px; border-color: transparent; }
.search::before { content: ""; position: absolute; left: 16px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border: 1.5px solid var(--ink-3); border-radius: 50%; }
.search::after { content: ""; position: absolute; left: 27px; top: 50%; width: 6px; height: 1.5px; margin-top: 4px; background: var(--ink-3); transform: rotate(45deg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.tile { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 22px 26px; display: grid; grid-template-rows: 44px auto; gap: 18px; align-content: start; min-width: 0; transition: background .25s ease; }
.tile:hover { background: var(--white); }
.tile__logo { display: flex; align-items: center; height: 44px; }
.tile__logo img { max-height: 26px; max-width: 120px; width: auto; }
.tile__word { font: 700 19px/1 var(--f-body); color: #C74634; letter-spacing: .02em; }
.tile__mono { width: 44px; border-radius: 10px; justify-content: center; font: 500 15px/1 var(--f-head); letter-spacing: -.02em; color: var(--navy); background: var(--sand); }
.tile__mono--ai { background: linear-gradient(135deg, #FFE1DA, #F9D3E1); }
.tile__txt { display: grid; gap: 6px; }
.tile__txt .lbl { color: var(--teal-ink); font-size: 10px; }
.tile h3 { font: 400 19px/1.2 var(--f-head); letter-spacing: -.01em; }
.tile p { font-size: 14px; color: var(--ink-2); }
.tile--ask { grid-column: 1 / -1; grid-template-rows: auto; grid-template-columns: 44px minmax(0, 1fr); align-items: center; background: var(--sand); text-decoration: none; }
.tile--ask:hover { background: var(--sand); }
.grid-empty { padding: 40px 0; color: var(--ink-2); }

/* People, customer logos, offices */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.person { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 22px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; transition: background .25s ease; }
.person:hover { background: var(--white); }
.person__av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--sand); }
.person b { display: block; font: 400 18px/1.25 var(--f-head); }
.person div span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 860px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-left: 1px solid var(--rule-2); }
.logo-grid > div { display: grid; place-items: center; height: 104px; border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: 16px; }
.logo-grid img { max-height: 28px; width: auto; max-width: 120px; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); border-top: 1px solid var(--rule); }
.office { padding: 24px 0 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.office h3 { font: 400 20px/1.2 var(--f-head); }
.office p { font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.office a { color: var(--navy); text-decoration-color: var(--rule); text-underline-offset: 3px; }
.office a:hover { color: var(--pink-ink); }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .offices { grid-template-columns: 1fr; } }

/* Contact form */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--rule-2); border-radius: 24px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-lift); }
.form label { display: grid; gap: 7px; font: 600 11px/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.form label i { font-style: normal; color: var(--coral-ink); }
.form input, .form textarea { font: 400 15px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--navy); background: var(--ivory); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 15px; width: 100%; transition: border-color .2s ease, background .2s ease; }
.form input:hover, .form textarea:hover { border-color: rgba(30,36,64,.3); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--pink-ink); outline-offset: 1px; border-color: transparent; background: var(--white); }
.form ::placeholder { color: rgba(30,36,64,.5); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form button { justify-self: start; }
.form__note { font-size: 13.5px; color: var(--ink-2); min-height: 1.2em; }
.form__small { font-size: 12.5px; color: var(--ink-3); }
.form__small a { color: var(--pink-ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* Side-nav layout: legal pages and the FAQ */
.legal, .faq-wrap { padding: 0 var(--gut) clamp(40px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 800px); gap: clamp(28px, 6vw, 96px); }
.legal__toc, .faq__toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 10px; border-top: 1px solid var(--rule); padding-top: 18px; }
.legal__toc .lbl, .faq__toc .lbl { color: var(--ink-3); margin-bottom: 6px; }
.legal__toc a, .faq__toc a { font-size: 14px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.legal__toc a:hover, .faq__toc a:hover { color: var(--pink-ink); }
@media (max-width: 860px) { .legal, .faq-wrap { grid-template-columns: 1fr; } .legal__toc { position: static; } .faq__toc { display: none; } }

.legal__body { display: grid; gap: 18px; border-top: 1px solid var(--rule); padding-top: 18px; min-width: 0; }
.legal__body h2 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--f-head); letter-spacing: -.015em; margin-top: 3vh; scroll-margin-top: 96px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font: 600 11px/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-top: 2vh; }
.legal__body p, .legal__body li { color: var(--ink-2); max-width: 68ch; }
.legal__body strong { color: var(--navy); font-weight: 600; }
.legal__body a { color: var(--pink-ink); overflow-wrap: anywhere; }
.legal__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, #94DBDF, #2E8F95); }
.legal__intro { font-size: clamp(17px, 1.4vw, 20px); color: var(--navy) !important; }
.legal__contact { margin-top: 4vh; padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: var(--white); border: 1px solid var(--rule-2); display: grid; gap: 10px; }
.legal__contact h2 { margin-top: 0; }

.faq { display: grid; gap: clamp(36px, 5vw, 64px); min-width: 0; }
.faq__grp { border-top: 1px solid var(--rule); scroll-margin-top: 96px; }
.faq__grp > h2 { font: 600 11px/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink); padding: 18px 0 6px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 400 clamp(18px, 1.6vw, 22px)/1.3 var(--f-head); letter-spacing: -.01em; transition: color .2s ease; }
.faq summary:hover { color: var(--pink-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 var(--f-head); color: var(--teal-ink); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* 404 */
.not-found { display: grid; justify-items: center; align-content: center; gap: 24px; text-align: center; padding-block: clamp(72px, 14vh, 160px); }
.not-found h1 { max-width: 14ch; }
.not-found p { max-width: 48ch; }
.not-found .btn-row { justify-content: center; }

/* Closing call to action */
.close { padding: var(--sec) var(--gut) clamp(56px, 7vw, 104px); }
.close__in { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(22px, 2.6vw, 36px); background: var(--sand); padding: clamp(32px, 6vw, 96px) clamp(24px, 5vw, 80px); display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; }
.close__in::before { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -70%; width: min(70vw, 820px); aspect-ratio: 1; pointer-events: none; filter: blur(30px);
  background: radial-gradient(circle at 40% 40%, rgba(255,107,87,.34), transparent 46%), radial-gradient(circle at 66% 50%, rgba(229,78,128,.28), transparent 44%), radial-gradient(circle at 44% 70%, rgba(148,219,223,.4), transparent 40%); }
.close h2 { font: 300 clamp(34px, 5.4vw, 84px)/1.02 var(--f-head); letter-spacing: -.045em; max-width: 16ch; }
.close p { max-width: 52ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); }
.close p a { color: var(--pink-ink); }
.close .btn-row { margin-top: 8px; }

/* Footer */
.foot { background: var(--night); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 88px) var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.foot__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot__brand img { height: 34px; width: auto; }
.foot__brand p { max-width: 30ch; font-size: 14.5px; }
.foot__brand a { color: #fff; font-size: 14.5px; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.foot__col { display: grid; gap: 4px; align-content: start; }
.foot__col .lbl { color: rgba(255,255,255,.55); margin-bottom: 8px; }
.foot__col a { color: #fff; text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.foot a:hover { color: #FFB3A7; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(36px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.foot__base nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__base a { color: rgba(255,255,255,.8); text-decoration: none; }
@media (max-width: 760px) {
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col a { padding: 10px 0; }
}

/* Scroll reveal. Only hides content once site.js has confirmed it can show it again. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow__line::after { animation: none; display: none; }
  .btn, .card, .feat { transition: none; }
}
@media print {
  .bar, .mnav, .foot, .close, .skip { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
