/* ============================================================
   Kangru — Lovi-style landing
   ============================================================ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin-ext-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --color-blood: #c0271f;
  --color-blood-dark: #9c1d16;
  --color-ink: #1a1a1a;
  --color-muted-rose: #b06058;
  --color-faint-rose: #d98a85;
  --color-border-rose: #f1d4d2;
  --color-avatar-bg: #fbe0dd;
  --color-coral: #e46258;
  --color-blush: #f1aca7;
  --color-ok-green: #1f9d6b;
  --color-cream: #fdf8f5;
  --color-cream-deep: #f9ede9;
  --color-card: #ffffff;
  --color-body: #5c4a47;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-hero: clamp(2.8rem, 1.6rem + 5.5vw, 6rem);
  --text-section: clamp(1.9rem, 1.4rem + 2vw, 3.2rem);
  --text-manifesto: clamp(1.55rem, 1.1rem + 2.2vw, 2.65rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius-card: 28px;
  /* iPhone 17 Pro Max dış köşe */
  --radius-device: 48px;
  --max: 1120px;

  --duration-fast: 150ms;
  --duration-normal: 420ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-progress: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

html[data-lang="tr"] [lang="en"],
html[data-lang="en"] [lang="tr"] {
  display: none !important;
}

.device-frame > picture[lang] {
  display: block;
}

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

a {
  color: var(--color-blood);
}

button {
  font: inherit;
}

/* --- logo intro (4-piece assemble) -------------------------- */

body.is-booting {
  overflow: hidden;
}

.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.45rem;
  background: var(--color-cream);
  transition: opacity 640ms var(--ease-out), visibility 640ms;
}

.logo-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-assemble {
  position: relative;
  width: clamp(148px, 34vw, 220px);
  isolation: isolate;
}

.logo-beams {
  position: absolute;
  inset: -42% -48%;
  width: 196%;
  height: 196%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.logo-assemble-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 44px rgba(192, 39, 31, 0.24));
}

.beam line {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

.beam--a line,
.beam--a .beam-dot,
.beam--a text { stroke: #c0271f; fill: #c0271f; color: #c0271f; }

.beam--b line,
.beam--b .beam-dot,
.beam--b text { stroke: #9c1d16; fill: #9c1d16; color: #9c1d16; }

.beam--o line,
.beam--o .beam-dot,
.beam--o text { stroke: #f1aca7; fill: #f1aca7; color: #9c1d16; }

.beam--ab line,
.beam--ab .beam-dot,
.beam--ab text { stroke: #e46258; fill: #e46258; color: #e46258; }

.beam text {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  stroke: none;
}

.beam-dot {
  opacity: 0;
}

.logo-piece {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

/* Real puzzle paths from logo.svg (left / top / bottom-left / bottom-right) */
.logo-piece--0 {
  transform: translate(-58px, 8px) rotate(-20deg) scale(0.72);
}

.logo-piece--1 {
  transform: translate(30px, -54px) rotate(16deg) scale(0.72);
}

.logo-piece--2 {
  transform: translate(-50px, 52px) rotate(14deg) scale(0.72);
}

.logo-piece--3 {
  transform: translate(52px, 50px) rotate(-12deg) scale(0.72);
}

.logo-intro-word {
  font-family: var(--font-body);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0;
  transform: translateY(14px);
}

.wordmark,
.logo-intro-word {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wm-kan {
  color: var(--color-blood);
}

.wm-gru {
  color: var(--color-ink);
}

@media (prefers-reduced-motion: no-preference) {
  body.is-booting .beam--a line { animation: beam-draw 780ms 40ms var(--ease-out) forwards; }
  body.is-booting .beam--b line { animation: beam-draw 780ms 120ms var(--ease-out) forwards; }
  body.is-booting .beam--o line { animation: beam-draw 780ms 200ms var(--ease-out) forwards; }
  body.is-booting .beam--ab line { animation: beam-draw 780ms 280ms var(--ease-out) forwards; }

  body.is-booting .beam text,
  body.is-booting .beam-dot {
    animation: beam-label-in 500ms 180ms var(--ease-out) forwards;
  }

  body.is-booting .logo-piece {
    animation: logo-piece-in 1100ms var(--ease-out) forwards;
  }

  body.is-booting .logo-piece--0 { animation-delay: 520ms; }
  body.is-booting .logo-piece--1 { animation-delay: 680ms; }
  body.is-booting .logo-piece--2 { animation-delay: 820ms; }
  body.is-booting .logo-piece--3 { animation-delay: 960ms; }

  body.is-booting .logo-assemble {
    animation: logo-settle 700ms 1850ms var(--ease-out) both;
  }

  body.is-booting .logo-intro-word {
    animation: logo-word-in 700ms 2000ms var(--ease-out) forwards;
  }
}

@keyframes beam-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 100;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes beam-label-in {
  to { opacity: 1; }
}

@keyframes logo-piece-in {
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes logo-settle {
  0% { transform: scale(1); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes logo-word-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .logo-beams {
    display: none;
  }

  .logo-intro-word {
    opacity: 1;
    transform: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--color-cream) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border-rose) 70%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  color: var(--color-ink);
  text-decoration: none;
}

.brand .wordmark {
  font-size: 1.35rem;
  line-height: 1;
}

.brand img,
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.55rem, 1.8vw, 1.35rem);
}

.header-nav a:not(.store-pill) {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.header-nav a:not(.store-pill):hover,
.header-nav a:not(.store-pill):focus-visible {
  color: var(--color-blood);
}

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--color-border-rose);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-card);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.28rem 0.78rem;
  cursor: pointer;
  color: var(--color-muted-rose);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--color-blood);
  color: #fff;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  cursor: default;
}

.store-pill-icon {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.92;
}

/* App Store linki gelince: <a class="store-pill" href="…"> */
a.store-pill {
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

a.store-pill:hover,
a.store-pill:focus-visible {
  background: color-mix(in srgb, var(--color-ink) 88%, var(--color-blood));
  outline: none;
}

a.store-pill:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-blood) 35%, transparent);
}

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

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) 0;
}

.hero-blob {
  position: absolute;
  inset: 8% -10% auto;
  height: 70%;
  background:
    radial-gradient(42% 55% at 30% 40%, color-mix(in srgb, var(--color-coral) 38%, transparent), transparent 70%),
    radial-gradient(36% 48% at 72% 28%, color-mix(in srgb, var(--color-blush) 55%, transparent), transparent 72%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--color-card);
  border: 1px solid var(--color-border-rose);
  color: var(--color-blood-dark);
  font-size: 0.84rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(176, 96, 88, 0.08);
}

.pill-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-ok-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-ok-green) 22%, transparent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 1.35rem auto 0;
}

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

.hero-sub {
  max-width: 42ch;
  margin: 1.25rem auto 0;
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
  color: var(--color-body);
}

.hero-device {
  margin: clamp(2.4rem, 5vw, 3.8rem) auto 0;
  /* iPhone 17 Pro Max logical width ~440pt → frame ~min(360px, 82vw) */
  max-width: min(360px, 82vw);
}

/* --- device frame: iPhone 17 Pro Max ----------------------------- */
/* Ekran görüntüsü zaten status bar + Dynamic Island içerir; sahte ada yok. */

.device-frame {
  position: relative;
  border-radius: var(--radius-device);
  background: #0a0a0a;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px #1a1a1a,
    0 28px 56px rgba(26, 26, 26, 0.3),
    0 8px 18px rgba(192, 39, 31, 0.1);
}

.device-frame::before {
  content: none;
}

.device-frame img,
.device-frame picture,
.device-frame source {
  width: 100%;
  height: auto;
}

.device-frame img {
  border-radius: calc(var(--radius-device) - 7px);
  background: #1a1a1a;
  display: block;
}

.device-frame--sm {
  --radius-device: 34px;
  padding: 6px;
  max-width: 220px;
  margin-inline: auto;
}

.device-frame--sm::before {
  content: none;
}

/* --- manifesto ---------------------------------------------- */

.manifesto {
  padding: var(--space-section) clamp(1rem, 4vw, 2.5rem);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  font-family: var(--font-display);
  font-size: var(--text-manifesto);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--color-ink) 0%,
    var(--color-ink) calc(var(--reveal-progress) * 100%),
    color-mix(in srgb, var(--color-border-rose) 85%, var(--color-ink)) calc(var(--reveal-progress) * 100% + 1%),
    color-mix(in srgb, var(--color-border-rose) 85%, var(--color-ink)) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto p {
      background-image: linear-gradient(
        90deg,
        var(--color-ink) 0 50%,
        color-mix(in srgb, var(--color-border-rose) 85%, var(--color-ink)) 50% 100%
      );
      background-size: 200% 100%;
      background-position: 100% 0;
      animation: manifesto-reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 55%;
    }
  }
}

@keyframes manifesto-reveal {
  to {
    background-position: 0 0;
  }
}

/* --- feature rows (product showcase) ------------------------ */

.features-wrap {
  padding: 0 clamp(1rem, 4vw, 2.5rem) var(--space-section);
  max-width: var(--max);
  margin: 0 auto;
}

.features-head {
  text-align: center;
  margin-bottom: clamp(2.4rem, 6vw, 4rem);
}

.features-head .section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blood);
  margin-bottom: 0.7rem;
}

.features-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-section);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 18ch;
  margin-inline: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
  margin-bottom: clamp(3.2rem, 8vw, 6.5rem);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--flip .feature-copy {
  order: 2;
}

.feature-row--flip .feature-visual {
  order: 1;
}

.feature-copy {
  max-width: 28rem;
}

.feature-row:not(.feature-row--flip) .feature-copy {
  margin-inline-start: clamp(0rem, 2vw, 1.5rem);
}

.feature-row--flip .feature-copy {
  margin-inline-end: clamp(0rem, 2vw, 1.5rem);
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--color-ink);
  margin-bottom: 0.85rem;
}

.feature-copy p {
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  line-height: 1.55;
  color: var(--color-ink);
  opacity: 0.78;
  max-width: 34ch;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  isolation: isolate;
}

.feature-visual--pair {
  align-items: flex-end;
  gap: clamp(0.55rem, 1.8vw, 1.1rem);
  justify-content: center;
}

.feature-visual--pair .device-frame--feature {
  width: min(46%, 220px);
}

.feature-visual--pair .device-frame--feature:first-child {
  transform: translateY(10px) rotate(-2.5deg);
}

.feature-visual--pair .device-frame--feature:last-child {
  transform: translateY(-6px) rotate(2.5deg);
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 6%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(228, 98, 88, 0.28), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(241, 172, 167, 0.45), transparent 58%);
  filter: blur(8px);
  pointer-events: none;
}

.device-frame--feature {
  width: min(100%, 280px);
  --radius-device: 44px;
}

/* --- privacy band ------------------------------------------- */

.privacy-wrap {
  padding: 0 clamp(1rem, 4vw, 2.5rem) var(--space-section);
  max-width: var(--max);
  margin: 0 auto;
}

.privacy-band {
  background: linear-gradient(155deg, var(--color-blood-dark), var(--color-blood) 58%, #d63a30);
  color: #fff;
  border-radius: calc(var(--radius-card) + 8px);
  padding: clamp(2rem, 4.5vw, 3.6rem);
}

.privacy-band .section-kicker {
  display: inline-block;
  color: var(--color-blush);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.privacy-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 18ch;
}

.privacy-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  list-style: none;
}

.privacy-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 600;
}

.privacy-band > p {
  margin-top: 1.35rem;
  max-width: 54ch;
  opacity: 0.9;
  font-size: 1rem;
}

.privacy-band .fineprint {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  opacity: 0.78;
}

.privacy-band .fineprint a {
  color: #fff;
}

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

.faq-wrap {
  padding: 0 clamp(1rem, 4vw, 2.5rem) var(--space-section);
  max-width: var(--max);
  margin: 0 auto;
}

.faq {
  background: var(--color-card);
  border: 1px solid var(--color-border-rose);
  border-radius: calc(var(--radius-card) + 4px);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--color-border-rose);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  cursor: pointer;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.faq-q .icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-rose);
  display: grid;
  place-items: center;
  transition: transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) ease;
}

.faq-q .icon::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-blood);
}

.faq-q[aria-expanded="true"] .icon {
  background: var(--color-avatar-bg);
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 0 1.15rem;
  color: var(--color-body);
  font-size: 0.96rem;
  max-width: 58ch;
}

.faq-a[hidden] {
  display: none;
}

/* --- closing ------------------------------------------------ */

.closing-wrap {
  padding: 0 clamp(1rem, 4vw, 2.5rem) var(--space-section);
  max-width: var(--max);
  margin: 0 auto;
}

.closing-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) + 8px);
  padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(
    145deg,
    #5a1210 0%,
    var(--color-blood-dark) 42%,
    var(--color-blood) 78%,
    #d6453c 100%
  );
}

.closing-card::before,
.closing-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.closing-card::before {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.closing-card::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: -50px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.28), transparent 70%);
}

.closing-card > * {
  position: relative;
  z-index: 1;
}

.closing-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
  margin-inline: auto;
  color: #fff;
}

.closing-card p {
  margin: 1rem auto 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-ink);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.65rem 1.25rem;
  line-height: 1.15;
}

.closing-card .store-badge {
  margin-top: 1.8rem;
  background: #fff;
  color: var(--color-ink);
}

.closing-card .store-badge .small {
  color: rgba(26, 26, 26, 0.65);
  opacity: 1;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.85;
  pointer-events: none;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge .small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.8;
}

.store-badge .big {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.site-footer {
  border-top: 1px solid var(--color-border-rose);
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-muted-rose);
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer .footer-disclaimer {
  flex-basis: 100%;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--color-muted-rose);
  opacity: 0.85;
  max-width: 68ch;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

.site-footer a {
  color: var(--color-muted-rose);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-blood);
}

/* --- legal pages -------------------------------------------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--space-section) * 0.55) clamp(1rem, 4vw, 2rem);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.legal .updated {
  color: var(--color-muted-rose);
  font-size: 0.9rem;
  margin-bottom: 2.4rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.7rem;
}

.legal h3 {
  font-size: 1.08rem;
  margin: 1.8rem 0 0.4rem;
}

.legal p,
.legal li {
  color: #3d3230;
}

.legal ul {
  padding-left: 1.3rem;
  margin: 0.6rem 0;
}

.legal .callout {
  background: var(--color-cream-deep);
  border: 1px solid var(--color-border-rose);
  border-left: 4px solid var(--color-blood);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.95rem;
}

/* --- reveals ------------------------------------------------ */

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity var(--duration-normal) var(--ease-out),
      transform var(--duration-normal) var(--ease-out);
  }

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

/* --- responsive --------------------------------------------- */

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

  .feature-row,
  .feature-row--flip {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    text-align: center;
  }

  .feature-row--flip .feature-copy,
  .feature-row--flip .feature-visual,
  .feature-row .feature-copy,
  .feature-row .feature-visual {
    order: initial;
  }

  .feature-row .feature-visual {
    order: -1;
  }

  .feature-copy,
  .feature-row:not(.feature-row--flip) .feature-copy,
  .feature-row--flip .feature-copy {
    margin-inline: auto;
  }

  .feature-copy p {
    margin-inline: auto;
  }

  .device-frame--feature {
    width: min(100%, 220px);
  }

  .feature-visual--pair .device-frame--feature {
    width: min(44%, 180px);
  }

  .feature-visual--pair .device-frame--feature:first-child,
  .feature-visual--pair .device-frame--feature:last-child {
    transform: none;
  }
}

@media (max-width: 640px) {
  .header-nav a:not(.store-pill):not([href="support.html"]):not([href="index.html"]) {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header .store-pill {
    display: none;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

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

  .store-badge,
  .faq-q .icon {
    transition: none;
  }

  .manifesto p {
    color: var(--color-ink);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: none;
  }
}
