/* graphyt.in — full-viewport hero */

:root {
  --paper: #FFFFFF;
  --ink: #111111;
  --ink-muted: #5C5955;
  --rule: #E4E2DD;
  --gutter: 20px;
  --reserve: 390px;   /* portrait: the height the text block needs below the scan */
  --ease: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Humant', ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, p { margin: 0; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
  overflow: hidden;
  background: var(--paper);
}

/* Background layer: the scan sits behind the text, its white ground melts into the page. */
.hero__media {
  transform-origin: 50% 30%;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Portrait: the scan fills the space above the text. */
.hero__stage {
  --stage: clamp(190px, calc((100vh - var(--reserve)) * 1.15), 116vw);
  --stage: clamp(190px, calc((100svh - var(--reserve)) * 1.15), 116vw);
  position: absolute;
  width: var(--stage);
  height: var(--stage);
  left: 50%;
  top: calc(var(--gutter) + 28px + clamp(0px, (100vh - 780px) / 2, 40px));
  top: calc(var(--gutter) + 28px + clamp(0px, (100svh - 780px) / 2, 40px));
  transform: translateX(-50%);
  /* The head sits inside 76% of the radius; beyond that the video's own white fades into the page. */
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 99%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 99%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--paper);
  z-index: 1;
  opacity: 1;
  transition: opacity 500ms linear;
}

/* The loop dissolve: a twin video waits hidden on frame 0 and fades in over the ending one. */
.hero__video.is-spare { opacity: 0; z-index: 0; transition: none; }
.hero__video.is-incoming { z-index: 2; }

.hero__top,
.hero__text { position: relative; z-index: 1; }

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand__mark { height: 28px; width: auto; flex: none; }
.brand__word { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1; }

/* ---------- sound toggle ---------- */

.sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 120ms var(--ease);
}
.sound[hidden] { display: none; }
.sound__glyph { width: 18px; height: 18px; flex: none; }
.sound__on { opacity: 0; transition: opacity 200ms var(--ease); }
.sound__off { opacity: 1; transition: opacity 200ms var(--ease); }
.sound[aria-pressed="true"] { border-color: var(--ink); }
.sound[aria-pressed="true"] .sound__on { opacity: 1; }
.sound[aria-pressed="true"] .sound__off { opacity: 0; }
@media (hover: hover) { .sound:hover { border-color: var(--ink); } }

/* ---------- text ---------- */

.hero__text {
  margin-top: auto;
  padding-top: 48px;
  max-width: 720px;
}

/* A soft white lift so the headline never sits on the scan's edge. */
.hero__text::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  top: 16px;
  bottom: calc(var(--gutter) * -1);
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper) 32px);
  pointer-events: none;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow > span { display: block; }
.eyebrow__dot { display: none !important; }

.headline {
  margin-top: 16px;
  font-weight: 700;
  font-size: clamp(2.5rem, 11vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}


/* ---------- pills ---------- */

.actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease);
}
.pill__glyph { width: 17px; height: 17px; flex: none; }
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--paper { background: var(--paper); color: var(--ink); border-color: var(--rule); }

@media (hover: hover) {
  .pill--ink:hover { background: var(--paper); color: var(--ink); }
  .pill--paper:hover { border-color: var(--ink); }
}

/* ---------- breakpoints ---------- */

/* Short phones: tighten the text so the scan keeps its size. */
@media (max-height: 720px) and (max-aspect-ratio: 1/1) {
  :root { --reserve: 340px; }
  .hero__text { padding-top: 32px; }
  .headline { font-size: clamp(2.25rem, 10vw, 5.5rem); }
  .actions { margin-top: 24px; }
  .pill { min-height: 48px; }
}

@media (min-width: 480px) {
  .actions { flex-direction: row; }
  .eyebrow > span { display: inline; }
  .eyebrow__dot { display: inline !important; }
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --reserve: 420px; }
  .brand__mark { height: 32px; }
  .brand__word { font-size: 1.25rem; }
}

/* Landscape: text on the left, the scan on the right, both vertically centred. */
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
  .hero__stage {
    --stage: min(90vh, 56vw);
    --stage: min(90svh, 56vw);
    left: calc(75vw - var(--stage) / 2);
    top: 50%;
    transform: translateY(-50%);
  }
  .hero__text {
    margin-block: auto;
    padding-top: 0;
    max-width: 44vw;
  }
  .hero__text::before { display: none; }
  .headline { font-size: clamp(2.75rem, 5.4vw, 5.5rem); }
}

@media (min-width: 1280px) {
  :root { --gutter: 64px; }
}

/* ---------- features ---------- */

html { scrollbar-color: #C9C6C1 var(--paper); }

.features { padding: 88px var(--gutter) 96px; }

/* The statement. The h2 is read by everyone; on wide screens a visual copy sits beside the scan. */
.features__lead,
.features__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.25rem, 8.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.features__lead > span,
.features__title > span { display: block; }
.features__lead > span:not(:last-child),
.features__title > span:not(:last-child) { color: #8C8883; }
.nw { white-space: nowrap; }
.lit { transition: none; }
.features__lead { max-width: 1240px; margin: 0 auto 32px; }
.features__title { display: none; }

.features__inner { max-width: 1240px; margin-inline: auto; }
.features__aside { margin-bottom: 40px; }

/* ---------- scan panel ---------- */

.scan { margin: 0; }
.scan__frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
}

.scan__canvas { display: block; width: 100%; height: 100%; }
/* A still slice stands in before the sequence loads, and for visitors without JavaScript. */
.scan__frame { background: url("media/slices/m024.webp?v=2") center / contain no-repeat; }

/* ---------- cards ---------- */

.features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature {
  padding: 26px 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 22px;
  background: var(--paper);
}

.feature__icon {
  --cut: var(--paper);
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  color: var(--ink);
  overflow: visible;
}

.feature__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.feature__text {
  margin: 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.feature--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.feature--ink .feature__icon { --cut: var(--ink); color: var(--paper); }
.feature--ink .feature__text { color: #C9C6C1; }

@media (min-width: 640px) {
  .features__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature:not(.feature--wide) { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .feature:not(.feature--wide) .feature__body { display: contents; }
  .feature--wide { grid-column: 1 / -1; }
  .feature--wide {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    align-items: center;
  }
  .feature--wide .feature__icon { margin-bottom: 0; width: 64px; height: 64px; }
  .feature--wide .feature__text { max-width: 60ch; }
}

@media (min-width: 768px) {
  .features { padding-block: 120px 128px; }
  .features__lead { margin-bottom: 48px; }
  .feature { padding: 30px 30px 32px; }
}

/* Wide screens without the scroll story: statement and scan pinned beside the grid. */
@media (min-width: 1100px) {
  .features__lead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .features__title { display: block; font-size: clamp(2.25rem, 3.4vw, 3.05rem); }
  .features__title > span { white-space: nowrap; }
  .features__inner {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
    column-gap: 72px;
    align-items: start;
  }
  .features__aside { position: sticky; top: 96px; margin: 0; }
  .features__aside .scan { margin-top: 36px; }
}

/* ---------- scroll story (switched on by app.js) ---------- */

.features__progress { display: none; }
.features__progress i { display: block; height: 3px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.features__progress i::after {
  content: ""; display: block; height: 100%;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(var(--fill, 0));
}

/* Version sentinel: app.js only enables the scroll story when this stylesheet is the matching one. */
.features__track { --story-css: 2; }

.features.is-story { padding: 0; }
.is-story .features__track { position: relative; }
.is-story .features__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.is-story .features__progress { display: grid; grid-template-columns: repeat(var(--segs, 6), 1fr); gap: 6px; }
.features.is-story .features__grid { position: relative; overflow: hidden; }
.features.is-story .features__grid::before,
.features.is-story .features__grid::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 20%;
  z-index: 50;
  pointer-events: none;
}
.features.is-story .features__grid::before { top: 0; background: linear-gradient(var(--paper) 22%, transparent); }
.features.is-story .features__grid::after { bottom: 0; background: linear-gradient(transparent, var(--paper) 78%); }
.is-story .feature { will-change: transform, opacity; transform-origin: center; }


/* Phones and tablets: the scan pinned on top, a stacked deck of cards beneath it. */
@media (max-width: 1099px) {
  .is-story .features__lead { margin: 0 auto; padding: 88px var(--gutter) 16px; }
  .is-story .features__pin { justify-content: flex-start; padding: max(14px, 3svh) var(--gutter) max(18px, 4svh); }
  .is-story .features__inner { width: 100%; max-width: 560px; height: 100%; display: flex; flex-direction: column; }
  .is-story .features__aside { margin: 0; display: flex; flex-direction: column; align-items: stretch; }
  .is-story .scan__frame { width: min(72vw, 34svh); margin-inline: auto; }
  .is-story .features__progress { width: 100%; margin-top: 12px; }
  .features.is-story .features__grid::before,
  .features.is-story .features__grid::after { display: none; }
  .is-story .features__aside { position: relative; z-index: 40; background: var(--paper); box-shadow: 0 14px 18px -8px var(--paper); }
  .features.is-story .features__grid {
    flex: 1; min-height: 0; margin-top: 8px;
    display: block; position: relative; overflow: visible;
    -webkit-mask-image: none; mask-image: none;
  }
  .features.is-story .feature {
    position: absolute; left: 0; right: 0; top: var(--deck-top, 0px);
    display: block; grid-row: auto;
    transform-origin: 50% 50%;
  }
  .features.is-story .feature > * { opacity: var(--content, 1); }
  .features.is-story .feature__body { display: block; }
  .features.is-story .feature--wide { display: block; }
  .features.is-story .feature--wide .feature__icon { width: 52px; height: 52px; margin-bottom: 22px; }
  .features.is-story .feature__icon { margin-bottom: 22px; }
}

/* Wide screens: statement and scrollable scan on the left, card pairs trading places on the right. */
@media (min-width: 1100px) {
  .is-story .features__pin { padding-inline: var(--gutter); }
  .is-story .features__inner { width: 100%; align-items: center; }
  .is-story .features__aside { position: static; }
  .is-story .features__aside .scan { margin-top: clamp(14px, 2.6vh, 30px); }
  .is-story .scan__frame { width: min(100%, min(58vh, 560px)); }
  .is-story .features__progress { margin-top: clamp(14px, 2.2vh, 22px); }
  .features.is-story .features__grid { height: calc(100vh - 2 * clamp(28px, 7vh, 88px)); height: calc(100svh - 2 * clamp(28px, 7vh, 88px)); display: flex; flex-direction: column; gap: 16px; }
  .features.is-story .feature {
    grid-row: auto; grid-template-rows: none;
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 30px; align-items: start;
    padding: 34px 38px 36px;
  }
  .features.is-story .feature__body { display: block; }
  .features.is-story .feature__icon { margin: 0; width: 64px; height: 64px; }
  .features.is-story .feature__title { font-size: 1.5rem; margin-bottom: 10px; }
  .features.is-story .feature__text { max-width: 52ch; font-size: 1.125rem; }
  .features.is-story .feature { flex: none; }
  .features.is-story .feature--wide { align-items: center; }
  .features.is-story .feature--wide .feature__icon { width: 64px; height: 64px; }
}

/* Shorter laptop screens: tighten the stage so statement, scan and cards all fit. */
@media (min-width: 1100px) and (max-height: 840px) {
  .is-story .features__title { font-size: clamp(1.875rem, min(3.4vw, 4.8vh), 3.05rem); }
  .is-story   .features.is-story .feature { padding: 22px 26px 24px; }
}

/* ---------- icon marks ---------- */

.feature__icon * { transform-box: fill-box; transform-origin: center; }
.i-think path { transform-box: view-box; transform-origin: 0 0; }
.feature__icon .k { fill: var(--cut); }
.feature__icon .ks { fill: none; stroke: var(--cut); stroke-linecap: round; stroke-linejoin: round; }
.feature__icon .is { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.feature__icon .g { stroke: var(--cut); stroke-width: 5px; paint-order: stroke; }

/* Resting poses are the finished state. Every loop starts and ends on that pose, so nothing
   jumps when a card scrolls into view, and motion only runs while the card is on screen. */
.i-keys .slash, .i-error .squig { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.i-correct .old { opacity: 0; }
.i-correct .strike { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.i-scan .sweep { opacity: 0; }
.i-context .l, .i-report .r { transform-origin: left center; }

.is-live .feature__icon * { animation-timing-function: cubic-bezier(.65, 0, .35, 1); animation-iteration-count: infinite; animation-fill-mode: both; }

/* Speak naturally, and the dictation half of the report mark: voice bars */
.is-live .i-speak .b, .is-live .i-report .w { animation-name: mark-voice; animation-duration: 1.1s; }
.is-live .i-speak .b:nth-of-type(2) { animation-delay: .28s; }
.is-live .i-speak .b:nth-of-type(3) { animation-delay: .12s; }
.is-live .i-speak .b:nth-of-type(4) { animation-delay: .4s; }
.is-live .i-speak .b:nth-of-type(5) { animation-delay: .2s; }
.is-live .i-report .w:nth-of-type(2) { animation-delay: .25s; }
.is-live .i-report .w:nth-of-type(3) { animation-delay: .5s; }
@keyframes mark-voice { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }

/* Never touch the keyboard: the slash erases from its start and redraws from its start.
   The dash pattern repeats every 2, so -2 is the resting pose again. */
.is-live .i-keys .slash { animation-name: mark-slash; animation-duration: 4s; }
@keyframes mark-slash { 0%, 38% { stroke-dashoffset: 0; opacity: 1; } 47% { opacity: 1; } 53%, 62% { stroke-dashoffset: -1; opacity: 0; } 64% { stroke-dashoffset: -1.14; opacity: 0; } 67% { stroke-dashoffset: -1.24; opacity: 1; } 84%, 100% { stroke-dashoffset: -2; opacity: 1; } }

/* Context and report lines clear, then build back line by line */
.is-live .i-context .l, .is-live .i-report .r { animation-name: mark-line; animation-duration: 4.2s; }
.is-live .i-context .l:nth-of-type(3) { animation-delay: .15s; }
.is-live .i-context .l:nth-of-type(4) { animation-delay: .3s; }
.is-live .i-report .r:nth-of-type(6) { animation-delay: .12s; }
.is-live .i-report .r:nth-of-type(7) { animation-delay: .24s; }
.is-live .i-report .r:nth-of-type(8) { animation-delay: .36s; }
.is-live .i-report .r:nth-of-type(9) { animation-delay: .48s; }
@keyframes mark-line { 0%, 42% { transform: scaleX(1); } 56%, 62% { transform: scaleX(0); } 80%, 100% { transform: scaleX(1); } }
.is-live .i-context .c2 { animation-name: mark-float; animation-duration: 4.2s; animation-delay: .15s; }
.is-live .i-context .c3 { animation-name: mark-float; animation-duration: 4.2s; animation-delay: .3s; }
@keyframes mark-float { 0%, 100% { transform: translate(0, 0); } 30%, 70% { transform: translate(2px, -2px); } }
.is-live .i-report .arrow { animation-name: mark-nudge; animation-duration: 1.6s; }
@keyframes mark-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2.5px); } }

/* It catches what you miss: the lens leaves the finding, sweeps back and finds it again */
.is-live .i-miss .lens { animation-name: mark-lens; animation-duration: 4.6s; }
.is-live .i-miss .spot { animation-name: mark-spot; animation-duration: 4.6s; }
@keyframes mark-lens { 0%, 36% { transform: translate(0, 0); } 50%, 58% { transform: translate(-10px, 0); } 82%, 100% { transform: translate(0, 0); } }
@keyframes mark-spot { 0%, 36% { transform: scale(1); } 42%, 80% { transform: scale(0); } 86% { transform: scale(1.5); } 92%, 100% { transform: scale(1); } }

/* Errors in real time: the underline and flag clear, the underline redraws, the flag pops */
.is-live .i-error .squig { animation-name: mark-squiggle; animation-duration: 4.4s; }
@keyframes mark-squiggle { 0%, 36% { stroke-dashoffset: 0; opacity: 1; } 45%, 62% { opacity: 0; } 53%, 62% { stroke-dashoffset: -1; } 64% { stroke-dashoffset: -1.14; opacity: 0; } 67% { stroke-dashoffset: -1.24; opacity: 1; } 84%, 100% { stroke-dashoffset: -2; opacity: 1; } }
.is-live .i-error .badge { animation-name: mark-badge; animation-duration: 4.4s; }
@keyframes mark-badge { 0%, 34% { transform: scale(1); opacity: 1; } 40%, 80% { transform: scale(0); opacity: 0; } 86% { transform: scale(1.12); opacity: 1; } 92%, 100% { transform: scale(1); opacity: 1; } }

/* Correct yourself: the corrected phrase rests; the old phrase returns, is struck,
   holds struck for a beat, slides out, and the correction slides back in */
.is-live .i-correct .new { animation-name: mark-new; animation-duration: 5.6s; }
.is-live .i-correct .old { animation-name: mark-old; animation-duration: 5.6s; }
.is-live .i-correct .strike { animation-name: mark-strike; animation-duration: 5.6s; }
@keyframes mark-new { 0%, 24% { opacity: 1; transform: translateX(0); } 30%, 75% { opacity: 0; transform: translateX(5px); } 86%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes mark-old { 0%, 28% { opacity: 0; transform: translateX(0); } 34%, 72% { opacity: 1; transform: translateX(0); } 80%, 100% { opacity: 0; transform: translateX(-5px); } }
@keyframes mark-strike { 0%, 40% { stroke-dashoffset: 1; } 52%, 100% { stroke-dashoffset: 0; } }

/* Templates: blocks clear, then snap back into the layout one after another */
.is-live .i-template .t { transform-origin: center; animation-name: mark-snap; animation-duration: 4.6s; }
.is-live .i-template .t:nth-of-type(3) { animation-delay: .1s; }
.is-live .i-template .t:nth-of-type(4) { animation-delay: .2s; }
.is-live .i-template .t:nth-of-type(5) { animation-delay: .3s; }
.is-live .i-template .t:nth-of-type(6) { animation-delay: .4s; }
@keyframes mark-snap { 0%, 44% { opacity: 1; transform: scale(1); } 54%, 60% { opacity: 0; transform: scale(1); } 61% { opacity: 0; transform: scale(.55); } 74%, 100% { opacity: 1; transform: scale(1); } }

/* Radiology: a scan line travels the brain, fading in and out inside the skull */
.is-live .i-scan .sweep { animation-name: mark-sweep; animation-duration: 2.8s; animation-direction: alternate; }
@keyframes mark-sweep { 0% { opacity: 0; transform: translateY(0); } 14%, 86% { opacity: 1; } 100% { opacity: 0; transform: translateY(30px); } }

/* Intelligence: the logo's three segments part and rejoin */
.is-live .i-think .seg { animation-name: mark-part; animation-duration: 3.2s; }
.is-live .i-think .s1 { --dx: 1.3px; --dy: -2.2px; }
.is-live .i-think .s2 { --dx: -2.5px; --dy: 0px; animation-delay: .12s; }
.is-live .i-think .s3 { --dx: 1.3px; --dy: 2.2px; animation-delay: .24s; }
@keyframes mark-part { 0%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(var(--dx), var(--dy)); } }

/* Data stays: the lock lifts open, holds, and drops shut with a small settle */
.is-live .i-vault .shackle { animation-name: mark-lock; animation-duration: 4.2s; }
.is-live .i-vault .led { animation-name: mark-led; animation-duration: 1.6s; }
.is-live .i-vault .led:nth-of-type(2) { animation-delay: .4s; }
.is-live .i-vault .led:nth-of-type(3) { animation-delay: .8s; }
.is-live .i-vault .led:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes mark-lock { 0%, 30% { transform: translateY(0); } 40%, 62% { transform: translateY(-5px); } 70% { transform: translateY(.8px); } 74%, 100% { transform: translateY(0); } }
@keyframes mark-led { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
  .is-live .feature__icon * { animation: none !important; }
}

/* ---------- close ---------- */

.close {
  padding: 28px var(--gutter) 40px;
}
.close__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.close .actions { margin-top: 0; width: 100%; }
@media (min-width: 480px) { .close .actions { width: auto; } }
