/* Himalaya Audio — стили по макету Дена (2026-11-01). Цвета сняты с макета пипеткой. */

:root {
  --bg: #18191c;
  --bg-header: rgba(25, 26, 29, 0.92);
  --bg-footer: #191a1c;
  --surface: #222326;
  --shot: #0f1012;
  --line: #28292d;
  --text: #f2f3f5;
  --text-2: #a6a9ae;
  --nav: #c4c6ca;
  --dim: #7f838e;
  --faint: #5b5f66;
  --accent: #5796f9;
  --accent-ink: #0d1626;
  --accent-soft: #6aa3fa;
  --tag-border: #2f4669;
  --shot-border: #21324c;
  --ridge: #3b6099;
  --ridge-back: #2a3c5a;
  --ridge-faint: #24324a;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1220px;
  --radius: 4px;
}

@font-face { font-family: "DM Sans"; font-weight: 300; font-display: swap; src: url("../fonts/dm-sans-latin-300.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-500.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--bg-header);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled, .site-header.solid { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: block; color: var(--accent); flex: none; }
.logo svg { display: block; height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.nav a { font: 500 16px/1 var(--sans); color: var(--nav); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--accent-ink); }
.lang { font: 400 13px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.lang a { color: var(--dim); }
.lang a:hover { color: var(--text); }
.lang .on { color: var(--text); }
.lang .sep { color: var(--faint); margin: 0 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; display: block; }

/* ---------- кнопки, метки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--sans); padding: 14px 20px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #6ea6fb; }
.btn-ghost { background: transparent; color: var(--accent-soft); border-color: var(--tag-border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-lg { padding: 14px 20px; font-size: 16px; }
.btn-sm { padding: 11px 22px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.eyebrow { font: 400 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tag {
  font: 400 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft);
  border: 1px solid var(--tag-border); border-radius: 3px; padding: 8px 11px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { font: 400 13px/1 var(--mono); color: #9da1a8; background: #232427; border-radius: 3px; padding: 5px 7px; }
.badge { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 3px; }
.badge-available { background: rgba(87, 150, 249, .14); color: var(--accent-soft); }
.badge-soon { background: #232427; color: var(--dim); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; margin: 0; }
.h1 { font-size: clamp(42px, 5.5vw, 78px); line-height: 1.06; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; }
.h3 { font-size: clamp(26px, 2.3vw, 30px); line-height: 1.2; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--text-2); margin: 18px 0 0; max-width: 820px; }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); margin-top: 28px; }
.muted { color: var(--text-2); }
.check { outline: 1px dashed #8a6d2b; outline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 55% 75%, #1c2028 0%, var(--bg) 70%); }
.hero-inner { position: relative; z-index: 1; max-width: 770px; margin: 0 auto; padding: 150px 0 220px; }
.hero .buttons { margin-top: 48px; }
.hero-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; z-index: 0; }

/* ---------- разделы ---------- */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-head { margin-bottom: 56px; }
.ridge-divider { display: block; width: 100%; height: 70px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split > .text .tags { margin-top: 30px; }
.split > .text .chips { margin-top: 26px; }
.split > .text .buttons { margin-top: 36px; }

.shot-link { display: block; }
.shot {
  position: relative; margin: 0; background: var(--shot); border: 1px solid var(--shot-border); border-radius: var(--radius);
  padding: 14px;
}
.shot::before, .shot::after, .shot > .c3, .shot > .c4 {
  content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid #34527f; pointer-events: none;
}
.shot::before { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.shot::after { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.shot > .c3 { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.shot > .c4 { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.shot img { border-radius: 2px; }
.shot figcaption { font: 400 13px/1.4 var(--mono); color: var(--dim); margin-top: 12px; text-align: center; }

/* ---------- плеер демо ---------- */
.player { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 48px minmax(0, 1fr) 64px; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.track button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tag-border); background: transparent;
  color: var(--accent-soft); cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background .15s;
}
.track button:hover { border-color: var(--accent); }
.track.playing button { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.track svg { width: 16px; height: 16px; }
.track .title { font: 500 16px/1.3 var(--sans); }
.track .bar { height: 3px; background: #26282c; border-radius: 2px; margin-top: 10px; overflow: hidden; cursor: pointer; }
.track .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.track .time { font: 400 14px/1 var(--mono); color: var(--dim); text-align: right; }
.player-note { font: 400 13px/1.5 var(--mono); color: var(--dim); margin: 16px 0 0; }

/* ---------- карточки ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: #1c1d20; border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.card p { color: var(--text-2); margin: 10px 0 0; font-size: 15px; }
.card .eyebrow { margin-bottom: 12px; }
a.card { display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--tag-border); }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .pic { background: var(--shot); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9.6; display: grid; place-items: center; overflow: hidden; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product-card .pic svg { width: 46%; color: #2c3e5c; }
.product-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card h3 { font-size: 21px; }
.product-card p { margin: 0; }
.cat-title { display: flex; align-items: baseline; gap: 18px; margin: 0 0 24px; }
.cat-title h2 { font-size: 26px; font-weight: 400; }
.cat-title span { color: var(--dim); font-size: 15px; }
.cat + .cat { margin-top: 72px; }

.why .card h3 { font-size: 19px; }
.num { font: 400 12px/1 var(--mono); color: var(--accent); letter-spacing: .14em; }

/* ---------- Valley: фирменные ручки ---------- */
.signature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.sig-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
.sig-list h3 { font: 400 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
.sig-list p { color: var(--text-2); margin: 12px 0 0; font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.005em; }
.feature p { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font: 400 12px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); width: 34%; font-weight: 400; }
.specs td { color: var(--text); }
.price-box { background: #1c1d20; border: 1px solid var(--shot-border); border-radius: 6px; padding: 40px; }
.price { font-size: 38px; letter-spacing: -0.02em; margin: 8px 0 4px; }
.price-box ul { list-style: none; padding: 0; margin: 26px 0 30px; color: var(--text-2); }
.price-box li { padding: 7px 0 7px 26px; position: relative; }
.price-box li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 1px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--text-2); padding: 0 0 24px; max-width: 760px; }
.faq .answer a, .prose a { color: var(--accent-soft); border-bottom: 1px solid var(--tag-border); }

/* ---------- текстовые страницы ---------- */
.page-head { padding: 120px 0 56px; }
.prose { max-width: 760px; color: var(--text-2); font-size: 17px; }
.prose h2 { color: var(--text); font-size: 24px; margin: 48px 0 16px; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 500; }
.prose blockquote { margin: 0 0 32px; padding: 18px 22px; border-left: 2px solid var(--accent); background: #1c1d20; color: var(--text); border-radius: 0 4px 4px 0; }
.prose blockquote p { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; color: var(--text-2); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 400 14px/1.6 var(--mono); color: var(--accent); }
.notice { font: 400 14px/1.6 var(--mono); color: var(--dim); border: 1px dashed var(--line); border-radius: 4px; padding: 16px 18px; }
.post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 28px 0; }
.post-list time, .post-date { font: 400 13px/1.8 var(--mono); color: var(--dim); }
.post-list h3 { font-size: 20px; }
.post-list p { color: var(--text-2); margin: 8px 0 0; }
.post-list a:hover h3 { color: var(--accent-soft); }
.req { width: 100%; max-width: 760px; border-collapse: collapse; }
.req th, .req td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.req th { color: var(--dim); font-weight: 400; width: 40%; }

/* ---------- подписка ---------- */
.newsletter { padding: 110px 0 60px; background: radial-gradient(900px 380px at 50% 35%, #1b1f27 0%, transparent 70%); }
.newsletter .lead { margin-top: 12px; font-size: 15px; color: #8f939a; }
.newsletter h2 { font-size: clamp(26px, 2.3vw, 30px); }
.subscribe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; max-width: 760px; }
.subscribe input {
  flex: 0 1 384px; min-width: 0; height: 46px; padding: 0 16px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--surface); color: var(--text); font: 400 15px/1 var(--mono);
}
.subscribe input::placeholder { color: #6b6f76; }
.subscribe input:focus { outline: none; border-color: var(--tag-border); }
.subscribe .btn { height: 46px; padding: 0 24px; font-size: 15px; }
.form-note { font: 400 13px/1.5 var(--mono); color: var(--dim); margin: 14px 0 0; min-height: 20px; }

/* ---------- подвал ---------- */
.site-footer { background: var(--bg-footer); }
.footer-ridge { display: block; width: 100%; height: 90px; border-bottom: 1px solid #222326; }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 64px 0 52px; }
.footer-brand .logo svg { height: 24px; }
.footer-brand p { color: #8f939a; font-size: 13px; line-height: 1.55; margin: 20px 0 26px; max-width: 200px; }
.footer-col h4 { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8a8e98; margin: 0 0 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #c3c6cb; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0 30px; border-top: 1px solid #26272b; }
.footer-bottom .copy { font: 400 13px/1 var(--mono); color: #a5a8ad; }
.footer-bottom .domain { font-size: 13px; color: #6f737a; }

/* ---------- узкие экраны ---------- */
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
         gap: 0; padding: 8px 24px 24px; background: #191a1d; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; width: 100%; }
  .nav .btn { margin-top: 10px; width: auto; }
  .menu-btn { display: block; }
  .header-row > .lang { display: none; }
  .split, .signature { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo svg { height: 28px; }
  .hero-inner { padding: 96px 0 170px; }
  .hero-ridge { height: 140px; }
  .section { padding: 80px 0; }
  .page-head { padding: 80px 0 40px; }
  .grid-3, .grid-2, .features, .sig-list { grid-template-columns: 1fr; }
  .post-list a { grid-template-columns: 1fr; gap: 6px; }
  .buttons { gap: 14px; }
  .btn-lg { padding: 18px 26px; font-size: 17px; }
  .footer-bottom { flex-direction: column; }
  .price-box { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
