/* Saturnet High Tech Solutions — design system
   Dark-first, single stylesheet, no build step, no external assets. */

/* ---------- tokens ---------- */

:root {
  --bg: #060a13;
  --bg-elevated: #0b1120;
  --surface: #0f172a;
  --surface-2: #131d33;
  --border: #1e293b;
  --border-strong: #2b3a55;

  --text: #e6edf7;
  --text-muted: #93a4bd;
  --text-dim: #6b7d97;

  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-2: #818cf8;
  --accent-ink: #041019;

  --ring: 0 0 0 3px rgba(56, 189, 248, 0.35);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --wrap: 1160px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --shadow: 0 18px 50px -25px rgba(2, 6, 18, 0.9);
  --shadow-lift: 0 26px 60px -28px rgba(2, 6, 18, 1);
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  text-wrap: balance;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

@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;
  }
}

/* ---------- layout primitives ---------- */

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

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--alt {
  background: linear-gradient(180deg, transparent, var(--bg-elevated) 12%, var(--bg-elevated) 88%, transparent);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-head--center .eyebrow::before {
  display: none;
}

h1,
.h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.9rem);
}

h2,
.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3,
.h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  margin-top: 1.1rem;
}

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

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(56, 189, 248, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.arrow-link svg {
  transition: transform 0.16s ease;
}

.arrow-link:hover svg {
  transform: translateX(4px);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Without JS the mobile menu is expanded in the header, which is too tall to
   keep pinned to the top of a phone viewport. */
html:not(.js) .site-header {
  position: static;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(6, 10, 19, 0.92);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-height: 44px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__suffix {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-nav {
  margin-inline-start: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav__link:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.1);
}

.site-nav__link[aria-current="page"] {
  color: var(--text);
  background: rgba(56, 189, 248, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
}

.nav-toggle__bars::before {
  transform: translateY(-6px);
}

.nav-toggle__bars::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

/* The toggle only exists as a control once JS can drive it; the markup ships it
   hidden and site.js reveals it. */
.nav-toggle[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    margin-inline-start: auto;
  }

  /* Without JS the menu is simply part of the header and always visible. */
  .site-nav {
    flex-basis: 100%;
    margin: 0;
    border-top: 1px solid var(--border);
    padding: 0.6rem 0 1rem;
  }

  /* With JS it collapses behind the toggle instead. */
  .js .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-basis: auto;
    background: var(--bg-elevated);
    border: 0;
    border-block: 1px solid var(--border);
    padding: 0.75rem var(--gutter) 1.25rem;
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .site-nav__link {
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius);
    font-size: 1rem;
  }

  .header-actions .btn {
    display: none;
  }
}

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

.hero {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 34rem at 78% -8%, rgba(56, 189, 248, 0.2), transparent 62%),
    radial-gradient(46rem 30rem at 8% 4%, rgba(129, 140, 248, 0.16), transparent 60%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

.hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  margin-top: 1.4rem;
  max-width: 56ch;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 420px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.hero-stat__value {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* an unfilled figure must not blow the row apart */
.hero-stat__value .ph {
  font-size: 0.44em;
  vertical-align: middle;
}

.hero-stat__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* orbit visual */

.orbit {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 440px);
  margin-inline: auto;
}

.orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (prefers-reduced-motion: no-preference) {
  .orbit__spin {
    transform-origin: 50% 50%;
    animation: orbit-spin 42s linear infinite;
  }
  .orbit__spin--reverse {
    animation-duration: 66s;
    animation-direction: reverse;
  }
  .orbit__pulse {
    animation: orbit-pulse 4.5s ease-in-out infinite;
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card--link:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 1.2rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.card__title {
  font-size: 1.12rem;
  font-weight: 650;
}

.card__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

.card__footer {
  margin-top: 1.25rem;
}

/* numbered steps */

.step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 2px solid var(--border);
}

.step__num {
  position: absolute;
  top: -0.9rem;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding-inline: 0.5rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 650;
}

.step__body {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-top: 0.5rem;
}

/* ---------- service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.service-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 880px) {
  .service-block {
    grid-template-columns: 1fr;
  }
}

.service-block__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.service-block__body {
  color: var(--text-muted);
  margin-top: 1rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent);
}

/* Neutral enumeration for the legal pages. A checkmark would read as
   "included", which is the wrong claim next to a list of data collected. */

.plain-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.plain-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.65;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(50rem 26rem at 20% -20%, rgba(56, 189, 248, 0.16), transparent 65%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 72ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- prose ---------- */

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

.prose p {
  color: var(--text-muted);
}

/* ---------- fact table ---------- */

.facts {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.facts__row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.5fr) 1fr;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
}

.facts__row:first-child {
  border-top: none;
}

.facts__label {
  color: var(--text-dim);
}

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

@media (max-width: 520px) {
  .facts__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(40rem 20rem at 85% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  overflow: hidden;
  text-align: center;
}

.cta-band .lead {
  margin-inline: auto;
  max-width: 52ch;
}

.cta-band .btn-row {
  justify-content: center;
}

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width: 620px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field__hint {
  font-weight: 400;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.2rem, calc(100% - 0.85rem) 1.2rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #f87171;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox input {
  margin-top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form__note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form__status {
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.form__status:empty {
  display: none;
}

.form__status[data-state="ok"] {
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.form__status[data-state="error"] {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fca5a5;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
}

.contact-item {
  display: grid;
  gap: 0.15rem;
}

.contact-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-item__value {
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

a.contact-item__value:hover {
  color: var(--accent);
}

.notice {
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.1rem 1.25rem;
}

.notice__title {
  font-weight: 650;
  font-size: 0.98rem;
}

.notice__body {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: clamp(2.75rem, 6vw, 4rem) 1.75rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 40ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-list a,
.footer-list span {
  color: var(--text-muted);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--text-dim);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- touch targets ----------
   Inline links sit at their text height — around 16px, fine for a cursor and
   fiddly for a thumb. On coarse pointers they get vertical padding to reach a
   comfortable target without changing the desktop layout. */

@media (pointer: coarse) {
  .footer-list {
    gap: 0;
  }

  .footer-list a,
  .footer-bottom__links a,
  .breadcrumb a {
    display: inline-block;
    padding-block: 0.72rem;
  }

  .contact-item__value {
    display: inline-block;
    padding-block: 0.6rem;
  }

  .arrow-link {
    padding-block: 0.68rem;
  }
}

/* ---------- placeholder token ---------- */

.ph {
  display: inline-block;
  padding: 0.05em 0.5em;
  border-radius: 5px;
  border: 1px dashed rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.09);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 0.82em;
  letter-spacing: 0.02em;
}

/* ---------- reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* ---------- language picker (root page) ---------- */

.langpick {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
  background:
    radial-gradient(50rem 30rem at 50% 0%, rgba(56, 189, 248, 0.18), transparent 65%),
    var(--bg);
}

.langpick__mark {
  width: 68px;
  height: 68px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.langpick__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}
