/* AIZPRA — site styles (light + dark themes, no framework) */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --orange: #f47a2c;
  --pink: #e2457c;
  --violet: #7446f2;
  --blue: #2a7cf0;
  --brand-gradient: linear-gradient(100deg, #ff8f3f 0%, #ee4f72 34%, #8b4dff 68%, #2f9bff 100%);
  --btn-gradient: linear-gradient(100deg, #7446f2, #2a6ff0);

  --bg: #fbfbfe;
  --bg-alt: #f2f4fa;
  --surface: #ffffff;
  --surface-2: #f6f7fc;
  --border: #e2e6f0;
  --border-strong: #cfd5e4;
  --text: #2b3348;
  --muted: #5c667e;
  --heading: #0c1226;
  --link: #5236d6;
  --accent-text: #c9530f;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 28px 60px rgba(15, 23, 42, 0.14);
  --glow-opacity: 0.5;
  --grid-line: rgba(12, 18, 38, 0.05);
  --header-bg: rgba(251, 251, 254, 0.82);
  --wordmark: linear-gradient(180deg, #0c1226, #2b3554);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 70px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Michroma", "Manrope", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --orange: #ff8f3f;
  --pink: #f0608f;
  --violet: #9a78ff;
  --blue: #4c9dff;

  --bg: #090d17;
  --bg-alt: #0d1322;
  --surface: #121929;
  --surface-2: #182135;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #d5dbe8;
  --muted: #97a2ba;
  --heading: #ffffff;
  --link: #9db8ff;
  --accent-text: #ff9a55;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 70px rgba(0, 0, 0, 0.5);
  --glow-opacity: 1;
  --grid-line: rgba(255, 255, 255, 0.045);
  --header-bg: rgba(9, 13, 23, 0.78);
  --wordmark: linear-gradient(180deg, #ffffff, #a9b3c9);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--violet) 30%, transparent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 200; transform: translateY(-300%);
  background: var(--surface); color: var(--heading); padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1.2; cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--btn-gradient); color: #fff;
  box-shadow: 0 8px 22px rgba(86, 70, 242, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(86, 70, 242, 0.42); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn-light { background: #fff; color: #10162c; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex: none; }
.brand img { height: 38px; width: auto; display: block; }
.brand-name {
  font-family: var(--font-brand); font-size: 18px; letter-spacing: 0.12em; line-height: 1;
  background: var(--wordmark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 13px; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--heading); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--heading); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 999px;
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); color: var(--heading); }
.icon-btn .icon { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 10px 16px 18px;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 16.5px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 92px; }
.glow-bg::before, .glow-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.glow-bg::before {
  opacity: var(--glow-opacity);
  background:
    radial-gradient(640px 440px at 76% 28%, color-mix(in srgb, var(--violet) 24%, transparent), transparent 70%),
    radial-gradient(520px 400px at 98% 72%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%),
    radial-gradient(460px 340px at 56% 92%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 70%);
}
.glow-bg::after {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 20%, transparent 75%);
}
.glow-bg > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 5.3vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-sub { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--accent-text); width: 17px; height: 17px; }

.hero-art { position: relative; aspect-ratio: 1 / 0.92; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-art::before {
  content: ""; position: absolute; inset: 12% 10%;
  background: var(--brand-gradient); filter: blur(70px); opacity: 0.28; border-radius: 50%;
}
[data-theme="dark"] .hero-art::before { opacity: 0.34; }
.hero-art img.hero-mark {
  position: absolute; left: 50%; top: 50%; width: 76%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 40px rgba(40, 30, 120, 0.28));
}
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 700; color: var(--heading); white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
}
.float-chip .icon { width: 17px; height: 17px; color: var(--c, var(--violet)); }
.float-chip:nth-of-type(1) { left: -2%; top: 8%; --c: var(--orange); }
.float-chip:nth-of-type(2) { right: -2%; top: 2%; --c: var(--blue); animation-delay: -2s; }
.float-chip:nth-of-type(3) { left: 0; bottom: 6%; --c: var(--pink); animation-delay: -4s; }
.float-chip:nth-of-type(4) { right: 0; bottom: 14%; --c: var(--violet); animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 400px; }
}
@media (max-width: 520px) {
  .float-chip { font-size: 12px; padding: 8px 11px; }
  .float-chip:nth-of-type(1) { left: 0; }
  .float-chip:nth-of-type(2) { right: 0; }
}

/* ---------- sections ---------- */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -0.03em; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); margin: 0; }
.section-foot { margin-top: 40px; }
.section-foot.center { text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform 0.15s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  --a: var(--violet);
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
a.card { text-decoration: none; }
.card-hover:hover, a.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--a) 55%, var(--border));
}
.card .card-more { margin-top: auto; padding-top: 18px; color: var(--link); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.card .card-more .icon { width: 1em; height: 1em; transition: transform 0.15s ease; }
a.card:hover .card-more .icon { transform: translateX(3px); }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; flex: none;
  color: var(--a);
  background: color-mix(in srgb, var(--a) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 24%, transparent);
}
.icon-badge .icon { width: 23px; height: 23px; }
.a-orange { --a: var(--orange); } .a-pink { --a: var(--pink); } .a-violet { --a: var(--violet); } .a-blue { --a: var(--blue); }

/* ---------- split (about) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.split p { color: var(--muted); font-size: 17px; }
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 20px; margin-bottom: 18px; }
.ticks li { position: relative; padding: 9px 0 9px 36px; color: var(--text); font-weight: 600; font-size: 15.5px; }
.ticks li + li { border-top: 1px dashed var(--border); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--btn-gradient);
}
.ticks.plain li { font-weight: 500; color: var(--muted); }
.ticks.plain li + li { border-top: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .panel { padding: 26px; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  display: table; font-family: var(--font-brand); font-size: 30px; line-height: 1; margin-bottom: 20px;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.step h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.step h3 .icon { color: var(--muted); width: 20px; height: 20px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- GrooMe showcase ---------- */
.showcase {
  position: relative; overflow: hidden; border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: end;
  padding: 56px 56px 0;
  color: #dbe9e8;
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(219, 122, 95, 0.26), transparent 60%),
    #0a3f42;
  box-shadow: var(--shadow-lg);
}
.showcase-copy { padding-bottom: 56px; }
.showcase .eyebrow { color: #f0a089; }
.showcase h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; letter-spacing: -0.03em; }
.showcase p { color: #c5dada; font-size: 17px; max-width: 520px; margin-bottom: 24px; }
.showcase-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.showcase-tags li {
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #e2efee;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-coral { background: #e58567; color: #23140f; box-shadow: 0 8px 22px rgba(219, 122, 95, 0.35); }
.btn-coral:hover { transform: translateY(-1px); background: #ee9478; }
.showcase-phones { position: relative; display: flex; justify-content: center; min-height: 300px; }
.phone {
  width: 250px; border-radius: 38px; border: 8px solid #0e1618; background: #0e1618; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px rgba(4, 22, 24, 0.5);
}
.phone img { display: block; width: 100%; }
.showcase-phones .phone { margin-bottom: -150px; }
.showcase-phones .phone + .phone { position: absolute; right: -6%; bottom: -40px; transform: rotate(7deg) scale(0.84); transform-origin: bottom right; margin: 0; z-index: 0; }
.showcase-phones .phone:first-child { z-index: 1; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; padding: 36px 28px 0; gap: 8px; }
  .showcase-copy { padding-bottom: 28px; }
  .showcase-phones .phone + .phone { display: none; }
  .showcase-phones .phone { width: 220px; margin-bottom: -170px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; text-align: center; color: #d6dcf0;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(255, 143, 63, 0.32), transparent 62%),
    radial-gradient(640px 360px at 100% 100%, rgba(47, 155, 255, 0.36), transparent 62%),
    radial-gradient(520px 320px at 50% 0%, rgba(139, 77, 255, 0.4), transparent 65%),
    #0b1020;
  box-shadow: var(--shadow-lg);
}
.cta-band .eyebrow { color: #ffb37f; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; font-size: 18px; color: #c3cbe4; }
@media (max-width: 640px) { .cta-band { padding: 46px 24px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 60px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.035em; margin-bottom: 16px; }
.page-hero .lead { max-width: 680px; font-size: 19px; }
.page-hero .lead a { font-weight: 700; }
@media (max-width: 760px) { .page-hero { padding: 48px 0 42px; } }

/* ---------- services page ---------- */
.service {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 0.62fr); gap: 28px; align-items: start;
  padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service + .service { margin-top: 20px; }
.service .icon-badge { width: 60px; height: 60px; border-radius: 18px; margin: 0; }
.service .icon-badge .icon { width: 28px; height: 28px; }
.service h2 { font-size: 26px; margin-bottom: 12px; }
.service p { color: var(--muted); margin: 0; }
.service p + p { margin-top: 12px; }
.service .ticks { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 12px 20px; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
}

/* ---------- prose / about ---------- */
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 16px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose > * + h2 { margin-top: 44px; }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow);
}
.aside-card h3 { font-size: 20px; margin-bottom: 10px; }
.aside-card p { color: var(--muted); font-size: 15.5px; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; gap: 36px; } .aside-card { position: static; } }
.fact-list { display: grid; gap: 14px; margin: 0 0 22px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); font-weight: 600; }
.fact-list .icon { color: var(--accent-text); margin-top: 3px; width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 44px 0; }
.faq-group + .faq-group { border-top: 1px solid var(--border); }
.faq-group:first-child { padding-top: 0; }
.faq-group > h2 { font-size: 24px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.faq-group > h2 small { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq + .faq { margin-top: 12px; }
.faq[open] { border-color: color-mix(in srgb, var(--violet) 45%, var(--border)); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; font-weight: 700; color: var(--heading); font-size: 16.5px; line-height: 1.4; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform 0.2s ease; }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--violet); }
.faq-body { padding: 0 22px 22px; color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .faq-group { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .faq-group > h2 { position: static; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.field input, .field textarea {
  display: block; width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--heading);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 20%, transparent);
}
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; flex: 1 1 240px; }
.form-note a { color: inherit; text-decoration: underline; }
.alert { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; margin-bottom: 18px; border: 1px solid; }
.alert.is-success { display: block; color: #0d7a4f; background: rgba(22, 163, 106, 0.1); border-color: rgba(22, 163, 106, 0.35); }
.alert.is-error { display: block; color: #c0293b; background: rgba(224, 62, 82, 0.09); border-color: rgba(224, 62, 82, 0.35); }
[data-theme="dark"] .alert.is-success { color: #5fe0aa; }
[data-theme="dark"] .alert.is-error { color: #ff8f9d; }
.spinner { width: 1em; height: 1em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.info-card + .info-card { margin-top: 16px; }
.info-card .icon-badge { margin: 0; }
.info-card h3 { font-size: 17px; margin-bottom: 5px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.grecaptcha-badge { visibility: hidden; }

/* ---------- apps page ---------- */
.app-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow);
}
.app-card-visual {
  position: relative; min-height: 380px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 44px;
  background: radial-gradient(520px 320px at 100% 0%, rgba(219, 122, 95, 0.3), transparent 60%), #0a3f42;
}
.app-card-visual .phone { margin-bottom: -200px; }
.app-card-copy { padding: 44px; align-self: center; }
.app-card-copy h2 { font-size: 32px; margin-bottom: 12px; }
.app-card-copy p { color: var(--muted); font-size: 17px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); background: color-mix(in srgb, var(--orange) 13%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 26%, transparent); margin-bottom: 16px; }
@media (max-width: 900px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card-visual { min-height: 300px; }
  .app-card-copy { padding: 28px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); margin: 18px 0 0; max-width: 340px; }
.site-footer h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading); margin-bottom: 16px; font-weight: 800; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: var(--muted); font-weight: 500; }
.footer-links a:hover { color: var(--heading); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 22px 0 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-tagline { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; font-size: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1280px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 7, 14, 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox button { position: absolute; top: -14px; right: -14px; background: #fff; color: #10162c; border-color: transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.notfound .code { font-family: var(--font-brand); font-size: clamp(64px, 12vw, 130px); line-height: 1; margin-bottom: 18px; }
.notfound p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
