/* MBS Nova Studio — site styles */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.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: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-latin-wght-normal.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: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-latin-ext-wght-normal.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;
}

:root {
  --bg: #0b1029;
  --bg-2: #11173a;
  --bg-3: #1b2252;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(226, 182, 90, 0.3);
  --gold: #e2b65a;
  --gold-2: #f5d892;
  --gold-ink: #1d1609;
  --text: #f3efe2;
  --muted: #b9b4a4;
  --dim: #8f8b80;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1160px;
  --gutter: 20px;
  --radius: 22px;
  --header-h: 68px;
  color-scheme: dark;
}

/* Language switching: only the active language is shown */
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--serif); }
h3 { font-size: 1.125rem; letter-spacing: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Starfield used behind hero areas */
.stars {
  background-image:
    radial-gradient(1.2px 1.2px at 8% 18%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 23% 62%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.6px 1.6px at 37% 28%, rgba(245,216,146,.8), transparent 60%),
    radial-gradient(1px 1px at 52% 84%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 66% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 78% 48%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 91% 76%, rgba(245,216,146,.7), transparent 60%),
    radial-gradient(1px 1px at 96% 32%, rgba(255,255,255,.5), transparent 60%);
  background-size: 520px 520px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 41, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(11, 16, 41, 0.88); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: none; margin: -5px -3px -5px -6px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.brand-name small { font-family: var(--sans); font-weight: 500; font-size: .66rem; letter-spacing: .3em; color: var(--gold); margin-left: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--dim); cursor: pointer;
  font: 600 .78rem/1 var(--sans); letter-spacing: .08em; padding: 7px 10px; border-radius: 999px;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--text); }

.menu-toggle {
  display: none; appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.site-header.open .menu-toggle .icon-open { display: none; }
.site-header.open .menu-toggle .icon-close { display: block; }

@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: rgba(11, 16, 41, 0.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
}
@media (max-width: 350px) { .brand-name small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(226,182,90,.6); }
.btn-primary:hover { color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(226,182,90,.75); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); border-color: var(--line-gold); }

.play-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .15s ease, filter .2s; }
.play-badge img { height: 52px; width: auto; }
.play-badge:hover { transform: translateY(-1px); filter: brightness(1.12); }

/* "Coming soon" store placeholder (no Apple artwork: the official badge is only for live apps) */
.store-soon {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 12px; border-radius: 10px;
  border: 1px dashed var(--line-gold); background: var(--surface); color: var(--text); white-space: nowrap;
}
.store-soon svg { width: 22px; height: 22px; color: var(--gold-2); flex: none; }
.store-soon > span { display: flex; flex-direction: column; line-height: 1.15; }
.store-soon small { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.store-soon b { font-size: 1.05rem; font-weight: 600; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Common pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-gold); background: rgba(226,182,90,.08);
  color: var(--gold-2); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.eyebrow svg { width: 14px; height: 14px; }
.kicker { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.section-head p:not(.kicker) { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .84rem; font-weight: 500;
}

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(226,182,90,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23f5d892' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid var(--line-gold);
}

.app-icon { width: 72px; height: 72px; border-radius: 22%; flex: none; box-shadow: 0 10px 26px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }

/* Phone frame around a 9:16 screenshot */
.phone {
  width: var(--w, 240px); flex: none; padding: 9px; border-radius: 34px;
  background: linear-gradient(160deg, #262c55, #0a0d22 55%);
  box-shadow: 0 0 0 1px rgba(226,182,90,.28), inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 70px -28px rgba(0,0,0,.85);
}
.phone img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #05070f; }
/* Above-the-fold screenshot as a CSS background: loads at once, and only for the active language */
.phone .shot { width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #05070f center / cover no-repeat; }
.phone .shot-jewelia { background-image: url(/assets/img/jewelia/tr-2.webp); }
html[data-lang="en"] .phone .shot-jewelia { background-image: url(/assets/img/jewelia/en-2.webp); }

/* Three fanned phones that scale with their column */
.phones { display: flex; justify-content: center; align-items: center; max-width: 520px; margin: 0 auto; }
.phones .phone { width: 36%; padding: 2%; border-radius: 15% / 8.4%; position: relative; }
.phones .phone img { border-radius: 12% / 6.8%; }
.phones .phone:nth-child(1) { margin-right: -9%; transform: rotate(-7deg) scale(.9); z-index: 1; }
.phones .phone:nth-child(2) { width: 42%; z-index: 2; }
.phones .phone:nth-child(3) { margin-left: -9%; transform: rotate(7deg) scale(.9); z-index: 1; }

/* Scroll-in animation (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(63, 74, 160, .45), transparent 70%),
    radial-gradient(45% 50% at 12% 0%, rgba(226, 182, 90, .12), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero .stars { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.9vw, 3.75rem); margin: 22px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: var(--muted); font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 38px; color: var(--muted); font-size: .92rem; }
.hero-proof .icons { display: flex; flex: none; }
.hero-proof .icons img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--bg); }
.hero-proof .icons img + img { margin-left: -10px; }
.hero-proof strong { color: var(--text); font-weight: 600; }
@media (max-width: 520px) { .hero-proof { flex-direction: column; align-items: flex-start; } }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.hero-visual .glow {
  position: absolute; width: 440px; height: 440px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(226,182,90,.28), rgba(226,182,90,0) 65%);
}
.hero-visual .phone { --w: 236px; position: relative; }
.hero-visual .ph-a { transform: translate(16px, 22px) rotate(-6deg); z-index: 1; }
.hero-visual .ph-b { transform: translate(-16px, -22px) rotate(5deg); z-index: 2; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-visual { min-height: 0; padding: 16px 0 8px; }
  .hero-visual .phone { --w: 190px; }
}
@media (max-width: 420px) {
  .hero-visual .phone { --w: 156px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Product showcase (home) ---------- */
.products { display: grid; gap: 28px; }
.product {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px; border: 1px solid var(--line); isolation: isolate;
}
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.product--jewelia::before {
  background:
    radial-gradient(55% 80% at 80% 50%, rgba(178, 38, 92, .32), transparent 70%),
    radial-gradient(60% 70% at 0% 0%, rgba(96, 64, 200, .28), transparent 70%),
    linear-gradient(135deg, #171c48, #0d1131);
}
.product--kasa::before {
  background:
    radial-gradient(55% 80% at 80% 50%, rgba(226, 182, 90, .2), transparent 70%),
    linear-gradient(135deg, #1a1a1f, #0b0b0e);
}
.product--jarlings::before {
  background:
    radial-gradient(55% 80% at 20% 50%, rgba(255, 140, 96, .24), transparent 70%),
    radial-gradient(60% 70% at 100% 0%, rgba(255, 196, 128, .12), transparent 70%),
    linear-gradient(135deg, #241a30, #100e1f);
}
.product--jarlings .product-media { order: -1; }
.product-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.product-head h3 { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 700; }
.product-kind { color: var(--gold-2); font-size: .95rem; font-weight: 500; margin-top: 2px; }
.product-lead { font-size: 1.12rem; color: var(--text); margin-bottom: 22px; }
.product .checks { margin-bottom: 24px; }
.product-meta { color: var(--dim); font-size: .88rem; margin-bottom: 22px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.product-media { padding: 12px 0; }

@media (max-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product--jarlings .product-media { order: 0; }
  .product-media { margin-top: 8px; }
}

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.studio-copy p:not(.kicker) { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }
.studio-copy h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.value:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.value-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(226,182,90,.1); border: 1px solid var(--line-gold); color: var(--gold-2);
}
.value-icon svg { width: 22px; height: 22px; }
.value p { color: var(--muted); font-size: .97rem; margin-top: 8px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 700; color: var(--gold-2); line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }
.stat b span { display: inline; color: inherit; font-size: inherit; margin-top: 0; }

@media (max-width: 900px) {
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-card {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px; border: 1px solid var(--line-gold);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background: radial-gradient(70% 90% at 50% 0%, rgba(226,182,90,.14), transparent 70%), linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.contact-card h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.contact-card > p:not(.kicker) { color: var(--muted); max-width: 560px; margin: 16px auto 0; font-size: 1.08rem; }
.contact-card > p a { overflow-wrap: anywhere; }
.email-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.copy-btn[data-copied="true"] { border-color: var(--line-gold); color: var(--gold-2); }
.copy-btn .c-done, .copy-btn[data-copied="true"] .c-idle { display: none; }
.copy-btn[data-copied="true"] .c-done { display: inline; }
.contact-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.topic { padding: 20px 22px; border-radius: 18px; background: rgba(11,16,41,.45); border: 1px solid var(--line); }
.topic h3 { font-size: 1rem; }
.topic p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
@media (max-width: 760px) { .contact-topics { grid-template-columns: 1fr; } }

/* ---------- Product pages ---------- */
.p-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.p-hero .bg { position: absolute; inset: -12px; z-index: -2; background-size: cover; background-position: center; opacity: .3; filter: blur(4px) saturate(1.1); }
.p-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), transparent 35%), linear-gradient(90deg, var(--bg) 22%, rgba(11,16,41,.82) 55%, rgba(11,16,41,.55)); }
.p-hero--kasa::after { background: linear-gradient(0deg, var(--bg), rgba(11,16,41,0) 45%), linear-gradient(90deg, rgba(11,11,14,.9) 25%, rgba(11,11,14,.5) 60%, rgba(11,11,14,.2)); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.breadcrumb { font-size: .9rem; color: var(--dim); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.p-title { display: flex; align-items: center; gap: 20px; }
.p-title .app-icon { width: 96px; height: 96px; }
.p-title h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); font-weight: 700; }
.p-title p { color: var(--gold-2); font-weight: 500; margin-top: 6px; }
.p-hero .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--text); margin: 28px 0 22px; max-width: 580px; }
.p-hero .chips { margin-bottom: 30px; }
.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.p-actions .muted-link { color: var(--muted); font-size: .95rem; }
.p-hero-visual { display: flex; justify-content: center; }
.p-hero-visual .phone { --w: 270px; transform: rotate(3deg); }
@media (max-width: 900px) {
  .p-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .p-hero-visual .phone { --w: 220px; }
  .p-hero::after { background: linear-gradient(180deg, rgba(11,16,41,.7), var(--bg) 85%); }
}
@media (max-width: 480px) { .p-title .app-icon { width: 76px; height: 76px; } }

.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 10px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: rgba(226,182,90,.35) transparent;
}
.gallery figure { margin: 0; scroll-snap-align: start; flex: none; }
.gallery .phone { --w: 236px; box-shadow: 0 0 0 1px rgba(226,182,90,.22), inset 0 0 0 1px rgba(255,255,255,.07), 0 24px 40px -24px rgba(0,0,0,.8); }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button {
  appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background-color .2s;
}
.gallery-nav button:hover { border-color: var(--line-gold); background: var(--surface-2); }
.gallery-nav svg { width: 18px; height: 18px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.head-row .section-head { margin-bottom: 0; }
@media (max-width: 560px) { .gallery .phone { --w: 200px; } .gallery-nav { display: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .value-icon { margin-bottom: 16px; }
.feature p { color: var(--muted); font-size: .97rem; margin-top: 8px; }
.feature ul { color: var(--muted); font-size: .97rem; margin: 10px 0 0; padding-left: 18px; }
.feature li + li { margin-top: 6px; }
.features--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .split, .split--3 { grid-template-columns: minmax(0, 1fr); } }

.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 18px; }
.panel > p { color: var(--muted); }
.panel > p + p { margin-top: 12px; }
.panel--gold { border-color: var(--line-gold); background: radial-gradient(90% 120% at 100% 0%, rgba(226,182,90,.12), transparent 60%), var(--surface); }

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--dim); font-size: .93rem; }
.facts dd { margin: 0; color: var(--text); font-size: .97rem; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.note { margin-top: 24px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line); color: var(--dim); font-size: .9rem; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-gold);
  background: radial-gradient(70% 140% at 0% 0%, rgba(226,182,90,.14), transparent 60%), linear-gradient(135deg, var(--bg-3), var(--bg-2));
}
.cta-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-band .cta-left { display: flex; align-items: center; gap: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #090d22; padding: 56px 0 32px; color: var(--muted); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { margin-top: 14px; max-width: 320px; }
.footer-grid .social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-grid .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.footer-grid .social a:hover { color: var(--gold-2); border-color: var(--line-gold); }
.footer-grid .social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .code { font-family: var(--serif); font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 700; color: var(--gold-2); line-height: 1; }
.not-found h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); margin: 18px 0 12px; }
.not-found p { color: var(--muted); }
.not-found .hero-actions { justify-content: center; }

/* News and press kit */
.news-list { display: grid; gap: 18px; max-width: 860px; }
.news-item time { display: block; color: var(--dim); font-size: .9rem; margin-bottom: 10px; }
.news-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.news-links .btn svg { width: 18px; height: 18px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.logo-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.logo-card .preview { display: grid; place-items: center; height: 170px; padding: 28px; background: #0b1029; }
.logo-card .preview.light { background: #f6f1e4; }
.logo-card .preview img { width: auto; height: auto; max-width: 100%; max-height: 114px; object-fit: contain; }
.logo-card .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 16px 20px; font-size: .95rem; }
.logo-card .meta b { font-weight: 600; }
