/* Closetry website – Atelier design (design/design_handoff_closetry_atelier).
   Warm paper, ink primaries, tobacco accent used sparingly, Newsreader display + Hanken Grotesk text.
   No JavaScript, no external resources; dark mode follows prefers-color-scheme. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/newsreader-400.1e5fb8204a.woff2) format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/newsreader-400-italic.718967cb9b.woff2) format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/hanken-400.0d07a6c6d2.woff2) format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/hanken-500.7a3fe406e6.woff2) format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/hanken-600.862efe3258.woff2) format('woff2');
}

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;
  --bg: #f5f2ec;
  --surface: #fcfbf8;
  --tile: #ece7de;
  --text: #1f1b16;
  --text-2: #6b6258;
  --hairline: #e2dcd2;
  --border: #cfc7bb;
  --accent: #8a5a2b;
  --primary: #1f1b16;
  --on-primary: #f5f2ec;
  --tag-fill: #f0e4d6;
  --tag-text: #6e461f;
  --chevron: #a89e91;
  --band: #1f1b16;
  --band-text: #f5f2ec;
  --band-text-2: #bdb3a6;
  --band-line: #3a342d;
  --band-accent: #d3a26b;
  --bezel: #1f1b16;
  --shadow-phone:
    0 22px 40px -22px rgba(60, 40, 20, 0.45), 0 50px 90px -50px rgba(60, 40, 20, 0.35);
  --shadow-soft: 0 6px 20px rgba(60, 40, 20, 0.08);

  --display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* "wie Stoff": soft ease-out, no overshoot */
  --dur: 380ms;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130f;
    --surface: #1e1b17;
    --tile: #28241f;
    --text: #f1ece4;
    --text-2: #a89e91;
    --hairline: #2f2a24;
    --border: #4a433a;
    --accent: #d3a26b;
    --primary: #f1ece4;
    --on-primary: #15130f;
    --tag-fill: #3a2c1e;
    --tag-text: #e3be8e;
    --chevron: #7e7568;
    --band: #1e1b17;
    --band-text: #f1ece4;
    --band-text-2: #a89e91;
    --band-line: #2f2a24;
    --band-accent: #d3a26b;
    --bezel: #0f0e0c;
    --shadow-phone: 0 0 0 1px #2f2a24, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    --shadow-soft: inset 0 0 0 1px #2f2a24;
  }
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
::selection {
  background: var(--tag-fill);
  color: var(--tag-text);
}
:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
strong {
  font-weight: 600;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip:focus {
  transform: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ─── Type ───────────────────────────────────────────────────────────────── */
.overline {
  margin: 0 0 0.9rem;
  font: 600 0.75rem/1.33 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.display-1,
.display-2,
.title-1,
.title-2,
.hero-title,
.hero-sub,
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
}
.display-1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.2vw, 3.875rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-2 {
  margin: 0;
  font-size: clamp(2.125rem, 4.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.title-1 {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.23;
  letter-spacing: -0.005em;
}
.title-2 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.27;
}
.lead {
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
  text-wrap: pretty;
}

/* ─── Buttons & badges ───────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.4rem;
  border-radius: 12px;
  font: 600 1.0625rem/1.3 var(--sans);
  text-decoration: none;
  transition:
    transform 120ms var(--ease),
    background-color 240ms var(--ease),
    border-color 240ms var(--ease);
}
.button:active {
  transform: scale(0.97);
}
.button-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.button-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, var(--bg));
}
.button-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.button-secondary:hover {
  border-color: var(--text-2);
}
.button .icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  height: 30px;
  padding: 0 0.9rem 0 0.75rem;
  border-radius: 15px;
  background: var(--tag-fill);
  color: var(--tag-text);
  font: 600 0.8125rem/1 var(--sans);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Header & footer ────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}
.wordmark {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}
a.wordmark {
  padding-block: 0.6rem;
}
.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a,
.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
  padding-block: 0.75rem;
  transition: color 240ms var(--ease);
}
.site-nav a:hover,
.footer-nav a:hover,
.site-nav a[aria-current],
.footer-nav a[aria-current] {
  color: var(--text);
}
@media (max-width: 26em) {
  .site-nav a[href^='#'] {
    display: none;
  }
}

.site-footer {
  margin-top: clamp(4rem, 10vw, 7rem);
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: grid;
  gap: 1.25rem 2rem;
  padding-block: 2.5rem 3rem;
  grid-template-columns: 1fr;
  align-items: baseline;
}
.footer-mark {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
}
.footer-claim {
  font: italic 400 1.0625rem/1.3 var(--display);
  color: var(--text-2);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  font-size: 0.9375rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}
@media (min-width: 56em) {
  .footer-inner {
    grid-template-columns: 1fr auto;
  }
  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* ─── Entrance motion (CSS only, off with reduced motion) ───────────────── */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(var(--r, 0deg));
  }
  to {
    opacity: 1;
    transform: rotate(var(--r, 0deg));
  }
}
.rise {
  animation: rise 420ms var(--ease) both;
}
.d1 {
  animation-delay: 40ms;
}
.d2 {
  animation-delay: 100ms;
}
.d3 {
  animation-delay: 160ms;
}
.d4 {
  animation-delay: 220ms;
}
.d5 {
  animation-delay: 280ms;
}

/* ─── Home: hero ─────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.hero-copy {
  max-width: 36rem;
}
.hero-title {
  margin: 1.4rem 0 0;
  font-size: clamp(4.25rem, 13vw, 8.75rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.hero-sub {
  margin: 0.9rem 0 1.4rem;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  line-height: 1.2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
}
.hero-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-2);
  max-width: 17rem;
  line-height: 1.45;
}

.hero-phones {
  --w1: 232px;
  --w2: 184px;
  position: relative;
  height: calc(var(--w1) * 2.22 + 1.5rem);
}
.phone {
  --w: var(--w2);
  position: absolute;
  top: 3rem;
  margin: 0;
  width: var(--w);
  padding: calc(var(--w) * 0.028);
  border-radius: calc(var(--w) * 0.16);
  background: var(--bezel);
  box-shadow: var(--shadow-phone);
  animation: settle 620ms var(--ease) both;
}
.phone img {
  width: 100%;
  border-radius: calc(var(--w) * 0.135);
  background: var(--tile);
}
.phone-1 {
  --w: var(--w1);
  top: 0;
  left: 50%;
  margin-left: calc(var(--w1) / -2);
  z-index: 2;
  animation-delay: 180ms;
}
.phone-2 {
  --r: -5deg;
  right: calc(50% + var(--w1) * 0.2);
  transform: rotate(-5deg);
  transform-origin: 100% 100%;
  animation-delay: 320ms;
}
.phone-3 {
  --r: 5deg;
  left: calc(50% + var(--w1) * 0.2);
  transform: rotate(5deg);
  transform-origin: 0 100%;
  animation-delay: 400ms;
}

@media (min-width: 64em) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
  .hero-phones {
    --w1: 288px;
    --w2: 222px;
  }
}

/* ─── Home: sections ─────────────────────────────────────────────────────── */
.section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-intro {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: var(--text-2);
}
#funktionen {
  border-top: 1px solid var(--hairline);
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
  counter-reset: feature;
}
@media (min-width: 48em) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.feature {
  counter-increment: feature;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.feature::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 1.6rem;
  right: 0;
  font: italic 400 1rem/1 var(--display);
  color: var(--text-2);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 1.25rem;
}
.feature-icon .icon {
  width: 24px;
  height: 24px;
}
.feature .title-2 {
  margin-bottom: 0.6rem;
}
.feature p {
  margin: 0;
  color: var(--text-2);
  max-width: 32em;
}

.privacy {
  background: var(--band);
  color: var(--band-text);
}
.privacy .overline {
  color: var(--band-accent);
}
.privacy-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}
@media (min-width: 60em) {
  .privacy-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}
.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.privacy-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.9rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--band-line);
  color: var(--band-text-2);
}
.privacy-list li:last-child {
  border-bottom: 1px solid var(--band-line);
}
.privacy-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--band-text);
  font-weight: 600;
}
.privacy-icon {
  color: var(--band-accent);
  padding-top: 0.1rem;
}
.privacy-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.closing {
  text-align: center;
  padding-bottom: 0;
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing .display-2 {
  margin-top: 1.5rem;
}
.closing .section-intro {
  max-width: 30rem;
  margin-bottom: 2rem;
}
.testflight-pending {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0.6rem 1.4rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 500;
}
.closing-links {
  margin: 2rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.closing-links a {
  color: var(--text-2);
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}
.closing-links a:hover {
  color: var(--text);
}

/* ─── Long-form documents ────────────────────────────────────────────────── */
.legal-grid {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.legal-grid.has-toc {
  display: grid;
  gap: 2rem;
}
@media (min-width: 64em) {
  .legal-grid.has-toc {
    grid-template-columns: 15rem minmax(0, 44rem);
    gap: clamp(3rem, 6vw, 6rem);
    justify-content: center;
  }
  .legal-grid:not(.has-toc) .doc {
    max-width: 44rem;
    margin-inline: auto;
  }
}
@media (max-width: 63.99em) {
  .legal-grid .doc {
    max-width: 44rem;
  }
}

.doc-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--hairline);
}
.doc-head .lead {
  margin-top: 1.1rem;
}
.doc-meta {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.support .doc-head {
  border-bottom: 0;
  padding-bottom: 0;
}
.support .narrow,
.notfound-inner {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.65;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
@media (min-width: 48em) {
  .prose {
    font-size: 1.125rem;
  }
}
.prose > * {
  max-width: 68ch;
}
.prose h2 {
  margin: 3.25rem 0 1rem;
  font: 400 clamp(1.5rem, 3vw, 1.875rem)/1.2 var(--display);
  letter-spacing: -0.01em;
  scroll-margin-top: 1.5rem;
  hyphens: manual;
}
.prose .doc-head + h2,
.prose .toc-mobile + h2 {
  margin-top: 0;
}
.prose h3 {
  margin: 2.25rem 0 0.6rem;
  font: 600 1.0625rem/1.4 var(--sans);
  scroll-margin-top: 1.5rem;
}
.h-num {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.prose h3 .h-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  margin-right: 0.15em;
}
.prose p {
  margin: 0 0 1.1em;
}
.prose ul,
.prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}
.prose ul {
  list-style: none;
  padding-left: 1.25em;
}
.prose li {
  margin-bottom: 0.45em;
  padding-left: 0.1em;
}
.prose ul > li {
  position: relative;
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: -1.05em;
  top: 0.82em;
  width: 0.55em;
  height: 1px;
  background: var(--accent);
}
.prose a,
.faq-body a,
.contact-value a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: color 240ms var(--ease);
  overflow-wrap: anywhere;
}
.prose a:hover,
.faq-body a:hover {
  color: var(--accent);
}
.to-top {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9375rem;
}
.to-top a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-2);
  padding-block: 0.6rem;
}
.to-top a:hover {
  color: var(--text);
}

/* Table of contents: sticky column on wide screens, collapsible on small ones */
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.toc-list a {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.25rem;
  padding: 0.45rem 0;
  color: var(--text-2);
  text-decoration: none;
  transition: color 240ms var(--ease);
}
.toc-list a:hover {
  color: var(--text);
}
.toc-list .h-num {
  font-size: 1.0625rem;
  line-height: 1.2;
}
.toc-desktop {
  display: none;
}
.toc-mobile {
  margin: 0 0 2.5rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}
.toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.toc-mobile summary::-webkit-details-marker {
  display: none;
}
.toc-mobile summary .icon {
  color: var(--chevron);
  transition: transform var(--dur) var(--ease);
}
.toc-mobile[open] summary .icon {
  transform: rotate(180deg);
}
.toc-mobile nav {
  border-top: 1px solid var(--hairline);
}
.toc-mobile .toc-list {
  padding: 0.25rem 1rem 0.75rem;
}
@media (min-width: 64em) {
  .toc-mobile {
    display: none;
  }
  .toc-desktop {
    display: block;
    align-self: start;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    padding-top: 0.35rem;
  }
}

/* ─── Support ────────────────────────────────────────────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 clamp(3rem, 6vw, 4rem);
  padding: 1.25rem 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}
.contact-card .feature-icon {
  margin: 0;
}
.contact-label {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.contact-value {
  margin: 0.15rem 0 0;
  font: 400 clamp(1.25rem, 3.5vw, 1.5rem)/1.2 var(--display);
}
.support .title-1 {
  margin-bottom: 1rem;
}

.faq {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}
.faq details + details {
  border-top: 1px solid var(--hairline);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 1.1rem 0.9rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 1.4px solid var(--chevron);
  border-bottom: 1.4px solid var(--chevron);
  transform: rotate(45deg);
  transition:
    transform var(--dur) var(--ease),
    margin var(--dur) var(--ease);
}
.faq details[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.faq summary:hover {
  color: var(--accent);
}
.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-2);
  line-height: 1.6;
}
.faq-body p {
  margin: 0 0 0.8em;
}
.faq-body p:last-child {
  margin-bottom: 0;
}
.faq-body strong {
  color: var(--text);
}
.faq details[open] .faq-body {
  animation: rise 320ms var(--ease) both;
}

.note {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
}
.note .title-2 {
  margin-bottom: 0.5rem;
}
.note p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.6;
}
.note strong {
  color: var(--text);
}

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.notfound-inner .lead {
  margin: 1.1rem 0 2rem;
}
.notfound-inner {
  min-height: 40vh;
}

/* ─── Hover lift (pointer devices) ───────────────────────────────────────── */
@media (hover: hover) {
  .contact-card,
  .feature-icon {
    transition: border-color 240ms var(--ease);
  }
  .feature:hover .feature-icon {
    border-color: var(--accent);
    color: var(--accent);
  }
}

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

/* ─── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .toc,
  .to-top,
  .skip {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .legal-grid.has-toc {
    display: block;
  }
}
