/* ═══════════════════════════════════════════════════════════════
   Lumofuse
   ═══════════════════════════════════════════════════════════════ */

:root {
  --base: #0a0a0c;
  --raise: #101013;
  --text: #f5f4f2;
  --muted: #6b6f76;
  /* Deep teal for solid fills; it is dark enough to need light text on top, so
     --accent-soft carries anything that has to read as text on --base. */
  --accent: #0e5f5c;
  --accent-hover: #15807b;
  --accent-soft: #3fc7bd;

  --hair: rgba(245, 244, 242, 0.09);
  --hair-2: rgba(245, 244, 242, 0.16);
  --film: rgba(245, 244, 242, 0.028);
  --accent-8: rgba(63, 199, 189, 0.08);
  --accent-18: rgba(63, 199, 189, 0.18);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Display is the same family held tight and heavy, the way Linear sets theirs. */
  --display: var(--sans);
  --display-wt: 600;
  --display-track: -0.028em;

  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  --wide: 76rem;
  --measure: 38rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --pill: 999px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain across the whole page, very low amplitude */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: var(--display-wt);
  letter-spacing: var(--display-track);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--accent);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-weight: 500;
  z-index: 300;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ── shared primitives ────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.25rem;
}

.eyebrow--muted {
  color: var(--muted);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section + .section {
  border-top: 1px solid var(--hair);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5.5vw, 4rem);
}

.section__head h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.section__head h2 em {
  font-style: normal;
  color: var(--accent-soft);
}

.section__head .lede {
  color: var(--muted);
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  max-width: var(--measure);
}

/* ── buttons ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  transition: transform 0.2s;
}

.btn--accent {
  background: var(--accent);
  color: var(--text);
}
.btn--accent:hover {
  background: var(--accent-hover);
}
.btn--accent:hover svg {
  transform: translate(2px, -2px);
}

.btn--ghost {
  background: rgba(245, 244, 242, 0.04);
  color: var(--text);
  border-color: var(--hair-2);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(245, 244, 242, 0.42);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* ── floating pill nav ────────────────────────────────────────── */

.navwrap {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Sits transparent over the hero, then picks up a surface once the page moves
   under it. Toggled from contact.js. */
.navwrap.is-stuck {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--hair);
}

.nav {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
  flex: none;
}

.wordmark__mark {
  width: 2.125rem;
  height: 2.125rem;
  flex: none;
  display: block;
  filter: drop-shadow(0 0 10px var(--accent-18));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav__links a {
  text-decoration: none;
  transition: color 0.18s;
}
.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  margin-left: auto;
  flex: none;
}
.nav__links + .nav__cta {
  margin-left: 0;
}

/* Weight and an underline instead of a filled pill, mirroring equyt's
   "Build with us!" treatment. */
.nav__pitch {
  flex: none;
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 2px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.nav__pitch em {
  font-style: italic;
}

.nav__pitch:hover {
  color: #6bd9d0;
  text-decoration-color: #6bd9d0;
}

.nav__links + .nav__pitch {
  margin-left: 0;
}

@media (max-width: 54rem) {
  .nav__links {
    display: none;
  }
  /* with the links gone the pitch has to carry itself to the right edge */
  .nav__links + .nav__pitch {
    margin-left: auto;
  }
}

/* ── hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  margin-top: -4rem;
  padding-top: clamp(8rem, 14vw, 10rem);
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
  display: flex;
  align-items: center;
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(52rem 38rem at 82% 28%, var(--accent-18), transparent 60%),
    radial-gradient(38rem 30rem at 100% 78%, var(--accent-8), transparent 65%),
    var(--base);
  background-size:
    130% 130%,
    130% 130%,
    100% 100%;
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    background-position:
      0% 0%,
      100% 100%,
      0 0;
  }
  to {
    background-position:
      12% 8%,
      88% 92%,
      0 0;
  }
}

.hero__shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 46rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 4.5rem);
  letter-spacing: -0.034em;
  line-height: 1.04;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 33rem;
  color: rgba(245, 244, 242, 0.62);
  font-size: clamp(1.0625rem, 1.9vw, 1.1875rem);
  line-height: 1.6;
}

.hero__actions {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── hero product mockup ──────────────────────────────────────── */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.mock {
  position: relative;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--hair-2);
  background: rgba(16, 16, 19, 0.92);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow:
    0 2.5rem 6rem -2rem rgba(0, 0, 0, 0.75),
    0 0 10rem -3rem var(--accent-18);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.018);
}

.mock__dots {
  display: flex;
  gap: 0.3125rem;
}

.mock__dots i {
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 50%;
  background: var(--hair-2);
}

/* real macOS traffic lights, so the chrome reads desktop rather than device */
.mock__bar > .mock__dots i:nth-child(1) { background: #ff5f57; }
.mock__bar > .mock__dots i:nth-child(2) { background: #febc2e; }
.mock__bar > .mock__dots i:nth-child(3) { background: #28c840; }

.mock__title {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mock__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: rgba(245, 244, 242, 0.55);
}

.mock__status i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0.5rem #4ade80;
  animation: mock-pulse 2.2s ease-in-out infinite;
}

@keyframes mock-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.mock__app {
  display: flex;
  align-items: stretch;
  min-height: 27rem;
}

.mock__rail {
  display: none;
  flex: 0 0 13rem;
  flex-direction: column;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--hair);
  background: rgba(0, 0, 0, 0.22);
}

.mock__practice {
  margin: 0 0 1rem;
  padding-inline: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.mock__nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mock__navitem {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  padding: 0.4375rem 0.5rem;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--muted);
}

.mock__navitem svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

.mock__navitem--on {
  background: var(--accent-8);
  color: var(--accent-soft);
}

.mock__rail-foot {
  margin: auto 0 0;
  padding: 0.75rem 0.5rem 0;
  border-top: 1px solid var(--hair);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(107, 111, 118, 0.85);
}

.mock__hw {
  display: block;
  color: rgba(245, 244, 242, 0.6);
}

.mock__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mock__head {
  padding: 1rem 1.125rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.mock__heading {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.mock__subheading {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--muted);
}

.mock__body {
  flex: 1 1 auto;
  padding: 0.875rem 1.125rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mock__row p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.mock__row--ask {
  align-self: flex-end;
  max-width: 85%;
  background: var(--film);
  border: 1px solid var(--hair);
  border-radius: var(--r-md) var(--r-md) 0.25rem var(--r-md);
  padding: 0.625rem 0.8125rem;
  color: rgba(245, 244, 242, 0.8);
}

.mock__row--ans {
  max-width: 92%;
  background: var(--accent-8);
  border: 1px solid var(--accent-18);
  border-radius: var(--r-md) var(--r-md) var(--r-md) 0.25rem;
  padding: 0.75rem 0.8125rem 0.6875rem;
  color: var(--text);
}

.mock__meta {
  margin-top: 0.5rem;
  padding-top: 0.4375rem;
  border-top: 1px solid var(--accent-18);
}

/* the grounding claim, shown as the actual sources rather than asserted */
.mock__meta--files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.mock__file {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--accent-18);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.6875rem;
  color: var(--accent-soft);
  white-space: nowrap;
}

.mock__file svg {
  width: 0.625rem;
  height: 0.72rem;
  flex: none;
}

.mock__composer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem 1rem;
}

.mock__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5625rem 0.8125rem;
  border: 1px solid var(--hair-2);
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.8125rem;
  color: rgba(107, 111, 118, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock__send {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
}

.mock__send svg {
  width: 0.875rem;
  height: 0.875rem;
}

.mock__cite {
  font-size: 0.6875rem;
  color: var(--accent-soft);
}

.mock__row--typing {
  padding-left: 0.25rem;
}

.mock__pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--pill);
  background: var(--accent-8);
  border: 1px solid var(--accent-18);
  color: var(--accent-soft);
  font-size: 0.6875rem;
  font-weight: 500;
  white-space: nowrap;
}

.mock__pill svg {
  width: 0.625rem;
  height: 0.625rem;
}

.mock__dots--typing i {
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--accent-soft);
  box-shadow: 0 0 0.5rem rgba(63, 199, 189, 0.45);
  animation: mock-bounce 1.1s ease-in-out infinite;
}

.mock__dots--typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.mock__dots--typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes mock-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-0.28rem);
    opacity: 1;
  }
}

/* The rail needs real width to be worth showing; below this the conversation
   takes the full window. */
@media (min-width: 56rem) {
  .mock__rail {
    display: flex;
  }
}

/* ── compatibility strip ──────────────────────────────────────── */

.compat {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.compat__title {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.compat__names {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: rgba(245, 244, 242, 0.82);
}

.compat__note {
  margin-top: 1.75rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ── comparison table ─────────────────────────────────────────── */

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--raise);
}

.compare {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.compare th,
.compare td {
  padding: 1.0625rem 1.375rem;
  vertical-align: top;
  border-bottom: 1px solid var(--hair);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare thead th {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 1rem;
}

.compare tbody th {
  font-weight: 400;
  color: var(--muted);
  width: 12rem;
}

.compare td {
  color: rgba(245, 244, 242, 0.72);
  width: 30%;
}

/* the owned column is the argument, so it carries the accent surface */
.compare .compare__mine {
  color: var(--text);
  background: var(--accent-8);
  border-left: 1px solid var(--accent-18);
  border-right: 1px solid var(--accent-18);
}

.compare thead .compare__mine {
  color: var(--accent-soft);
  border-top: 1px solid var(--accent-18);
  border-top-left-radius: var(--r-md);
  border-top-right-radius: var(--r-md);
}

.compare tbody tr:last-child .compare__mine {
  border-bottom: 1px solid var(--accent-18);
  border-bottom-left-radius: var(--r-md);
  border-bottom-right-radius: var(--r-md);
}

/* The owned column is marked as the answer: badge in the header, a tick per row. */
.compare__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.compare__brand img {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex: none;
}

.yes {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.yes__check {
  width: 0.9375rem;
  height: 0.9375rem;
  flex: none;
  margin-top: 0.22rem;
  color: var(--text);
}

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

/* meta strip along the bottom of the hero */
.metastrip {
  position: relative;
  border-top: 1px solid var(--hair);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.metastrip span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.metastrip span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.8;
}

/* ── three-column rule grid ───────────────────────────────────── */

.rulegrid {
  display: grid;
  gap: 0;
}

.rulegrid > * {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--hair);
}

@media (min-width: 52rem) {
  .rulegrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rulegrid > * {
    padding: 0 clamp(1.75rem, 3vw, 2.75rem);
    border-top: 0;
    border-left: 1px solid var(--hair);
  }
  .rulegrid > *:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .rulegrid > *:last-child {
    padding-right: 0;
  }
}

.rulegrid h3 {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.rulegrid p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ── panels ───────────────────────────────────────────────────── */

.panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--hair);
  background: linear-gradient(170deg, var(--film) 0%, rgba(245, 244, 242, 0.008) 48%, transparent 100%),
    var(--raise);
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
}

/* single hairline of accent color along the top edge */
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-18), transparent);
}

.panel--plain::before {
  display: none;
}

.panelgrid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .panelgrid--two {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── task list inside a panel ─────────────────────────────────── */

.tasks {
  display: grid;
  gap: 0;
}

@media (min-width: 46rem) {
  .tasks {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* Icon in a tinted tile, sitting above the heading. */
.ico {
  width: 2.375rem;
  height: 2.375rem;
  margin-bottom: 0.9375rem;
  border-radius: 10px;
  border: 1px solid var(--accent-18);
  background: var(--accent-8);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico svg {
  width: 1.1875rem;
  height: 1.1875rem;
  display: block;
}

.task {
  padding-block: 1.4rem;
  border-top: 1px solid var(--hair);
}

.task:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 46rem) {
  .task:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }
}

.task h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.task p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ── numbered reason rows ─────────────────────────────────────── */

.rows {
  border-top: 1px solid var(--hair);
}

.row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1rem;
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--hair);
}

@media (min-width: 52rem) {
  .row {
    grid-template-columns: 3.5rem 20rem 1fr;
    gap: 0 2.5rem;
    align-items: baseline;
  }
}

.row__n {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
  padding-top: 0.35rem;
}

.row h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.4;
}

.row p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34rem;
}

@media (min-width: 52rem) {
  .row p {
    margin-top: 0;
  }
}

/* ── plain tick list ──────────────────────────────────────────── */

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 1.75rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--hair);
  color: rgba(245, 244, 242, 0.82);
  font-size: 0.9375rem;
}

.ticks li:first-child {
  border-top: 0;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.625rem;
  height: 1px;
  background: var(--accent-soft);
}

/* ── note ─────────────────────────────────────────────────────── */

.note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--accent-18);
  background: rgba(63, 199, 189, 0.025);
}

.note p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.note strong {
  color: var(--text);
  font-weight: 500;
}

.note a {
  color: var(--accent-soft);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* A note carrying an icon alongside the text rather than above it. */
.note--lead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.note__ico {
  flex: none;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 10px;
  border: 1px solid var(--accent-18);
  background: var(--accent-8);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.note__ico svg {
  width: 1.1875rem;
  height: 1.1875rem;
  display: block;
}

/* ── prose ────────────────────────────────────────────────────── */

.prose {
  max-width: var(--measure);
  color: var(--muted);
}

.prose p + p {
  margin-top: 1.25rem;
}

/* ── contact ──────────────────────────────────────────────────── */

.contact {
  display: grid;
  gap: 1rem;
}

@media (min-width: 58rem) {
  .contact {
    grid-template-columns: 1fr 1.25fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.contact__aside h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact__aside p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  font-size: 0.875rem;
  color: var(--muted);
}

.contact__meta a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--hair-2);
}
.contact__meta a:hover {
  border-bottom-color: var(--accent-soft);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  color: rgba(245, 244, 242, 0.88);
}

.field .optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(10, 10, 12, 0.6);
  color: var(--text);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  font-family: var(--sans);
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  line-height: 1.5;
  transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: rgba(63, 199, 189, 0.045);
  box-shadow: 0 0 0 3px rgba(63, 199, 189, 0.1);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #e0705c;
}

.fieldrow {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 34rem) {
  .fieldrow {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form__turnstile {
  margin-bottom: 1.25rem;
  min-height: 65px;
}

.form__status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.form__status[data-state="error"] {
  color: #f0907e;
}
.form__status[data-state="ok"] {
  color: var(--accent-soft);
}

.form__fine {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ── footer ───────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--hair);
  padding-block: 2.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
}

.footer__about {
  max-width: 26rem;
}

.footer__about p {
  margin-top: 1rem;
  line-height: 1.65;
}

.footer__place {
  color: rgba(107, 111, 118, 0.8);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--text);
  text-decoration: none;
}

.footer__brand .wordmark__mark {
  width: 1.75rem;
  height: 1.75rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
}

.footer__coltitle {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 244, 242, 0.55);
}

.footer__col a {
  text-decoration: none;
  transition: color 0.18s;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  border-top: 1px solid var(--hair);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__fine {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(107, 111, 118, 0.75);
  max-width: 54rem;
}

/* ── scroll reveal ────────────────────────────────────────────── */

/* Only hide reveal targets when scripting is confirmed available, so a JS
   failure leaves the page fully readable rather than blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── small screens ────────────────────────────────────────────── */

@media (max-width: 34rem) {
  .hero__actions .btn {
    width: 100%;
  }
  .footer__links {
    gap: 2rem;
  }
}
