/* Сайт GIA. Кольори — із застосунку й Figma GIA:
   GIA/Onboarding/Shared/GIAPalette.swift (фон B, blush-мітки, plusGradient), GIA/Home/Shared/GIAPhaseAura.swift (аура фаз),
   CLAUDE.md застосунку (сфери настрою), design/encyclopedia-cards/v3/PALETTE.md (тони карток «Пудра + акцент»).
   Шрифт — системний округлий, як у застосунку (SF Pro Rounded); на інших пристроях — Nunito, що лежить поруч із сайтом.
   Сторінки без JavaScript: анімація аури — лише CSS, і в «Зменшенні руху» вона стоїть на місці. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* Кольори аури анімуються плавно лише там, де браузер уміє @property; інші просто перемикають фази. */
@property --a1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #f2607e;
}

@property --a2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #fc86a2;
}

@property --a3 {
  syntax: "<color>";
  inherits: false;
  initial-value: #ffa2ae;
}

:root {
  color-scheme: light;
  /* Тексти */
  --plum: #69363f;
  --plum-deep: #4a222b;
  --muted: #714f5a;
  --blush-text: #b0455d;
  /* Акцент і кнопки */
  --accent: #ee5470;
  --accent-light: #f8778e;
  --gradient: linear-gradient(180deg, var(--accent-light), var(--accent));
  --plus-gradient: linear-gradient(135deg, var(--accent-light), #b48cf0);
  /* Фон B: теплий рожевий угорі → пудра → майже білий, ледь лавандовий верхній лівий кут */
  --backdrop-top: #f9cdd7;
  --backdrop-powder: #fbe5ea;
  --backdrop-bottom: #fdf8f9;
  --backdrop-lavender: #ece1fa;
  --aura-base: #fdf0f2;
  --blush-mist: #fff3f5;
  --blush-soft: #fce3e8;
  --card: #fff;
  /* старі назви для текстових сторінок */
  --white: #fff;
  --card-border: var(--line);
  --text-muted: var(--muted);
  --card-shadow: var(--shadow);
  --card-powder: #fcf4f4;
  --line: rgb(207 177 180 / 38%);
  --shadow: 0 18px 40px -22px rgb(150 62 82 / 38%);
  --radius: 28px;
  --gutter: 16px;
  --page: 1160px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  position: relative;
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--plum);
  background: var(--backdrop-bottom);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Фон сторінки: градієнт B, тонкі потоки й зерно — як GIAScreenBackdrop у застосунку. */
.backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 1500px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 420px at 0% 0%, var(--backdrop-lavender), transparent 70%),
    linear-gradient(153deg, var(--backdrop-top) 0%, var(--backdrop-powder) 42%, var(--backdrop-bottom) 78%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1000px;
  background: url("/assets/flow-lines.svg") center top / cover no-repeat;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/grain.png");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

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

a {
  color: var(--blush-text);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid #8a5cd8;
  outline-offset: 3px;
  border-radius: 10px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--plum);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 10;
  background: var(--card);
  padding: 10px 16px;
  border-radius: 12px;
}

/* Шапка */

.header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand lang"
    "nav nav";
  align-items: center;
  gap: 10px 16px;
  padding-top: 14px;
  padding-bottom: 6px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav {
  grid-area: nav;
  display: none;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 2px var(--gutter);
  font-weight: 600;
  font-size: 15px;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--plum);
  text-decoration: none;
  background: rgb(255 255 255 / 45%);
  border: 1px solid rgb(255 255 255 / 60%);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blush-text);
  background: var(--card);
}

.lang {
  grid-area: lang;
  justify-self: end;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  border: 1px solid rgb(255 255 255 / 70%);
}

.lang a,
.lang span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  color: var(--plum);
}

.lang span {
  background: var(--card);
  box-shadow: 0 4px 12px -6px rgb(150 62 82 / 40%);
}

/* Мітки й кнопки */

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--blush-mist);
  border: 1px solid rgb(176 69 93 / 14%);
  color: var(--blush-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.actions--center {
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 26px 10px 20px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  box-shadow: 0 16px 30px -16px rgb(74 34 43 / 70%);
}

a.store:hover {
  color: #fff;
  background: var(--plum-deep);
}

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

.store small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.store--soon {
  background: rgb(255 255 255 / 78%);
  color: var(--plum);
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
}

.store--soon small {
  color: var(--blush-text);
  opacity: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
}

.text-link:hover {
  color: var(--blush-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px -12px rgb(238 84 112 / 60%);
  overflow-wrap: anywhere;
  text-align: center;
}

.button:hover {
  color: #fff;
  filter: brightness(1.04);
}

.button--ghost {
  background: rgb(255 255 255 / 75%);
  color: var(--plum);
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: none;
}

.button--ghost:hover {
  color: var(--blush-text);
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  font-weight: 700;
}

/* Телефон зі справжнім екраном */

.phone {
  position: relative;
  width: min(62vw, 250px);
  margin: 0 auto;
  padding: 7px;
  border-radius: 46px;
  background: linear-gradient(160deg, #fff, #fbeef1);
  box-shadow:
    0 0 0 1px rgb(105 54 63 / 7%),
    0 40px 70px -34px rgb(150 62 82 / 55%),
    0 14px 30px -18px rgb(150 62 82 / 35%);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1391;
  object-fit: cover;
  border-radius: 38px;
  background: var(--aura-base);
}

/* Перший екран */

.hero {
  display: grid;
  grid-template-areas:
    "copy"
    "visual"
    "pills";
  gap: 22px;
  padding-top: 22px;
  padding-bottom: 40px;
}

.hero-copy {
  grid-area: copy;
}

.hero h1 {
  font-size: clamp(38px, 10.5vw, 68px);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: #c22f55;
  background: linear-gradient(100deg, #c22f55, #cf3a5c 55%, #c8405e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin-top: 18px;
  font-size: clamp(17px, 4.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}

.pills {
  grid-area: pills;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 60%);
  border: 1px solid rgb(255 255 255 / 85%);
  font-size: 14px;
  font-weight: 650;
}

.pills svg,
.checks svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  display: grid;
  justify-items: center;
  padding: 24px 0 8px;
}

/* Аура фази: три м'які плями кольорів сьогоднішньої фази, як GIAPhaseAura. */
.aura {
  position: absolute;
  inset: -6% -20% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 40%, rgb(255 255 255 / 90%), transparent 55%),
    radial-gradient(42% 36% at 30% 30%, var(--a1), transparent 72%),
    radial-gradient(44% 40% at 72% 45%, var(--a2), transparent 72%),
    radial-gradient(48% 40% at 46% 76%, var(--a3), transparent 74%);
  opacity: 0.75;
  animation:
    aura-phases 32s linear infinite,
    aura-breathe 7s ease-in-out infinite alternate;
}

.aura span {
  display: none;
}

@keyframes aura-phases {
  0%,
  21%,
  100% {
    --a1: #f2607e;
    --a2: #fc86a2;
    --a3: #ffa2ae;
  }

  25%,
  46% {
    --a1: #ffae9c;
    --a2: #fbbacb;
    --a3: #ffcdb8;
  }

  50%,
  71% {
    --a1: #bfa8f5;
    --a2: #b3beff;
    --a3: #d8c9fa;
  }

  75%,
  96% {
    --a1: #f0a898;
    --a2: #f6a3b6;
    --a3: #f5c6b0;
  }
}

@keyframes aura-breathe {
  from {
    transform: scale(0.97);
  }

  to {
    transform: scale(1.03);
  }
}

.phone--hero {
  width: min(70vw, 300px);
}

.phone-screens {
  position: relative;
  aspect-ratio: 640 / 1391;
}

.phone-screens img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: phase-show 32s linear infinite;
}

.phone-screens .phase--period {
  opacity: 1;
}

.phase--follicular,
.phase-name--follicular {
  animation-delay: -24s !important;
}

.phase--fertile,
.phase-name--fertile {
  animation-delay: -16s !important;
}

.phase--luteal,
.phase-name--luteal {
  animation-delay: -8s !important;
}

@keyframes phase-show {
  0%,
  21% {
    opacity: 1;
  }

  25%,
  96% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.phase-chip {
  position: relative;
  display: grid;
  margin-top: 18px;
  min-width: 200px;
  text-align: center;
}

.phase-name {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 80%);
  border: 1px solid rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  color: var(--blush-text);
  opacity: 0;
  animation: phase-show 32s linear infinite;
}

.phase-name--period {
  opacity: 1;
}

/* Розділи */

.section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section--tight {
  padding-top: 24px;
  padding-bottom: 8px;
}

.section-head {
  max-width: 44em;
  margin-bottom: 32px;
}

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

.section-head h2,
.feature h2,
.author h2,
.cta h2 {
  font-size: clamp(29px, 7.4vw, 44px);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

/* Один застосунок для всіх етапів */

.journey {
  position: relative;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
}

.step h3 {
  font-size: 22px;
  margin: 16px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 20px -10px rgb(238 84 112 / 70%);
}

.step--2 .step-dot {
  background: linear-gradient(180deg, #ffbfa6, #f59a86);
}

.step--3 .step-dot {
  background: linear-gradient(180deg, #9fc3ff, #f3a5c8);
}

.journey-after {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
}

/* Фішки: текст + справжній екран */

.feature {
  display: grid;
  gap: 26px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}

.feature-text {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.feature-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--blush-mist);
  border: 1px solid rgb(176 69 93 / 12%);
  font-size: 15px;
  color: var(--plum);
}

.feature-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--blush-text);
  margin-top: 1px;
}

.feature-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 4% -10%;
  z-index: -1;
  background:
    radial-gradient(40% 40% at 35% 35%, rgb(251 194 207 / 65%), transparent 70%),
    radial-gradient(40% 40% at 65% 65%, rgb(255 205 184 / 55%), transparent 70%);
}

#encyclopedia .feature-visual::before,
#planning .feature-visual::before {
  background:
    radial-gradient(40% 40% at 35% 35%, rgb(234 210 255 / 60%), transparent 70%),
    radial-gradient(40% 40% at 65% 65%, rgb(251 194 207 / 60%), transparent 70%);
}

#pregnancy .feature-visual::before,
#partner .feature-visual::before {
  /* Модуль вагітності: блакитний → рожевий, як PregnancyGradient */
  background:
    radial-gradient(40% 40% at 35% 35%, rgb(170 193 255 / 55%), transparent 70%),
    radial-gradient(40% 40% at 65% 65%, rgb(255 202 215 / 65%), transparent 70%);
}

/* Аура за фазами: чотири справжні екрани віялом */
.fan {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1.02;
}

.phone--mini {
  position: absolute;
  top: 6%;
  width: 44%;
  padding: 5px;
  border-radius: 28px;
}

.phone--mini img {
  border-radius: 23px;
}

.phone--period {
  left: 0;
  transform: rotate(-9deg);
  z-index: 1;
}

.phone--follicular {
  left: 19%;
  top: 1%;
  transform: rotate(-3deg);
  z-index: 2;
}

.phone--fertile {
  left: 37%;
  top: 1%;
  transform: rotate(3deg);
  z-index: 3;
}

.phone--luteal {
  left: 56%;
  transform: rotate(9deg);
  z-index: 4;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.swatches li {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgb(255 255 255 / 70%);
  border: 1px solid rgb(255 255 255 / 90%);
}

.swatches strong {
  font-size: 15px;
  line-height: 1.2;
}

.swatches li > span:last-child {
  grid-column: 2;
  font-size: 13px;
  color: var(--muted);
}

.swatch {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%);
}

.swatch--period {
  background: radial-gradient(circle at 35% 30%, #ffa2ae, #fc86a2 45%, #f2607e);
}

.swatch--follicular {
  background: radial-gradient(circle at 35% 30%, #ffcdb8, #fbbacb 45%, #ffae9c);
}

.swatch--fertile {
  background: radial-gradient(circle at 35% 30%, #d8c9fa, #b3beff 45%, #bfa8f5);
}

.swatch--luteal {
  background: radial-gradient(circle at 35% 30%, #f5c6b0, #f6a3b6 45%, #f0a898);
}

/* Скляні сфери настрою, як GIAMoodSphere */
.spheres {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
  margin-top: 24px;
}

.spheres li {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 64px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}

.sphere {
  --c: #f4c3cf;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 26%, rgb(255 255 255 / 95%) 0, rgb(255 255 255 / 55%) 12%, transparent 32%),
    radial-gradient(circle at 50% 60%, var(--c) 0 52%, color-mix(in srgb, var(--c) 80%, var(--plum)) 100%);
  box-shadow:
    inset 0 -6px 10px rgb(105 54 63 / 14%),
    inset 0 3px 7px rgb(255 255 255 / 75%),
    0 10px 18px -8px color-mix(in srgb, var(--c) 80%, var(--plum));
}

.sphere::before {
  /* очі */
  content: "";
  position: absolute;
  left: 32%;
  top: 42%;
  width: 36%;
  height: 10%;
  background:
    radial-gradient(circle at 12% 50%, rgb(105 54 63 / 55%) 0 22%, transparent 26%),
    radial-gradient(circle at 88% 50%, rgb(105 54 63 / 55%) 0 22%, transparent 26%);
}

.sphere::after {
  /* усмішка */
  content: "";
  position: absolute;
  left: 36%;
  top: 54%;
  width: 28%;
  height: 12%;
  border-bottom: 2px solid rgb(105 54 63 / 50%);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.sphere--bad {
  --c: #a9bbd2;
}

.sphere--bad::after {
  top: 60%;
  border-bottom: 0;
  border-top: 2px solid rgb(105 54 63 / 50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.sphere--low {
  --c: #c2b4e6;
}

.sphere--low::after {
  height: 0;
  top: 62%;
  left: 40%;
  width: 20%;
  border-radius: 2px;
}

.sphere--okay {
  --c: #f4c3cf;
}

.sphere--good {
  --c: #ff9f8c;
}

.sphere--great {
  --c: #ffc889;
  width: 58px;
  height: 58px;
}

.sphere--great::after {
  height: 16%;
  left: 33%;
  width: 34%;
}

/* Картки фахівців «Пудра + акцент» */
.specs-wrap {
  padding-bottom: 32px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spec {
  --tone-light: #ffcad7;
  --tone: #ff89af;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 108px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--tone-light) 55%, transparent), transparent 70%),
    linear-gradient(165deg, #fff 0%, var(--card-powder) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -18px rgb(150 62 82 / 45%);
}

.spec::before {
  /* м'який силует-акцент у куті, згасає до тексту */
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  width: 74px;
  height: 74px;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--tone) 60%, #fff), var(--tone) 70%, transparent 72%);
  opacity: 0.4;
}

.spec strong {
  position: relative;
  font-size: 15px;
  line-height: 1.2;
  color: var(--plum);
}

.spec span {
  position: relative;
  margin-top: 4px;
  font-size: 13px;
  color: #8a5763;
}

.spec--rose {
  --tone-light: #ffcad7;
  --tone: #ff89af;
}

.spec--peach {
  --tone-light: #ffdfb5;
  --tone: #ffc298;
}

.spec--lavender {
  --tone-light: #ead2ff;
  --tone: #dbbcff;
}

.spec--mint {
  --tone-light: #baedb4;
  --tone: #a0e0b7;
}

.spec--powder {
  --tone-light: #fcdde4;
  --tone: #f8a5b6;
}

.spec--sky {
  --tone-light: #ffd8e8;
  --tone: #aac1ff;
}

.specs-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Звук і «І ще» */
.duo {
  display: grid;
  gap: 16px;
}

.card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: clamp(24px, 6vw, 30px);
  margin-bottom: 12px;
}

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

.card--sound {
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(255 205 184 / 55%), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgb(251 194 207 / 55%), transparent 70%),
    rgb(255 255 255 / 80%);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.checks {
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--plum);
  font-size: 16px;
}

.checks svg {
  margin-top: 4px;
}

/* Приватність — темний сливовий блок */
.privacy-band {
  position: relative;
  isolation: isolate;
  margin: 40px 0;
  padding: 72px 0 64px;
  color: #ffeef2;
  background:
    radial-gradient(60% 50% at 90% 0%, rgb(191 168 245 / 30%), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgb(242 96 126 / 28%), transparent 70%),
    linear-gradient(165deg, #74404b 0%, var(--plum-deep) 100%);
  overflow: hidden;
}

.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/flow-lines.svg") center top / cover no-repeat;
  opacity: 0.9;
  filter: brightness(2.4);
}

.privacy-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/grain.png");
  opacity: 0.06;
}

.privacy-band h2,
.privacy-band h3 {
  color: #fff;
}

.privacy-band .section-head p {
  color: rgb(255 238 242 / 82%);
}

.eyebrow--dark {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 18%);
  color: #ffd6df;
}

.privacy-grid {
  display: grid;
  gap: 12px;
}

.privacy-grid li {
  padding: 22px;
  border-radius: 24px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 13%);
}

.privacy-grid h3 {
  font-size: 18px;
  margin: 14px 0 6px;
}

.privacy-grid p {
  font-size: 15.5px;
  color: rgb(255 238 242 / 80%);
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgb(255 214 223 / 16%);
  color: #ffd6df;
}

.privacy-icon svg {
  width: 22px;
  height: 22px;
}

.privacy-foot {
  margin-top: 22px;
  font-size: 14px;
  color: rgb(255 238 242 / 70%);
  max-width: 48em;
}

.privacy-band .more {
  color: #ffd6df;
}

.privacy-band .more:hover {
  color: #fff;
}

/* Авторка */
.author {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(60% 60% at 0% 0%, rgb(255 202 215 / 50%), transparent 70%),
    rgb(255 255 255 / 75%);
  border: 1px solid rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
}

.author-photo {
  margin: 0;
  width: min(100%, 300px);
  justify-self: center;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 30% 20%, #fff, transparent 70%),
    linear-gradient(160deg, var(--blush-soft), #f6d6e8 60%, #e6dcfb);
  display: grid;
  place-items: center;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-placeholder {
  width: 40%;
  color: rgb(176 69 93 / 40%);
}

.author-placeholder svg {
  width: 100%;
  height: auto;
  stroke-width: 1.2;
}

.author .lead {
  font-size: 18px;
}

.author-pending,
.author-role {
  margin-top: 16px;
  font-size: 15px;
  color: var(--blush-text);
  font-weight: 650;
}

.author-name {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 700;
}

.author-bio {
  margin-top: 10px;
  color: var(--muted);
}

/* GIA Plus */
.plans {
  display: grid;
  gap: 16px;
}

.plan {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 80%);
  border: 1px solid rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
}

.plan h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.plan--plus {
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(180 140 240 / 22%), transparent 70%),
    linear-gradient(165deg, #fff 0%, #f7f0ff 100%);
  border-color: rgb(180 140 240 / 30%);
}

.plan--plus h3 {
  color: #b83a5a;
  background: linear-gradient(135deg, #c22f55, #8a5cd8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan--plus .checks svg {
  color: #8a5cd8;
}

.plans-note {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* Питання */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: rgb(255 255 255 / 82%);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  padding: 17px 30px 17px 0;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 13px;
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details > :last-child {
  margin-bottom: 18px;
}

.faq details p,
.faq details li {
  color: var(--muted);
}

.notice {
  padding: 20px 24px;
  border-radius: 22px;
  background: rgb(255 255 255 / 60%);
  border: 1px dashed rgb(238 84 112 / 35%);
  color: var(--muted);
  font-size: 15px;
}

/* Заклик наприкінці */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 22px;
  border-radius: 36px;
  text-align: center;
  background: var(--aura-base);
  border: 1px solid rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
}

.aura--cta {
  inset: -30% -10%;
  opacity: 0.6;
}

.cta p {
  margin: 14px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 18px;
}

/* Текстові сторінки: політика, умови, підтримка */

.doc {
  max-width: 760px;
  padding-top: 34px;
  padding-bottom: 72px;
}

.doc h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  margin-bottom: 10px;
}

.doc .updated {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.doc h2 {
  font-size: 23px;
  margin: 40px 0 12px;
}

.doc h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0 0 14px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
  list-style: disc;
}

.doc ol {
  list-style: decimal;
}

.doc li {
  margin-bottom: 8px;
}

.doc li::marker {
  color: var(--accent);
}

.doc .summary {
  margin-bottom: 8px;
}

.doc .summary ul {
  margin: 0;
}

.table {
  overflow-x: auto;
  margin: 0 0 14px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--white);
}

.table table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}

.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--card-border);
}

.table tr:last-child td {
  border-bottom: 0;
}

.table th {
  background: #fdeaee;
  font-weight: 700;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 8px;
}

.contact p {
  margin: 0;
}

/* Підвал */

.footer {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  padding-top: 36px;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.footer-mark {
  height: 26px;
  width: auto;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--plum);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  color: var(--blush-text);
  text-decoration: underline;
}

.footer .small {
  font-size: 13px;
}

.center {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 100px;
}

.center h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 14px;
}

.center .button {
  margin-top: 26px;
}

/* Ширші екрани */

@media (min-width: 560px) {
  :root {
    --gutter: 24px;
  }

  .nav {
    display: flex;
  }

  .specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .swatches li {
    grid-template-columns: 1fr;
    justify-items: start;
    row-gap: 8px;
  }

  .swatch {
    grid-row: auto;
  }

  .swatches li > span:last-child {
    grid-column: auto;
  }

  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .journey::before {
    /* тонка лінія, що з'єднує етапи */
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 49px;
    height: 1.5px;
    background: linear-gradient(90deg, rgb(238 84 112 / 35%), rgb(245 154 134 / 35%), rgb(170 193 255 / 45%));
  }

  .step {
    background: rgb(255 255 255 / 82%);
  }

  .duo,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .author {
    grid-template-columns: 300px 1fr;
    gap: 44px;
    padding: 36px;
  }
}

@media (min-width: 960px) {
  .header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav lang";
    padding-top: 22px;
  }

  .nav {
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .nav a {
    background: transparent;
    border-color: transparent;
  }

  .brand img {
    height: 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas:
      "copy visual"
      "pills visual";
    grid-template-rows: auto 1fr;
    align-items: center;
    column-gap: 56px;
    row-gap: 26px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.4vw, 70px);
  }

  .phone--hero {
    width: 330px;
  }

  .hero-copy {
    align-self: end;
  }

  .pills {
    align-self: start;
    justify-content: flex-start;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature--reverse .feature-copy {
    order: 2;
  }

  .phone {
    width: 300px;
  }

  .phone--mini {
    width: 44%;
  }

  .specs {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .privacy-band {
    padding: 104px 0 96px;
  }

  .privacy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .card,
  .plan {
    padding: 36px 34px;
  }

  .cta {
    padding: 80px 40px;
  }

  .footer {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 14px 40px;
  }

  .footer nav {
    justify-content: flex-end;
  }

  .footer .small {
    grid-column: 1 / -1;
  }
}

/* «Зменшення руху»: аура стоїть, на телефоні — одна фаза. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aura,
  .phone-screens img,
  .phase-name {
    animation: none !important;
  }

  .phone-screens img:not(.phase--period),
  .phase-name:not(.phase-name--period) {
    opacity: 0;
  }
}
