/* ==========================================================================
   dajukema — site stylesheet
   One file, no build step. Sections:
   1. Tokens  2. Base  3. Layout  4. Header/Nav  5. Buttons & UI
   6. Hero  7. Sections  8. App introduction  9. Product page
   11. Prose / legal  12. Footer  13. Motion  14. Utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --bg: #0a0f1c;
  --bg-2: #0e1525;
  --bg-3: #141c2f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f1ea;
  --muted: #a6adbf;
  --faint: #8792aa;
  --paper: #f4f2ec;
  --ink: #0d1322;
  --ink-muted: #4c5468;

  --accent: #46e3d0;
  --accent-2: #4f86ff;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --heart: #ff6b81;

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { flex: 1; }

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

a { color: inherit; text-decoration-color: rgba(70, 227, 208, 0.5); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--accent); }

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

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

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

::selection { background: rgba(70, 227, 208, 0.28); }

/* 3. Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 6vw, 5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.h-display { font-size: clamp(2.5rem, 6.4vw, 4.75rem); }
.h-section { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* 4. Header / Nav ---------------------------------------------------------- */
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 15, 28, 0.6);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 28, 0.8); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 680;
  font-size: 1.3rem;
  letter-spacing: -0.045em;
  margin-right: auto;
}
.brand-mark { width: 26px; height: 26px; flex: none; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }

.header-tools { display: flex; align-items: center; gap: 0.5rem; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.lang a {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--faint);
  transition: color 0.2s, background-color 0.2s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--text); color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  margin-left: -8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle .bars { top: 50%; }
.nav-toggle .bars::before { content: ""; top: -5px; left: 0; margin: 0; }
.nav-toggle .bars::after { content: ""; top: 5px; left: 0; margin: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(10, 15, 28, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 0.95rem 0; font-size: 1.35rem; color: var(--text); border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .js .header-inner { gap: 0.75rem; }
}
/* Without JS the nav simply stays visible and wraps */
@media (max-width: 760px) {
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; border: 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { height: auto; padding-block: 0.5rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav a { font-size: 0.95rem; border: 0; padding: 0.4rem 0.6rem; }
}

/* 5. Buttons & UI ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(70, 227, 208, 0.55); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: none; background: var(--surface-2); }

.btn--store {
  --btn-bg: #000;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  border-radius: 14px;
  text-align: left;
  line-height: 1.15;
}
.btn--store small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.btn--store span { font-size: 1.05rem; }
.btn--store[aria-disabled="true"] { cursor: default; opacity: 0.85; }
.btn--store[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.callout svg { width: 24px; height: 24px; color: var(--accent); margin-top: 0.15rem; }
.callout p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.callout strong { color: var(--text); display: block; margin-bottom: 0.2rem; font-size: 1.02rem; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 85% 0%, rgba(70, 227, 208, 0.035), transparent 60%);
}
.hero h1 { margin: 0; }
.hero-wordmark {
  display: block;
  font-size: clamp(4rem, 15vw, 10.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.9;
  /* Room for the descender of the "j": background-clip text only paints inside the box. */
  padding-bottom: 0.22em;
  margin: 0 0 calc(1.25rem - 0.22em) -0.04em;
  background: linear-gradient(180deg, #fff 30%, rgba(243, 241, 234, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-wordmark .spark {
  display: inline-block;
  width: 0.13em;
  height: 0.13em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.06em;
}
.hero .lead { margin: 0; max-width: 37rem; }
@media (max-width: 360px) {
  .hero-wordmark { font-size: clamp(2.5rem, 15vw, 4rem); }
  .site-header .brand { font-size: 1.1rem; gap: 0.4rem; }
  .site-header .brand-mark { width: 22px; height: 22px; }
  .js .header-inner { gap: 0.5rem; }
}

/* Sub-page hero */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); overflow-wrap: anywhere; hyphens: auto; }
.breadcrumbs { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span[aria-hidden] { margin-inline: 0.5rem; }

/* 7. Sections -------------------------------------------------------------- */
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .eyebrow { color: #0b7268; }
.section--paper .lead, .section--paper .muted { color: var(--ink-muted); }

/* 8. App introduction ---------------------------------------------------- */
.app-section { padding-block: clamp(2rem, 4vw, 3rem); }
.app-preview { display: grid; grid-template-columns: 144px minmax(0, 40rem); align-items: start; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2rem, 4vw, 3rem); border-block: 1px solid var(--line); }
.app-preview-icon { width: 144px; height: 144px; border-radius: 31px; }
.app-preview .eyebrow { margin-bottom: 0.7rem; }
.app-preview h2 { font-size: clamp(2rem, 4vw, 3rem); }
.app-preview p { color: var(--muted); max-width: 40rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); font-weight: 600; text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link span { color: var(--accent); }
.contact-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.contact-strip p { margin: 0; max-width: 38rem; color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: center; }
.contact-links a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .app-preview { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-preview-icon { width: 88px; height: 88px; border-radius: 20px; }
  .contact-links { flex-direction: column; align-items: flex-start; }
}

/* Original app icon, copied from the app's asset catalog. */
.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

/* 9. Product page ----------------------------------------------------------- */
.page-hero--product { padding-top: clamp(2rem, 5vw, 4rem); }
.product-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero .breadcrumbs { margin-bottom: 1rem; }
.product-hero .app-icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1rem; }
.product-hero .eyebrow { margin-bottom: 0.75rem; }
.product-hero h1 { margin-bottom: 1rem; }
.product-hero .lead { margin-bottom: 1rem; }
.product-hero .note { margin-top: 1.25rem; font-size: 0.85rem; color: var(--muted); }

.device {
  position: relative;
  width: min(100%, 300px);
  margin-inline: auto;
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2a3350, #0d1324 50%, #1b2340);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.device-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #070b16;
}
.device-screen img, .device-screen > svg { width: 100%; height: 100%; object-fit: cover; }
.device-screen::before {
  /* dynamic island */
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 30%;
  height: 22px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}
.device-label {
  position: absolute;
  bottom: -2.25rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.device-wrap { position: relative; padding-bottom: 2.5rem; }


.ecg { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) 0.4s forwards; }
.bar { transform-box: fill-box; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature { background: var(--bg); padding: clamp(1.75rem, 3vw, 2.25rem); transition: background-color 0.3s; }
.feature:hover { background: var(--bg-2); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.measurement-steps { list-style: none; margin: 0; padding: 0; }
.feature-note { margin: 1.5rem 0 0; max-width: 48rem; color: var(--muted); font-size: 0.95rem; }

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  color: var(--ink);
}
.privacy-panel .lead { color: var(--ink-muted); }
.privacy-panel .eyebrow { color: #0b7268; }
.privacy-panel a { color: var(--ink); }
/* 11. Prose / legal ----------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); letter-spacing: -0.02em; }
.prose h2:first-of-type { margin-top: 1rem; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; letter-spacing: -0.015em; }
.prose p, .prose li { color: #cfd3dd; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--accent); }
.prose address { font-style: normal; color: #cfd3dd; margin-bottom: 1em; line-height: 1.75; }
.prose { overflow-wrap: anywhere; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; padding-block: 1rem; margin-bottom: 1.5rem; border-block: 1px solid var(--line); }
.legal-toc a { display: inline-flex; align-items: center; min-height: 36px; font-size: 0.92rem; }
.prose a { color: var(--text); }
.prose .meta { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); letter-spacing: 0.04em; }

.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.92rem; }
.legal-nav p { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.75rem; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-nav a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--text); }
.legal-nav a[aria-current="page"] { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; border: 0; }
  .legal-nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.85rem; margin: 0; font-size: 0.85rem; }
  .legal-nav a[aria-current="page"] { border-color: var(--accent); }
}

/* Support */
.contact-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.25rem, 4vw, 3rem); margin-bottom: clamp(3rem, 7vw, 5rem); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.contact-intro .h-section { font-size: clamp(2rem, 4vw, 3.25rem); }
.contact-intro p { color: var(--muted); }
.contact-intro .eyebrow { color: var(--accent); }
.contact-form { display: grid; gap: 1.1rem; min-width: 0; align-content: start; }
.contact-form p { margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: 0.45rem; min-width: 0; }
.form-field label { font-size: 0.95rem; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; padding: 0.8rem 0.9rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; line-height: 1.5; }
.form-field textarea { resize: vertical; min-height: 9rem; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--muted); }
.form-help { font-size: 0.88rem; color: var(--muted); overflow-wrap: anywhere; }
.form-trap { display: none; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.form-status:empty { display: none; }
.form-status { padding: 1rem; border: 1px solid var(--line-2); border-radius: 10px; overflow-wrap: anywhere; }
.form-status[data-state="success"] { color: var(--accent); border-color: var(--accent); }
.form-status[data-state="error"] { color: #ffd4c9; border-color: #e89f88; }
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--muted); max-width: 44rem; }
.faq details > div p:last-child { margin: 0; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.footer-brand p { margin: 0.5rem 0 0; color: var(--faint); font-size: 0.82rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 0.88rem; text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 600px) { .footer-inner { align-items: flex-start; flex-direction: column; } }

/* 13. Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(0.1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ecg { stroke-dashoffset: 0; }
}

/* 14. Utilities ------------------------------------------------------------ */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.d1 { --d: 0.08s; }
.d2 { --d: 0.16s; }
.d3 { --d: 0.24s; }
.d4 { --d: 0.32s; }
.bar:nth-of-type(2) { animation-delay: 0.08s; }
.bar:nth-of-type(3) { animation-delay: 0.16s; }
.bar:nth-of-type(4) { animation-delay: 0.24s; }
.bar:nth-of-type(5) { animation-delay: 0.32s; }
.bar:nth-of-type(6) { animation-delay: 0.4s; }
.bar:nth-of-type(7) { animation-delay: 0.48s; }
