/* ==========================================================================
   cronusconsultancy.com - shared stylesheet
   Publication identity (body.edition) + request portal identity
   Mobile-first. Breakpoints: 480 / 768 / 1024. Light theme only.
   ========================================================================== */

:root {
  color-scheme: only light;

  /* publication palette (stone-olive) */
  --bg: #F7F6F2;
  --surface: #EAE8DF;
  --ink: #23251F;
  --muted: #6A6D5F;
  --accent: #5F6B2F;
  --accent-ink: #FFFFFF;
  --accent-deep: #4A5426;
  --line: rgba(35, 37, 31, 0.18);

  --radius: 18px;
  --shadow: 0 18px 36px -18px rgba(35, 37, 31, 0.4), 0 3px 8px rgba(35, 37, 31, 0.08);

  --gutter: 20px;
  --measure: 880px;
  --col: 620px;
  --rail: 220px;

  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --pad-band: clamp(52px, 7vw, 104px);

  /* request portal palette */
  --p-bg: #EDF2EF;
  --p-card: #FFFFFF;
  --p-ink: #10231F;
  --p-muted: #465A55;
  --p-accent: #0E5A52;
  --p-accent-deep: #0A433D;
  --p-tint: #D8E8E2;
  --p-line: #C2D2CB;
  --p-field: #5F7A72;
  --p-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background-color: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
}

img, video, svg { max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

[v-cloak] { display: none !important; }

/* ==========================================================================
   PUBLICATION IDENTITY
   ========================================================================== */
.edition {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  background-color: var(--bg);
  color: var(--ink);
  overflow-wrap: break-word;
}

.edition[data-page="article"] { padding-bottom: 92px; }

.edition a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.edition a:hover { color: var(--accent-deep); text-decoration-color: var(--accent-deep); }

.edition :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- masthead ---------- */
.masthead { background-color: var(--bg); color: var(--ink); }

.strip {
  background-color: var(--bg);
  color: var(--muted);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.strip__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--muted);
  border-radius: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.strip__date { color: var(--muted); text-align: right; }

.brand { padding-top: 26px; }
.edition a.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}
.edition a.brand__link:hover { color: var(--ink); }
.brand__mark { width: 48px; height: 48px; flex: none; display: block; }
.brand__text { display: block; }
.brand__name {
  display: block;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.brand__sub {
  display: block;
  margin-top: 7px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--muted);
}

/* ---------- bands (alternating tint) ---------- */
.band {
  padding-block: var(--pad-band);
  background-color: var(--bg);
  color: var(--ink);
}
.band--hero { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 84px); }
.band--tint { background-color: var(--surface); color: var(--ink); }

.kicker {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--accent);
}
.kicker::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background-color: var(--accent);
  vertical-align: 0.06em;
}

.title {
  max-width: 100%;
  margin-bottom: 0.55em;
  font-size: clamp(1.875rem, 1.25rem + 2.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}

.dek {
  max-width: 700px;
  margin-bottom: 2.5rem;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
}

.eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--accent);
}

.band h2 {
  max-width: var(--col);
  margin-bottom: 0.8em;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- prose ---------- */
.prose { display: flow-root; }
.prose > p {
  max-width: var(--col);
  margin-bottom: 1.3em;
}
.prose > .lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.prose > p:last-child { margin-bottom: 0; }

/* margin notes (right rail on desktop) */
.note {
  max-width: var(--col);
  margin: 0.5rem 0 1.75rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--ink);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink);
}
.note__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ---------- figures (rounded-lg, soft shadow) ---------- */
.fig {
  position: relative;
  margin: 2.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.fig img,
.fig video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fig--wide { clear: both; }
.fig--wide img { object-position: 50% 32%; }
.fig--col { max-width: var(--col); }
.fig--portrait {
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin: 0.5rem 0 1.75rem;
}
.fig--portrait video { object-position: 12% 50%; }

@media (min-width: 768px) {
  .fig { aspect-ratio: 16 / 9; margin: 2.75rem 0; }
  .fig--portrait { aspect-ratio: 1 / 1; margin: 0.5rem 0 1.75rem; }
}
@media (min-width: 1024px) {
  .fig--portrait { aspect-ratio: 4 / 5; }
}

/* ---------- pull quote (the one typographic callout) ---------- */
.pull {
  max-width: var(--measure);
  margin: clamp(2.25rem, 5vw, 3.5rem) 0;
}
.pull::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  margin-bottom: 0.25rem;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.pull p {
  max-width: 760px;
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--ink);
}

/* ---------- call to action (solid pill) ---------- */
.cta-lead {
  max-width: var(--col);
  margin: 2.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.25rem;
}
.edition a.btn,
.edition .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 24px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.edition a.btn:hover,
.edition .btn:hover {
  background-color: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--accent-ink);
  box-shadow: 0 10px 22px -12px rgba(35, 37, 31, 0.55);
}
.edition a.btn:active { transform: translateY(1px); }
.edition a.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 999px; }

@media (min-width: 480px) {
  .cta { align-items: flex-start; }
  .edition a.btn { padding-inline: 38px; }
}

/* ---------- self-check widget ---------- */
.check {
  max-width: var(--col);
  margin-top: 0.5rem;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--ink);
}
.check__q {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
}
.check__opts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.check__opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid rgba(35, 37, 31, 0.34);
  border-radius: 14px;
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.9688rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.check__opt:hover { border-color: var(--accent); background-color: var(--surface); }
.check__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__opt:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.check__dot {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.check__opt.is-on {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-ink);
}
.check__opt.is-on .check__dot {
  border-color: var(--accent-ink);
  background-color: var(--accent-ink);
  box-shadow: inset 0 0 0 4px var(--accent);
}

.check__results { margin-top: 1.25rem; }
.check__result {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--surface);
  color: var(--ink);
}
.check__result + .check__result { margin-top: 12px; }
.check__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.check__tag::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
}
.check__result--no .check__tag::before {
  background-color: transparent;
  border: 2px solid var(--ink);
}
.check__result p:last-child { font-size: 0.9688rem; line-height: 1.65; }

/* ---------- trade-offs (two columns) ---------- */
.tradeoffs {
  display: grid;
  gap: 36px;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  clear: both;
}
.tradeoffs__h {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  margin-bottom: 0.4rem;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.tradeoffs ul { list-style: none; }
.tradeoffs li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}
.tradeoffs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}
@media (min-width: 768px) {
  .tradeoffs { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- questions ---------- */
.qa {
  max-width: var(--col);
  margin-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
.qa__item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.qa__item h3 {
  margin-bottom: 0.6em;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}
.qa__item p { color: var(--ink); }

.closing {
  max-width: var(--col);
  margin-top: 2.75rem;
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- sticky CTA bar ---------- */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background-color: var(--bg);
  color: var(--ink);
  box-shadow: 0 -10px 26px -14px rgba(35, 37, 31, 0.3);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.sticky.is-on {
  transform: none;
  visibility: visible;
  transition: transform .35s ease, visibility 0s;
}
.sticky__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sticky__text {
  display: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.edition .sticky a.btn { width: 100%; min-height: 50px; padding: 11px 28px; }
@media (min-width: 768px) {
  .sticky__text { display: block; }
  .edition .sticky a.btn { width: auto; flex: none; }
}

/* ---------- desktop: 620 + 220 rail ---------- */
@media (min-width: 1024px) {
  .note {
    float: right;
    clear: right;
    width: var(--rail);
    max-width: var(--rail);
    margin: 0.4rem 0 1.5rem;
  }
  .fig--portrait {
    float: right;
    clear: right;
    width: var(--rail);
    max-width: var(--rail);
    margin: 0.4rem 0 1.5rem;
  }
}

/* ---------- footer (bordered imprint card) ---------- */
.foot {
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
  background-color: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.foot__card {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--ink);
  background-color: var(--bg);
  color: var(--ink);
}
.foot .about-line {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink);
}
.foot__publisher {
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink);
}
.foot__publisher p + p { margin-top: 0.15rem; }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.edition .foot__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
}

/* ---------- legal + about pages ---------- */
.legal { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); background-color: var(--bg); color: var(--ink); }
.legal h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--ink);
}
.legal .dateline {
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.legal__summary {
  max-width: 700px;
  margin-bottom: 2rem;
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
}
.legal h2 {
  max-width: 700px;
  margin: 2.4em 0 0.6em;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
}
.legal p, .legal ul { max-width: 700px; margin-bottom: 1.1em; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.45em; padding-left: 0.2rem; }
.legal li::marker { color: var(--accent); }

.colophon h1 { margin-bottom: 1.75rem; }
.colophon p {
  max-width: 700px;
  margin-bottom: 1.4em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}
.colophon__imprint {
  max-width: 700px;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
  font-size: 0.9375rem;
}
.colophon__imprint p { margin-bottom: 0.2rem; font-size: 0.9375rem; }

/* ==========================================================================
   REQUEST PORTAL IDENTITY  (offer page - body.request-portal)
   ========================================================================== */
body.request-portal,
body[data-theme="request-portal"] {
  min-height: 100vh;
  background-color: var(--p-bg);
  color: var(--p-ink);
  font-family: var(--p-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: break-word;
}

body[data-theme="request-portal"] a {
  color: var(--p-accent);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
body[data-theme="request-portal"] a:hover { color: var(--p-accent-deep); }
body[data-theme="request-portal"] :focus-visible {
  outline: 3px solid var(--p-ink);
  outline-offset: 3px;
}

.portal-top {
  background-color: var(--p-card);
  color: var(--p-ink);
  border-bottom: 1px solid var(--p-line);
}
.portal-top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding: 10px var(--gutter);
}
body[data-theme="request-portal"] a.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--p-ink);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.portal-brand svg { width: 34px; height: 34px; flex: none; }
body[data-theme="request-portal"] a.portal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--p-accent);
}

.portal {
  display: grid;
  gap: 32px;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding: 32px var(--gutter) 56px;
}

.portal-main { min-width: 0; }
.portal-intro { min-width: 0; }

.portal-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  background-color: var(--p-tint);
  color: var(--p-accent-deep);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.portal-title {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--p-ink);
}
.portal-lead {
  max-width: 34rem;
  margin-bottom: 24px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--p-muted);
}
.portal-points {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  list-style: none;
}
.portal-points li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--p-ink);
}
.portal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--p-accent);
}
.portal-points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg);
}

.portal-next-h {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--p-ink);
}
.portal-next {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  list-style: none;
}
.portal-next::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: var(--p-line);
}
.portal-next li {
  position: relative;
  padding-left: 34px;
  font-size: 0.9688rem;
  line-height: 1.55;
  color: var(--p-muted);
}
.portal-next li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--p-accent);
  border-radius: 50%;
  background-color: var(--p-bg);
}

.portal-form {
  padding: 22px 18px;
  border: 1px solid var(--p-line);
  border-radius: 14px;
  background-color: var(--p-card);
  color: var(--p-ink);
}
.portal-set {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.portal-step {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--p-accent);
}
.portal-legend {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--p-ink);
}
.portal-hint {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--p-muted);
}

.portal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  list-style: none;
}
.portal-chip { position: relative; display: block; }
.portal-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.portal-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--p-field);
  border-radius: 10px;
  background-color: var(--p-card);
  color: var(--p-ink);
  font-size: 0.9688rem;
  font-weight: 700;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.portal-chip:hover span { border-color: var(--p-accent); background-color: var(--p-bg); }
.portal-chip input:checked + span {
  border-color: var(--p-accent);
  background-color: var(--p-accent);
  color: #FFFFFF;
}
.portal-chip input:focus-visible + span { outline: 3px solid var(--p-ink); outline-offset: 3px; }

.portal-slider { margin-bottom: 24px; }
.portal-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9688rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--p-ink);
}
.portal-value {
  display: inline-block;
  margin-bottom: 4px;
  padding: 4px 12px;
  border-radius: 6px;
  background-color: var(--p-tint);
  color: var(--p-accent-deep);
  font-size: 0.9375rem;
  font-weight: 800;
}
.portal-range {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--p-accent);
  cursor: pointer;
}
.portal-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--p-muted);
}

.portal-summary {
  margin: 0 0 30px;
  padding: 14px 16px;
  border: 1.5px dashed var(--p-field);
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--p-ink);
}
.portal-summary strong { font-weight: 800; }

.portal-field { margin-bottom: 18px; }
.portal-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--p-field);
  border-radius: 10px;
  background-color: var(--p-card);
  color: var(--p-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
textarea.portal-input { min-height: 112px; resize: vertical; }
select.portal-input {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #10231F 50%), linear-gradient(135deg, #10231F 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.portal-input:hover { border-color: var(--p-accent); }
.portal-input:focus { outline: none; border-color: var(--p-accent); box-shadow: 0 0 0 4px var(--p-tint); }
.portal-input[aria-invalid="true"] { border-color: #9B1C1C; }
.portal-row { display: grid; gap: 0 18px; }
.portal-error {
  margin: 6px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: #9B1C1C;
}
.portal-help { margin: 6px 0 0; font-size: 0.8125rem; color: var(--p-muted); }

.portal-consent { margin-bottom: 22px; }
.portal-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--p-ink);
  cursor: pointer;
}
.portal-consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--p-accent);
  cursor: pointer;
}

.portal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background-color: var(--p-accent);
  color: #FFFFFF;
  font-family: var(--p-font);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.portal-submit:hover { background-color: var(--p-accent-deep); }
.portal-submit:active { transform: translateY(1px); }
.portal-submit[disabled] { opacity: .7; cursor: progress; }
.portal-fineprint {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--p-muted);
}

.portal-success {
  padding: 22px 20px;
  border: 1.5px solid var(--p-accent);
  border-radius: 12px;
  background-color: var(--p-tint);
  color: var(--p-ink);
}
.portal-success h2 {
  margin-bottom: 8px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.portal-success p { font-size: 1rem; line-height: 1.6; }
.portal-noscript { margin-bottom: 20px; font-size: 0.9375rem; color: var(--p-muted); }

/* portal footer */
body[data-theme="request-portal"] .foot {
  background-color: var(--p-bg);
  color: var(--p-ink);
  border-top: 1px solid var(--p-line);
}
body[data-theme="request-portal"] .foot .wrap { max-width: calc(1160px + var(--gutter) * 2); }
body[data-theme="request-portal"] .foot__card {
  border: 1px solid var(--p-line);
  border-radius: 14px;
  background-color: var(--p-card);
  color: var(--p-ink);
}
body[data-theme="request-portal"] .foot .about-line,
body[data-theme="request-portal"] .foot__publisher { color: var(--p-ink); }
body[data-theme="request-portal"] .foot__publisher,
body[data-theme="request-portal"] .foot__legal { border-top-color: var(--p-line); }
body[data-theme="request-portal"] .foot__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--p-accent);
}

@media (min-width: 480px) {
  .portal-row { grid-template-columns: 1fr 1fr; }
  .portal-form { padding: 28px 26px; }
}
@media (min-width: 768px) {
  .portal { padding-top: 48px; }
  .portal-form { padding: 38px 40px; }
}
@media (min-width: 1024px) {
  .portal {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 88px;
  }
  .portal-intro { position: sticky; top: 28px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .sticky { transition: none; }
}
