/* ===========================================================================
   ReachStream Help Center — layout, built on the Figma design system.
   All colour and type values come from tokens.css (extracted from Figma).
   Nothing here hardcodes a brand colour.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Compatibility aliases. The footer markup is carried over from the previous
   build and references the older variable names; these map them onto the
   Figma tokens so there is exactly one source of truth for colour.
   --------------------------------------------------------------------------- */
:root {
  --brand:        var(--rs-brand-teal-blue);
  --brand-deep:   var(--rs-brand-dark-teal);
  --brand-darker: #002935;
  --accent:       var(--rs-brand-teal-blue);
  --menu-hover:   var(--rs-brand-teal-blue);
  --footer-teal:  #55C2C3;
  --muted-band:   var(--rs-bg-page);
  --ink:          var(--rs-text-primary);
  --body:         var(--rs-text-secondary);
  --muted:        var(--rs-text-muted);
  --surface:      var(--rs-bg-white);
  --canvas:       var(--rs-bg-page);
  --line:         var(--rs-stroke-default);
  --ease:         cubic-bezier(.22,.61,.36,1);
  --font-display: var(--rs-font-display);
  --font-body:    var(--rs-font-text);
  --shadow-sm: 0 1px 2px rgba(0,52,67,.06), 0 4px 12px -6px rgba(0,52,67,.10);
  --shadow-md: 0 2px 6px rgba(0,52,67,.07), 0 16px 32px -20px rgba(0,52,67,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--rs-bg-white);
  color: var(--rs-text-secondary);
  font-family: var(--rs-font-text);
  font-size: 16px; line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { margin: 0; color: var(--rs-text-primary); font-family: var(--rs-font-display); }
p { margin: 0; }
a { color: var(--rs-text-link); text-underline-offset: 2px; }
img { max-width: 100%; }

:where(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid var(--rs-text-link); outline-offset: 2px; border-radius: 4px;
}
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip { position:absolute; left:-9999px; top:0; z-index:100; background: var(--rs-brand-teal-blue); color:#fff; padding:.75rem 1rem; }
.skip:focus { left:0; }

/* 1440px Figma frame with 80px side gutters -> 1280px content column */
.shell { width: min(100% - 48px, 1280px); margin-inline: auto; }
.shell-wide { width: min(100% - 48px, 1680px); margin-inline: auto; }

/* ---------- reveal ------------------------------------------------------ */
.reveal { opacity:0; transform: translateY(16px); }
.reveal.is-in { opacity:1; transform:none; transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d,0ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1; transform:none; }
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family: var(--rs-font-text); font-weight:600; font-size:15px; line-height:22px;
  padding:.72rem 1.4rem; border-radius:999px; border:1px solid transparent;
  cursor:pointer; text-decoration:none; white-space:nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--rs-brand-dark-teal); color: var(--rs-text-inverse); }
.btn-primary:hover { background: var(--rs-brand-teal-blue); color:#fff; transform: translateY(-2px); }
.btn-primary:disabled { background: var(--rs-text-muted); cursor:not-allowed; transform:none; }
.btn-ghost { border-color: var(--rs-stroke-strong); color: var(--rs-text-primary); background: var(--rs-bg-white); }
.btn-ghost:hover { border-color: var(--rs-brand-teal-blue); color: var(--rs-brand-teal-blue); transform: translateY(-2px); }
.btn-block { width:100%; border-radius:10px; padding-block:.85rem; }

/* ---------- header ------------------------------------------------------ */
.site-header {
  position:sticky; top:0; z-index:30; height:76px; display:flex; align-items:center;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom:1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--rs-stroke-default); box-shadow: 0 1px 12px rgba(0,52,67,.06); }
/* No width here — .shell already sets the container width; a width:100%
   declared later at equal specificity silently overrode it. */
.header-inner { display:flex; align-items:center; gap:1.25rem; }
.brand { display:inline-flex; align-items:center; gap:.7rem; text-decoration:none; flex-shrink:0; }
.brand img { height:30px; width:auto; display:block; }
.brand-sub {
  font-family: var(--rs-font-text); font-weight:600; font-size:15px;
  color: var(--rs-text-primary); padding-left:.75rem; border-left:1px solid var(--rs-stroke-default);
}
.site-nav { display:flex; gap:1.6rem; margin-left:auto; }
.site-nav a {
  position:relative; font-size:15px; font-weight:500; color: var(--rs-text-secondary);
  text-decoration:none; padding-block:.3rem;
}
.site-nav a::after {
  content:''; position:absolute; left:0; bottom:0; height:2px; width:100%;
  background: var(--rs-brand-teal-blue); transform:scaleX(0); transform-origin:right; transition:transform .25s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rs-text-primary); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform:scaleX(1); transform-origin:left; }
.nav-toggle { display:none; align-items:center; justify-content:center; background:none; border:0; padding:.5rem; cursor:pointer; }
.nav-bars, .nav-bars::before, .nav-bars::after { display:block; width:22px; height:2px; background: var(--rs-text-primary); content:''; }
.nav-bars::before { transform: translateY(-7px); } .nav-bars::after { transform: translateY(5px); }
.nav-drawer { display:none; flex-direction:column; background: var(--rs-bg-white); border-top:1px solid var(--rs-stroke-default); }
.nav-drawer a { padding:.9rem 1.5rem; border-bottom:1px solid var(--rs-stroke-default); color: var(--rs-text-primary); text-decoration:none; font-weight:500; }

/* ---------- hero -------------------------------------------------------- */
.hero { position:relative; overflow:hidden; background: var(--rs-bg-teal-tint); padding:104px 0 96px; text-align:center; }
.hero-orbit { position:absolute; left:50%; border-radius:50%; border:1px solid rgba(255,255,255,.75); pointer-events:none; }
.hero-orbit.o1 { width:1180px; height:1180px; top:284px; transform:translateX(-50%); }
.hero-orbit.o2 { width:860px; height:860px; top:354px; transform:translateX(-50%); }
.hero > .shell { position:relative; z-index:1; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; color: var(--rs-brand-teal-blue); margin-bottom:20px; }
.eyebrow::before { content:''; width:24px; height:1.5px; background: currentColor; }
.hero h1 { color: var(--rs-text-primary); }
.hero-sub { margin:16px auto 0; max-width:560px; color: var(--rs-text-secondary); }

.searchbar {
  display:flex; align-items:stretch; max-width:760px; margin:40px auto 0;
  background: var(--rs-bg-white); border:1px solid var(--rs-stroke-default); border-radius:14px;
  overflow:hidden; box-shadow: 0 18px 40px -28px rgba(0,52,67,.4);
  transition: border-color .18s, box-shadow .18s;
}
.searchbar:focus-within { border-color: var(--rs-brand-teal-blue); box-shadow:0 0 0 3px rgba(15,101,138,.12); }
.searchbar input { flex:1; min-width:0; border:0; background:none; padding:21px 24px; font:inherit; color: var(--rs-text-primary); }
.searchbar input::placeholder { color: var(--rs-text-muted); }
.searchbar input:focus { outline:none; }
.searchbar button {
  flex-shrink:0; width:68px; border:0; cursor:pointer; display:flex; align-items:center; justify-content:center;
  background: var(--rs-brand-dark-teal); color:#fff; transition: background-color .18s;
}
.searchbar button:hover { background: var(--rs-brand-teal-blue); }

.ask-row { display:flex; align-items:center; justify-content:center; gap:.6rem; margin-top:28px; flex-wrap:wrap; }
.ask-row span { color: var(--rs-text-secondary); font-size:15px; }
.ask-link { display:inline-flex; align-items:center; gap:.4rem; font-weight:600; font-size:15px; color: var(--rs-brand-teal-blue); text-decoration:none; }
.ask-link svg { transition: transform .18s; }
.ask-link:hover svg { transform: translateX(3px); }

/* ---------- sections ---------------------------------------------------- */
.section { padding:88px 0; }
.section-tint { background: var(--rs-bg-page); }
.section-head { text-align:center; max-width:640px; margin:0 auto 48px; }
.section-head p { margin-top:12px; color: var(--rs-text-secondary); }

/* destination cards */
.dest-grid { display:grid; gap:24px; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
.dest-card {
  display:block; text-decoration:none; background: var(--rs-bg-white);
  border:1px solid var(--rs-stroke-default); border-radius:20px; padding:32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dest-card:hover { transform: translateY(-5px); border-color: var(--rs-stroke-strong); box-shadow:0 24px 48px -32px rgba(0,52,67,.45); }
.dest-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; color: var(--rs-brand-dark-teal); }
.dest-icon.i-blue { background: var(--rs-accent-blue); }
.dest-icon.i-green { background: var(--rs-accent-green); }
.dest-icon.i-primrose { background: var(--rs-accent-primrose); }
.dest-card h3 { margin-bottom:8px; }
.dest-card p { color: var(--rs-text-secondary); font-size:15px; line-height:24px; }
.dest-more { display:inline-flex; align-items:center; gap:.4rem; margin-top:18px; font-weight:600; font-size:15px; color: var(--rs-brand-teal-blue); }
.dest-card:hover .dest-more svg { transform: translateX(3px); }
.dest-more svg { transition: transform .18s; }

/* article lists */
.articles-grid { display:grid; gap:56px; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); }
.list-head { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--rs-stroke-default); }
.list-head a { font-size:15px; font-weight:600; text-decoration:none; }
.art-list { list-style:none; margin:0; padding:0; }
.art-list li { border-bottom:1px solid var(--rs-stroke-default); }
.art-list li:last-child { border-bottom:0; }
.art-list a {
  display:flex; align-items:flex-start; gap:12px; padding:14px 0;
  color: var(--rs-text-primary); text-decoration:none; font-size:15px; line-height:22px;
  transition: color .18s, padding-left .18s;
}
.art-list a:hover { color: var(--rs-brand-teal-blue); padding-left:6px; }
.art-list svg { flex-shrink:0; margin-top:3px; color: var(--rs-text-muted); }

/* category grid */
.cat-grid { display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.cat-card {
  display:flex; flex-direction:column; gap:8px; text-decoration:none;
  background: var(--rs-bg-white); border:1px solid var(--rs-stroke-default);
  border-radius:16px; padding:24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform:translateY(-4px); border-color: var(--rs-stroke-strong); box-shadow:0 20px 40px -30px rgba(0,52,67,.45); }
.cat-card h3 { font-size:18px; line-height:26px; letter-spacing:-.3px; }
.cat-count { color: var(--rs-text-muted); font-size:13px; }

.breadcrumb { display:flex; gap:.5rem; align-items:center; font-size:13px; color: var(--rs-text-muted); margin-bottom:16px; }
.breadcrumb a { color: var(--rs-text-muted); text-decoration:none; }
.breadcrumb a:hover { color: var(--rs-brand-teal-blue); }

/* ---------- responsive -------------------------------------------------- */
@media (max-width: 860px) {
  .site-nav { display:none; }
  .nav-toggle { display:inline-flex; margin-left:auto; }
  .nav-drawer[data-open="true"] { display:flex; }
  .brand-sub { display:none; }
  .hero { padding:56px 0 56px; }
  .section { padding:56px 0; }
  .articles-grid { gap:40px; }
  .searchbar input { padding:16px 18px; }
}


/* ---------- Footer — structure and links taken from the live
   releases.reachstream.com footer (server-rendered, so these are the real
   URLs, not guesses). ---------------------------------------------------- */
.footer { background: #F7FCFC; color: var(--body); border-top: 1px solid var(--line); }

/* utility bar */
.footer-util { background: #EEF5F6; border-bottom: 1px solid #E2EDEE; font-size: .82rem; }
.util-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .35rem 2rem;
  align-items: center; padding: .7rem 0;
}
.util-item { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; }
a.util-item:hover { color: var(--brand); }
.util-right { justify-self: end; }
.util-follow { text-align: center; font-weight: 600; color: var(--ink); }
.util-addr { color: var(--body); }

.socials { display: flex; justify-content: center; gap: .85rem; list-style: none; margin: 0; padding: 0; }
.socials a { color: var(--ink); display: inline-flex; transition: color .18s var(--ease), transform .18s var(--ease); }
.socials a:hover { color: var(--brand); transform: translateY(-2px); }

/* link columns */
.footer-cols {
  display: grid; grid-template-columns: .85fr 1.5fr 1fr .8fr 1.5fr;
  gap: 2.5rem; padding: 2.75rem 0 2.5rem;
}
.fcol { position: relative; }
.fcol + .fcol::before {
  content: ''; position: absolute; left: -1.25rem; top: 0; bottom: 0;
  width: 1px; background: #E2EDEE;
}
.fcol h3 {
  font-size: .9rem; color: var(--ink); margin-bottom: 1rem; padding-bottom: .55rem;
  border-bottom: 2px solid var(--line); display: inline-block;
}
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin-bottom: .55rem; }
.fcol a {
  font-size: .86rem; color: var(--body); text-decoration: none;
  transition: color .18s var(--ease);
}
.fcol a:hover { color: var(--brand); }
.fcol-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ask AI + trust badges */
.footer-trust { border-top: 1px solid #E2EDEE; padding: 2rem 0 1.75rem; text-align: center; }
.ask-ai-label { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .9rem; }
.ai-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.ai-row img, .ai-row .asset-slot { width: 34px; height: 34px; border-radius: 50%; }

.badge-strip { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.strip-rule { flex: 0 1 120px; height: 1px; background: #DCE8EB; }
.badge-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.badge-row img { display: block; transition: transform .2s var(--ease); }
.badge-row img:hover { transform: translateY(-3px); }

/* Placeholder for an asset I don't have yet — deliberately visible so a
   missing file is obvious rather than silently blank. Swap for an <img>. */
.asset-slot {
  display: inline-flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #EDF4F5, #EDF4F5 6px, #E3EEF0 6px, #E3EEF0 12px);
  border: 1px dashed #BBD1D5; border-radius: 6px;
  font-size: .6rem; font-weight: 600; color: #7E97A0; text-align: center;
  padding: .2rem; line-height: 1.1; overflow: hidden;
}
.slot-badge { width: 62px; height: 68px; }
.slot-pay { width: 54px; height: 30px; font-size: .58rem; }

/* bottom */
.footer-bottom { position: relative; background: var(--surface); border-top: 1px solid #E2EDEE; padding: 2rem 0 7rem; text-align: center; overflow: hidden; }
.footer-bottom > .shell-wide { position: relative; z-index: 1; }
.footer-logo { display: block; margin: 0 auto .85rem; height: 26px; width: auto; }
.copyline { font-size: .86rem; color: var(--body); }
.copyline a { color: var(--brand); text-decoration: none; }
.legal-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 0; margin-top: .7rem; }
.legal-row a {
  font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 0 .85rem; border-right: 1px solid var(--line);
}
.legal-row a:last-child { border-right: 0; }
.legal-row a:hover { color: var(--brand); }

.accept-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.accept-label { font-size: .75rem; font-weight: 700; color: var(--ink); margin-right: .25rem; }
.accept-row img { display: block; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: .15rem .3rem; }

.sub-link { display: inline-block; margin-top: 1rem; font-size: .8rem; color: var(--muted); text-decoration: none; }
.sub-link:hover { color: var(--brand); text-decoration: underline; }

/* The reference footer ends in a teal band with an illustration on the right.
   The band is reproduced here; the artwork itself is a missing asset. */
/* The artwork carries its own teal water band across its bottom 20.6%.
   The page band is derived from the same ratio so the two meet seamlessly
   at any width. Colour sampled from the artwork itself (#8ADEDF). */
.footer-wave {
  --wave-h: 140px;
  --band-h: calc(var(--wave-h) * 0.206);
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--wave-h);
  background: linear-gradient(180deg, transparent 0 calc(100% - var(--band-h)), #8ADEDF calc(100% - var(--band-h)));
  pointer-events: none;
}


/* ---------- Security & compliance --------------------------------------
   Rebuilt natively from the reference recording rather than embedding the
   MP4: the badge strip is a CSS marquee, so it stays crisp at any width,
   costs ~30KB instead of 1.7MB, carries no cursor artefact, and honours
   prefers-reduced-motion. ------------------------------------------------ */
.security { padding-top: 0; }
.sec-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-md);
}
.sec-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.7fr); gap: 2rem; align-items: center; }
.sec-grid h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.grad {
  background: linear-gradient(95deg, var(--accent), var(--brand) 55%, var(--brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-art { display: flex; justify-content: center; }
.sec-art img { width: 100%; max-width: 230px; height: auto; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.compliance-chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.compliance-chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; font-size: .83rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.compliance-chips li:hover { transform: translateY(-2px); border-color: #BBD6DC; }
.cdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.c-blue { background: #2E7FB8; } .c-green { background: #1C9D73; }
.c-amber { background: #E0A022; } .c-orange { background: #E46317; }
.c-violet { background: #7C5CD6; } .c-pink { background: #D6457F; }

.sec-divider { height: 1px; background: var(--line); margin: 2.25rem 0 2rem; }

.sec-trust { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 2rem; align-items: center; }
.sec-trust h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.sec-trust p { font-size: .92rem; }

/* marquee */
.marquee {
  display: flex; gap: 1.1rem; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0;
  flex-shrink: 0; min-width: max-content;
  animation: scrollx 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { display: block; height: 74px; width: auto; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 1.1rem)); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .sec-art img { animation: none; }
}

/* footer penguin band */
.footer-wave { display: flex; justify-content: flex-end; align-items: flex-end; }
.footer-wave img { display: block; height: var(--wave-h); width: auto; max-width: 60%; object-fit: contain; object-position: bottom right; }


/* ---------- Scroll-to-top ------------------------------------------------ */ */
.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand-deep); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); animation: popIn .3s var(--ease);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.scroll-top:hover { transform: translateY(-3px); background: var(--brand-darker); }
.scroll-top[hidden] { display: none; }



/* ---------- Submit ------------------------------------------------------- */
.submit { background: var(--canvas); border-top: 1px solid var(--line); padding: 5rem 0 5.5rem; }
.submit-shell { display: grid; gap: 3rem; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: start; }
.submit-intro { position: sticky; top: 104px; }
.submit-intro > p { margin-top: .9rem; max-width: 46ch; }

.checklist { margin-top: 2rem; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.checklist h3 { font-size: .9rem; margin-bottom: .75rem; }
.checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.6rem; font-size: .9rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 9px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.ticket-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.1rem; box-shadow: var(--shadow-lg); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 1.35rem; grid-template-columns: 1fr 1fr; }
.field label { display: block; margin-bottom: .4rem; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.req { color: var(--danger); }

.field input[type="email"], .field input[type="text"], .field select, .field textarea {
  width: 100%; padding: .78rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: inherit;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 148px; line-height: 1.6; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field :is(input, select, textarea):hover { border-color: #AFC8D0; }
.field :is(input, select, textarea):focus {
  border-color: var(--brand); outline: none;
  box-shadow: 0 0 0 3px rgba(7,122,132,.14);
}
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--danger); }
.field :is(input, select, textarea)[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179,38,30,.14); }

.field input[type="file"] {
  width: 100%; font: inherit; font-size: .9rem; color: var(--body);
  padding: .7rem; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--canvas); transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field input[type="file"]:hover { border-color: var(--brand); background: #EFF7F8; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: .8rem; padding: .45rem .9rem;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  color: var(--ink); cursor: pointer;
}

.hint { margin-top: .4rem; font-size: .83rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.counter { white-space: nowrap; font-variant-numeric: tabular-nums; }
.error { margin-top: .4rem; font-size: .85rem; color: var(--danger); font-weight: 500; }
.form-note { margin-top: .9rem; font-size: .83rem; color: var(--muted); text-align: center; }

.result { margin-top: 1.25rem; padding: 1.05rem 1.2rem; border-radius: var(--radius); font-size: .93rem; animation: popIn .35s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result h3 { font-size: 1rem; margin-bottom: .3rem; }
.result.is-success { background: #E7F4EF; border: 1px solid #B7DFCE; color: var(--success); }
.result.is-success h3 { color: var(--success); }
.result.is-error { background: #FBEBEA; border: 1px solid #F0C4C1; color: var(--danger); }
.result.is-error h3 { color: var(--danger); }
.result code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(9,61,84,.08); padding: .1rem .35rem; border-radius: 4px; }


/* ---------- FAQ accordion ------------------------------------------------ */
.faq-shell { max-width: 820px; }
.accordion { display: grid; gap: .7rem; }
.acc-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.acc-item[open] { border-color: #BBD6DC; box-shadow: var(--shadow-md); }
.acc-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: ''; position: absolute; right: 1.3rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.acc-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc-item summary:hover { color: var(--brand); }
.acc-body { padding: 0 1.3rem 1.2rem; font-size: .94rem; animation: accIn .3s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }


/* ---------- Response times ---------------------------------------------- */
.response-grid { display: grid; gap: 3rem; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; }

.hours-card {
  margin-top: 2rem; padding: 1.3rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hours-card h3 { font-size: .92rem; margin-bottom: .3rem; }
.hours-card p { font-size: .95rem; }
.hours-note { margin-top: .5rem; font-size: .85rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
.sla { width: 100%; border-collapse: collapse; min-width: 520px; }
.sla thead th {
  text-align: left; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: .95rem 1.1rem;
  background: var(--canvas); border-bottom: 1px solid var(--line);
}
.sla tbody th, .sla tbody td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .93rem; text-align: left; font-weight: 400; vertical-align: top; }
.sla tbody tr:last-child th, .sla tbody tr:last-child td { border-bottom: 0; }
.sla tbody tr { transition: background-color .2s var(--ease); }
.sla tbody tr:hover { background: #F7FBFC; }
.sla tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sla strong { color: var(--ink); font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .55rem; vertical-align: middle; }
.dot-urgent { background: #D14343; } .dot-high { background: #E07B22; }
.dot-medium { background: #2E7FB8; } .dot-low { background: #1C9D73; }


/* submit page layout */
.submit-shell { display:grid; gap:40px; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:start; }
.submit-aside { position:sticky; top:100px; display:grid; gap:20px; }
.checklist { background:var(--rs-bg-white); border:1px solid var(--rs-stroke-default); border-radius:16px; padding:24px; }
.checklist h2 { margin-bottom:12px; }
@media (max-width: 1000px) {
  .submit-shell { grid-template-columns:1fr; }
  .submit-aside { position:static; }
}

/* ---------------------------------------------------------------------------
   Utility classes replacing inline style attributes. The page's CSP sets
   style-src 'self', which blocks inline styles outright — they fail silently,
   so anything set that way simply never applies.
   --------------------------------------------------------------------------- */
.hero-sm     { padding: 64px 0 48px; }
.hero-md     { padding: 72px 0 64px; }
.center      { justify-content: center; }
.narrow      { max-width: 860px; }
.narrow-sm   { max-width: 820px; }
.note        { margin-top: 24px; color: var(--rs-text-muted); }
.note-tight  { margin-top: 6px; color: var(--rs-text-muted); }

/* ---------------------------------------------------------------------------
   Footer responsive rules. These were missed when the footer CSS was lifted
   from the previous build — the old mobile rules lived in a separate block
   further down that file, so the footer had no small-screen handling.
   --------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .fcol + .fcol::before { display: none; }
  .util-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: .5rem; }
  .util-right { justify-self: center; }
}
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: 1fr; padding-top: 2rem; }
  .fcol-pair { grid-template-columns: 1fr 1fr; }
  .strip-rule { display: none; }
  .legal-row a { padding: 0 .6rem; font-size: .8rem; }
  .footer-meta-row { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer-meta-label { padding-top: 0; }
  /* The decorative orbits are 1180px wide; clipping alone still lets them
     widen the scroll box on narrow screens, so scale them down instead. */
  .hero-orbit.o1 { width: 760px; height: 760px; top: 220px; }
  .hero-orbit.o2 { width: 560px; height: 560px; top: 270px; }
}
