/* ==========================================================
   Master Switch HCP DSE website - shared stylesheet (v2)
   Light, modern healthcare theme.
   Palette: Ink (navy text) / Mist + Sky (backgrounds) / Teal (actions)
            Filament (amber = the lit bulb, used sparingly) / Coral (inflammation)
   Replace tokens in :root when the approved HCP DSE design system arrives.
   ========================================================== */

:root {
  --ink: #0D2B45;
  --ink-2: #3F566B;
  --mist: #F2F7FA;
  --sky: #E6F3F8;
  --line: #D5E2EA;
  --white: #FFFFFF;
  --teal: #0A7A80;
  --teal-dk: #08666B;
  --teal-br: #12A8AE;
  --teal-l: #BFE7E8;
  --fil: #FFB02E;
  --fil-l: #FFF1D2;
  --coral: #E9565C;
  --coral-l: #FFD9DA;
  --danger: #B3261E;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --header-h: 72px;
  --shadow: 0 14px 36px rgba(13, 43, 69, .10);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.reduce-motion { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .75rem; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.measure { max-width: 64ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--fil); }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.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-link { position: absolute; left: -999px; top: 0; z-index: 3000; background: var(--fil); color: var(--ink); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { left: 0; }
[hidden] { display: none !important; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--fil), var(--teal-br)); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,43,69,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6D6, var(--fil) 70%); box-shadow: 0 0 0 4px var(--fil-l), 0 0 18px rgba(255,176,46,.7); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .98rem; }
.site-nav a:not(.btn):hover { background: var(--sky); }
.site-nav a[aria-current="page"]:not(.btn) { background: var(--sky); color: var(--teal-dk); }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.motion-toggle { background: var(--white); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font: inherit; font-size: .85rem; cursor: pointer; }
.motion-toggle[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav .btn { text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dk); color: var(--white); }
.btn-amber { background: var(--fil); color: var(--ink); }
.btn-amber:hover { background: #FFC15C; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: .5rem 1.15rem; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); text-decoration: underline; cursor: pointer; }

/* ---------- Full-width banner (below the navigation) ---------- */
.banner { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, #EAF6FA 0%, #D3EEEE 52%, #FFF0CF 100%); }
.banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 2; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 40 C240 90 480 0 720 36 C960 72 1200 90 1440 30 L1440 80 L0 80 Z' fill='white'/></svg>") center bottom / 100% 100% no-repeat; }
.banner--home { min-height: min(86vh, 780px); display: flex; align-items: center; padding: 4rem 0 8rem; }
.banner--page { padding: 4rem 0 6.5rem; }
.banner-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.banner--page .banner-grid { grid-template-columns: 1.25fr .75fr; }
.banner h1 { max-width: 16ch; }
.banner--page h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 22ch; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-2); }

/* parallax layers (moved by main.js, differing speeds = visible depth) */
.px { position: absolute; left: 0; right: 0; top: -40%; height: 180%; z-index: 1; pointer-events: none; will-change: transform; background-repeat: no-repeat; }
.px-cells { background-image: url("images/layer-cells.svg"); background-size: cover; background-position: center; opacity: .9; }
.px-wires { background-image: url("images/layer-wires.svg"); background-size: cover; background-position: center; opacity: .8; z-index: 1; }
.px-glow { background: radial-gradient(circle at 78% 42%, rgba(255,176,46,.30), transparent 34%), radial-gradient(circle at 12% 70%, rgba(18,168,174,.20), transparent 30%); z-index: 0; }

.banner-art { position: relative; justify-self: center; width: min(100%, 360px); }
.banner-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow); transform: rotate(3deg); border: 6px solid var(--white); }

/* switch + bulb (home hero) */
.stage { width: min(100%, 470px); margin-inline: auto; padding: 1rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,.1) 70%); }
.stage-svg .glow { opacity: 0; transition: opacity .6s ease; }
.stage-svg .bulb-glass { fill: #C9D8E3; transition: fill .6s ease; }
.stage-svg .filament { stroke: #8FA6B8; transition: stroke .6s ease; }
.stage-svg .wire { stroke: #8FA6B8; stroke-width: 5; fill: none; stroke-linecap: round; transition: stroke .6s ease; }
.stage-svg .knob { fill: #fff; transition: transform .35s ease; }
.stage-svg .track { fill: #8FA6B8; transition: fill .35s ease; }
.stage.lit .glow { opacity: 1; }
.stage.lit .bulb-glass { fill: #FFD36B; }
.stage.lit .filament { stroke: #B36B00; }
.stage.lit .wire { stroke: var(--fil); stroke-dasharray: 10 10; animation: flow 1.2s linear infinite; }
.stage.lit .knob { transform: translateX(30px); }
.stage.lit .track { fill: #E09400; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.stage-caption { text-align: center; margin: .75rem 0 0; }

@media (max-width: 900px) {
  .banner--home { min-height: 0; padding: 3rem 0 6rem; }
  .banner-grid, .banner--page .banner-grid { grid-template-columns: 1fr; gap: 2rem; }
  .banner-art { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.answer { font-size: 1.2rem; color: var(--ink); max-width: 62ch; }
.pull { border-left: 5px solid var(--fil); padding-left: 1.1rem; font-size: 1.15rem; max-width: 62ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* stats strip overlapping the banner */
.stats { position: relative; z-index: 5; margin-top: -3.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--teal-dk); margin-bottom: .4rem; }
.stat span { color: var(--ink-2); font-size: .98rem; }
.stat-note { margin-top: .9rem; font-size: .85rem; color: var(--ink-2); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(13,43,69,.05); }
.card:hover { box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.card-link { margin-top: auto; padding-top: .6rem; font-weight: 700; }
.card--plain { padding: 1.5rem; }
.card--plain h3 { margin-bottom: .4rem; }
.tag { display: inline-block; align-self: flex-start; background: var(--sky); color: var(--teal-dk); font-weight: 700; font-size: .82rem; padding: .2rem .7rem; border-radius: 999px; }
.tag--amber { background: var(--fil-l); color: #7A4B00; }
.tag--coral { background: var(--coral-l); color: #8C1F25; }
.meta { font-size: .85rem; color: var(--ink-2); }

/* path chooser */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.path { border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); }
.path--quick { background: var(--fil-l); border-color: #F2D48E; }
.path--deep { background: var(--sky); border-color: #BFDDE8; }
.path ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Scrollytelling ("Follow the signal") ---------- */
.scrolly { position: relative; height: 320vh; background: linear-gradient(180deg, var(--white), var(--sky) 20%, var(--sky) 80%, var(--white)); }
.scrolly-stick { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.scrolly-steps { max-width: 460px; }
.scrolly-steps h2 { margin-bottom: 1.5rem; }
.step { border-left: 5px solid var(--line); padding: .25rem 0 .25rem 1.25rem; margin-bottom: 1.5rem; opacity: .38; transition: opacity .4s, border-color .4s; }
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--ink-2); }
.step.is-active { opacity: 1; border-color: var(--fil); }
.board { width: 100%; height: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.board .chip rect { fill: #fff; stroke: var(--line); stroke-width: 2; transition: fill .5s, stroke .5s; }
.board .chip text { font-family: var(--font-body); font-weight: 700; font-size: 15px; fill: var(--ink); }
.board .hub-circle { fill: #DCE7EE; transition: fill .5s; }
.board .hub-glow { fill: var(--fil); opacity: 0; transition: opacity .5s; }
.board .hub-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; fill: var(--ink); text-anchor: middle; }
.board .wire { stroke: #C5D4DE; stroke-width: 4; fill: none; stroke-linecap: round; transition: stroke .5s; }
.board .cap { font-family: var(--font-body); font-size: 13px; fill: var(--ink-2); text-anchor: middle; }
.board[data-step="1"] .in rect { stroke: var(--teal); fill: var(--sky); }
.board[data-step="2"] .in rect, .board[data-step="3"] .in rect { stroke: var(--teal); fill: var(--sky); }
.board[data-step="2"] .hub-circle, .board[data-step="3"] .hub-circle { fill: var(--fil); }
.board[data-step="2"] .hub-glow, .board[data-step="3"] .hub-glow { opacity: .35; }
.board[data-step="2"] .wire-in, .board[data-step="3"] .wire-in { stroke: var(--fil); stroke-dasharray: 10 10; animation: flow 1.2s linear infinite; }
.board[data-step="3"] .out rect { fill: var(--coral-l); stroke: var(--coral); }
.board[data-step="3"] .wire-out { stroke: var(--coral); stroke-dasharray: 10 10; animation: flow 1.2s linear infinite; }
@media (max-width: 899px) {
  .scrolly { height: auto; background: var(--sky); padding: 4rem 0; }
  .scrolly-stick { position: static; height: auto; grid-template-columns: 1fr; }
  .step { opacity: 1; border-color: var(--fil); }
}

/* ---------- Pathway diagram (TYK2 pages) ---------- */
.pathway { display: grid; gap: 1rem; }
.pw-head, .pw-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.pw-head span { font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.pw-cell { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; font-weight: 600; font-size: .98rem; transition: background .4s, border-color .4s, opacity .4s; }
.pw-cell small { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.pw-cell:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 1.6rem; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--teal-br) 0 8px, transparent 8px 14px); background-size: 14px 4px; animation: dashmove 1s linear infinite; }
@keyframes dashmove { to { background-position: 14px 0; } }
.pw-cell.hub { background: var(--fil-l); border-color: var(--fil); }
.pw-cell.out { background: var(--coral-l); border-color: #F3A9AC; }
.pw-row:hover .pw-cell { border-color: var(--teal); }
.pathway[data-signal="off"] .pw-cell.hub { background: #E3EAF0; border-color: var(--line); color: var(--ink-2); }
.pathway[data-signal="off"] .pw-cell.out { background: #EEF2F5; border-color: var(--line); color: #7C8E9C; }
.pathway[data-signal="off"] .pw-cell:not(:last-child)::after { animation: none; background: var(--line); opacity: .6; }
@media (max-width: 860px) {
  .pw-head { display: none; }
  .pw-row { grid-template-columns: 1fr; gap: 1.5rem; background: var(--mist); border-radius: var(--radius); padding: 1rem; }
  .pw-cell:not(:last-child)::after { left: 50%; top: 100%; width: 4px; height: 1.5rem; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, var(--teal-br) 0 8px, transparent 8px 14px); }
}
.switch-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.toggle { display: inline-flex; align-items: center; gap: .75rem; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: .4rem .5rem .4rem 1rem; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.toggle .knob { width: 44px; height: 26px; border-radius: 999px; background: var(--fil); position: relative; transition: background .3s; }
.toggle .knob::after { content: ""; position: absolute; top: 3px; left: 21px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: left .3s; }
.toggle[aria-checked="false"] .knob { background: #AFC0CD; }
.toggle[aria-checked="false"] .knob::after { left: 3px; }

/* ---------- Tabs ---------- */
.tablist { display: inline-flex; gap: .4rem; background: var(--sky); padding: .35rem; border-radius: 999px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tablist [role="tab"] { font: inherit; font-weight: 700; border: 0; background: transparent; padding: .6rem 1.3rem; border-radius: 999px; cursor: pointer; color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }
.takeaways { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.takeaways li { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--fil); border-radius: 12px; padding: 1rem 1.25rem; font-weight: 600; }

/* ---------- Content blocks ---------- */
.figure { margin: 0; }
.figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; }
.checklist li { padding-left: 2rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--teal-l); box-shadow: inset 0 0 0 5px var(--teal); }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.25rem; margin-bottom: .75rem; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
details[open] summary { margin-bottom: .5rem; }
details p { margin: 0; color: var(--ink-2); }

.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-note { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.9); border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; font-weight: 600; }

.refs { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 3rem; }
.refs h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.refs ol { padding-left: 1.2rem; margin: 0; display: grid; gap: .35rem; }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; }

/* ---------- Full-width call to action ---------- */
.cta-full { background: linear-gradient(120deg, var(--teal-dk), var(--teal)); color: var(--white); padding: 4rem 0; position: relative; overflow: hidden; }
.cta-full::before { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,46,.45), transparent 68%); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-full h2 { color: var(--white); margin: 0 0 .4rem; }
.cta-full p { margin: 0; max-width: 52ch; }

/* ---------- Filters (Resources) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.filters button { font: inherit; font-weight: 700; background: var(--white); border: 2px solid var(--line); color: var(--ink); border-radius: 999px; padding: .45rem 1.1rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.card[hidden] { display: none; }
.article-body h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.article-body p, .article-body li { color: var(--ink); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; padding: 0; }
.req { color: var(--coral); }
.opt { color: var(--ink-2); font-weight: 400; font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #B7C9D6; border-radius: 12px; padding: .75rem .9rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 4px var(--teal-l); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.radio-row label { font-weight: 500; display: inline-flex; gap: .5rem; align-items: center; margin: 0; }
.radio-col label { display: flex; gap: .5rem; align-items: center; font-weight: 500; margin-bottom: .4rem; }
.error-text { color: var(--danger); font-size: .92rem; margin-top: .3rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.legal-note { font-size: .88rem; color: var(--ink-2); }
.notice { border: 2px solid var(--danger); background: #FDECEA; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.notice h2 { margin-bottom: .4rem; font-size: 1.15rem; }
.notice.info { border-color: var(--teal); background: var(--sky); }

/* ---------- Modals (HCP gate, thank-you, articles) ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(13, 43, 69, .55); backdrop-filter: blur(6px); }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; width: min(100%, 540px); box-shadow: 0 24px 70px rgba(13,43,69,.35); }
.modal-box h2 { font-size: 1.7rem; }
.modal-box--article { width: min(100%, 760px); max-height: 88vh; overflow: auto; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1500; max-width: 820px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--fil); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 16px 50px rgba(13,43,69,.25); }
.cookie-banner h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .95rem; margin-bottom: .75rem; }
.cb-options { margin: .5rem 0 1rem; }
.cb-options label { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .5rem; font-size: .95rem; }
.cb-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 3rem 0 3.5rem; font-size: .93rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.legal { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.sitemap-list { columns: 2 260px; padding-left: 1.2rem; }

/* ---------- Scroll animation start states (only when Motion is running) ---------- */
.anim [data-reveal], .anim [data-stagger] > * { opacity: 0; }
html.reduce-motion .anim [data-reveal], html.reduce-motion .anim [data-stagger] > * { opacity: 1 !important; transform: none !important; }

/* ---------- Reduced motion (OS setting OR the site's "Reduce motion" button) ---------- */
html.reduce-motion .scrolly { height: auto; background: var(--sky); padding: 4rem 0; }
html.reduce-motion .scrolly-stick { position: static; height: auto; grid-template-columns: 1fr; }
html.reduce-motion .step { opacity: 1; border-color: var(--fil); }
html.reduce-motion * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scrolly { height: auto; background: var(--sky); padding: 4rem 0; }
  .scrolly-stick { position: static; height: auto; grid-template-columns: 1fr; }
  .step { opacity: 1; border-color: var(--fil); }
  .anim [data-reveal], .anim [data-stagger] > * { opacity: 1 !important; }
}
@media (max-width: 899px) { .px-wires { display: none; } }

/* image band with in-section parallax (used for statistics) */
.band { position: relative; overflow: hidden; background: var(--sky); padding: 4.5rem 0; isolation: isolate; }
.band .band-bg { position: absolute; inset: -14% 0; background: url("images/layer-cells.svg") center / cover no-repeat; opacity: .75; z-index: -1; will-change: transform; }
.band .stat { box-shadow: 0 8px 24px rgba(13,43,69,.10); }

/* =========================================
   CINEMATIC BULB HERO
========================================= */

.bulb-hero {
  position: relative;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.bulb-hero .banner-grid {
  position: relative;
  z-index: 3;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

/* Background effects */

.hero-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 183, 61, 0.13) 0%,
    rgba(255, 126, 29, 0.07) 35%,
    transparent 70%
  );
  animation: backgroundPulse 5s ease-in-out infinite;
}

.hero-lightning {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 40%,
      rgba(255, 191, 80, 0.05) 50%,
      transparent 60%
    );
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.bulb-scene {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1.08;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bulb */

.bulb-svg {
  position: relative;
  z-index: 4;
  width: 78%;
  height: auto;
  overflow: visible;
  animation: bulbFloat 4s ease-in-out infinite;
}

.bulb-glass {
  fill: url(#bulbGlass);
  stroke: rgba(255, 226, 151, 0.8);
  stroke-width: 2;
  transform-origin: center;
  animation: bulbFlicker 6s infinite;
}

.bulb-filament {
  fill: none;
  stroke: #fffce2;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #fff4bd);
  animation: filamentFlicker 6s infinite;
}

.bulb-neck {
  fill: #c78137;
  stroke: #ffcf78;
  stroke-width: 2;
}

.bulb-base {
  fill: url(#bulbMetal);
  stroke: #c4d2df;
  stroke-width: 1;
}

.bulb-tip {
  fill: #dce5ec;
}

.bulb-base-line {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 2;
}

/* Aura */

.bulb-aura {
  fill: #ffb938;
  opacity: 0.15;
  filter: url(#bulbBlur);
  animation: auraPulse 6s infinite;
}

.bulb-glow {
  position: absolute;
  width: 65%;
  height: 65%;
  top: 15%;
  left: 17.5%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 221, 129, 0.35) 0%,
    rgba(255, 166, 49, 0.18) 35%,
    rgba(255, 110, 0, 0.04) 60%,
    transparent 75%
  );
  filter: blur(22px);
  z-index: 1;
  animation: glowFlicker 6s infinite;
}

/* Energy rings */

.energy-ring {
  position: absolute;
  border: 1px solid rgba(255, 183, 71, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  width: 78%;
  height: 78%;
  animation: ringPulse 5s infinite;
}

.ring-2 {
  width: 92%;
  height: 92%;
  border-color: rgba(255, 183, 71, 0.12);
  animation: ringPulse 5s 1s infinite;
}

.ring-3 {
  width: 105%;
  height: 105%;
  border-color: rgba(255, 183, 71, 0.08);
  animation: ringPulse 5s 2s infinite;
}

/* Electrical sparks */

.spark {
  fill: none;
  stroke: #fff1a1;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter: drop-shadow(0 0 8px #ffb52e);
}

.spark-1 {
  animation: sparkOne 6s infinite;
}

.spark-2 {
  animation: sparkTwo 6s infinite;
}

.spark-3 {
  animation: sparkThree 6s infinite;
}

.spark-4 {
  animation: sparkFour 6s infinite;
}

.spark-5 {
  animation: sparkFive 6s infinite;
}

.spark-6 {
  animation: sparkSix 6s infinite;
}

/* Particle animation */

.spark-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.spark-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe59a;
  box-shadow: 0 0 12px #ffb52e;
  opacity: 0;
}

.spark-particles span:nth-child(1) {
  top: 25%;
  left: 25%;
  animation: particle1 6s infinite;
}

.spark-particles span:nth-child(2) {
  top: 30%;
  right: 25%;
  animation: particle2 6s infinite;
}

.spark-particles span:nth-child(3) {
  top: 50%;
  left: 10%;
  animation: particle3 6s infinite;
}

.spark-particles span:nth-child(4) {
  top: 55%;
  right: 10%;
  animation: particle4 6s infinite;
}

.spark-particles span:nth-child(5) {
  top: 20%;
  left: 50%;
  animation: particle5 6s infinite;
}

.spark-particles span:nth-child(6) {
  bottom: 20%;
  left: 30%;
  animation: particle6 6s infinite;
}

.spark-particles span:nth-child(7) {
  bottom: 20%;
  right: 30%;
  animation: particle7 6s infinite;
}

.spark-particles span:nth-child(8) {
  top: 15%;
  right: 40%;
  animation: particle8 6s infinite;
}

.spark-particles span:nth-child(9) {
  top: 40%;
  left: 15%;
  animation: particle1 6s 1s infinite;
}

.spark-particles span:nth-child(10) {
  top: 35%;
  right: 15%;
  animation: particle2 6s 1s infinite;
}

.spark-particles span:nth-child(11) {
  bottom: 30%;
  left: 20%;
  animation: particle3 6s 1s infinite;
}

.spark-particles span:nth-child(12) {
  bottom: 30%;
  right: 20%;
  animation: particle4 6s 1s infinite;
}

.spark-particles span:nth-child(13) {
  top: 60%;
  left: 30%;
  animation: particle5 6s 1.5s infinite;
}

.spark-particles span:nth-child(14) {
  top: 60%;
  right: 30%;
  animation: particle6 6s 1.5s infinite;
}

.spark-particles span:nth-child(15) {
  top: 25%;
  left: 15%;
  animation: particle7 6s 1.5s infinite;
}

.spark-particles span:nth-child(16) {
  top: 25%;
  right: 15%;
  animation: particle8 6s 1.5s infinite;
}

/* Explosion flash */

.blast-flash {
  position: absolute;
  z-index: 6;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 245, 1) 0%,
    rgba(255, 230, 156, 0.9) 15%,
    rgba(255, 168, 51, 0.5) 35%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.1);
  pointer-events: none;
  animation: blastAnimation 6s infinite;
}

/* Caption */

.hero-animation-caption {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 226, 171, 0.75);
}

.caption-dot {
  width: 7px;
  height: 7px;
  background: #ffbd4a;
  border-radius: 50%;
  box-shadow: 0 0 12px #ffbd4a;
  animation: captionBlink 2s infinite;
}

/* =========================================
   ANIMATION TIMELINE - 6 SECOND LOOP
========================================= */

@keyframes bulbFlicker {
  0%, 5%, 8%, 10%, 45%, 48%, 50%, 100% {
    opacity: 1;
  }

  6%, 9%, 47% {
    opacity: 0.2;
  }

  7%, 49% {
    opacity: 0.6;
  }

  15%, 40% {
    opacity: 0.9;
  }

  55%, 72% {
    opacity: 1;
  }

  75% {
    opacity: 0.3;
  }

  77% {
    opacity: 1;
  }
}

@keyframes filamentFlicker {
  0%, 5%, 8%, 10%, 45%, 48%, 50%, 100% {
    filter: drop-shadow(0 0 5px #fff4bd);
  }

  6%, 9%, 47% {
    filter: none;
  }

  55%, 72% {
    filter: drop-shadow(0 0 12px #fff4bd)
            drop-shadow(0 0 25px #ffb62e);
  }

  75% {
    filter: none;
  }

  77% {
    filter: drop-shadow(0 0 18px #fff4bd);
  }
}

@keyframes glowFlicker {
  0%, 5%, 8%, 10%, 45%, 48%, 50%, 100% {
    opacity: 0.35;
    transform: scale(0.95);
  }

  6%, 9%, 47% {
    opacity: 0.05;
  }

  55%, 72% {
    opacity: 0.9;
    transform: scale(1.2);
  }

  75% {
    opacity: 0.15;
  }

  77% {
    opacity: 1;
  }
}

@keyframes auraPulse {
  0%, 45%, 50%, 100% {
    opacity: 0.12;
    transform: scale(0.9);
  }

  55%, 72% {
    opacity: 0.5;
    transform: scale(1.2);
  }

  80% {
    opacity: 0.1;
  }
}

@keyframes bulbFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.95);
  }

  55%, 75% {
    opacity: 0.65;
    transform: scale(1.04);
  }
}

@keyframes sparkOne {
  0%, 10%, 100% { opacity: 0; }
  12%, 14% { opacity: 1; }
  15% { opacity: 0; }
  55%, 58% { opacity: 1; }
  59% { opacity: 0; }
}

@keyframes sparkTwo {
  0%, 20%, 100% { opacity: 0; }
  22%, 24% { opacity: 1; }
  25% { opacity: 0; }
  70%, 73% { opacity: 1; }
  74% { opacity: 0; }
}

@keyframes sparkThree {
  0%, 35%, 100% { opacity: 0; }
  37%, 40% { opacity: 1; }
  41% { opacity: 0; }
  55%, 57% { opacity: 1; }
  58% { opacity: 0; }
}

@keyframes sparkFour {
  0%, 25%, 100% { opacity: 0; }
  27%, 30% { opacity: 1; }
  31% { opacity: 0; }
  60%, 64% { opacity: 1; }
  65% { opacity: 0; }
}

@keyframes sparkFive {
  0%, 40%, 100% { opacity: 0; }
  42%, 46% { opacity: 1; }
  47% { opacity: 0; }
}

@keyframes sparkSix {
  0%, 45%, 100% { opacity: 0; }
  47%, 50% { opacity: 1; }
  51% { opacity: 0; }
}

/* Particles */

@keyframes particle1 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(-40px, -55px);
  }

  70% {
    opacity: 0;
    transform: translate(-80px, -90px);
  }
}

@keyframes particle2 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(45px, -35px);
  }

  70% {
    opacity: 0;
    transform: translate(85px, -75px);
  }
}

@keyframes particle3 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(-60px, 10px);
  }

  70% {
    opacity: 0;
    transform: translate(-110px, 30px);
  }
}

@keyframes particle4 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(60px, 15px);
  }

  70% {
    opacity: 0;
    transform: translate(110px, 40px);
  }
}

@keyframes particle5 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(0, -65px);
  }

  70% {
    opacity: 0;
    transform: translate(0, -120px);
  }
}

@keyframes particle6 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(-45px, 50px);
  }

  70% {
    opacity: 0;
    transform: translate(-80px, 90px);
  }
}

@keyframes particle7 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(50px, -10px);
  }

  70% {
    opacity: 0;
    transform: translate(90px, -35px);
  }
}

@keyframes particle8 {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(30px, 60px);
  }

  70% {
    opacity: 0;
    transform: translate(65px, 100px);
  }
}

/* Explosion */

@keyframes blastAnimation {
  0%, 49%, 100% {
    opacity: 0;
    transform: scale(0.1);
  }

  52% {
    opacity: 0.95;
    transform: scale(0.5);
  }

  55% {
    opacity: 0.8;
    transform: scale(1.3);
  }

  58% {
    opacity: 0.3;
    transform: scale(1.8);
  }

  62% {
    opacity: 0;
    transform: scale(2.5);
  }
}

@keyframes backgroundPulse {
  0%, 45%, 100% {
    opacity: 0.5;
  }

  55%, 70% {
    opacity: 1;
  }
}

@keyframes captionBlink {
  0%, 100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .bulb-hero .banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .bulb-hero {
    min-height: auto;
  }

  .bulb-hero .banner-grid {
    min-height: auto;
  }

  .hero-content .actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .bulb-scene {
    width: min(100%, 380px);
  }
}

@media (max-width: 600px) {
  .bulb-hero .banner-grid {
    padding-top: 40px;
    padding-bottom: 35px;
    gap: 5px;
  }

  .bulb-scene {
    width: min(100%, 310px);
  }

  .hero-animation-caption {
    font-size: 10px;
  }

  .ring-3 {
    width: 100%;
    height: 100%;
  }

  .bulb-hero .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .bulb-hero *,
  .bulb-hero *::before,
  .bulb-hero *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================================
   BULB ELECTRICAL WIRES
================================= */

.bulb-scene {
  position: relative;
  overflow: visible;
}

/* SVG wire layer */
.bulb-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}

/* Main metallic wires */
.wire {
  fill: none;
  stroke: url(#wireMetal);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inner dark edge for depth */
.wire-left,
.wire-right {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

/* Electric current */
.wire-current {
  fill: none;
  stroke: #ffcf55;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 28;
  opacity: 0;
  filter: drop-shadow(0 0 6px #ff9e21);
}

/* Current moving through wires */
.wire-current-left {
  animation: wireCurrent 6s linear infinite;
}

.wire-current-right {
  animation: wireCurrentReverse 6s linear infinite;
}

@keyframes wireCurrent {
  0%, 10%, 100% {
    opacity: 0;
    stroke-dashoffset: 100;
  }

  15%, 45% {
    opacity: 0.2;
  }

  50%, 75% {
    opacity: 1;
    stroke-dashoffset: -150;
  }

  80% {
    opacity: 0;
  }
}

@keyframes wireCurrentReverse {
  0%, 10%, 100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }

  15%, 45% {
    opacity: 0.2;
  }

  50%, 75% {
    opacity: 1;
    stroke-dashoffset: 150;
  }

  80% {
    opacity: 0;
  }
}

/* Wires react to blast */
.wire-left,
.wire-right {
  animation: wireShock 6s infinite;
}

@keyframes wireShock {
  0%, 50%, 100% {
    filter: drop-shadow(0 0 0 transparent);
  }

  53%, 58% {
    filter: drop-shadow(0 0 10px #ffb52e)
            drop-shadow(0 0 20px #ff8b18);
  }

  60% {
    filter: drop-shadow(0 0 0 transparent);
  }
}

/* Keep the bulb above the wire layer */
.bulb-svg {
  position: relative;
  z-index: 4;
}

/* Sparks above connections */
.spark-particles {
  z-index: 5;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .bulb-wires {
    transform: scale(0.95);
  }

  .wire {
    stroke-width: 6;
  }

  .wire-current {
    stroke-width: 2.5;
  }
}

/* =========================================
   PREMIUM HCP ACCESS GATE
========================================= */

#hcp-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(43, 113, 160, 0.16),
      transparent 55%
    ),
    rgba(3, 12, 25, 0.82);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
}

#hcp-gate[hidden] {
  display: none !important;
}

/* Main popup */
#hcp-gate .hcp-gate-box {
  position: relative;
  width: min(100%, 490px);
  max-width: 490px;
  padding: 46px 42px 30px;
  overflow: hidden;

  border: 1px solid rgba(120, 196, 232, 0.22);
  border-radius: 24px;

  background:
    radial-gradient(
      ellipse at top right,
      rgba(40, 109, 151, 0.18),
      transparent 45%
    ),
    linear-gradient(145deg, #102538 0%, #071522 55%, #08111d 100%);

  color: #ffffff;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.48),
    0 0 60px rgba(55, 144, 194, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Decorative light */
#hcp-gate .hcp-gate-box::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -140px;
  right: -100px;
  border-radius: 50%;

  background: rgba(76, 185, 237, 0.14);
  filter: blur(60px);
  pointer-events: none;
}

/* Top area */
#hcp-gate .hcp-gate-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
}

/* Shield icon */
#hcp-gate .hcp-gate-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  margin-bottom: 20px;

  border-radius: 20px;

  background: linear-gradient(
    145deg,
    rgba(78, 175, 223, 0.18),
    rgba(32, 92, 133, 0.12)
  );

  border: 1px solid rgba(119, 198, 236, 0.25);

  box-shadow:
    0 0 30px rgba(56, 156, 210, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

#hcp-gate .hcp-gate-icon svg {
  width: 30px;
  height: 30px;
  color: #8ddcff;
}

/* Eyebrow */
#hcp-gate .hcp-gate-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 1.6;
  color: #79c9ee;
}

/* Title */
#hcp-gate .hcp-gate-title {
  position: relative;
  margin: 0 0 18px;

  color: #f5f9fd;

  font-size: clamp(27px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.9px;

  text-align: center;
}

/* Description */
#hcp-gate .hcp-gate-description {
  max-width: 370px;
  margin: 0 auto;

  color: #a9bdce;

  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;

  text-align: center;
}

/* Divider */
#hcp-gate .hcp-gate-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(133, 195, 226, 0.25),
    transparent
  );
}

/* Button area */
#hcp-gate .hcp-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
}

/* Yes button */
#hcp-gate .hcp-gate-yes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 58px;
  padding: 16px 20px;

  border: 1px solid rgba(132, 216, 255, 0.35);
  border-radius: 14px;

  background: linear-gradient(
    115deg,
    #168bc5,
    #32a9df
  );

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;

  box-shadow:
    0 8px 24px rgba(22, 137, 201, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Arrow */
#hcp-gate .hcp-gate-yes svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;

  transition: transform 0.25s ease;
}

/* Hover */
@media (hover: hover) {
  #hcp-gate .hcp-gate-yes:hover {
    transform: translateY(-2px);

    background: linear-gradient(
      115deg,
      #20a0db,
      #50bde9
    );

    box-shadow:
      0 12px 30px rgba(22, 137, 201, 0.32),
      0 0 20px rgba(65, 177, 231, 0.14);
  }

  #hcp-gate .hcp-gate-yes:hover svg {
    transform: translateX(3px);
  }
}

/* No button */
#hcp-gate .hcp-gate-no {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 50px;

  border: 1px solid rgba(164, 190, 211, 0.17);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.025);

  color: #b4c5d4;

  font-size: 14px;
  font-weight: 500;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

@media (hover: hover) {
  #hcp-gate .hcp-gate-no:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(164, 190, 211, 0.32);
    color: #ffffff;
  }
}

/* Bottom footer */
#hcp-gate .hcp-gate-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 26px;

  color: #728a9e;
  font-size: 11px;
  letter-spacing: 0.3px;
}

#hcp-gate .hcp-gate-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: #58b9df;

  box-shadow: 0 0 10px rgba(88, 185, 223, 0.55);
}

/* Focus accessibility */
#hcp-gate button:focus-visible {
  outline: 3px solid #8bdcff;
  outline-offset: 4px;
}

/* Mobile */
@media (max-width: 600px) {
  #hcp-gate {
    padding: 18px;
  }

  #hcp-gate .hcp-gate-box {
    padding: 34px 24px 25px;
    border-radius: 20px;
  }

  #hcp-gate .hcp-gate-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    margin-bottom: 17px;
  }

  #hcp-gate .hcp-gate-title {
    font-size: 27px;
  }

  #hcp-gate .hcp-gate-description {
    font-size: 13px;
    line-height: 1.75;
  }

  #hcp-gate .hcp-gate-divider {
    margin: 24px 0;
  }

  #hcp-gate .hcp-gate-yes {
    min-height: 56px;
    padding: 14px;
    font-size: 13px;
  }

  #hcp-gate .hcp-gate-footer {
    margin-top: 22px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #hcp-gate *,
  #hcp-gate *::before,
  #hcp-gate *::after {
    transition: none !important;
    animation: none !important;
  }
}


