*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* Fluid root: 15px on phones/tablets, ~14.6px at 1440, 16px from ~1920 up. Everything below is in rem. */
  font-size: clamp(0.9375rem, 0.25vw + 0.6875rem, 1rem);
}
body {
  margin: 0;
  background: var(--en-surface-base);
  color: var(--en-text-primary);
  font-family: var(--en-font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--en-surface-inverse); color: var(--en-text-inverse); }
.cta ::selection, .status__dot::selection { background: var(--en-surface-base); color: var(--en-text-primary); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--en-line-strong); outline-offset: 3px; border-radius: var(--en-radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -48px; padding: 0.625rem 0.875rem; background: var(--en-surface-inverse); color: var(--en-text-inverse); border-radius: var(--en-radius-md); z-index: 10; }
.skip:focus { top: 1rem; }

/* ---------- Shell ---------- */
.shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2.5rem 3.5rem;
}
.shell--locked { height: 100svh; min-height: 40rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font: 600 1.5rem/1 var(--en-font-sans); letter-spacing: 0; color: var(--en-mark-ink); display: inline-flex; }
.wordmark span { display: inline-block; }
.wordmark { direction: ltr; unicode-bidi: isolate; }
.eyebrow__dot { display: none; }

/* Status pill */
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.75rem;
  background: var(--en-surface-raised);
  border: 1px solid var(--en-line-hairline);
  border-radius: var(--en-radius-pill);
  font: 400 0.8125rem/1.4 var(--en-font-mono);
  white-space: nowrap;
}
.status__dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--en-status-available);
  box-shadow: 0 0 0 2px rgba(47, 191, 113, 0.25), 0 0 6px rgba(47, 191, 113, 0.35);
  animation: en-pulse 2.4s var(--en-motion-ease-in-out) infinite;
}
@keyframes en-pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 191, 113, 0.12), 0 0 10px rgba(47, 191, 113, 0.3); } }
.status__short { display: none; }

/* ---------- Hero ---------- */
.hero {
  align-self: center; justify-self: center;
  /* Optical centering: sit slightly above the true middle */
  margin-bottom: clamp(0rem, 20svh - 5.5rem, 10rem);
  width: 100%; max-width: 47.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center;
}
.face { width: 5rem; height: auto; }
.eyebrow { color: var(--en-text-secondary); }
.eyebrow a { text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: color var(--en-motion-duration-base) var(--en-motion-ease-out), text-decoration-color var(--en-motion-duration-base) var(--en-motion-ease-out); }
.eyebrow a:hover { color: var(--en-text-primary); text-decoration-color: currentColor; }
.headline { margin: 0; color: var(--en-text-primary); }
.headline .word { display: inline-block; }
.lede { margin: 0; color: var(--en-text-secondary); max-width: 45rem; }
.lede--mobile { display: none; }
.pipeline { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem 0.625rem; margin: 0; padding: 0.25rem 0 0; list-style: none; color: var(--en-text-secondary); }
.pipeline li { display: inline-flex; gap: 0.625rem; }
.pipeline li:not(:last-child)::after { content: "→"; opacity: 0.6; }
.pipeline li:last-child { color: var(--en-text-primary); }
.pipeline .short { display: none; }

.actions { display: flex; align-items: center; justify-content: center; gap: 2rem; padding-top: 0.75rem; flex-wrap: wrap; }

/* CTA / Copy Email */
.cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 1.375rem 1rem 1.625rem;
  border: 0; border-radius: var(--en-radius-pill);
  background: var(--en-action-primary-bg); color: var(--en-action-primary-fg);
  font: 500 0.9375rem/1 var(--en-font-sans);
  cursor: pointer;
  transition: scale var(--en-motion-duration-instant) var(--en-motion-ease-snap), padding var(--en-motion-duration-base) var(--en-motion-ease-out);
}
.cta:active { scale: 0.98; }
.cta__roll { position: relative; display: inline-grid; overflow: hidden; height: 1.1em; }
.cta__roll > span { grid-area: 1 / 1; display: block; line-height: 1.1em; transition: transform var(--en-motion-duration-base) var(--en-motion-ease-out); white-space: nowrap; }
.cta__roll > span:nth-child(2) { transform: translateY(100%); }
.cta__roll > span:nth-child(3) { transform: translateY(100%); }
.cta__kbd { font: 400 0.8125rem/1 var(--en-font-mono); opacity: 0; width: 0; overflow: hidden; transition: opacity var(--en-motion-duration-fast), width var(--en-motion-duration-base) var(--en-motion-ease-out); }
.cta__icon { width: 1rem; height: 1rem; display: grid; }
.cta__icon svg { grid-area: 1 / 1; transition: opacity var(--en-motion-duration-fast), transform var(--en-motion-duration-base) var(--en-motion-ease-out); }
.cta__icon .i-check { opacity: 0; transform: scale(0.6); color: var(--en-status-available); }
@media (hover: hover) {
  .cta:hover:not(.is-copied) .cta__roll > span:nth-child(1) { transform: translateY(-100%); }
  .cta:hover:not(.is-copied) .cta__roll > span:nth-child(2) { transform: translateY(0); }
  .cta:hover:not(.is-copied) .cta__kbd { opacity: 0.6; width: 2.4em; }
}
.cta.is-copied .cta__roll > span:nth-child(1),
.cta.is-copied .cta__roll > span:nth-child(2) { transform: translateY(-100%); }
.cta.is-copied .cta__roll > span:nth-child(3) { transform: translateY(0); }
.cta.is-copied .i-copy { opacity: 0; transform: scale(0.6); }
.cta.is-copied .i-check { opacity: 1; transform: scale(1); }
.cta.is-copied { padding-left: 1.375rem; }

/* CTA / Text Link */
.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  font: 400 1.125rem/1.5 var(--en-font-sans); letter-spacing: -0.005em;
  padding-bottom: 0.25rem;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--en-motion-duration-slow) var(--en-motion-ease-out);
}
.text-link svg { transition: transform var(--en-motion-duration-base) var(--en-motion-ease-out); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.text-link:hover svg { transform: translate(0.1875rem, -3px); }

/* ---------- Footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 1.75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--en-line-hairline);
  font: 400 0.8125rem/1.4 var(--en-font-mono); color: var(--en-text-secondary);
}
.site-footer nav { display: flex; gap: 1.25rem 1.75rem; flex-wrap: wrap; align-items: center; }
.site-footer > :nth-child(1) { justify-self: start; }
.site-footer > :nth-child(2) { justify-self: center; }
.site-footer > :nth-child(3) { justify-self: end; }

/* Quiet links: underline draws in from the left, retracts to the right */
.site-footer a, .toc a, .back {
  color: var(--en-text-secondary);
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  padding-bottom: 2px;
  transition: color var(--en-motion-duration-base) var(--en-motion-ease-out), background-size var(--en-motion-duration-slow) var(--en-motion-ease-out);
}
.site-footer a:hover, .toc a:hover, .back:hover,
.site-footer a:focus-visible, .toc a:focus-visible, .back:focus-visible {
  color: var(--en-text-primary); background-size: 100% 1px; background-position: left bottom;
}
.back { color: var(--en-text-primary); }
.site-footer .ext svg, .back svg { transition: transform var(--en-motion-duration-base) var(--en-motion-ease-out); }
.site-footer .ext:hover svg, .back:hover svg { transform: translate(2px, -2px); }
.site-footer .ext { color: var(--en-text-primary); display: inline-flex; align-items: center; gap: 0.25rem; }
.site-footer .ext svg { width: 0.8125rem; height: 0.8125rem; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 15rem minmax(0, 45rem); justify-content: center; gap: 6rem; padding: 4.5rem 0; }
.toc { position: sticky; top: 2.5rem; align-self: start; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.toc a { align-self: flex-start; }
.toc .label-eyebrow { margin-top: 1rem; }
.toc .label-eyebrow:first-child { margin-top: 0; }
.doc { display: flex; flex-direction: column; gap: 2.25rem; }
.doc header { display: flex; flex-direction: column; gap: 1rem; }
.doc h1 { margin: 0; }
.doc .updated { color: var(--en-text-secondary); }
.doc .intro { margin: 0; color: var(--en-text-secondary); line-height: 1.6; max-width: 62ch; }
.doc section { padding-top: 1.75rem; border-top: 1px solid var(--en-line-hairline); display: flex; flex-direction: column; gap: 0.625rem; scroll-margin-top: 2rem; }
.doc h2 { margin: 0; }
.doc p { margin: 0; color: var(--en-text-secondary); }
.doc section p { font: 400 1rem/1.7 var(--en-font-sans); max-width: 66ch; }
.doc section p + p { margin-top: 0.5rem; }
.doc section ol { margin: 0; padding-left: 1.25rem; color: var(--en-text-secondary); display: grid; gap: 0.5rem; font: 400 1rem/1.7 var(--en-font-sans); max-width: 66ch; }
.doc a { text-decoration: underline; text-underline-offset: 0.1875rem; color: var(--en-text-primary); }
.back { display: inline-flex; align-items: center; gap: 0.375rem; }
.back svg { width: 1rem; height: 1rem; }
[dir="rtl"] body, [dir="rtl"] .doc { font-family: system-ui, "Arial Hebrew", Arial, sans-serif; }
[dir="rtl"] .legal { grid-template-columns: minmax(0, 45rem); }
[dir="rtl"] .doc ol { padding-left: 0; padding-right: 1.25rem; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1199px) {
  .shell { padding: 2.5rem; }
  .headline.display-xl { font-size: 3.25rem; line-height: 0.96; letter-spacing: -0.01em; }
  .legal { grid-template-columns: minmax(0, 45rem); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 767px) {
  .shell { padding: 1.5rem 1.5rem 1.25rem; }
  .wordmark { font-size: 1.25rem; }
  .eyebrow__name, .eyebrow__at { display: none; }
  .eyebrow__dot { display: inline; }
  .status__long { display: none; }
  .status__short { display: inline; }
  .hero { gap: 1rem; }
  .face { width: 4rem; }
  .headline.display-xl { font-size: 2.125rem; line-height: 0.98; }
  .lede.body-l { font-size: 1rem; }
  .lede--desktop { display: none; }
  .lede--mobile { display: block; }
  .pipeline { gap: 0.375rem 0.5rem; }
  .pipeline li { gap: 0.5rem; }
  .pipeline .long { display: none; }
  .pipeline .short { display: inline; }
  .actions { flex-direction: column; gap: 1.125rem; width: 100%; }
  .cta { width: 100%; justify-content: center; }
  .site-footer { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .site-footer > * { justify-self: auto; }
  .hero { margin-bottom: 1.5rem; }
  .site-footer .clock { display: none; }
  .site-footer nav { justify-content: center; gap: 0.75rem 1rem; }
  .legal { padding: 2.5rem 0; }
  .doc h1.heading-l { font-size: 1.375rem; line-height: 1.1; }
}
@media (max-height: 639px) and (min-width: 768px) { .shell--locked { height: auto; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; }
}
