/* BENCI Consulting - shared stylesheet
   Tokens > base > layout > components > header/footer > auth. No build step. */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --tint: #F2F7F3;
  --tint-2: #E6F0E9;
  --ink: #11241A;
  --muted: #4B6055;
  --line: #D6E2DA;
  --line-soft: #E7EEE9;
  --brand: #14452F;
  --brand-hover: #0E3524;
  --brand-deep: #08261A;
  --leaf: #3F7A3A;
  --mint: #A8DDB5;
  --err: #A8281C;

  --grad-brand: linear-gradient(135deg, #1D6A45 0%, #14452F 52%, #0E3524 100%);
  --grad-deep: radial-gradient(120% 90% at 85% 0%, #1E6343 0%, rgba(30, 99, 67, 0) 55%),
               radial-gradient(90% 80% at 0% 100%, #2C6B3A 0%, rgba(44, 107, 58, 0) 50%),
               linear-gradient(160deg, #0E3524 0%, #08261A 100%);
  --grad-soft: radial-gradient(70% 60% at 85% 0%, rgba(168, 221, 181, .45) 0%, rgba(168, 221, 181, 0) 70%),
               radial-gradient(60% 50% at 0% 10%, rgba(63, 122, 58, .10) 0%, rgba(63, 122, 58, 0) 70%),
               linear-gradient(180deg, #F6FAF7 0%, #FFFFFF 100%);
  --grad-text: linear-gradient(100deg, #14452F 0%, #2B6B3F 55%, #3F7A3A 100%);
  --grad-line: linear-gradient(90deg, rgba(20, 69, 47, 0), rgba(20, 69, 47, .35), rgba(20, 69, 47, 0));

  --shadow-sm: 0 1px 2px rgba(17, 36, 26, .06), 0 1px 1px rgba(17, 36, 26, .04);
  --shadow-md: 0 12px 32px -12px rgba(17, 36, 26, .18), 0 2px 6px rgba(17, 36, 26, .05);
  --shadow-lg: 0 30px 60px -24px rgba(8, 38, 26, .35), 0 8px 20px -8px rgba(8, 38, 26, .12);
  --shadow-btn: 0 8px 20px -8px rgba(20, 69, 47, .6), inset 0 1px 0 rgba(255, 255, 255, .14);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --container: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --section-y: 112px; --header-h: 78px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }

p, ul, ol, dl, table { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
p { text-wrap: pretty; }

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); text-decoration-thickness: 2px; }

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

::selection { background: var(--brand); color: #fff; }

.visually-hidden {
  position: absolute !important;
  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: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; padding: var(--section-y) 0; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  height: 1px;
  transform: translateX(-50%);
  background: var(--grad-line);
}
.section--tint { background: linear-gradient(180deg, var(--tint) 0%, #FFFFFF 100%); }
.section--soft { background: var(--grad-soft); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.78rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--mint));
}

.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons and links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: #fff;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(20, 69, 47, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, .7);
  border-color: var(--line);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--brand-hover); border-color: var(--brand); background: #fff; box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.btn--light:hover { color: var(--brand-hover); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Shared components ---------- */
.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, var(--tint-2), #fff);
  border: 1px solid var(--line);
  color: var(--brand);
  margin-bottom: 20px;
}
.icon-badge svg { width: 24px; height: 24px; }

.metric__value {
  display: block;
  font: 700 clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--font-head);
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric__label { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .8);
  font: 500 .78rem/1.2 var(--font-mono);
  letter-spacing: .04em;
  color: var(--brand);
}
.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(63, 122, 58, .18);
}

.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--tint) 0%, #fff 100%);
  font-size: .93rem;
  color: var(--ink);
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--leaf); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field__label .opt { font-weight: 400; color: var(--muted); }
.field__hint { font-size: .85rem; color: var(--muted); }
.field__error { font-size: .875rem; font-weight: 500; color: var(--err); }
.field__error:empty { display: none; }
.field__error::before { content: "! "; font-weight: 700; }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  box-shadow: inset 0 1px 2px rgba(17, 36, 26, .04);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2314452F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
  cursor: pointer;
}
.input::placeholder, .textarea::placeholder { color: #7A8C82; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9CDBF; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(63, 122, 58, .18);
}
[aria-invalid="true"] { border-color: var(--err) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(168, 40, 28, .15) !important; }

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 84px; }
.pw-toggle {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 72px; min-height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--brand);
  font: 600 .875rem/1 var(--font-body);
  cursor: pointer;
}
.pw-toggle:hover { background: var(--tint); }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: .95rem;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }

.form-status {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: .95rem;
}
.form-status:empty { display: none; }
.form-status.is-success { background: var(--tint); border: 1px solid var(--mint); color: var(--brand); }
.form-status.is-error { background: #FBEDEB; border: 1px solid #EBC3BE; color: var(--err); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 8px 24px -18px rgba(8, 38, 26, .35); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--brand);
}
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(20, 69, 47, .55); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.32rem/1 var(--font-head); letter-spacing: 0.05em; }
.brand__sub {
  font: 500 0.6rem/1 var(--font-mono);
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-top: 5px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--brand);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.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; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 12px; right: 12px;
  padding: 10px 18px 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.js .site-nav:not(.is-open) { display: none; }
.site-nav.is-open { animation: nav-in .22s var(--ease); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid var(--line-soft); }
.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 50px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.site-nav .nav-cta { border-bottom: 0; padding-top: 16px; display: grid; gap: 10px; }
.site-nav .nav-cta .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav:not(.is-open) {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav li { border: 0; }
  .site-nav a:not(.btn) {
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    font-size: 0.95rem;
    transition: background-color .15s, color .15s;
  }
  .site-nav a:not(.btn):hover { background: var(--tint); }
  .site-nav a[aria-current="page"] { background: var(--tint-2); }
  .site-nav .nav-cta { display: flex; align-items: center; gap: 6px; padding: 0 0 0 14px; margin-left: 6px; border-left: 1px solid var(--line); }
  .site-nav .nav-cta .btn { width: auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--grad-deep);
  color: rgba(255, 255, 255, .78);
  padding: 72px 0 32px;
  font-size: 0.95rem;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand__sub { color: rgba(255, 255, 255, .7); }
.site-footer .brand img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.site-footer a:focus-visible { outline-color: var(--mint); }

.footer-grid { display: grid; gap: 40px; }
.footer-about p { max-width: 380px; margin-top: 18px; }
.footer-title {
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
}
.footer-list a:hover { color: var(--mint); text-decoration: underline; }
.footer-list li.plain { padding: 8px 0; max-width: 300px; line-height: 1.5; }
.footer-list a { overflow-wrap: anywhere; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .7);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; }
  .footer-about { grid-column: auto; }
}

/* ---------- Grids ---------- */
.grid-3, .grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.section-foot { margin-top: 36px; }

.stretched { text-decoration: none; color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched:hover { text-decoration: underline; color: var(--brand); }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--leaf); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 64px;
  background: var(--grad-soft);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 69, 47, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20, 69, 47, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__frame {
  position: relative;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(242, 247, 243, .9));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: -40px -30px auto auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 221, 181, .7), rgba(168, 221, 181, 0));
  z-index: -1;
}
.hero__frame img { width: 100%; border-radius: 16px; }

.metrics {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.metrics li { padding: 22px 22px 24px; background: rgba(255, 255, 255, .94); }
@media (min-width: 520px) { .metrics { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .metrics { grid-template-columns: repeat(4, 1fr); margin-top: 72px; }
  .metrics li { padding: 28px 28px 30px; }
}

/* ---------- Outcome rows ---------- */
.outcomes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.outcome {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.outcome::before {
  content: "";
  position: absolute;
  inset: 0 -16px;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--tint), rgba(242, 247, 243, 0));
  opacity: 0;
  transition: opacity .25s var(--ease);
  z-index: -1;
}
.outcome:hover::before { opacity: 1; }
.outcome__num { font: 500 .9rem/1.9 var(--font-mono); color: var(--leaf); }
.outcome h3 { margin-bottom: 6px; }
.outcome p { color: var(--muted); }
.outcome__stat {
  grid-column: 2;
  justify-self: start;
  font: 700 1.5rem/1 var(--font-head);
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 900px) {
  .outcome { grid-template-columns: 72px 1fr 200px; align-items: center; padding: 36px 0; gap: 32px; }
  .outcome__body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: baseline; }
  .outcome h3 { margin: 0; }
  .outcome__stat { grid-column: auto; justify-self: end; font-size: 2.25rem; }
}

/* ---------- Loss callout ---------- */
.loss {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--grad-deep);
  color: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.loss::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(168, 221, 181, .25);
  box-shadow: 0 0 0 30px rgba(168, 221, 181, .05), 0 0 0 60px rgba(168, 221, 181, .03);
}
.loss__intro, .loss__foot { font: 500 .8rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.loss__figs { display: grid; gap: 18px; margin: 22px 0; }
.loss__figs p { margin: 0; font-size: 1.05rem; }
.loss__figs strong {
  display: block;
  font: 800 clamp(2.4rem, 1.8rem + 2.4vw, 3.5rem)/1 var(--font-head);
  letter-spacing: -0.035em;
  color: #fff;
}
.loss__and { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 640px) {
  .loss { padding: 44px 40px; }
  .loss__figs { gap: 22px; }
  .loss__figs p + p { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
}

/* ---------- Pillars and case teasers ---------- */
.pillar p { color: var(--muted); font-size: .97rem; }
.pillar::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--leaf), var(--mint));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.pillar:hover::after { opacity: 1; }

.case-teaser { display: flex; flex-direction: column; gap: 22px; padding: 30px; }
.case-teaser .chip { align-self: flex-start; }
.case-teaser__fig { margin: 0; }
.case-teaser__fig .metric__value { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); }
.case-teaser h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 1.05rem;
}
.case-teaser h3::after { content: "\2192"; color: var(--leaf); transition: transform .2s var(--ease); }
.case-teaser:hover h3::after { transform: translateX(4px); }

/* ---------- Reach (Why BENCI teaser) ---------- */
.reach {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff 0%, var(--tint) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.reach__fig { margin: 0 0 24px; }
.reach__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.reach__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line-soft);
  font-weight: 500;
}
.reach__list span {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--grad-brand);
  color: #fff;
  font: 500 .72rem/1 var(--font-mono);
  letter-spacing: .06em;
}
@media (min-width: 640px) { .reach { padding: 40px; } }

/* ---------- Closing call to action ---------- */
.cta-wrap { padding: 0 0 var(--section-y); }
.cta {
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  border-radius: 28px;
  background: var(--grad-deep);
  color: rgba(255, 255, 255, .82);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }
@media (min-width: 900px) { .cta { padding: 88px 64px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 32px 0 64px; background: var(--grad-soft); overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 69, 47, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20, 69, 47, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 80% at 90% 0%, #000, transparent 75%);
  mask-image: radial-gradient(60% 80% at 90% 0%, #000, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); }
@media (min-width: 900px) { .page-hero { padding: 40px 0 96px; } }

.breadcrumb { margin-bottom: 36px; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--brand); font-weight: 600; }

/* ---------- Lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%2314452F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pillar__num { position: absolute; top: 28px; right: 28px; font: 500 .8rem/1 var(--font-mono); color: var(--leaf); }
.pillar h3 { margin-bottom: 14px; }

.split--top { align-items: start; }

.mistakes { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 10px; }
.mistakes li {
  counter-increment: m;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  line-height: 1.45;
}
.mistakes li::before {
  content: counter(m, decimal-leading-zero);
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #FBEDEB;
  color: var(--err);
  font: 500 .8rem/1 var(--font-mono);
}
@media (min-width: 900px) { .split--top .loss { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Spec table ---------- */
.table-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.spec-table { width: 100%; margin: 0; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 18px 24px; text-align: left; vertical-align: top; }
.spec-table thead th {
  background: var(--grad-brand);
  color: #fff;
  font: 500 .78rem/1.2 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spec-table tbody tr { border-top: 1px solid var(--line-soft); transition: background-color .15s; }
.spec-table tbody tr:hover { background: var(--tint); }
.spec-table tbody th { width: 34%; font-weight: 600; color: var(--brand); }
.spec-table td { color: var(--muted); }
.spec-table td strong { color: var(--ink); font-weight: 600; }
@media (max-width: 639px) {
  .spec-table thead { display: none; }
  .spec-table tr { display: block; padding: 16px 20px; }
  .spec-table tbody th, .spec-table td { display: block; width: auto; padding: 0; }
  .spec-table tbody th { margin-bottom: 4px; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font: 500 .85rem/1 var(--font-mono);
  box-shadow: var(--shadow-btn);
}
.step h3 { display: flex; justify-content: space-between; gap: 12px; }
.step h3::after { content: "\2192"; color: var(--leaf); transition: transform .2s var(--ease); }
.step:hover h3::after { transform: translateX(4px); }
.step p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  font: 700 1.05rem/1.35 var(--font-head);
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--tint-2);
  font: 500 1.2rem/1 var(--font-mono);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Services ---------- */
.jump-nav { margin-top: 40px; }
.jump-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .2s, color .15s;
}
.jump-nav a:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-md); }
.jump-nav span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font: 500 .72rem/1 var(--font-mono);
}

@media (min-width: 900px) { .split--rev > :first-child { order: 2; } }

.fit {
  margin-top: 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--leaf);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: linear-gradient(90deg, var(--tint-2), rgba(230, 240, 233, 0));
}
.fit strong { color: var(--brand); }

.panel {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff 0%, var(--tint) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.panel__label { font: 500 .78rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); margin-bottom: 20px; }
.panel--dark { background: var(--grad-deep); border: 0; color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg); }
.panel--dark .panel__label { color: var(--mint); }
.panel__fig { margin: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.panel__fig strong { display: block; font: 800 clamp(2.2rem, 1.7rem + 1.8vw, 3rem)/1 var(--font-head); letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
@media (min-width: 640px) { .panel { padding: 40px; } }

.quad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quad li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line-soft);
  font-weight: 600;
  color: var(--brand);
}
.quad svg { width: 26px; height: 26px; color: var(--leaf); }

.proof {
  margin: 0;
  padding: 32px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}
.proof__fig { margin: 0 0 16px; }
.proof__value {
  display: block;
  font: 800 clamp(4rem, 3rem + 4vw, 6rem)/.95 var(--font-head);
  letter-spacing: -0.05em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof__label { font: 500 .85rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); }
.proof__caption { color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line-soft); }
.proof__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; }
@media (min-width: 640px) { .proof { padding: 44px 40px; } }

.modules { list-style: none; margin: 0; padding: 0; }
.module { display: flex; flex-direction: column; gap: 20px; font: 700 1.15rem/1.35 var(--font-head); color: var(--brand); letter-spacing: -0.01em; }
.module__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--tint-2), #fff);
  border: 1px solid var(--line);
  font: 500 .85rem/1 var(--font-mono);
  color: var(--leaf);
}

/* ---------- Results ---------- */
.section--flush { padding-top: 0; }
.cases { display: grid; gap: 24px; }
.case {
  display: grid;
  gap: 28px;
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.case__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.case__head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0; }
.case__num { font: 500 .85rem/1 var(--font-mono); color: var(--leaf); }

.kpis { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.kpi {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, #fff 0%, var(--tint) 100%);
  border: 1px solid var(--line-soft);
}
.kpi__value {
  font: 800 2.25rem/1 var(--font-head);
  letter-spacing: -0.035em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpi__label { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.kpi--lead { flex-basis: 100%; background: var(--grad-deep); border: 0; box-shadow: var(--shadow-btn); }
@media (min-width: 640px) {
  .kpi--lead { flex-direction: row; align-items: baseline; gap: 16px; padding: 24px 28px; }
  .kpi--lead .kpi__value { font-size: 3.25rem; }
  .kpi--lead .kpi__label { font-size: 1.05rem; }
}
.kpi--lead .kpi__value { background: none; color: #fff; }
.kpi--lead .kpi__label { color: rgba(255, 255, 255, .82); }

.case__scope { padding: 24px; border-radius: var(--r-md); background: var(--tint); }
.case__scope > p:not(.panel__label) { color: var(--muted); }
.tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--brand); }

@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; padding: 44px; align-items: start; }
  .case__head { position: sticky; top: calc(var(--header-h) + 24px); }
  .kpi__value { font-size: 2.6rem; }
  .case__scope { padding: 32px; }
}

/* ---------- Placeholder slots (testimonials, logos) ---------- */
.slots { list-style: none; margin: 0; padding: 0; }
.slot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  padding: 24px;
  border: 2px dashed #B9CDBF;
  border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .9) 0 12px, rgba(242, 247, 243, .9) 12px 24px);
  color: var(--muted);
  font-size: .95rem;
}
.slot strong { color: var(--ink); }
.slot__tag { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); }

.cta h2 + .btn { margin-top: 16px; }

/* ---------- Why BENCI ---------- */
.proofs { display: grid; gap: 20px; }
@media (min-width: 900px) { .proofs { grid-template-columns: 1fr 1fr; gap: 24px; } }
.proof-block {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(165deg, #fff 40%, var(--tint) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.proof-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--leaf), var(--mint));
}
.proof-block h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.proof-block p { color: var(--muted); }
.proof-block__fig { margin-bottom: 16px; }
@media (min-width: 640px) { .proof-block { padding: 44px 40px; } }

.audiences { list-style: none; margin: 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 12px; }
.audience { padding: 20px; font: 700 1.05rem/1.35 var(--font-head); color: var(--brand); }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(4, 1fr); gap: 24px; } .audience { padding: 28px; font-size: 1.1rem; } }

.logo-wall { margin-top: 56px; }
.logo-wall__note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 20px; }
.logo-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .logo-slots { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-slots { grid-template-columns: repeat(6, 1fr); } }
.slot--logo { min-height: 96px; align-items: center; justify-content: center; text-align: center; padding: 16px; font: 500 .8rem/1.3 var(--font-mono); letter-spacing: .04em; }

/* ---------- Contact ---------- */
.page-hero--short { padding-bottom: 48px; }
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; } }

.form-card {
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}
.form-card__title { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > .muted { font-size: .95rem; margin-bottom: 28px; }
@media (min-width: 640px) { .form-card { padding: 44px 40px; } }

.req { color: var(--err); }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-weight: 500;
  font-size: .95rem;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pill span::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid #9DB3A5;
  background: #fff center / 12px no-repeat;
}
.pill:hover span { border-color: var(--brand); }
.pill input:checked + span { background: var(--tint-2); border-color: var(--brand); color: var(--brand); }
.pill input:checked + span::before {
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pill input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

.contact-aside { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.details { margin: 0; display: grid; }
.details > div { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.details > div:first-child { border-top: 0; padding-top: 0; }
.details dt { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 4px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.details a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.details address { font-style: normal; line-height: 1.5; }
.reply__fig { margin: 0; }
.reply__fig strong { display: block; font: 800 2rem/1.1 var(--font-head); letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.aside-link { margin: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; padding-top: 72px; }
.notfound__links { margin-top: 40px; }
.notfound__links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }

/* ---------- Auth pages (sign in / sign up) ---------- */
.auth {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  background: var(--grad-soft);
}
.auth__panel {
  position: relative;
  display: none;
  overflow: hidden;
  padding: 64px 56px;
  background: var(--grad-deep);
  color: rgba(255, 255, 255, .82);
}
.auth__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent);
  mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent);
}
.auth__panel-inner { position: relative; max-width: 460px; }
.auth__panel .eyebrow { color: var(--mint); }
.auth__panel-title {
  font: 700 clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem)/1.1 var(--font-head);
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 16px;
}
.auth__facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.auth__facts li {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.auth__facts strong {
  display: block;
  font: 700 1.5rem/1.1 var(--font-head);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}

.auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter) 64px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 700; margin-bottom: 8px; }
.auth-card .notice { margin: 24px 0 28px; }
.auth-card__foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.auth-card__foot a { font-weight: 600; }
.form-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.form-inline a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 500; }

@media (min-width: 640px) {
  .auth-card { padding: 44px 40px; }
}
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .auth__panel { display: flex; align-items: center; }
  .auth__main { padding: 64px 40px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover { transform: none; }
}
