/* Брейкпоінти: 768px — планшет, 1024px — лейаут desktop-макета. */
/* Кольори задані лише в першому :root; решта файлу бере їх через var(), а SVG — через currentColor. */

/* Шрифти */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-600-normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-600-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-600-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-400-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Токени */

:root {
  /* Кольори */
  --color-bg: #F6EEE3;
  --color-paper: #FFFBF6;
  --color-chip: #F3E9DC;
  --color-sand: #EFE4D5;
  --color-tint: #EFE0CE;
  --color-blush: #EBD3C2;
  --color-line-soft: #EDE1D1;
  --color-line: #E4D6C4;
  --color-line-strong: #D6C4AE;
  --color-ink: #2B221B;
  --color-text: #5C4C3E;
  --color-muted: #6B5A4A;
  --color-dark: #33281F;
  --color-dark-text: #E4D3C1;
  --color-dark-accent: #D9BBA4;
  --color-accent: #A9743F;
  --color-accent-text: #8E5E2F;
  --color-accent-hover: #6E4622;
  --shadow-card: 0 24px 56px rgba(76, 56, 38, 0.12);

  /* Шрифти */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', system-ui, sans-serif;

  /* Розміри тексту */
  --text-display: clamp(50px, 5.7vw, 82px);
  --text-h2: clamp(40px, 4.03vw, 58px);
  --text-h2-sm: clamp(38px, 3.61vw, 52px);
  --text-h2-cta: clamp(44px, 4.45vw, 64px);
  --text-price: clamp(66px, 6vw, 86px);
  --text-wordmark: 22px;
  --text-song-title: 24px;
  --text-h3: 18px;
  --text-h3-sm: 17px;
  --text-lead: 17px;
  --text-body: 15px;
  --text-button: 17px;
  --text-ui: 14px;
  --text-meta: 13px;
  --text-caption: 12px;

  --leading-display: 1.02;
  --leading-heading: 1.1;
  --leading-tight: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-display: -0.02em;
  --tracking-heading: -0.015em;
  --tracking-caps: 0.08em;

  /* Відступи */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-section: clamp(44px, 7.25vw, 104px);
  --section-gap: 24px;
  --card-pad: 22px;
  --grid-gap: 14px;
  --gutter: 20px;
  --container: 1200px;
  /* Висота шапки з рамкою: кнопка меню 44px + 2×16px; на 768+ кнопка бота 46,5px + 2×24px */
  --header-h: 77px;

  /* Радіуси */
  --radius-sm: 2px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

@media (min-width: 768px) {
  :root {
    --text-wordmark: 26px;
    --text-song-title: 27px;
    --text-h3: 21px;
    --text-h3-sm: 19px;
    --text-lead: 19px;
    --text-body: 16px;
    --text-ui: 15px;
    --text-meta: 14px;
    --text-caption: 13px;
    --section-gap: 44px;
    --card-pad: 32px;
    --grid-gap: 24px;
    --gutter: 32px;
    --header-h: 96px;
    --radius-sm: 3px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
}

/* База */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

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

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

h1 {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-heading);
}

.h2--sm {
  font-size: var(--text-h2-sm);
}

h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: var(--leading-tight);
}

.h3--sm {
  font-size: var(--text-h3-sm);
}

p {
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

a {
  color: var(--color-accent-text);
}

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

svg {
  display: block;
  flex-shrink: 0;
}

.container {
  /* Поля входять у max-width, інакше box-sizing зʼїсть їх і на 1440 контент стане на 168px. */
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Компоненти */

.section {
  padding-block: var(--space-section);
}

.section > .container {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* Для сторінок суцільного тексту (оферта, політика); index.html цих правил не використовує. */
.container.prose {
  display: block;
  max-width: calc(44em + 2 * var(--gutter));
}

.prose h2 {
  margin-top: var(--space-7);
  font-size: var(--text-h2-sm);
}

.prose h3 {
  margin-top: var(--space-5);
}

.prose p,
.prose ul,
.prose ol {
  margin-top: var(--space-4);
}

.prose ul {
  list-style: disc;
  padding-left: var(--space-5);
}

.prose ol {
  list-style: decimal;
  padding-left: var(--space-5);
}

.prose li {
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.section--paper {
  background: var(--color-paper);
  border-top: 1px solid var(--color-line-soft);
  border-bottom: 1px solid var(--color-line-soft);
}

.section--sand {
  background: var(--color-sand);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.section-head .tag {
  align-self: flex-start;
}

.eyebrow {
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--color-accent-text);
}

.eyebrow--dark {
  color: var(--color-dark-accent);
}

.lead {
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: var(--leading-normal);
}

.quote--ink {
  color: var(--color-ink);
}

.note {
  padding-top: var(--space-1);
  font-size: var(--text-ui);
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 18px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--text-button);
  font-weight: 600;
  text-decoration: none;
}

/* Кожен варіант задає колір і для :hover, інакше глобальний a:hover перефарбує текст кнопки. */
.btn--dark,
.btn--dark:hover {
  background: var(--color-dark);
  color: var(--color-paper);
}

.btn--light,
.btn--light:hover {
  background: var(--color-paper);
  color: var(--color-dark);
}

.btn--outline,
.btn--outline:hover {
  padding: 17px 23px;
  border: 1px solid var(--color-line-strong);
  color: var(--color-dark);
}

.btn.btn--sm {
  padding: 13px 22px;
  font-size: var(--text-ui);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--card-pad);
  background: var(--color-paper);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);
}

.card--tint {
  background: var(--color-bg);
  border: 0;
}

.card--sand {
  background: var(--color-sand);
  border: 0;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-blush);
  color: var(--color-accent-text);
}

.icon-tile--accent {
  background: var(--color-accent);
  color: var(--color-paper);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  padding: 9px 16px;
  background: var(--color-chip);
  border-radius: var(--radius-pill);
  font-size: var(--text-ui);
}

.chip--on {
  background: var(--color-blush);
  font-weight: 600;
}

.tag {
  padding: 7px 14px;
  background: var(--color-tint);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-accent-text);
}

.dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-line-strong);
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tile {
  padding: 12px 18px;
  background: var(--color-paper);
  border-radius: var(--radius-pill);
  font-size: var(--text-ui);
}

.split {
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-paper);
}

/* Шапка */

.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: var(--text-wordmark);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.nav {
  display: none;
}

.menu-toggle[aria-expanded='true'] + .nav {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-5);
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line-soft);
}

.nav a:not(.btn) {
  font-size: var(--text-button);
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
}

.nav a:not(.btn):hover {
  color: var(--color-ink);
}

.nav a[aria-current='true'],
.nav a[aria-current='true']:hover {
  color: var(--color-accent-text);
}

.nav .btn {
  width: 100%;
}

/* Герой */

.section > .hero-inner {
  gap: var(--space-6);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.badge {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-3);
  padding: 9px 18px;
  background: var(--color-tint);
  border-radius: var(--radius-pill);
}

.badge .eyebrow {
  color: var(--color-muted);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero .lead {
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-actions .btn {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  font-size: var(--text-meta);
  color: var(--color-muted);
}

/* На вузькому екрані рядок переноситься, і крапка зависала б у кінці рядка */
.hero-meta .dot {
  display: none;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  display: none;
  position: absolute;
  border-radius: 50%;
}

.hero-orb--big {
  top: 18px;
  right: 6px;
  width: 320px;
  height: 320px;
  background: var(--color-blush);
}

.hero-orb--small {
  bottom: 10px;
  left: 0;
  width: 210px;
  height: 210px;
  background: var(--color-line);
}

.song-card {
  width: 100%;
  box-shadow: var(--shadow-card);
}

.song-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.song-head .icon-tile {
  width: 56px;
  height: 56px;
}

.song-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.song-title {
  font-family: var(--font-serif);
  font-size: var(--text-song-title);
  font-weight: 600;
  line-height: var(--leading-heading);
}

.song-sub {
  font-size: var(--text-meta);
  color: var(--color-muted);
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 58px;
}

.wave-bar {
  flex-grow: 1;
  border-radius: var(--radius-sm);
  background: var(--color-line);
}

.wave-bar.is-on {
  background: var(--color-accent);
}

.song-quote {
  padding: 18px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.song-caption {
  padding-top: var(--space-3);
  font-size: var(--text-caption);
  color: var(--color-muted);
}

.song-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.song-variant {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-meta);
  color: var(--color-muted);
}

.play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-paper);
}

/* Цінність */

.value h2 {
  max-width: 13em;
}

.value .lead {
  max-width: 26em;
}

.value .icon-tile {
  width: 42px;
  height: 42px;
}

/* Як це працює */

.section > .how-inner {
  gap: var(--space-6);
}

.how-main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.how .lead {
  max-width: 30em;
}

.steps {
  border-bottom: 1px solid var(--color-line);
}

.step {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-accent-text);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.chat {
  gap: var(--space-3);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-line-soft);
}

.chat-head .logo {
  width: 40px;
  height: 40px;
}

.chat-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-name {
  font-size: var(--text-ui);
  font-weight: 700;
}

.chat-status {
  font-size: var(--text-caption);
  color: var(--color-muted);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.bubble {
  align-self: flex-start;
  max-width: 86%;
  padding: 12px 15px;
  background: var(--color-chip);
  border-radius: 16px 16px 16px 5px;
  font-size: var(--text-ui);
  line-height: var(--leading-normal);
  color: var(--color-ink);
}

.bubble--user {
  align-self: flex-end;
  background: var(--color-dark);
  border-radius: 16px 16px 5px 16px;
  color: var(--color-paper);
}

.chat-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 15px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  font-size: var(--text-meta);
  color: var(--color-muted);
}

.chat-note .icon {
  color: var(--color-accent-text);
}

/* Приводи */

.occasions h2 {
  max-width: 14em;
}

.occasions .lead {
  max-width: 24em;
}

/* Звучання */

.sound .section-head--stack {
  max-width: 34em;
}

/* Ціна */

.price {
  padding-top: 0;
}

.section > .price-inner {
  gap: var(--grid-gap);
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-dark);
  color: var(--color-paper);
  border-radius: var(--radius-xl);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.price-num {
  font-family: var(--font-serif);
  font-size: var(--text-price);
  font-weight: 600;
  line-height: 1;
}

.price-unit {
  font-size: 20px;
  color: var(--color-dark-text);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-button);
  line-height: var(--leading-normal);
}

.checklist .icon {
  margin-top: 3px;
  color: var(--color-dark-accent);
}

.price-card .btn {
  width: 100%;
}

.price-aside {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.price-aside p {
  font-size: var(--text-ui);
}

/* Відгуки */

.review-meta {
  display: flex;
  gap: 6px;
  font-size: var(--text-meta);
  color: var(--color-muted);
}

.review-meta b {
  font-weight: 600;
  color: var(--color-ink);
}

.review-meta span::before {
  content: '· ';
}

/* Питання */

.faq-list {
  border-bottom: 1px solid var(--color-line);
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
}

/* Фінальний заклик */

.section > .cta-inner {
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.cta h2 {
  max-width: 16em;
  font-size: var(--text-h2-cta);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.cta .lead {
  max-width: 32em;
}

.cta .btn {
  width: 100%;
}

.cta-note {
  font-size: var(--text-meta);
  color: var(--color-muted);
}

/* Підвал */

.footer {
  padding-block: var(--space-6);
  background: var(--color-dark);
  color: var(--color-dark-text);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer .logo {
  width: 30px;
  height: 30px;
}

.footer-name {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-paper);
}

.footer-tagline {
  font-size: var(--text-caption);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-meta);
}

.footer-links a {
  color: var(--color-dark-text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-paper);
}

.price-card :focus-visible,
.footer-links a:focus-visible {
  outline-color: var(--color-dark-accent);
}

/* Планшет */

@media (min-width: 768px) {
  .btn {
    padding: 19px 32px;
  }

  .btn--outline,
  .btn--outline:hover {
    padding: 18px 31px;
  }

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

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

  .tile {
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    font-size: var(--text-button);
    font-weight: 600;
  }

  .header-inner {
    padding-block: var(--space-5);
  }

  .header .logo {
    width: 38px;
    height: 38px;
  }

  .header .logo .icon {
    width: 19px;
    height: 19px;
  }

  .menu-toggle {
    display: none;
  }

  .nav,
  .menu-toggle[aria-expanded='true'] + .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
    background: none;
    border-bottom: 0;
  }

  .nav a:not(.btn) {
    font-size: var(--text-ui);
  }

  .nav .btn {
    width: auto;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-meta {
    gap: var(--space-2) var(--space-5);
  }

  .hero-meta .dot {
    display: block;
  }

  .song-card {
    max-width: 398px;
    gap: var(--space-5);
    border-radius: var(--radius-xl);
  }

  .song-head .icon-tile {
    width: 66px;
    height: 66px;
  }

  .song-head .icon {
    width: 30px;
    height: 30px;
  }

  .wave {
    gap: 4px;
    height: 74px;
  }

  .play {
    width: 46px;
    height: 46px;
  }

  .value .icon-tile {
    width: 48px;
    height: 48px;
  }

  .value .icon-tile .icon {
    width: 24px;
    height: 24px;
  }

  .step {
    gap: var(--space-5);
  }

  .step-num {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .chat {
    max-width: 398px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
  }

  .price-card {
    padding: var(--space-7);
  }

  .price-card .btn {
    align-self: flex-start;
    width: auto;
    margin-top: var(--space-2);
  }

  .price-unit {
    font-size: 24px;
  }

  .review-meta {
    flex-direction: column;
    gap: 3px;
  }

  .review-meta span::before {
    content: none;
  }

  .cta .btn {
    width: auto;
  }

  .footer {
    padding-block: var(--space-7);
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-6);
  }

  .footer .logo {
    width: 32px;
    height: 32px;
  }

  .footer .logo .icon {
    width: 16px;
    height: 16px;
  }

  .footer-wordmark {
    font-size: 20px;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
}

/* Desktop */

@media (min-width: 1024px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .section-head--stack {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .section-head .tag {
    align-self: auto;
  }

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

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

  .section > .split {
    flex-direction: row;
    gap: var(--space-9);
  }

  .section > .price-inner {
    gap: var(--space-6);
  }

  /* Базис 560 тримає пропорцію колонок: на 1024 копія ≈449px, а від 1296 — 620 + 508, як у макеті. */
  .section > .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }

  .hero-copy {
    flex: 1 1 560px;
    min-width: 0;
  }

  .hero-art {
    position: relative;
    flex: 0 1 508px;
    min-width: 380px;
    min-height: 480px;
  }

  .hero-orb {
    display: block;
  }

  .song-card {
    position: relative;
  }

  .how-main {
    flex: 1 1 0;
    min-width: 0;
  }

  .chat {
    flex: 0 0 398px;
  }

  .price-card {
    flex: 1 1 0;
    min-width: 0;
  }

  .price-aside {
    flex: 0 0 420px;
    gap: var(--space-5);
  }

  .faq-inner > h2 {
    flex: 0 0 380px;
  }

  .faq-list {
    flex: 1 1 0;
    min-width: 0;
  }
}
