/* components.css — buttons, form controls, header, footer, tooltips
 *
 * Tone: editorial, architectural. Fine line work, generous breathing room,
 * weight earned through type and rule, not through chrome.
 */

/* ─── Buttons ─── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.btn::after {
  /* warm sheen that travels left→right on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 25%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 75%
  );
  transform: translateX(-110%);
  transition: transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.btn:hover::after { transform: translateX(110%); }
.btn > * { position: relative; z-index: 1; }
.btn:hover { box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-full { width: 100%; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(196, 98, 45, 0.25);
}
.btn-primary:hover {
  background: var(--color-accent-deep);
  border-color: var(--color-accent-deep);
  box-shadow: 0 6px 22px rgba(196, 98, 45, 0.35);
  transform: translateY(-1px);
}

/* "Calculating…" pulse — applied via JS data attribute during fetch */
.btn-primary[data-loading="true"] {
  pointer-events: none;
  background: var(--color-accent-deep);
  color: color-mix(in srgb, #fff 80%, transparent);
}
.btn-primary[data-loading="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: btn-shimmer 1.1s ease-in-out infinite;
  z-index: 0;
}
@keyframes btn-shimmer {
  to { transform: translateX(100%); }
}

.btn-secondary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.btn-secondary:hover {
  background: var(--color-sea);
  border-color: var(--color-sea);
  transform: translateY(-1px);
}

.btn-tertiary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-hover);
}
.btn-tertiary:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Trailing arrow that slides on hover */
.btn-arrow {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── Form fields ─── */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
/* Native [hidden] sets display:none, but our .field { display:flex }
   overrides it. Re-assert the hidden behaviour for any field. */
.field[hidden] { display: none; }
.field-conditional {
  margin-top: var(--space-3);
  margin-left: var(--space-8);
  margin-bottom: var(--space-2);
}
.field-conditional[hidden] { display: none; }

label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.field:focus-within > label {
  color: var(--color-accent-deep);
}

/* Input wrapper for prefix/suffix (€, m²) */
.input-wrapper {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  position: relative;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.input-wrapper:hover { border-color: var(--color-border-hover); }
.input-wrapper:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow), 0 6px 18px -8px rgba(196, 98, 45, 0.25);
  transform: translateY(-1px);
  outline: none;
}

.input-affix {
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  background: var(--color-accent-soft);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  user-select: none;
  border-right: 1.5px solid var(--color-border);
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.input-wrapper:focus-within .input-affix {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}
.input-suffix .input-affix {
  border-right: none;
  border-left: 1.5px solid var(--color-border);
}
.input-wrapper:focus-within.input-suffix .input-affix {
  border-color: var(--color-accent);
}

.input-wrapper input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  background: transparent;
  font: inherit;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--color-text);
  min-width: 0;
}
.input-wrapper input:focus {
  outline: none;
}
.input-wrapper input::placeholder {
  color: var(--color-border-hover);
}

/* Standalone inputs (no wrapper) */
input[type="number"]:not(.input-wrapper input),
input[type="email"],
select {
  font: inherit;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
input[type="email"]:hover,
select:hover { border-color: var(--color-border-hover); }
input[type="email"]:focus,
select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  outline: none;
}

/* Custom select wrapper */
.select-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}
.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding-right: var(--space-8);
  cursor: pointer;
}
.select-arrow {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  pointer-events: none;
  transition: transform var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.select-wrapper:focus-within .select-arrow {
  color: var(--color-accent);
  transform: translateY(-50%) rotate(180deg);
}

.field-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

/* ─── Radio group fieldset — ARIA grouping for radio buttons ─── */

/* Reset fieldset defaults so the visual layout is identical to a plain <div>.
   The <fieldset> is used purely for ARIA semantics (screen readers announce the
   legend as the group name for all contained radio inputs). */
.radio-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.radio-legend {
  /* Match the existing <label> style (font-weight 500, uppercase, sm, muted) */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0;
  margin-bottom: var(--space-2);
  display: block;
  width: 100%;
}

/* Re-apply the focus-within accent colour that .field:focus-within > label gets,
   since legend is not a direct child of .field. */
.field:focus-within .radio-legend {
  color: var(--color-accent-deep);
}

/* ─── Toggle group (fieldset) ─── */

.toggle-group {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
  background: color-mix(in srgb, var(--color-bg) 60%, transparent);
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}
.toggle-group:focus-within {
  border-color: var(--color-border-hover);
  background: var(--color-surface);
}
.toggle-group legend {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  padding: 0 var(--space-2);
}

.toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  min-height: 44px;
  cursor: pointer;
  user-select: none;
}
.toggle input[type="checkbox"] {
  /* Hide native checkbox, replaced by .toggle-track */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom toggle switch */
.toggle-track {
  flex-shrink: 0;
  display: inline-block;
  width: 2.4em;
  height: 1.3em;
  border-radius: 100px;
  border: 1.5px solid var(--color-border-hover);
  background: var(--color-bg);
  position: relative;
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.3em - 8px);
  height: calc(1.3em - 8px);
  border-radius: 50%;
  background: var(--color-text-muted);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.18);
  transition: transform var(--duration-base) var(--ease-spring),
              background var(--duration-fast) var(--ease-out);
}

.toggle input:checked ~ .toggle-track {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.toggle input:checked ~ .toggle-track::after {
  transform: translateX(calc(2.4em - 1.3em));
  background: #fff;
}
.toggle input:focus-visible ~ .toggle-track {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.toggle-label {
  font-size: var(--font-size-base);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ─── Info tooltip ─── */

.info-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  /* Don't let a flex parent (e.g. .toggle-label wrapping a long label that
     spans two lines) shrink the circle — it ends up egg-shaped. */
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: help;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  vertical-align: middle;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.info-tooltip:hover,
.info-tooltip:focus {
  background: var(--color-accent);
  color: #fff;
  /* Lift the whole info-tooltip into its own stacking context so its absolutely
     positioned ::after wins against later positioned siblings (e.g. the
     lead-capture card painted after the assumptions panel inside .solar-results). */
  z-index: 30;
}
.info-tooltip:hover::after,
.info-tooltip:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-3) var(--space-4);
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: var(--line-height-normal);
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  width: 240px;
  text-align: left;
  z-index: 20;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.info-tooltip:hover::before,
.info-tooltip:focus::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: var(--color-text);
  z-index: 21;
}

/* Real tooltip popup with role="tooltip" — exists solely so that
   screen readers can reach the tip text via aria-describedby. It is
   ALWAYS visually hidden; the visual tooltip is rendered by the
   trigger's ::after pseudo-element above (which positions correctly
   relative to the trigger because pseudo-elements share their host's
   box). Revealing this popup on hover/focus would double-render the
   tooltip, and because the popup is a *sibling* of the trigger (not a
   child), absolute positioning resolves against the nearest positioned
   ancestor — typically the form — placing the duplicate at the bottom
   of the form rather than below the trigger. Don't reveal it. */
.info-tooltip-popup {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* ─── Site header ─── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  max-width: var(--max-width-wide);
  margin: 0 auto;
  position: relative;
}
.site-header::after {
  /* Editorial hairline rule beneath the masthead, full ink */
  content: "";
  position: absolute;
  left: var(--space-8);
  right: var(--space-8);
  bottom: 0;
  height: 1px;
  background: var(--color-rule);
  opacity: 0.85;
}

.brand {
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.brand:hover { opacity: 0.75; }
.brand-mark { color: var(--color-text); }
.brand-tld  {
  color: var(--color-accent);
  font-style: italic;
}

.site-header nav {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.site-header nav a {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out);
}
.site-header nav a:hover {
  color: var(--color-text);
  opacity: 1;
}
.site-header nav a:hover::after { transform: scaleX(1); }
/* Current-page indicator — same sienna underline as the hover state, but
   always-on. Combined with the darker text colour this gives a clean
   "you are here" affordance without an extra pill or chip. */
.site-header nav a[aria-current="page"] {
  color: var(--color-text);
}
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ─── Site footer ─── */

.site-footer {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-8);
  border-top: var(--rule);
  margin-top: var(--space-24);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  transition: color var(--duration-fast) var(--ease-out);
}
.site-footer a:hover { color: var(--color-text); opacity: 1; }
.footer-meta { margin-left: auto; font-style: italic; font-family: var(--font-display); }

/* ─── Calculator grid & tiles — editorial card ─── */

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.calc-tile {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.calc-tile::before {
  /* warm corner wash that intensifies on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 220px at 100% 0%,
    color-mix(in srgb, var(--color-accent) 14%, transparent),
    transparent 60%
  );
  opacity: 0;
  z-index: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.calc-tile > * { position: relative; z-index: 1; }
.calc-tile h3 {
  margin: 0;
  font-size: var(--font-size-xl);
}
.calc-tile p {
  color: var(--color-text-muted);
}
.calc-tile-cta {
  margin-top: auto;
  padding-top: var(--space-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.calc-tile-cta .arrow {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-out);
}
.calc-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
}
.calc-tile:hover::before { opacity: 1; }
.calc-tile:hover .arrow { transform: translateX(6px); }
.calc-tile:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
.calc-tile.coming-soon {
  background: transparent;
  border-style: dashed;
  cursor: default;
}
.calc-tile.coming-soon::before { display: none; }
.calc-tile.coming-soon:hover { transform: none; box-shadow: none; }
.calc-tile.coming-soon h3 { color: var(--color-text-muted); }
.calc-tile.coming-soon .calc-tile-cta {
  color: var(--color-text-faint);
  letter-spacing: 0.22em;
}

/* ─── Waitlist ─── */

.waitlist {
  margin-top: var(--space-16);
  padding: var(--space-12);
  background:
    linear-gradient(
      135deg,
      var(--color-accent-soft) 0%,
      color-mix(in srgb, var(--color-accent-soft) 60%, var(--color-bg-deep)) 100%
    );
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  /* Editorial section glyph — a thin etched sun in the corner */
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  pointer-events: none;
}
.waitlist::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-accent) 22%, transparent);
  pointer-events: none;
}
.waitlist h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
  max-width: 22ch;
}
.waitlist > p {
  color: var(--color-text-muted);
  max-width: 40ch;
}
.waitlist form {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  max-width: 520px;
  position: relative;
}
.waitlist input { flex: 1; }

.field-conditional {
  animation: slide-down var(--duration-base) var(--ease-out);
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 140px; }
}

@media (max-width: 600px) {
  .site-header { padding: var(--space-4); }
  .site-header::after { left: var(--space-4); right: var(--space-4); }
  .site-footer { flex-direction: column; gap: var(--space-3); padding: var(--space-8) var(--space-4); align-items: flex-start; }
  .footer-meta { margin-left: 0; }
  .calc-grid { grid-template-columns: 1fr; }
  .waitlist { padding: var(--space-8); }
  .waitlist form { flex-direction: column; }
  .waitlist::before { width: 140px; height: 140px; top: -40px; right: -40px; }
  .waitlist::after { width: 90px; height: 90px; }
  h1 { font-size: var(--font-size-3xl); }
}

/* ============================================================
   Slider component — shared across all calculators
   ============================================================ */

.field-slider {
  margin: var(--space-4) 0 var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.slider-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
}

.slider-header label {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.slider-readout {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: var(--color-accent-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}

.field-slider {
  /* Single source of truth for the slider thumb's radius — used by both the
     thumb declarations below and the .slider-scale inset so labels can align
     with the thumb's actual travel range. */
  --slider-thumb-radius: 11px;
}

.field-slider input[type="range"] {
  --slider-fill: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      var(--color-accent) 0%,
      var(--color-accent) var(--slider-fill),
      var(--color-border) var(--slider-fill),
      var(--color-border) 100%
    );
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  transition: background-position var(--duration-fast) var(--ease-out);
}

.field-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: calc(var(--slider-thumb-radius) * 2);
  height: calc(var(--slider-thumb-radius) * 2);
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12), 0 0 0 0 rgba(196, 98, 45, 0.25);
  cursor: grab;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.field-slider input[type="range"]::-moz-range-thumb {
  width: calc(var(--slider-thumb-radius) * 2);
  height: calc(var(--slider-thumb-radius) * 2);
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: grab;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.field-slider input[type="range"]:hover::-webkit-slider-thumb,
.field-slider input[type="range"]:focus-visible::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12), 0 0 0 8px rgba(196, 98, 45, 0.12);
}
.field-slider input[type="range"]:hover::-moz-range-thumb,
.field-slider input[type="range"]:focus-visible::-moz-range-thumb {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12), 0 0 0 8px rgba(196, 98, 45, 0.12);
}

.field-slider input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; }
.field-slider input[type="range"]:active::-moz-range-thumb { cursor: grabbing; }

.field-slider input[type="range"]:focus-visible {
  outline: none;
}

/* Slider scale — labels positioned at exact percentage stops that match the
   thumb's travel range. The wrapper is inset by the thumb radius on each side
   so left:0% and left:100% align with the thumb's centre at min/max (the thumb
   centre travels from x=thumbRadius to x=(width-thumbRadius), not the full
   track width). Each label is centred on its position via translateX(-50%). */
.slider-scale {
  position: relative;
  height: 1.1em;
  margin: 0 var(--slider-thumb-radius);
  margin-top: calc(var(--space-1) * -1);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.slider-scale span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
/* 5-stop scale (the default — every slider on the site currently uses 5). */
.slider-scale span:nth-child(1) { left: 0%;   }
.slider-scale span:nth-child(2) { left: 25%;  }
.slider-scale span:nth-child(3) { left: 50%;  }
.slider-scale span:nth-child(4) { left: 75%;  }
.slider-scale span:nth-child(5) { left: 100%; }

@media (max-width: 600px) {
  .slider-scale { font-size: 0.62rem; }
  .slider-header { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
}

/* ============================================================
   Suggestion box — home page entry point for new calculator ideas
   ============================================================ */

.suggest-section {
  margin-top: var(--space-16);
}

.suggest-card {
  padding: var(--space-12);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-text) 4%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-accent-soft) 50%, var(--color-bg)) 100%
    );
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.suggest-card::before {
  /* Editorial mark — a thin etched circle in the bottom-left corner */
  content: "";
  position: absolute;
  bottom: -90px;
  left: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  pointer-events: none;
}

.suggest-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
  max-width: 26ch;
  position: relative;
}

.suggest-card > p {
  color: var(--color-text-muted);
  max-width: 56ch;
  position: relative;
}

.suggest-form {
  margin-top: var(--space-6);
  max-width: 640px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.suggest-form textarea {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  width: 100%;
  resize: vertical;
  min-height: 84px;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.suggest-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.suggest-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
  font-style: italic;
}

.suggest-row {
  display: flex;
  gap: var(--space-3);
  align-items: stretch;
}

.suggest-row input[type="email"] {
  flex: 1;
}

@media (max-width: 600px) {
  .suggest-card { padding: var(--space-8); }
  .suggest-row { flex-direction: column; }
  .suggest-card::before { width: 160px; height: 160px; bottom: -50px; left: -50px; }
}

/* ============================================================
   Lead status — shared confirmation/error line under any
   email-capture or suggestion form. Matches the duplicated
   declaration in every page-scoped CSS so the home page (which
   only loads components.css) gets the same treatment.
   ============================================================ */

.lead-status {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  font-style: italic;
  color: var(--color-success);
  min-height: 1.2em;
}
.lead-status.error { color: #b83232; }

/* ─── Share CTA ─── */

.share-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* When share-cta sits directly above a disclaimer, tighten the disclaimer's
   top gap so the share button reads as part of the action group above it
   rather than orphaned in dead space. */
.share-cta + .disclaimer,
.share-cta + .salary-disclaimer,
.share-cta + .ta24-disclaimer {
  margin-top: var(--space-8);
}

.share-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.share-cta__btn:hover {
  color: color-mix(in srgb, var(--color-accent) 80%, black);
}

.share-cta__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.share-cta__label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

.share-cta__btn:hover .share-cta__label,
.share-cta__btn:focus-visible .share-cta__label {
  text-decoration-color: currentColor;
}

.share-cta__confirm {
  font-size: var(--font-size-sm);
  font-style: italic;
  color: var(--color-accent);
  min-height: 1em;
}

/* One-time attention pulse on the icon when results first render. Triggered
   by the `share-cta--enter` class, which wireShareCTA() applies via a
   MutationObserver when the [hidden] attribute is removed (CSS alone doesn't
   reliably restart animations on display: none → block transitions). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes share-cta-ping {
    0%, 25% { transform: scale(1); }
    40%     { transform: scale(1.22); }
    60%     { transform: scale(0.94); }
    78%     { transform: scale(1.08); }
    100%    { transform: scale(1); }
  }
  .share-cta--enter .share-cta__icon {
    transform-origin: center;
    animation: share-cta-ping 1.1s ease-out 0.5s 1 both;
  }
}

/* ─── Inline form error (replaces alert() for validation feedback) ─── */

.field-error {
  margin: var(--space-3) 0 0;
  padding: 0;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-accent-deep);
  line-height: var(--line-height-snug);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .field-error[aria-live]:not([hidden]) {
    animation: field-error-fade 180ms ease-out both;
  }
  @keyframes field-error-fade {
    from { opacity: 0; transform: translateY(-2px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
}

/* ─── Hero metric modifier — primary number on each calculator ───
 *
 * Applied to the single most important .metric-value on a results panel.
 * Scales from 3xl at mobile to 5xl at wide viewports so it reads
 * "obviously larger" than its sibling metrics at every breakpoint.
 * Uses the accent colour to match the sienna editorial palette.
 */

.metric-value--hero {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

/* ─── FAQ section (used on /solar/, /rental-yield/, /rent-vs-buy/) ───
 *
 * Native <details>/<summary> for keyboard + screen-reader accessibility and zero JS.
 * Visual character: editorial Q&A list with sienna accent on the open-state chevron,
 * matches the rest of the page typography (DM Serif Display heading + DM Sans body).
 * The <summary> custom marker uses ::after for cross-browser consistency
 * (older WebKit hides the default disclosure triangle with ::-webkit-details-marker).
 *
 * Layout: each calculator page wraps its FAQ in <section class="page-faq"> placed
 * AFTER the </main> calculator block (NOT inside it). The calculators use a 2-column
 * CSS grid + sticky intro; nesting the FAQ inside that grid put it in the left column
 * AND extended the sticky-confinement region, causing visible overlap. Living outside
 * <main> escapes both problems and keeps the FAQ at full width.
 */
.page-faq {
  background: var(--color-bg);
  border-top: var(--rule);
}

.page-faq-inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-16) var(--space-8) var(--space-12);
}

.faq {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: var(--rule);
}

/* When .faq is used directly (legacy, not wrapped in .page-faq), keep older spacing */
.page-faq .faq {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
  /* Anchor-link offset so /solar/#faq-grant-calc style links don't land
     with the question hidden under the page header. */
  scroll-margin-top: var(--space-12);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-base), 1.7vw, var(--font-size-lg));
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
  padding: var(--space-3) var(--space-8) var(--space-3) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item > summary:hover,
.faq-item > summary:focus-visible {
  color: var(--color-accent);
  outline: none;
}

.faq-answer {
  padding: var(--space-2) 0 var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
}

.faq-answer p {
  margin: 0 0 var(--space-3);
  max-width: 65ch;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  margin: var(--space-2) 0 var(--space-3);
  padding-left: var(--space-6);
  max-width: 65ch;
}

.faq-answer li {
  margin: var(--space-2) 0;
}

.faq-answer a {
  color: var(--color-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] > .faq-answer {
    animation: faq-answer-fade var(--duration-fast) var(--ease-out) both;
  }
  @keyframes faq-answer-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
}

/* ─────────────────────────────────────────────
 * RelatedCalculators
 *
 * Internal cross-link block placed AFTER </main> on each calculator page
 * (same placement contract as .page-faq — escapes the calculator grid so
 * it sits at full content width). Each card uses descriptive anchor text
 * because anchor text is a real ranking signal for our internal cluster.
 */
.related-calcs {
  background: var(--color-bg);
  border-top: var(--rule);
}

.related-calcs__inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
}

.related-calcs__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}

.related-calcs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .related-calcs__list {
    grid-template-columns: 1fr 1fr;
  }
}

.related-calcs__item { margin: 0; }

.related-calcs__link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  text-decoration: none;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.related-calcs__link:hover,
.related-calcs__link:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  outline: none;
}

.related-calcs__label {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.related-calcs__anchor {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-loose);
  max-width: 60ch;
}

.related-calcs__arrow {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  transform: translateX(0);
  transition: transform var(--duration-fast) var(--ease-out);
}

.related-calcs__link:hover .related-calcs__arrow,
.related-calcs__link:focus-visible .related-calcs__arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .related-calcs__link,
  .related-calcs__arrow { transition: none; }
}

/* ─────────────────────────────────────────────
 * .intro-detail
 *
 * Substantive paragraph in each calculator's intro section that names the
 * Malta-specific entities the calculator touches (REWS, ARMS, TA24, Article
 * 31E, CBM Directive 16, MTCA, NZIA, DIER). Sits between .lede and the
 * decorative SVG. Wider than .lede because it carries more content; full
 * text colour so it reads as substantive prose, not a continuation subtitle.
 */
.intro-detail {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.65;
  max-width: 52ch;
  margin: var(--space-2) 0 var(--space-6);
  text-wrap: pretty;
}

.intro-detail strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 720px) {
  .intro-detail {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    max-width: none;
  }
}

/* Tiny source-of-truth line under .intro-detail (e.g. Solar's gazette citation).
   Reads as a footnote, not body copy. */
.intro-source {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: calc(-1 * var(--space-4)) 0 var(--space-6);
  max-width: 52ch;
}
.intro-source a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 0.2em; }
.intro-source a:hover { color: var(--color-accent); }

/* ─────────────────────────────────────────────
 * Pillar guide layout
 *
 * /guides/<slug>/ — long-form Malta-specific reference pages that link
 * deep into the calculators. Editorial article scaffold: eyebrow / h1 /
 * lede / meta line / prose body / related calculators block. Lives at
 * page-level (NOT inside the calculator 2-column grid).
 */
.guide-page {
  max-width: var(--max-width-prose);
  margin: 0 auto;
  padding: var(--space-20) var(--space-8) var(--space-12);
}

.guide-page > header { margin-bottom: var(--space-12); }

.guide-page > header .eyebrow { margin-bottom: var(--space-4); }

.guide-page h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}
.guide-page h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.guide-page .lede {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-loose);
  max-width: 56ch;
  margin: 0 0 var(--space-6);
}

.guide-page .guide-meta,
.guide-meta {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin: 0;
}

.guide-prose {
  margin-top: var(--space-12);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-loose);
}

.guide-prose > h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: var(--space-12) 0 var(--space-4);
  color: var(--color-text);
  scroll-margin-top: var(--space-12);
}
.guide-prose > h2:first-child { margin-top: 0; }

.guide-prose > h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: -0.015em;
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-text);
}

.guide-prose p {
  margin: 0 0 var(--space-4);
  max-width: 65ch;
}

.guide-prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.guide-prose a {
  color: var(--color-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.guide-prose a:hover { color: var(--color-accent); }

.guide-prose ul,
.guide-prose ol {
  margin: var(--space-3) 0 var(--space-6);
  padding-left: var(--space-6);
  max-width: 65ch;
}
.guide-prose li { margin: var(--space-2) 0; }
.guide-prose li > strong:first-child { color: var(--color-text); }

.guide-prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-2) var(--space-6);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 60ch;
}

.guide-prose figure {
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--color-bg-deep);
  border-radius: 6px;
  max-width: 65ch;
}
.guide-prose figcaption {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.guide-prose table {
  margin: var(--space-6) 0;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  max-width: 100%;
}
.guide-prose th,
.guide-prose td {
  padding: var(--space-2) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.guide-prose th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-deep);
}

/* Every guide table is wrapped in a .table-scroll region (tabindex=0,
   role=region in the markup) so keyboard-only users can scroll to columns
   clipped on narrow viewports — a bare overflow:auto box is not focusable.
   On desktop the wrapper is a transparent block and tables render natively,
   unchanged; the only effect is this focus ring when a keyboard user tabs
   to it (mouse users never see :focus-visible). */
.guide-prose .table-scroll:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.guide-prose hr {
  margin: var(--space-8) 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  max-width: 65ch;
}

@media (max-width: 720px) {
  .guide-page { padding: var(--space-12) var(--space-6) var(--space-8); }
  .guide-prose > h2 { margin-top: var(--space-8); }

  /* Wide multi-column tables (mortgage stress-test 5-col ≈480px, salary-band
     4-col, solar grant table) exceed the ~342px mobile reading column and
     their border-collapse min-content width can't shrink. The .table-scroll
     wrapper caps the box to the column and scrolls horizontally inside it
     instead of breaking the page; it is focusable (tabindex=0 in the markup)
     so keyboard users can reach the clipped columns. A right-edge fade hints
     there is more to scroll: layer 1 is an opaque page-coloured cover pinned
     to the content's right edge (background-attachment:local — scrolls with
     the table), layer 2 is the shadow fixed to the scroll viewport. The cover
     sits over the shadow at the scroll-end and whenever the table doesn't
     overflow, so the fade only shows while there is more table to the right. */
  .guide-prose .table-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background:
      linear-gradient(var(--color-bg), var(--color-bg)) right center / var(--space-8) 100% no-repeat,
      linear-gradient(to left, color-mix(in srgb, var(--color-rule) 12%, transparent), transparent) right center / var(--space-6) 100% no-repeat;
    background-attachment: local, scroll;
  }
  .guide-prose .table-scroll > table {
    width: max-content;
    max-width: none;
  }
  .guide-prose th,
  .guide-prose td { padding: var(--space-2) var(--space-3); white-space: nowrap; }
  /* The buying-guide footnote spans the table on one colspan row — let it
     wrap so a 2-column table doesn't scroll just to read a sentence. */
  .guide-prose .guide-table__note { white-space: normal; }
}

/* Worked-example table — used in cost-of-buying-property guide for the
   first-time-buyer outlay breakdown. Amount column right-aligned and
   tabular; subtotal/total rows get a faint accent wash. */
.guide-prose .guide-table {
  width: 100%;
  max-width: 65ch;
  border-collapse: collapse;
}
.guide-prose .guide-table th.guide-table__amount,
.guide-prose .guide-table td.guide-table__amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.guide-prose .guide-table tr.guide-table__subtotal td {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-deep);
}
.guide-prose .guide-table tr.guide-table__total td {
  border-top: 2px solid var(--color-rule);
  background: var(--color-accent-soft);
  font-weight: 600;
}
.guide-prose .guide-table tfoot .guide-table__note {
  padding-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  border-bottom: none;
  font-style: italic;
}

/* Spacing reset if a guide ever opens with an h3 (currently none do, but
   the equivalent reset for h2 is present and this stays consistent). */
.guide-prose > h3:first-child { margin-top: 0; }

/* "Read the full guide" link — sits below .intro-detail (and .intro-source if
   present) on calculator pages that have a matching pillar guide. Reads as a
   small editorial CTA, not a footnote — sienna-tinted, with a chevron. */
.intro-guide-link {
  font-size: var(--font-size-sm);
  margin: 0 0 var(--space-6);
  max-width: 52ch;
  line-height: 1.5;
}
.intro-guide-link a {
  color: var(--color-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 500;
}
.intro-guide-link a:hover { color: var(--color-accent); }
