/* Glyric — brand palette kept (dark night ground, the brand pink as the one accent).
   The coloured "folders" are the demo tracks' album colours: product content, not decoration. */
:root {
  --bg: #0d0c14;
  --surface: #181622;
  --surface-2: #221f2e;
  --ink: #f5f2f8;
  --muted: #d3cddc;
  --accent: #ff4fa3;
  --accent-ink: #14060d;
  --paper: #f5f2f8;
  --paper-ink: #0d0c14;
  --paper-muted: #3b3546;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-text: "Work Sans", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(5.5rem, 2rem + 8vw, 9.5rem);

  --margin: clamp(1rem, 2.4vw, 2rem);
  --section: clamp(4.5rem, 8vw, 8.5rem);
  --radius: 0px;
  --track: #ff4fa3;
  --track-ink: #14060d;
}

/* language switch: show only the chosen language inside the page */
html[data-lang="en"] body [lang="tr"],
html[data-lang="tr"] body [lang="en"] { display: none !important; }

body { background: var(--bg); color: var(--ink); overflow-x: clip; }
h1, .get__title { text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; }
h2, h3 { font-family: var(--font-text); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; text-transform: none; }

/* ---------- the product: the screen edge glows in the playing track's colour ---------- */
.rim {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  box-shadow: /* taste-skill-ignore: the product's own glow (data-ui) */
    inset 0 0 0 3px var(--track),
    inset 0 0 28px 4px color-mix(in srgb, var(--track) 75%, transparent),
    inset 0 0 120px 18px color-mix(in srgb, var(--track) 32%, transparent);
  opacity: 0; transition: box-shadow 1400ms var(--ease-soft), opacity 600ms var(--ease-soft);
}
body.rim-on .rim { opacity: 1; }

/* ---------- top bar ---------- */
.bar { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.bar__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.375rem; text-transform: uppercase; }
.bar__lang { justify-self: start; font-size: 17px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.bar__dl { justify-self: end; font-size: 17px; font-weight: 600; padding: 10px 0; }
.bar__lang:hover, .bar__dl:hover { color: var(--track); }

/* ---------- hero: title + a stack of track folders ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; }
.hero__head { text-align: center; padding-top: clamp(1rem, 5vh, 3.5rem); }
.hero__title { font-size: var(--step-display); line-height: 0.86; white-space: nowrap; }
.hero__lede { margin: 1rem auto 0; max-width: 46ch; font-size: var(--step-lead); line-height: 1.4; color: var(--ink); }

.stack { position: relative; flex: 1; min-height: 52svh; margin-top: clamp(2.5rem, 5vh, 3.5rem); display: grid; width: min(86vw, 1400px); margin-inline: auto; }
.folder { grid-area: 1 / 1; position: relative; background: var(--c); color: var(--ci); margin-top: calc(var(--n, 0) * 58px); min-height: calc(100% - var(--n, 0) * 58px); transition: transform 420ms var(--ease-out); }
.folder__tab {
  position: absolute; top: 0; left: 72px; bottom: auto;
  height: 58px; padding: 0 12px; background: transparent; color: var(--ci);
  font: 600 17px/58px var(--font-text); white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out);
}
.folder__tab:active { transform: scale(0.96); }
.folder:not(.is-front):hover { transform: translateY(-4px); }
.folder.is-front .folder__tab { display: none; }
.folder:not(.is-front) .folder__tab::after { content: "  ▸"; }
.folder__cover { position: absolute; top: 6px; left: 14px; width: 46px; height: 46px; object-fit: cover; background: none; }
.folder.is-front .folder__cover { display: none; }
.folder__body { padding: 24px clamp(20px, 3vw, 40px) 40px; }

.front { display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 400px); gap: 32px; align-items: start; }
.front__sleeve { width: 200px; height: 200px; object-fit: cover; background: none; }
.front__meta { margin-top: 18px; font-size: var(--step-body); font-weight: 600; }
.front__hint { margin-top: 6px; font-size: var(--step-body); }

.button { min-height: 56px; padding: 0 30px; font-weight: 600; font-size: 1.0625rem; border-radius: 0; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px); }
.button--ink { background: var(--bg); color: var(--ink); }
.button--ink:hover { background: #000; }
.button--accent { background: var(--accent); color: var(--accent-ink); }
.button--accent:hover { background: #ff6bb3; }

/* now-playing card, as in the app */
.np { background: #120f18; color: #fff; border-radius: 20px; padding: 18px; display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; font-family: "Segoe UI", var(--font-text); }
.np__art { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--c); }
.np__meta { display: flex; flex-direction: column; justify-content: center; }
.np__title { font-size: 15px; }
.np__artist { font-size: 15px; color: #b9b2c4; }
.np__line { grid-column: 1 / -1; margin-top: 14px; font-size: 22px; font-weight: 700; line-height: 1.25; color: #fff; }
.np__next { grid-column: 1 / -1; margin-top: 4px; font-size: 17px; color: #a39cb0; }

/* ---------- showcase: square plate + tabs ---------- */
.show { display: grid; grid-template-columns: 7fr 5fr; min-height: 88svh; background: var(--surface); }
.show__plate { display: grid; place-items: center; padding: 24px; }
.show__frame { position: relative; width: 100%; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.show__frame > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 240ms ease; background: var(--bg); }
.show__frame > .is-on { opacity: 1; }
.show__frame img { object-fit: contain; padding: 8%; }
.show__frame img.is-photo { object-fit: cover; padding: 0; }
.show__frame video { object-fit: contain; }
.mini { display: grid; place-items: center; }
.mini__screen { position: relative; width: 90%; aspect-ratio: 16 / 10; background: #08070c; box-shadow: inset 0 0 0 3px var(--track), inset 0 0 26px 6px color-mix(in srgb, var(--track) 70%, transparent), inset 0 0 90px 14px color-mix(in srgb, var(--track) 30%, transparent); transition: box-shadow 1400ms var(--ease-soft); } /* taste-skill-ignore: the product's own glow (data-ui) */
.mini__card { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: 46%; padding: 4% 5%; background: #15121c; border-radius: 10px; display: grid; gap: 6px; }
.mini__card span { width: 22%; aspect-ratio: 1; border-radius: 4px; background: var(--track); }
.mini__card b { height: 8px; width: 90%; background: #fff; border-radius: 4px; }
.mini__card i { height: 6px; width: 60%; background: #6f6880; border-radius: 3px; }

.show__text { display: flex; flex-direction: column; justify-content: space-between; padding: 40px clamp(20px, 4vw, 64px) 40px 0; }
.show__tabs { display: flex; gap: 28px; }
.show__tabs button { font-size: 22px; font-weight: 600; color: var(--muted); padding: 8px 0; transition: color var(--t-hover) ease; }
.show__tabs button[aria-selected="true"] { color: var(--track); }
.show__tabs button:hover { color: var(--ink); }
.show__title { font-size: 3.5rem; max-width: 14ch; }
.show__desc { margin-top: 48px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.4; }
.show__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; padding: 0 24px; height: 72px; text-decoration: none; font-weight: 600; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cell:active { transform: scale(0.98); }
.cell--ink { background: var(--ink); color: var(--bg); }
.cell--tone { background: var(--surface-2); color: var(--ink); }
.cell--tone:hover { background: #2c2840; }

/* ---------- printed sheets (features, settings) ---------- */
.menu-band { background: var(--track); padding-block: var(--section); transition: background-color 1400ms var(--ease-soft); }
.sheet { background: var(--paper); color: var(--paper-ink); padding: 64px clamp(20px, 4vw, 56px); }
.sheet--menu { width: min(1240px, calc(100% - 2 * var(--margin))); margin-inline: auto; }
.sheet--menu .sheet__title { text-align: left; }
.sheet__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.sheet__cols .sheet__group { margin-top: 0; }
.sheet__title { font-size: 3.5rem; text-align: center; margin-bottom: 40px; }
.sheet__group { font-family: var(--font-text); text-transform: none; font-weight: 600; font-size: 22px; line-height: 1.3; margin: 44px 0 12px; letter-spacing: 0; }
.sheet__group:first-of-type { margin-top: 0; }
.rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 10px; padding-block: 9px; }
.row__name { font-size: 17px; font-weight: 600; }
.row__dots { border-bottom: 4px dotted currentColor; opacity: 0.55; transform: translateY(-4px); min-width: 20px; }
.row__val { font-size: 17px; text-align: right; }
.row__note { grid-column: 1 / -1; font-size: 17px; color: #3b3546; max-width: 40ch; margin-top: 2px; }

/* ---------- how it works: the slip ---------- */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--section); align-items: start; }
.how__intro { grid-column: 1 / 6; }
.how__title { font-size: 3.5rem; margin-bottom: 28px; }
.how__intro p { max-width: 34ch; }
.how__side { grid-column: 7 / 12; margin-top: 40px; }
.how__plate { margin: 0; }
.how__plate img { width: 100%; background: none; }
.slip { grid-column: 7 / 12; background: var(--paper); color: var(--paper-ink); padding: 40px 32px 56px; }
.slip__day { font-family: var(--font-text); text-transform: none; font-weight: 600; font-size: 22px; letter-spacing: 0; margin: 28px 0 8px; }
.slip__day:first-child { margin-top: 0; }
.rows--slip .row__name { font-size: 17px; font-weight: 400; }
.rows--slip .row__val { font-size: 17px; }
.slip__total { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 28px; min-height: 44px; padding: 10px 14px; background: var(--paper-ink); color: var(--paper); font-weight: 600; max-width: none; }

/* ---------- settings: the window beside the sheet ---------- */
.settings { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--section) var(--margin); background: var(--surface); align-items: center; }
.settings__shot { grid-column: 1 / 7; }
.settings__text { grid-column: 8 / 13; }
.settings__title { font-size: 3.5rem; margin-bottom: 28px; }
.settings__text p { max-width: 38ch; font-size: var(--step-lead); line-height: 1.45; }
.settings__langs { margin-top: 28px; color: var(--track); font-weight: 600; }
.settings__shot img { width: 100%; max-width: 600px; margin-inline: auto; background: none; }
.sheet__note { margin: 0 auto 56px; font-size: 17px; color: var(--paper-muted); }
.sheet__group--c { text-align: center; margin-top: 56px; font-size: 22px; }
.plain { max-width: 420px; margin-inline: auto; }
.plain li { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; font-size: 17px; text-align: left; }
.plain li > span:last-child { text-align: right; color: var(--paper-muted); }
.sheet__foot { margin: 56px auto 0; font-size: 15px; color: var(--paper-muted); max-width: 36ch; }

/* ---------- ledger: one row of figures on a shared baseline ---------- */
.ledger { padding-block: var(--section); }
.ledger__title { font-size: 3.5rem; margin-bottom: 56px; }
.ledger__title > span { display: inline; }
.ledger__soft { color: var(--muted); }
.ledger__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin: 0; align-items: start; }
.ledger__row dt { font-family: var(--font-display); font-size: 7rem; line-height: 0.9; }
.ledger__row dd { margin: 14px 0 0; font-size: 17px; line-height: 1.4; max-width: 24ch; }
.ledger__row > div:first-child dt { color: var(--track); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-bottom: var(--section); break-inside: avoid; }
.faq__title { grid-column: 1 / -1; font-size: 3.5rem; margin-bottom: 32px; }
.faq__text { grid-column: 1 / -1; columns: 2; column-gap: 72px; }
.faq__text p { break-inside: avoid; margin: 0 0 24px; font-size: 19px; line-height: 1.55; max-width: none; }
.faq__text b { font-weight: 600; }

/* ---------- cta ---------- */
.get { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); min-height: 72svh; background: var(--accent); color: var(--accent-ink); padding: 40px var(--margin); align-items: center; }
.get__line { grid-column: 1 / 6; align-self: center; }
.get__btn { margin-top: 28px; }
.get__title { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; font-size: 7rem; line-height: 0.92; margin-bottom: 20px; }
.get__line p { max-width: 34ch; font-size: 17px; }
.wiz { grid-column: 7 / 12; justify-self: start; align-self: center; width: min(440px, 100%); background: #202020; color: #f3f3f3; border-radius: 8px; overflow: hidden; font-family: "Segoe UI", var(--font-text); }
.wiz__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #2b2b2b; font-size: 13px; }
.wiz__body { padding: 24px 24px 8px; }
.wiz__h { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.wiz__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.wiz__seg input, .wiz__check input { position: absolute; opacity: 0; }
.wiz__seg span { display: block; text-align: center; padding: 10px 0; background: #2d2d2d; border-radius: 6px; font-size: 15px; cursor: pointer; transition: background-color var(--t-hover) ease; }
.wiz__seg input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.wiz__seg input:focus-visible + span, .wiz__check input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.wiz__check { position: relative; display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.wiz__check > span::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; border-radius: 4px; background: #3a3a3a; }
.wiz__check input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%2314060d' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wiz__small { margin-top: 18px; font-size: 13px; color: #a8a8a8; }
.wiz__foot { display: flex; justify-content: flex-end; padding: 16px 24px 22px; }

/* ---------- footer: one plain closing line ---------- */
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-block: 48px 64px; }
.foot__credits { font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 90ch; }
.foot__credits a { color: inherit; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; align-content: start; font-weight: 600; }

/* ---------- mid widths ---------- */
@media (max-width: 1100px) {
  .front { grid-template-columns: 160px minmax(0, 1fr); }
  .front__act { grid-column: 1 / -1; }
  .front__sleeve { width: 160px; height: 160px; }
  .np { max-width: 440px; }
  .ledger__row dt { font-size: 5rem; }
  .faq__text { columns: 2; }
  .show { grid-template-columns: 1fr; }
  .sheet__cols { grid-template-columns: 1fr 1fr; }
  .settings { grid-template-columns: 1fr; }
  .settings__shot, .settings__text { grid-column: 1 / -1; }
  .settings__shot { margin-bottom: 48px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .rim { box-shadow: inset 0 0 0 3px var(--track), inset 0 0 22px 2px color-mix(in srgb, var(--track) 60%, transparent); } /* taste-skill-ignore: the product's own glow (data-ui) */
  .bar { height: 60px; }
  .bar__mark span { font-size: 1.25rem; }
  .hero__head { padding-top: 32px; }
  .hero__title { font-size: 21vw; white-space: normal; line-height: 0.98; }
  .hero__lede { font-size: 16px; }
  .stack { width: 100%; min-height: 52svh; margin-top: 56px; }
  .folder { margin-top: calc(var(--n, 0) * 60px); min-height: calc(100% - var(--n, 0) * 60px); }
  .folder__cover { width: 48px; height: 48px; top: 6px; }
  .folder__tab { height: 60px; line-height: 60px; font-size: 15px; padding: 0 10px; left: 66px; }
  .folder__cover { position: absolute; top: 6px; left: 14px; width: 46px; height: 46px; object-fit: cover; background: none; }
.folder.is-front .folder__cover { display: none; }
.folder__body { padding: 24px 16px 32px; }
  .front { grid-template-columns: 1fr; }
  .front__sleeve { display: none; }
  .front .button { width: 100%; }
  .np__line { font-size: 19px; }

  .show { grid-template-columns: 1fr; }
  .show__plate { padding: 16px; }
  .show__text { padding: 8px 16px 32px; gap: 28px; }
  .show__tabs button { font-size: 17px; }
  .show__title { font-size: 2.25rem; }
  .show__desc { margin-top: 20px; font-size: 17px; }
  .show__cells { grid-template-columns: 1fr; }
  .cell { height: 60px; }

  .sheet { padding: 48px 20px; }
  .sheet__title, .how__title { font-size: 2.25rem; }
  .show__title { font-size: 2.25rem; }
  .get__title { font-size: 15vw; }
  .sheet--menu { width: calc(100% - 24px); }
  .sheet__cols { grid-template-columns: 1fr; gap: 36px; }

  .how, .settings, .ledger, .faq, .get { grid-template-columns: 1fr; }
  .how__intro, .slip, .how__side, .settings__shot, .settings__text, .faq__title, .faq__text, .get__line, .wiz { grid-column: 1 / -1; }
  .slip { margin-top: 48px; padding: 32px 20px 48px; }
  .settings { padding-inline: 10px; }
  .settings__shot { margin-bottom: 40px; }
  .ledger__title { font-size: 2.25rem; margin-bottom: 32px; }
  .ledger__row { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ledger__row dt { font-size: 18vw; }
  .settings__text { grid-column: 1 / -1; }
  .settings__title { font-size: 2.25rem; }
  .settings__text p { font-size: 17px; }
  .faq__text { columns: 1; margin-top: 24px; }
  .faq__title { font-size: 2.25rem; }
  .faq__text p { font-size: 16px; }
  .get { min-height: 84svh; align-content: space-between; padding-top: 56px; }
  .get__line { align-self: start; margin-bottom: 40px; }
  .get__title { font-size: 15vw; }
  .wiz .button { width: 100%; min-height: 52px; }
  .foot { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }
  .get__btn { width: 100%; }
  .slip__total { flex-wrap: wrap; }
  .tile--mark { grid-column: 1 / -1; justify-content: center; align-items: center; text-align: center; order: -2; min-height: 160px; font-size: 26vw; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title { animation: ad-rise 900ms var(--ease-out) both; }
  .js .folder { animation: fold-in 700ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 70ms + 250ms); }
  .js [data-reveal] > *, .js .rows li, .js .plain li, .js .faq__text p { transition: opacity 380ms var(--ease-out), transform 460ms var(--ease-out); }
  .js [data-reveal] { transition-duration: 380ms, 460ms !important; }
  .js [data-reveal]:not(.is-in) .rows li, .js [data-reveal]:not(.is-in) .plain li { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].is-in .rows li, .js [data-reveal].is-in .plain li { transition-delay: calc(min(var(--k, 0), 5) * 45ms + 60ms); }
  .js .show__frame video.is-on { animation: none; }
  .js .how__plate img { transition: transform 1600ms var(--ease-soft); }
  .js .how__plate:not(.is-in) img { transform: scale(1.06); }
  .js .np__line.is-new { animation: line-in 380ms var(--ease-out); }
}
@keyframes fold-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
