/* =========================================================
   AronDigital: Shared Styles
   One 20-minute call. Live tomorrow.
   ========================================================= */

/* Fonts are loaded with a <link> in each page's <head>, not @import.
   An @import here would only start downloading after this file had
   already been fetched and parsed, adding a round-trip to the critical
   path and pushing back LCP. */

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --bg:          #0f1a2e;
  --bg-alt:      #162747;
  --fg:          #f5ead9;
  --fg-soft:     #c9b9a0;
  --muted:       #8fa0bd;
  --line:        #253759;
  --accent:      #e56a2c;
  --accent-soft: #f08b52;
  --accent-ink:  #ffffff;
  --card:        #1a2a47;
  --cream:       #f0e4d0;

  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1240px;
  --pad:  clamp(20px, 4vw, 56px);
  --r:    999px;
  --r-lg: 22px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
em { font-style: italic; font-family: var(--f-serif); font-weight: 400; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }

/* Skip link: first stop for keyboard and screen-reader users */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 500;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,26,46,1);
  border-bottom: 1px solid rgba(229,106,44,0.18);
  transition: background .3s ease, backdrop-filter .3s ease;
}
.nav--scrolled {
  background: rgba(15,26,46,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__inner { height: 72px; display: flex; align-items: center; }

.nav__logo-block {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 100%; flex-shrink: 0;
  background: #e2dcd0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  padding-left: 20px; padding-right: 50px;
  transition: opacity .3s ease;
}
.nav--scrolled .nav__logo-block { opacity: 0.92; }
.nav__mark { height: 52px; width: auto; object-fit: contain; transition: transform .3s ease; }
.nav__logo-block:hover .nav__mark { transform: scale(1.04); }
.nav__logo-accent {
  position: absolute; top: 0; bottom: 0; right: 0; width: 28px; pointer-events: none;
  background: linear-gradient(to bottom right,
    transparent calc(50% - 1px), var(--accent) calc(50% - 1px),
    var(--accent) calc(50% + 1px), transparent calc(50% + 1px));
}
.nav__spacer { flex: 1; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 2px; margin-right: 20px; }
.nav__links a {
  display: block; padding: 8px 14px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color .2s ease; border-radius: 6px;
}
.nav__links a:hover { color: #fff; }
.nav__links a[aria-current="page"] { color: var(--accent-soft); }

/* Language switcher: EN / HU, set as text rather than as a control.
   A bordered pill here reads as a second button competing with the CTA, so
   it takes the exact type treatment of the nav links (same family, size,
   tracking, weight and hover) and simply sits in its own group.
   Deliberately outside .nav__links so it survives the 900px breakpoint that
   hides the nav links, and sits next to the burger on a phone. */
.nav__lang {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px;
  margin-right: 18px; padding-right: 18px;
  flex-shrink: 0;
}
/* Hairline that keeps the switcher from reading as text spilling out of the
   CTA. It is the divider, not a border, so the group still stays quiet. */
.nav__lang::after {
  content: ""; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.14);
}
.nav__lang-opt {
  display: block; padding: 8px 8px; border-radius: 6px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
  line-height: 1;
  color: rgba(255,255,255,0.55);
  transition: color .2s ease;
}
.nav__lang-opt:hover { color: #fff; }
.nav__lang-opt[aria-current] { color: var(--accent-soft); }
.nav__lang-sep {
  font-size: 13px; line-height: 1; font-weight: 400;
  color: rgba(255,255,255,0.22);
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--r);
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  transition: filter .2s, transform .2s;
  flex-shrink: 0; margin-right: 20px;
}
.nav__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.nav__cta .cta-arrow { font-size: 11px; opacity: 0.8; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px; margin-right: 12px;
}
.nav__burger span {
  width: 20px; height: 1.5px; background: rgba(255,255,255,0.75); display: block; border-radius: 999px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  overflow: hidden; max-height: 0;
  transition: max-height .3s ease;
  border-top: 1px solid rgba(229,106,44,0.12);
  background: var(--bg);
}
.nav__mobile.open { max-height: 400px; }
.nav__mobile-inner { display: flex; flex-direction: column; padding: 8px 24px 24px; }
.nav__mobile a {
  display: block; padding: 14px 0;
  font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s;
}
.nav__mobile a:hover { color: #fff; }
.nav__mobile-cta {
  display: block; margin-top: 16px; text-align: center;
  padding: 14px 20px; border-radius: var(--r);
  background: var(--accent); color: #fff !important;
  font-weight: 600; border-bottom: none !important;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px) !important; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: translateY(-2px); }
.btn--onlight { background: #16110c; color: var(--cream); border-color: #16110c; }
.btn--onlight:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ─── Section primitives ─────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) var(--pad); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section--alt   { background: var(--bg-alt); }
.section--cream { background: var(--cream); color: #16110c; }

.section__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.section__kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.section--cream .section__kicker { color: #a8480c; }
.section--cream .section__kicker::before { background: #a8480c; }

.section__title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04;
  letter-spacing: -0.025em; margin-bottom: 20px;
  text-wrap: balance;
}
.section__title em { color: var(--accent); }
.section--cream .section__title { color: #16110c; }
.section--cream .section__title em { color: #a8480c; }
.section__sub {
  font-size: clamp(16px, 1.25vw, 19px); color: var(--fg-soft);
  max-width: 640px; text-wrap: pretty;
}
.section--cream .section__sub { color: #574a3d; }
.section__head { margin-bottom: clamp(40px, 6vw, 68px); }

/* ─── Breadcrumbs ────────────────────────────────────────── */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  list-style: none; margin-bottom: 36px;
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs [aria-current="page"] { color: var(--fg-soft); }

/* ─── Scroll reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── Keyframes ──────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise   { from { transform: translateY(110%); } to { transform: none; } }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(229,106,44,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(229,106,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,106,44,0); }
}
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; animation: pulse-ring 2s infinite;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  width: 100%; text-align: left; padding: 26px 0;
  font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.25; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq__q:hover { color: var(--accent-soft); }
.faq__sign { flex-shrink: 0; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .3s ease; margin-top: 4px; }
.faq__item--open .faq__sign { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__item--open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { color: var(--fg-soft); max-width: 760px; padding-bottom: 28px; font-size: 16px; }

/* ─── Footer ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer-split { display: flex; min-height: 360px; position: relative; }
.footer__left {
  background: var(--cream); flex-shrink: 0; width: 38%;
  padding: clamp(40px, 5vw, 60px) clamp(32px, 5vw, 68px);
  padding-right: clamp(56px, 8vw, 116px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  position: relative; z-index: 1;
}
.footer__mark { width: 140px; height: auto; }
.footer__tagline {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.1;
  letter-spacing: -0.02em; color: #1a0f05;
}
.footer__tagline em { color: #a8480c; }
.footer__right {
  flex: 1; background: var(--bg);
  padding: clamp(34px, 4vw, 46px) clamp(32px, 5vw, 60px);
  padding-left: clamp(44px, 6vw, 76px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col-label {
  display: block; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14px; color: var(--fg-soft); transition: color .2s; }
.footer__col a:hover { color: var(--fg); }
.footer__col li { font-size: 14px; color: var(--fg-soft); }
.footer__legal {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
  font-family: var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
}
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer__legal a:hover { color: var(--fg); }
.footer__legal-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__socials { display: flex; gap: 20px; }
.footer__socials a { color: var(--muted); transition: color .2s; }
.footer__socials a:hover { color: var(--fg); }

/* ─── Responsive ─────────────────────────────────────────── */
/* The full nav row wants ~1240px with five links. Between the burger
   breakpoint and that width everything is flex-shrink:0, so the CTA used to
   crowd the language switcher instead of the row getting tighter. Tighten it
   deliberately. */
@media (max-width: 1280px) {
  .nav__links { margin-right: 10px; }
  .nav__links a { padding: 8px 10px; letter-spacing: 0.04em; }
  .nav__lang { margin-right: 12px; padding-right: 12px; }
  .nav__lang-opt { padding: 8px 6px; letter-spacing: 0.04em; }
  .nav__cta { padding: 10px 16px; margin-right: 14px; }
}
@media (max-width: 1120px) {
  .nav__logo-block { padding-left: 14px; padding-right: 44px; }
  .nav__mark { height: 44px; }
  .nav__links a { padding: 8px 7px; }
  .nav__cta .cta-arrow { display: none; }
}
/* Five nav links need the burger a little earlier than the footer needs
   to stack, so the two live in separate queries. */
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  /* The language switcher stays: it is the only way back to the other
     language without opening the drawer. */
  .nav__lang { margin-right: 6px; padding-right: 12px; }
}
@media (max-width: 900px) {
  .footer-split { flex-direction: column; }
  .footer__left { width: 100%; clip-path: none; padding-right: clamp(32px, 5vw, 68px); }
  .footer__right { padding-left: clamp(32px, 5vw, 60px); border-top: 1px solid var(--line); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* ─── Motion preferences ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Interaction layer
   Everything below is additive: it enhances existing markup
   and degrades to the static design when JS or motion is off.
   ========================================================= */

/* ─── Scroll progress ────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 101;
  width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  pointer-events: none;
}

/* ─── Reveal: stagger + variants ─────────────────────────────
   JS stamps --i on the children of a [data-stagger] container so
   a row of cards arrives in sequence rather than all at once. */
.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.reveal--left  { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--scale { transform: translateY(18px) scale(.97); }
.reveal--left.visible, .reveal--right.visible, .reveal--scale.visible { transform: none; }

/* ─── Pointer spotlight on cards ──────────────────────────── */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: -1; opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              rgba(229,106,44,.2), transparent 62%);
}
.spot:hover::after, .spot:focus-within::after { opacity: 1; }
.spot--light::after {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              rgba(168,72,12,.10), transparent 62%);
}

/* ─── Button sheen ───────────────────────────────────────── */
.btn--primary, .btn--onlight { position: relative; overflow: hidden; }
.btn--primary::after, .btn--onlight::after {
  content: ''; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .65s cubic-bezier(.2,.8,.2,1);
}
.btn--primary:hover::after, .btn--onlight:hover::after { left: 140%; }

/* ─── Nav: current section ───────────────────────────────── */
.nav__links a[aria-current] { color: var(--accent-soft); }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }

/* ─── Counters ───────────────────────────────────────────── */
.strip__val { font-variant-numeric: tabular-nums; }

/* ─── FAQ: keep the open row anchored ────────────────────── */
.faq__item { transition: background .3s ease; }
.faq__item--open { background: rgba(229,106,44,.04); }

/* ─── Call simulator ─────────────────────────────────────── */
.callsim {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9);
  display: flex; flex-direction: column;
}
.callsim__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.callsim__who { color: var(--fg-soft); }
.callsim__timer { margin-left: auto; color: var(--accent); font-variant-numeric: tabular-nums; }

.callsim__wave {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 46px; padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 120%, rgba(229,106,44,.14), transparent 70%);
}
.callsim__wave span {
  width: 3px; height: 6px; border-radius: 999px;
  background: var(--line);
  transition: height .18s ease, background .3s ease;
}
.callsim--speaking .callsim__wave span {
  background: var(--accent);
  animation: wave 1s ease-in-out infinite;
  animation-delay: calc(var(--b) * -55ms);
}
.callsim--listening .callsim__wave span {
  background: var(--muted);
  animation: wave-low 1.3s ease-in-out infinite;
  animation-delay: calc(var(--b) * -70ms);
}
@keyframes wave-low {
  0%, 100% { height: 5px; }
  50%      { height: calc(var(--h, 18px) * 0.45); }
}
@keyframes wave {
  0%, 100% { height: 5px; }
  50%      { height: var(--h, 18px); }
}

.callsim__log {
  list-style: none; margin: 0; padding: 18px;
  height: 262px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.callsim__log::-webkit-scrollbar { width: 6px; }
.callsim__log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.callsim__line {
  max-width: 84%; padding: 11px 15px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.5;
  animation: fadeUp .4s ease backwards;
}
.callsim__line--ai {
  align-self: flex-start; border-bottom-left-radius: 5px;
  background: rgba(229,106,44,.12); border: 1px solid rgba(229,106,44,.28);
  color: var(--fg);
}
.callsim__line--caller {
  align-self: flex-end; border-bottom-right-radius: 5px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--fg-soft);
}
.callsim__line--sys {
  align-self: stretch; max-width: 100%; text-align: center;
  background: none; border: 1px dashed rgba(229,106,44,.35);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-soft); padding: 10px 12px;
}
.callsim__tag {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.callsim__typing { display: inline-flex; gap: 4px; align-items: center; height: 12px; }
.callsim__typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: blink 1.2s infinite;
}
.callsim__typing i:nth-child(2) { animation-delay: .18s; }
.callsim__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.callsim__idle {
  margin: auto; text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 14px; padding: 8px 20px;
}
.callsim__idle-text {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); line-height: 1.7; max-width: 280px;
}
.callsim__foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.callsim__note {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em;
  color: var(--muted); line-height: 1.5;
}

/* ─── Motion preferences (interaction layer) ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-delay: 0ms !important; }
  .progress { display: none; }
  .callsim--speaking .callsim__wave span { animation: none; height: 12px; }
  .callsim__line { animation: none; }
}

.callsim__idle-icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,106,44,.12); border: 1px solid rgba(229,106,44,.3);
  color: var(--accent);
}
.callsim .btn--sm { flex-shrink: 0; }
.callsim__note { flex: 1; min-width: 180px; }

/* The line the recording is on right now. Everything already said
   stays legible; only the live one is lit, so the eye can follow
   the voice without the log turning into a wall of highlights. */
.callsim__line { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.callsim__line--now.callsim__line--ai {
  background: rgba(229,106,44,.2); border-color: var(--accent);
  box-shadow: 0 14px 34px -22px rgba(229,106,44,.9);
}
.callsim__line--now.callsim__line--caller {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); color: var(--fg);
}

/* ─── Call transcript: the log is the script ─────────────── */
/* Every line of the call is in the log from the start. Only once JS
   has a recording to time them against does it hide them (.callsim--cued)
   and hand them back one at a time. No script, no audio, no drawer to
   open: the conversation is simply there, in order. */
.callsim--cued .callsim__line--cue { display: none; }
.callsim--cued .callsim__line--cue.is-said { display: block; }

.callsim__text { display: block; }

/* Before the first play the log holds only the idle prompt, so it
   centres; once lines arrive it goes back to a normal stacked log. */
.callsim__log { justify-content: flex-start; }
.callsim--cued .callsim__log:not(:has(.is-said)) { justify-content: center; }

/* ─── Cookie consent ─────────────────────────────────────── */
/* A card, not a full-width bar: the offer above it stays readable
   while the visitor decides. Accept and Decline carry equal weight,
   and there is no dismiss affordance: silence is not consent. */
.consent {
  position: fixed; z-index: 150;
  left: var(--pad); bottom: var(--pad);
  width: min(380px, calc(100vw - var(--pad) * 2));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px 20px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.95);
  opacity: 0; transform: translateY(16px);
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}
.consent.is-open { opacity: 1; transform: none; }
.consent__label {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px;
}
.consent__body {
  font-size: 14px; line-height: 1.6; color: var(--fg-soft);
  text-wrap: pretty; margin-bottom: 18px;
}
.consent__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.consent__link {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.consent__link:hover { color: var(--fg); border-bottom-color: var(--line); }

@media (max-width: 560px) {
  .consent { padding: 18px 20px 16px; }
  .consent__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: opacity .2s ease; transform: none; }
}
