:root {
  --white: #ffffff;
  --ink: #102654;
  --ink-soft: #53627d;
  --blue: #0d50e6;
  --blue-dark: #0842c4;
  --blue-soft: #eef5ff;
  --blue-wash: #f5f8ff;
  --green: #19843f;
  --green-soft: #ecf8ef;
  --border: #d7e0ec;
  --border-strong: #c5d1e0;
  --shadow: 0 18px 45px rgba(28, 56, 105, 0.1), 0 2px 6px rgba(28, 56, 105, 0.05);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(13, 80, 230, 0.28); outline-offset: 3px; }
.page-width { width: min(1416px, calc(100% - 96px)); margin-inline: auto; }

.site-header { height: 90px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.96); }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 49px; height: 35px; color: var(--white); background: var(--blue); border-radius: 9px 3px 9px 3px; font-size: 20px; font-weight: 900; letter-spacing: -.13em; padding-right: 3px; }
.brand-name { font-size: 25px; letter-spacing: -.045em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 650; transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 7px 16px rgba(13,80,230,.2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 20px rgba(13,80,230,.27); }
.button-secondary { color: var(--blue); background: var(--white); border-color: var(--blue); }
.button-secondary:hover { background: var(--blue-soft); }
.button-small { min-height: 53px; padding: 0 23px; font-size: 16px; }
.button-large { min-height: 70px; padding: 0 28px; font-size: 18px; }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(580px, 1.07fr); gap: clamp(48px, 6vw, 96px); align-items: center; padding-top: 68px; padding-bottom: 58px; }
.hero-copy { padding-left: 2px; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 27px; font-size: clamp(44px, 4.1vw, 64px); line-height: 1.07; letter-spacing: -.055em; font-weight: 780; }
.hero-lead { max-width: 590px; color: var(--ink-soft); font-size: 23px; line-height: 1.56; letter-spacing: -.025em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.verified-line { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 15px; font-weight: 650; margin: 27px 0 0 3px; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #28a64f; box-shadow: 0 0 0 4px #e2f5e6; }

.app-preview { min-width: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.preview-titlebar { height: 51px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.preview-brand { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 720; }
.mini-mark { display: grid; place-items: center; width: 24px; height: 19px; color: var(--white); background: var(--blue); border-radius: 5px 2px 5px 2px; font-size: 9px; font-weight: 900; letter-spacing: -.12em; padding-right: 1px; }
.window-controls { display: flex; align-items: center; gap: 17px; }
.window-controls span { display: block; width: 10px; height: 10px; border: 1.4px solid #687892; }
.window-controls span:first-child { border-width: 1.5px 0 0; height: 7px; }
.window-controls span:last-child { border: 0; position: relative; }
.window-controls span:last-child::before, .window-controls span:last-child::after { content: ""; position: absolute; top: 4px; left: 0; width: 12px; border-top: 1.4px solid #687892; transform: rotate(45deg); }
.window-controls span:last-child::after { transform: rotate(-45deg); }
.preview-layout { display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 386px; }
.preview-nav { padding: 11px 8px; border-right: 1px solid var(--border); }
.nav-item { height: 37px; padding: 0 9px; display: flex; align-items: center; gap: 10px; border-radius: 7px; color: var(--ink); font-size: 12px; white-space: nowrap; }
.nav-item.active { color: var(--blue); background: #e3eeff; }
.nav-symbol { width: 15px; color: currentColor; font-size: 17px; text-align: center; line-height: 1; }
.preview-content { min-width: 0; padding: 28px 22px 22px; }
.preview-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-heading-row h2 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.preview-heading-row span { color: var(--blue); font-size: 11px; }
.block-list { display: grid; gap: 10px; }
.block-row { min-width: 0; min-height: 72px; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 10px; align-items: center; gap: 11px; padding: 0 12px; border: 1px solid var(--border); border-radius: 7px; }
.block-row.selected { background: var(--blue-soft); }
.block-time { font-size: 28px; letter-spacing: -.055em; }
.block-meta { min-width: 0; display: grid; gap: 7px; }
.block-meta strong { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.block-meta span { color: var(--ink-soft); font-size: 9px; }
.ready-tag, .ok-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--green); background: var(--green-soft); border: 1px solid #8bc99b; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 720; white-space: nowrap; }
.ready-tag span { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; color: var(--white); background: var(--green); font-size: 9px; }
.chevron { color: var(--ink); font-size: 23px; line-height: 1; }
.playlist-heading { margin: 25px 0 10px; font-size: 13px; font-weight: 720; }
.playlist-table { overflow: hidden; border: 1px solid var(--border); border-radius: 7px; }
.table-head, .table-row { display: grid; grid-template-columns: minmax(170px, 1.8fr) .75fr .7fr .45fr .45fr 10px; align-items: center; gap: 10px; padding: 0 12px; }
.table-head { min-height: 31px; background: var(--blue-soft); border-bottom: 1px solid var(--border); font-size: 9px; font-weight: 720; }
.table-row { min-height: 48px; color: var(--ink); font-size: 9px; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-icon { color: var(--blue); font-size: 15px; }
.ok-tag { padding: 3px 6px; font-size: 9px; }
.more { font-size: 17px; text-align: right; }
.preview-footer { min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); color: var(--ink); font-size: 11px; }
.footer-check { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 6px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 10px; }
.folder-action { padding: 8px 12px; border: 1px solid var(--border); border-radius: 5px; font-size: 10px; }

.validation-strip { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; min-height: 89px; border: 1px solid var(--border-strong); border-radius: 8px; }
.validation-item { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 15px 22px; font-size: 16px; }
.validation-item + .validation-item { border-left: 1px solid var(--border-strong); }
.line-icon { color: var(--blue); font-size: 25px; line-height: 1; }

.setup-band { min-height: 145px; margin-top: 24px; padding: 25px 36px; display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 34px; background: var(--blue-wash); border: 1px solid #d8e5f8; border-radius: 8px; }
.setup-icon { width: 81px; height: 81px; display: grid; place-items: center; border: 1px solid #77a1f3; border-radius: 50%; color: var(--blue); }
.setup-icon svg { width: 46px; height: 46px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.setup-copy h2 { margin-bottom: 8px; font-size: 29px; letter-spacing: -.045em; }
.setup-copy p { margin: 0; color: var(--ink); font-size: 17px; }
.setup-flow { display: flex; align-items: center; color: var(--blue); font-size: 31px; }
.setup-flow i { width: 37px; border-top: 2px dotted #88acf2; margin: 0 10px; }

.details-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding-top: 80px; padding-bottom: 92px; }
.section-label { margin-bottom: 15px; color: var(--blue); font-size: 14px; font-weight: 720; letter-spacing: .02em; text-transform: uppercase; }
.details-section h2 { max-width: 480px; margin: 0; font-size: 37px; line-height: 1.1; letter-spacing: -.05em; }
.details-copy { max-width: 610px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.release-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; margin: 30px 0 0; padding-top: 23px; border-top: 1px solid var(--border); }
.release-facts div { display: grid; gap: 3px; }
.release-facts dt { color: var(--ink-soft); font-size: 12px; }
.release-facts dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.footer-muted { margin-left: 10px; color: #718098; font-weight: 400; }

.modal { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid var(--border-strong); border-radius: 14px; color: var(--ink); box-shadow: 0 24px 80px rgba(16,38,84,.22); }
.modal::backdrop { background: rgba(16, 38, 84, .26); backdrop-filter: blur(3px); }
.modal-header { min-height: 67px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.modal-header h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink-soft); background: transparent; font-size: 25px; line-height: 1; }
.icon-button:hover { color: var(--ink); background: var(--blue-soft); }
.modal-body { padding: 24px; }
.modal-status { display: flex; align-items: center; gap: 11px; margin-bottom: 19px; font-size: 15px; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.check-list li { display: flex; gap: 10px; }
.check-list li span { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--white); background: var(--green); font-size: 11px; }
.modal-note { margin: 22px 0 12px; padding: 14px; color: var(--ink); background: var(--blue-wash); border: 1px solid #d8e5f8; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.warning-note { margin-top: 12px; color: #6d4b08; background: #fff9e8; border-color: #ecd79a; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 650; }
.download-modal { width: min(460px, calc(100% - 32px)); }
.download-modal p { margin-bottom: 16px; font-size: 15px; line-height: 1.5; }
.progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: #e2e9f3; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .18s ease; }
.progress-detail { color: var(--ink-soft); font-size: 13px !important; }
.retry-button { min-height: 42px; padding-inline: 17px; font-size: 14px; }

@media (max-width: 1100px) {
  .page-width { width: min(100% - 48px, 900px); }
  .site-header { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 670px; }
  .app-preview { max-width: 760px; width: 100%; }
  .validation-strip { grid-template-columns: repeat(2, 1fr); }
  .validation-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border-strong); }
  .validation-item:nth-child(4) { border-top: 1px solid var(--border-strong); }
  .setup-band { grid-template-columns: 90px 1fr; }
  .setup-flow { display: none; }
}

@media (max-width: 680px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { height: 72px; padding-inline: 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 39px; height: 29px; font-size: 16px; }
  .brand-name { font-size: 18px; }
  .button-small { min-height: 42px; padding: 0 13px; font-size: 13px; }
  .button-small svg { width: 18px; height: 18px; }
  .hero { gap: 36px; padding-top: 50px; padding-bottom: 42px; }
  h1 { margin-bottom: 21px; font-size: 42px; }
  .hero-lead { margin-bottom: 27px; font-size: 19px; line-height: 1.5; }
  .button-large { width: 100%; min-height: 58px; padding-inline: 17px; font-size: 16px; }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-nav { display: none; }
  .preview-content { padding: 21px 13px 15px; }
  .preview-titlebar { height: 45px; }
  .block-row { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 7px; padding: 0 8px; }
  .block-time { font-size: 21px; }
  .block-meta strong { font-size: 9px; }
  .block-meta span { font-size: 8px; }
  .ready-tag { padding: 3px 4px; font-size: 8px; }
  .ready-tag span { width: 10px; height: 10px; font-size: 8px; }
  .chevron { display: none; }
  .table-head, .table-row { grid-template-columns: minmax(120px, 1.8fr) .75fr .7fr .45fr; gap: 7px; padding-inline: 8px; }
  .table-head span:nth-child(4), .table-head span:nth-child(5), .table-row span:nth-child(4), .table-row span:nth-child(5), .table-row .more { display: none; }
  .table-head, .table-row { font-size: 8px; }
  .preview-footer { align-items: flex-start; flex-direction: column; padding: 11px 13px; font-size: 9px; }
  .folder-action { width: 100%; text-align: center; }
  .validation-strip { grid-template-columns: 1fr; }
  .validation-item { min-height: 62px; justify-content: flex-start; padding-inline: 20px; font-size: 14px; }
  .validation-item + .validation-item { border-top: 1px solid var(--border-strong); border-left: 0; }
  .setup-band { grid-template-columns: 1fr; gap: 18px; padding: 27px 21px; }
  .setup-icon { width: 66px; height: 66px; }
  .setup-icon svg { width: 37px; height: 37px; }
  .setup-copy h2 { font-size: 26px; }
  .setup-copy p { font-size: 15px; line-height: 1.5; }
  .details-section { grid-template-columns: 1fr; gap: 25px; padding-top: 57px; padding-bottom: 62px; }
  .details-section h2 { font-size: 32px; }
  .details-copy { font-size: 16px; }
  .release-facts { gap: 17px; }
  .release-facts dd { font-size: 14px; }
  .footer-inner { min-height: 68px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
