/* ---------- Self-hosted variable fonts (no third-party requests) ---------- */
/* Outfit and JetBrains Mono, SIL Open Font License 1.1, latin + latin-ext only. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Nullpointer Labs LLC — nullpointer.uk
   Single stylesheet for every page (EN + DE).
   No build step: plain CSS, custom properties, no framework.
   ============================================================ */

:root {
  --navy-950: #04102a;
  --navy-900: #061634;
  --navy-850: #081c40;
  --navy-800: #0b2450;
  --navy-700: #123165;
  --line: rgba(120, 170, 255, 0.14);
  --line-strong: rgba(120, 170, 255, 0.3);

  --blue: #2b7ae0;
  --blue-light: #5ba3f5;
  --cyan: #38d3ff;

  --fg: #eaf2ff;
  --fg-soft: #b3c6e6;
  --fg-muted: #7d95bd;

  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --pad: clamp(1.15rem, 4vw, 3.5rem);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--navy-950);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background: soft radial glows + faint grid. Fixed, so it never scrolls away. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(43, 122, 224, 0.28), transparent 62%),
    radial-gradient(760px 560px at 92% 4%, rgba(56, 211, 255, 0.14), transparent 60%),
    radial-gradient(1100px 800px at 50% 108%, rgba(18, 49, 101, 0.6), transparent 65%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 55%, #030b1d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 8px 0;
  z-index: 999;
}

.skip:focus {
  left: 0;
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
  /* German compounds ("Nebenkostenabrechnung") are longer than a phone is wide */
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--fg-soft);
  font-weight: 300;
  max-width: 62ch;
}

.grad {
  background: linear-gradient(96deg, #7ec8ff 10%, var(--cyan) 55%, #b6e8ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Nav ---------- */

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

.nav.scrolled {
  background: rgba(4, 14, 36, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--fg);
}

.brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.brand span {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}

.lang {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.lang:hover {
  border-color: var(--line-strong);
  color: var(--fg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* On a phone the wordmark makes the header CTA overflow — the mark carries it. */
@media (max-width: 620px) {
  .nav .brand {
    font-size: 0;
    gap: 0;
  }

  .nav .brand img {
    height: 36px;
    width: 36px;
  }

  .nav .btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.6rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, #1d63c9 55%, #1750ad 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(43, 122, 224, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 38px rgba(43, 122, 224, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}

/* ---------- Sections ---------- */

section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

/* Concentric rings, echoing the logo mark. Decorative only. */
.hero-rings {
  position: absolute;
  right: -6%;
  top: 42%;
  transform: translateY(-50%);
  width: 54vw;
  height: 54vw;
  max-width: 680px;
  max-height: 680px;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.hero-rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(150, 200, 255, 0.22);
  transform: translate(-50%, -50%);
  animation: spin linear infinite;
}

.hero-rings i:nth-child(1) { width: 100%; height: 100%; animation-duration: 44s; }
.hero-rings i:nth-child(2) { width: 76%; height: 76%; animation-duration: 30s; animation-direction: reverse; }
.hero-rings i:nth-child(3) { width: 52%; height: 52%; animation-duration: 20s; }
.hero-rings i:nth-child(4) { width: 28%; height: 28%; animation-duration: 13s; animation-direction: reverse; border-color: rgba(56, 211, 255, 0.35); }

/* the dashes give the rotation something to be visible on */
.hero-rings i:nth-child(2),
.hero-rings i:nth-child(4) {
  border-style: dashed;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 900px) {
  .hero-rings { display: none; }
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  max-width: 16ch;
  margin-bottom: 1.6rem;
}

.hero .lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  margin-bottom: 1.7rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18);
}

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.stat {
  background: rgba(6, 22, 52, 0.72);
  padding: 1.25rem 1.35rem;
}

.stat b {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.products {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.product {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.6vw, 3rem);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 88% 0%, rgba(56, 211, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.product:hover {
  border-color: var(--line-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.product:hover::before {
  opacity: 1;
}

.product > * {
  position: relative;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.1rem;
}

.product-head img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.product-head h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
}

.product-head p {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.product p.desc {
  color: var(--fg-soft);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.ticks {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--fg-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.chip:hover {
  border-color: var(--line-strong);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.chip.soon {
  opacity: 0.45;
  pointer-events: none;
}

/* phone frame */
.phone {
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #2c3f63, #101c34 60%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  max-width: 280px;
  margin-inline: auto;
}

.phone img {
  border-radius: 23px;
  width: 100%;
}

.phone-pair {
  display: flex;
  justify-content: center;
  gap: 0;
}

.phone-pair .phone:first-child {
  transform: rotate(-4deg) translateX(9%);
  z-index: 1;
  max-width: 220px;
}

.phone-pair .phone:last-child {
  transform: rotate(4deg) translateX(-9%);
  max-width: 220px;
}

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

  .product-visual {
    order: -1;
  }
}

/* ---------- Feature grid ---------- */

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(56, 211, 255, 0.18), rgba(43, 122, 224, 0.22));
  border: 1px solid var(--line-strong);
}

.ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: rgba(6, 22, 52, 0.7);
  padding: 1.7rem 1.5rem;
}

.step b {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--blue-light);
  display: block;
  margin-bottom: 0.7rem;
}

.step h3 {
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ---------- Tech tags ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--fg-soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
}

/* ---------- Split (about) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: start;
}

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

.prose p {
  color: var(--fg-soft);
  font-weight: 300;
  margin-bottom: 1rem;
}

.prose p strong {
  color: #fff;
  font-weight: 600;
}

.factlist {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.factlist li {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  background: rgba(6, 22, 52, 0.6);
}

.factlist li:last-child {
  border-bottom: 0;
}

.factlist dt,
.factlist .k {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

.factlist .v {
  text-align: right;
  color: var(--fg);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 54rem;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  transition: border-color 0.25s, background 0.25s;
}

details[open] {
  border-color: var(--line-strong);
  background: var(--card-hover);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--blue-light);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

details[open] summary::after {
  content: "\2013";
}

details p {
  margin-top: 0.75rem;
  color: var(--fg-soft);
  font-size: 0.92rem;
  font-weight: 300;
}

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

.cta {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(43, 122, 224, 0.24), transparent 70%),
    rgba(255, 255, 255, 0.03);
}

.cta h2 {
  margin-bottom: 0.9rem;
}

.cta .lead {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.mailbtn {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.foot-grid ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.foot-grid a {
  font-size: 0.88rem;
  color: var(--fg-soft);
}

.foot-grid a:hover {
  color: #fff;
}

.foot-about p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 34ch;
  margin-top: 1rem;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

/* ---------- Legal pages ---------- */

.legal-wrap {
  max-width: 52rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 3rem;
}

.legal-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.6rem;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.7rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--fg-soft);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.legal-wrap ul {
  padding-left: 1.2rem;
}

.legal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  white-space: pre-wrap;
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.75;
}

/* Name and address stored reversed in the HTML, flipped back by CSS —
   keeps them out of naive address harvesters without hiding them from people. */
.rev {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
  user-select: all;
}

/* ---------- Reveal on scroll ----------
   Scoped to html.js, which site.js sets as its very first action. Without
   JavaScript (or if the script fails to load) nothing is ever hidden. */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.7, 0.3, 1), transform 0.65s cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-rings i {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .product:hover {
    transform: none;
  }
}
