/* ============================================================================
   Temp Mail Delisto — design system
   Dark "signal room" theme: deep ink canvas, hairline structure, violet/cyan
   signal accents. Layout is editorial (asymmetric hero, rail + mail console)
   rather than card-soup.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* canvas */
  --ink-0: #06060a;
  --ink-1: #0a0b11;
  --ink-2: #0e1017;
  --ink-3: #141722;
  --ink-4: #1b1f2c;

  /* structure */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);

  /* text — every step verified against the #06060a canvas for WCAG AA:
     --tx 21:1 · --tx-2 8.5:1 · --tx-3 5.2:1 (muted but still legible) */
  --tx: #f2f3f8;
  --tx-2: #a6aab9;
  --tx-3: #7d8396;

  /* signal — --violet carries white text on the primary button, so it is
     tuned to keep white at ≈5.2:1 instead of the popular 4.3:1 plum */
  --violet: #6d4aff;
  --violet-2: #9b85ff;
  --violet-deep: #5a35e0;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --red: #fb7185;

  --violet-a: rgba(109, 74, 255, 0.16);
  --cyan-a: rgba(34, 211, 238, 0.14);
  --green-a: rgba(52, 211, 153, 0.14);
  --red-a: rgba(251, 113, 133, 0.14);

  /* geometry */
  --r-xs: 8px;
  --r-sm: 11px;
  --r-md: 15px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* depth */
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.5);
  --sh-2: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
  --sh-3: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
  --glow-v: 0 0 0 1px rgba(109, 74, 255, 0.4), 0 12px 40px -14px rgba(109, 74, 255, 0.65);

  /* motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.4, 0, 0.2, 1);
  --t-1: 140ms var(--e-io);
  --t-2: 260ms var(--e-out);
  --t-3: 520ms var(--e-out);

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1240px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--ink-0);
  color: var(--tx);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--violet-deep);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--t-2);
}
.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(109, 74, 255, 0.4);
}

/* scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid transparent;
  background-clip: content-box;
  border-radius: 9px;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.26);
  background-clip: content-box;
}

/* ------------------------------------------------------- ambient canvas -- */
.amb {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.amb__grid {
  position: absolute;
  inset: -2px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 4%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 4%, #000 8%, transparent 72%);
}
.amb__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.amb__orb--a {
  width: 620px;
  height: 620px;
  top: -240px;
  left: -140px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.5), transparent 68%);
  animation: drift 26s var(--e-io) infinite alternate;
}
.amb__orb--b {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.34), transparent 68%);
  animation: drift 32s var(--e-io) 2s infinite alternate-reverse;
}
.amb__orb--c {
  width: 560px;
  height: 560px;
  bottom: 4%;
  left: 42%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.2), transparent 68%);
  animation: drift 38s var(--e-io) 1s infinite alternate;
}
.amb__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  top: 8%;
  background: linear-gradient(90deg, transparent, rgba(109, 74, 255, 0.5), transparent);
  opacity: 0.55;
  animation: scan 14s linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 40px, 0) scale(1.12);
  }
}
@keyframes scan {
  from {
    transform: translateY(-6vh);
  }
  to {
    transform: translateY(104vh);
  }
}

/* ------------------------------------------------------------- structure -- */
main,
.nav,
.foot {
  position: relative;
  z-index: 1;
}

.nav__inner,
.hero,
.metrics,
.ws,
.domains,
.fitur,
.faq,
.closing,
.foot__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-2);
}
.eyebrow {
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--inner-hi);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-a);
  animation: blink 2.4s var(--e-io) infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.section__head {
  max-width: 640px;
  margin-bottom: 34px;
}
.section__title {
  /* Same gradient-clipped-text trap as .rot — same measured padding budget. */
  margin: calc(12px - 0.3em) -0.12em -0.3em;
  padding: 0.3em 0.12em;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #b9bccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__lead {
  margin-top: 12px;
  color: var(--tx-2);
  font-size: 15px;
  max-width: 58ch;
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--glass);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--btn-bg);
  color: var(--tx);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: var(--inner-hi);
  overflow: hidden;
  transition: transform var(--t-1), border-color var(--t-1), background var(--t-1),
    box-shadow var(--t-1), color var(--t-1);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn:hover {
  border-color: var(--line-3);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 26px -12px rgba(109, 74, 255, 0.9);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.34) inset, 0 16px 38px -14px rgba(109, 74, 255, 1);
}
/* sheen sweep */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.42), transparent 70%);
  transform: translateX(-130%);
  transition: transform 620ms var(--e-out);
}
.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-2);
}
.btn--ghost:hover {
  color: var(--tx);
  background: rgba(255, 255, 255, 0.06);
}

.btn--xs {
  padding: 8px 13px;
  font-size: 12.5px;
}
.btn--sm {
  padding: 9px 14px;
  font-size: 12.5px;
}
.btn--lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--r-md);
}

.linkish {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tx-3);
  border-bottom: 1px dashed transparent;
  transition: color var(--t-1), border-color var(--t-1);
}
.linkish:hover {
  color: var(--violet-2);
  border-color: currentColor;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--glass);
  color: var(--tx-2);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--inner-hi);
  transition: color var(--t-1), border-color var(--t-1), background var(--t-1);
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}
.icon-btn:hover {
  color: var(--tx);
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.06);
}
.icon-btn--danger:hover {
  color: #fff;
  border-color: transparent;
  background: rgba(251, 113, 133, 0.9);
}
.icon-btn.is-busy svg {
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--glass);
  box-shadow: var(--inner-hi);
  cursor: pointer;
  user-select: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch__track {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
  transition: background var(--t-1);
}
.switch__thumb {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t-2);
}
.switch input:checked + .switch__track {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.switch input:checked + .switch__track .switch__thumb {
  transform: translateX(14px);
}
.switch__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx-2);
}

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.chip--soft {
  background: rgba(255, 255, 255, 0.05);
  color: var(--tx-2);
  border: 1px solid var(--line);
}
.chip--v {
  background: var(--violet-a);
  color: var(--violet-2);
  border: 1px solid rgba(109, 74, 255, 0.3);
}
.chip--g {
  background: var(--green-a);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.chip--c {
  background: var(--cyan-a);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6, 6, 10, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-2), background var(--t-2);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 6, 10, 0.82);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 7px 0;
  min-height: 44px;
}
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--violet-2);
}
.brand__mark svg {
  width: 100%;
  height: 100%;
}
.brand__type {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  gap: 5px;
}
.brand__type b {
  font-weight: 800;
}
.brand__type i {
  font-style: normal;
  font-weight: 500;
  color: var(--tx-3);
}
.brand__type--sm {
  font-size: 14px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--r-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--tx-2);
  transition: color var(--t-1), background var(--t-1);
}
.nav__links a:hover {
  color: var(--tx);
  background: rgba(255, 255, 255, 0.05);
}

.nav__side {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--tx-3);
}
.pulse i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-a);
}
.pulse b {
  color: var(--tx-2);
  font-weight: 600;
}
.pulse.is-down i {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-a);
}

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--tx-2);
  border-radius: 2px;
  transition: transform var(--t-2), opacity var(--t-1);
}
.nav__burger[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__burger[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(46px, 8vh, 96px);
  padding-bottom: clamp(40px, 7vh, 82px);
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.rot {
  display: block;
  position: relative;
  /* Gradient-clipped text: the glyphs are painted by the BACKGROUND, and a
     background only covers the padding box. Plus Jakarta Sans has a 1.258em
     font box, so with line-height 1.02 the real glyphs overflow each line box
     by 7.38px top AND bottom — that ink was invisible.
     A/B pixel test proves the size of the loss: the gradient render carried
     18,142 ink pixels against 21,623 for the same text in solid white, i.e.
     16% of the headline was missing. 0.14em padding left only 1.3px of slack
     (any font fallback or subpixel rounding re-clips it); 0.3em leaves
     ~11px and 0.12em horizontally covers the left hook of "j".
     Negative margins cancel the padding so nothing moves on screen. */
  padding: 0.3em 0.12em;
  margin: calc(6px - 0.3em) -0.12em -0.3em;
  background: linear-gradient(100deg, var(--violet-2), var(--cyan) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rot.is-out {
  animation: rotOut 260ms var(--e-io) forwards;
}
.rot.is-in {
  animation: rotIn 420ms var(--e-out) both;
}
@keyframes rotOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(4px);
  }
}
@keyframes rotIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
}

.lead {
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--tx-2);
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  list-style: none;
}
.trust li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--tx-3);
}
.trust li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: var(--violet);
  transform: rotate(45deg);
}

/* hero art */
.hero__art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.hero__glow {
  position: absolute;
  inset: 12% 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(109, 74, 255, 0.34), transparent 62%);
  filter: blur(46px);
}
.hero__svg {
  width: min(100%, 520px);
  height: auto;
  animation: floaty 9s var(--e-io) infinite alternate;
}
@keyframes floaty {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(10px);
  }
}

.preview {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(330px, 82%);
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 23, 34, 0.94), rgba(10, 11, 17, 0.94));
  box-shadow: var(--sh-3), var(--inner-hi);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: floaty 7s var(--e-io) 0.6s infinite alternate-reverse;
}
.preview__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.preview__dots {
  display: inline-flex;
  gap: 4px;
}
.preview__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.preview__host {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--tx-3);
}
.preview__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.preview__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s var(--e-io) infinite;
}
.preview__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.preview__avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, var(--violet), var(--cyan));
  flex: none;
}
.preview__meta {
  min-width: 0;
}
.preview__meta b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview__meta span {
  font-size: 10.5px;
  color: var(--tx-3);
}
.preview__body {
  margin: 12px 0;
  font-size: 11.5px;
  color: var(--tx-2);
  line-height: 1.55;
}
.preview__otp {
  display: flex;
  align-items: center;
  gap: 5px;
}
.preview__otp span {
  width: 25px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid rgba(109, 74, 255, 0.4);
  background: var(--violet-a);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  animation: otpPop 420ms var(--e-out) both;
}
.preview__otp span:nth-child(1) { animation-delay: 0.9s; }
.preview__otp span:nth-child(2) { animation-delay: 1s; }
.preview__otp span:nth-child(3) { animation-delay: 1.1s; }
.preview__otp span:nth-child(4) { animation-delay: 1.2s; }
.preview__otp span:nth-child(5) { animation-delay: 1.3s; }
.preview__otp span:nth-child(6) { animation-delay: 1.4s; }
@keyframes otpPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
}
.preview__otp em {
  margin-left: 8px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* -------------------------------------------------------------- metrics -- */
.metrics {
  padding-top: 12px;
  padding-bottom: clamp(40px, 6vh, 70px);
}
.metrics__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.metrics__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tx-3);
}
.metrics__note .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s var(--e-io) infinite;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color var(--t-2), transform var(--t-2);
}
.stat:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 74, 255, 0.7), transparent);
  opacity: 0.75;
}
.stat__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--tx-3);
}
.stat__value {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__sub {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--tx-3);
  max-width: 30ch;
}

/* ------------------------------------------------------------ workspace -- */
.ws {
  padding-bottom: clamp(48px, 8vh, 96px);
}
.ws__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ws__sub {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--tx-2);
  max-width: 56ch;
}
.ws__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ws__grid {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

/* --- rail --- */
.rail {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 84px;
}

.addr {
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(109, 74, 255, 0.14), rgba(34, 211, 238, 0.06) 60%, transparent),
    var(--ink-2);
  box-shadow: var(--inner-hi);
  position: relative;
  overflow: hidden;
}
.addr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(109, 74, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.addr__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--tx-3);
}
.addr__value {
  position: relative;
  margin: 9px 0 12px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  word-break: break-all;
  color: #fff;
}
.addr__value[data-empty='true'] {
  color: var(--tx-3);
  font-weight: 400;
}
.addr__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.addr__actions {
  position: relative;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rail__block {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-1);
  overflow: hidden;
}
.rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--tx-3);
}
.rail__count {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--tx-2);
}

.inbox-list {
  max-height: 232px;
  overflow-y: auto;
  padding: 6px;
  display: grid;
  gap: 3px;
}
.inbox {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--r-xs);
  text-align: left;
  color: var(--tx-2);
  transition: background var(--t-1), color var(--t-1);
}
.inbox:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--tx);
}
.inbox.is-active {
  background: var(--violet-a);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(109, 74, 255, 0.35);
}
.inbox__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex: none;
}
.inbox.is-active .inbox__dot {
  background: var(--cyan);
  opacity: 1;
  box-shadow: 0 0 0 3px var(--cyan-a);
}
.inbox__addr {
  font-family: var(--mono);
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox__badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tx-2);
  flex: none;
}
.inbox-list__empty {
  padding: 18px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--tx-3);
}

/* composer */
.composer {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-1);
  overflow: hidden;
}
.composer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--tx-3);
}
.composer__body {
  padding: 14px;
  display: grid;
  gap: 11px;
  transition: max-height var(--t-3), opacity var(--t-2), padding var(--t-2);
  max-height: 260px;
}
.composer.is-collapsed .composer__body {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  overflow: hidden;
}

/* Two rows: the name gets the full width, and the domain selector gets its own
   full-width row. A single 46%-wide <select> clipped long domains
   ("@delisto.cyou" rendered as "@delisto.cyo") — and native selects do not
   report scrollWidth, so no overflow audit can catch that. */
.field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ink-0);
  overflow: hidden;
  transition: border-color var(--t-1), box-shadow var(--t-1);
}
.field:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-a);
}
.field__at {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tx-3);
  padding: 10px 10px;
  border-right: 1px solid var(--line);
  line-height: 1.4;
}
.field input,
.field select {
  background: none;
  border: 0;
  outline: none;
  font-family: var(--mono);
  font-size: 12.5px;
  min-width: 0;
  width: 100%;
}
.field input {
  grid-column: 1 / -1;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.field input::placeholder {
  color: var(--tx-3);
  font-family: var(--font);
}
.field select {
  padding: 10px 10px;
  color: var(--tx-2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.field select option {
  background: var(--ink-2);
  color: var(--tx);
}
.composer__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.composer__hint {
  font-size: 11px;
  color: var(--tx-3);
  line-height: 1.5;
}
.composer__hint b {
  font-family: var(--mono);
  color: var(--tx-2);
}
.composer__hint.is-error {
  color: var(--red);
}

/* --- mail column --- */
.mail {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-1);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent);
}
.mail__who {
  min-width: 0;
}
.mail__who h3 {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.mail__count {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--tx-3);
}
.mail__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-list {
  flex: 1;
  min-height: 300px;
  padding: 10px;
  display: grid;
  gap: 7px;
  align-content: start;
}

/* message card */
.msg {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  transition: border-color var(--t-2), background var(--t-2);
  animation: msgIn 380ms var(--e-out) both;
}
.msg:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.msg.is-open {
  border-color: rgba(109, 74, 255, 0.42);
  background: rgba(109, 74, 255, 0.055);
  box-shadow: 0 14px 40px -24px rgba(109, 74, 255, 0.8);
}
@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.msg__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  text-align: left;
}
.msg__avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, #2c2f42, #161826);
  box-shadow: var(--inner-hi);
}
.msg__summary {
  min-width: 0;
  flex: 1;
}
.msg__from {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg__subject {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg__time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tx-3);
  flex: none;
}
.msg__chev {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--tx-3);
  transition: transform var(--t-2), color var(--t-1);
}
.msg.is-open .msg__chev {
  transform: rotate(180deg);
  color: var(--violet-2);
}

.msg__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-3);
}
.msg.is-open .msg__body {
  grid-template-rows: 1fr;
}
.msg__inner {
  overflow: hidden;
}
.msg__pad {
  padding: 0 15px 15px;
  display: grid;
  gap: 12px;
}

.otp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 11px 12px;
  border: 1px dashed rgba(34, 211, 238, 0.34);
  border-radius: var(--r-sm);
  background: rgba(34, 211, 238, 0.05);
}
.otp-bar__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-right: 2px;
}
.otp-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(6, 6, 10, 0.5);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  transition: background var(--t-1), transform var(--t-1);
}
.otp-code:hover {
  background: rgba(34, 211, 238, 0.14);
  transform: translateY(-1px);
}
.otp-code svg {
  width: 13px;
  height: 13px;
  color: var(--cyan);
}

.msg__content {
  font-size: 13px;
  color: var(--tx-2);
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 46vh;
  overflow: auto;
  padding-right: 4px;
}
.msg__frame {
  width: 100%;
  height: 340px;
  max-height: 46vh;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}
.msg__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* empty + loading states */
.state {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 54px 24px;
  text-align: center;
}
.state__art {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--violet-2);
  box-shadow: var(--inner-hi);
}
.state__art svg {
  width: 28px;
  height: 28px;
}
.state__title {
  font-size: 14.5px;
  font-weight: 700;
}
.state__sub {
  font-size: 12.5px;
  color: var(--tx-3);
  max-width: 34ch;
  line-height: 1.6;
}

.skel {
  height: 62px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.02) 70%
  );
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  from {
    background-position: 130% 0;
  }
  to {
    background-position: -30% 0;
  }
}

/* -------------------------------------------------------------- domains -- */
.domains {
  padding-bottom: clamp(48px, 8vh, 92px);
}
.domains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.dcard {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: transform var(--t-2), border-color var(--t-2), box-shadow var(--t-2);
}
.dcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(109, 74, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-2);
  pointer-events: none;
}
.dcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
}
.dcard:hover::before {
  opacity: 1;
}
.dcard__emblem {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}
.dcard__name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}
.dcard__tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.dcard__desc {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--tx-2);
  line-height: 1.65;
}
.dcard__foot {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dcard__use {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--violet-2);
  transition: color var(--t-1);
}

/* ---------------------------------------------------------------- pipe -- */
.pipe {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
  counter-reset: pipe;
}
.pipe__step {
  position: relative;
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.016);
}
.pipe__step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  width: 12px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.pipe__step:last-child::after {
  display: none;
}
.pipe__idx {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--violet-2);
}
.pipe__step b {
  display: block;
  margin: 10px 0 7px;
  font-size: 13.5px;
  font-weight: 700;
}
.pipe__step span:last-child {
  display: block;
  font-size: 12px;
  color: var(--tx-3);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ features -- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 14px;
}
.fcard {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transition: transform var(--t-2), border-color var(--t-2);
}
/* pointer-tracking spotlight */
.fcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 0%),
    rgba(109, 74, 255, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--t-2);
  pointer-events: none;
}
.fcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.fcard:hover::after {
  opacity: 1;
}
.fcard__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid var(--line-2);
  background: rgba(109, 74, 255, 0.1);
  color: var(--violet-2);
  box-shadow: var(--inner-hi);
}
.fcard__icon svg {
  width: 20px;
  height: 20px;
}
.fcard__title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fcard__text {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--tx-2);
  line-height: 1.68;
}

/* ----------------------------------------------------------------- faq -- */
.faq {
  padding-bottom: clamp(48px, 8vh, 92px);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--tx);
  transition: color var(--t-1);
}
.qa__q:hover {
  color: var(--violet-2);
}
.qa__idx {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tx-3);
  flex: none;
}
.qa__sign {
  margin-left: auto;
  width: 20px;
  height: 20px;
  position: relative;
  flex: none;
}
.qa__sign::before,
.qa__sign::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--tx-3);
  border-radius: 2px;
  transition: transform var(--t-2), background var(--t-1);
}
.qa__sign::after {
  transform: rotate(90deg);
}
.qa.is-open .qa__sign::after {
  transform: rotate(0);
}
.qa.is-open .qa__sign::before,
.qa.is-open .qa__sign::after {
  background: var(--violet-2);
}
.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-3);
}
.qa.is-open .qa__a {
  grid-template-rows: 1fr;
}
.qa__a > div {
  overflow: hidden;
}
.qa__a p {
  padding: 0 40px 22px 33px;
  font-size: 13.5px;
  color: var(--tx-2);
  line-height: 1.75;
  max-width: 76ch;
}

/* -------------------------------------------------------------- closing -- */
.closing {
  padding-bottom: clamp(48px, 8vh, 92px);
}
.closing__card {
  position: relative;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(109, 74, 255, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.closing__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}
.closing__card h2 {
  position: relative;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.closing__card p {
  position: relative;
  margin: 14px auto 26px;
  max-width: 48ch;
  color: var(--tx-2);
  font-size: 14px;
}
.closing__card .btn {
  position: relative;
}

/* -------------------------------------------------------------- footer -- */
.foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(109, 74, 255, 0.05));
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 40px 34px;
}
.foot__brand p {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--tx-3);
  max-width: 38ch;
  line-height: 1.65;
}
.foot__links {
  display: grid;
  gap: 9px;
}
.foot__links a {
  font-size: 12.5px;
  color: var(--tx-3);
  transition: color var(--t-1);
}
.foot__links a:hover {
  color: var(--violet-2);
}
.foot__legal {
  font-size: 11.5px;
  color: var(--tx-3);
  line-height: 1.75;
  text-align: right;
}
.foot__legal span {
  color: var(--violet-2);
  font-weight: 600;
}
/* Build stamp: lets anyone confirm at a glance which deploy the tab is
   actually rendering, so a stale stylesheet is immediately obvious. */
.foot__build {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--tx-3) !important;
  opacity: 0.75;
}
.foot__build::before {
  content: 'build ';
}

/* -------------------------------------------------------------- toasts -- */
.toasts {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  gap: 9px;
  justify-items: end;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  padding: 11px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(14, 16, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-3);
  font-size: 12.5px;
  font-weight: 500;
  animation: toastIn 320ms var(--e-out) both;
}
.toast i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.toast--err i {
  background: var(--red);
}
.toast--info i {
  background: var(--cyan);
}
.toast.is-out {
  animation: toastOut 220ms var(--e-io) forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.97);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(18px) scale(0.98);
  }
}

/* ink ripple on copy */
.ripple {
  position: fixed;
  z-index: 130;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  pointer-events: none;
  animation: ripple 620ms var(--e-out) forwards;
}
@keyframes ripple {
  to {
    transform: scale(7);
    opacity: 0;
  }
}

/* --------------------------------------------------------------- reveal -- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.js .reveal.in {
  animation: revealIn 700ms var(--e-out) both;
  animation-delay: calc(var(--d, 0) * 80ms);
}
/* Forced: content must be visible even when animations never run
   (background tab at load time, headless, rAF-less contexts). */
.js .reveal.forced {
  animation: none;
  opacity: 1;
  transform: none;
}
@keyframes revealIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal[data-delay='1'] { --d: 1; }
.reveal[data-delay='2'] { --d: 2; }
.reveal[data-delay='3'] { --d: 3; }
.reveal[data-delay='4'] { --d: 4; }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .hero__art {
    min-height: 380px;
    order: 2;
  }
  .hero__title {
    max-width: none;
  }
  .ws__grid {
    grid-template-columns: 1fr;
  }
  .rail {
    position: static;
  }
  .pipe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipe__step::after {
    display: none;
  }
  .foot__inner {
    grid-template-columns: 1fr 1fr;
  }
  .foot__legal {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 780px) {
  :root {
    --gutter: 18px;
  }
  .nav__links {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px var(--gutter) 20px;
    background: rgba(8, 8, 13, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-2), transform var(--t-2);
    margin-left: 0;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 12px 10px;
    font-size: 14.5px;
  }
  .nav__burger {
    display: flex;
  }
  .nav__side {
    margin-left: auto;
    gap: 8px;
  }
  .pulse {
    display: none;
  }
  .metrics__grid {
    grid-template-columns: 1fr;
  }
  .preview {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -34px;
    width: 100%;
  }
  .hero__art {
    display: block;
  }
  .ws__tools {
    width: 100%;
  }
  .ws__tools .switch,
  .ws__tools .icon-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .msg__time {
    display: none;
  }
  .qa__a p {
    padding: 0 12px 20px 33px;
  }
  .foot__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .hero__cta .btn {
    width: 100%;
  }
  .trust {
    gap: 6px 14px;
  }
  .pipe {
    grid-template-columns: 1fr;
  }
}

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