/* Cold Read — dark cinematic landing.
   Tailwind tokens from the reference translated to plain CSS. No build step. */

:root {
  --bg: #0a0a0a;
  --glass: rgba(255, 255, 255, .15);
  --glass-soft: rgba(255, 255, 255, .10);
  --line: rgba(255, 255, 255, .15);
  --line-strong: rgba(255, 255, 255, .25);
  --pad: 1.25rem;              /* px-5  */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow-lg: 0 4px 22px rgba(0, 0, 0, .55);

  /* Uppercase label rhythm. Latin carries wide tracking; Cyrillic goes loose
     and hard to read at the same values, so the RU version tightens and
     sizes up a notch. */
  --track: .15em;
  --label-sm: 10px;
  --label-md: 11px;

  /* Serif display against a sans text face: reads as expertise rather than
     as another AI vendor. Both carry full Cyrillic. */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-text: 'Manrope', system-ui, -apple-system, sans-serif;
}
html[lang="ru"] {
  --track: .07em;
  --label-sm: 11px;
  --label-md: 12px;
}
@media (min-width: 640px) { :root { --pad: 2rem; } }   /* sm:px-8  */
@media (min-width: 768px) { :root { --pad: 3rem; } }   /* md:px-12 */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(255, 255, 255, .2); }

h1, h2, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ── background layer ─────────────────────────────────── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}
.bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The clip starts as dark haze and resolves into a bright pale form, so a
   fixed scrim either flattens the top or lets white type land on near-white
   at the bottom. --dim rides the scroll instead (set in app.js). */
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: var(--dim, .45);
  background:
    linear-gradient(rgba(10, 10, 10, .5), rgba(10, 10, 10, .5)),
    radial-gradient(ellipse at 50% 45%, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, .75) 100%);
}

.page { position: relative; z-index: 10; }

/* ── shared type ──────────────────────────────────────── */

.mono {
  font-size: var(--label-sm);
  text-transform: uppercase;
  letter-spacing: var(--track);
}
.dim { color: rgba(255, 255, 255, .6); }

h1, h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 4.5rem);  /* text-5xl → 7xl, and fits 390px */
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  white-space: pre-line;                    /* headlines break on \n */
  text-shadow: var(--shadow-lg);
}

.badge {
  display: inline-block;
  border-left: 2px solid #fff;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .375rem .75rem;
  margin-bottom: 1.25rem;
  font-size: var(--label-md);
  text-transform: uppercase;
  letter-spacing: var(--track);
}

.intro {
  max-width: min(26rem, 100%);
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  text-shadow: var(--shadow-sm);
}

.body {
  margin-top: 1.5rem;
  max-width: min(30rem, 100%);
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
  text-shadow: var(--shadow-sm);
}
.body.wide { max-width: 42rem; }

/* ── buttons ──────────────────────────────────────────── */

.btn-solid, .btn-glass {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  transition: background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}

.btn-solid {
  background: #fff;
  color: #000;
  border-radius: 9999px;
  padding: .625rem 1.25rem;
}
.btn-solid:hover { background: rgba(255, 255, 255, .85); }

.btn-glass {
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: .375rem;
  padding: .5rem 1rem;
}
.btn-glass:hover { background: rgba(255, 255, 255, .25); }
.btn-glass.round {
  border-radius: 9999px;
  border-color: var(--line-strong);
  background: var(--glass-soft);
  padding: .625rem 1.25rem;
}
.btn-glass.round:hover { background: rgba(255, 255, 255, .2); }

.ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.center-ctas { justify-content: center; }

/* ── navbar ───────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .875rem var(--pad);
}
@media (min-width: 640px) { .nav-inner { gap: 1rem; } }

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
@media (min-width: 640px) { .brand { font-size: 1.25rem; } }
.brand .ico { flex: none; }

.nav-links { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .85);
  transition: color .3s;
}
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: .5rem; }
.nav-right .btn-glass { padding: .45rem .7rem; font-size: .7rem; }
@media (min-width: 640px) {
  .nav-right { gap: .75rem; }
  .nav-right .btn-glass { padding: .5rem 1rem; font-size: .8rem; }
}

.lang { display: flex; gap: .25rem; }
.lang button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .45);
  font: inherit;
  font-size: var(--label-md);
  letter-spacing: .1em;
  padding: .25rem .3rem;
  cursor: pointer;
  transition: color .3s;
}
.lang button:hover { color: rgba(255, 255, 255, .8); }
.lang button[aria-pressed="true"] { color: #fff; }

/* ── section shells ───────────────────────────────────── */

.screen, .section {
  padding: 6rem var(--pad) 3rem;
}
@media (min-width: 640px) { .screen, .section { padding-top: 7rem; } }
@media (min-width: 768px) { .screen, .section { padding-bottom: 4rem; } }

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}
@supports (height: 100svh) { .screen { min-height: 100svh; } }

.spacer { height: 80vh; }

.row-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) {
  .row-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .row-top .intro { text-align: right; }
}

.row-bottom {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.row-bottom.grow { flex: 1; justify-content: flex-end; }
@media (min-width: 768px) {
  .row-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
  }
}
.col-left { max-width: 36rem; }

/* ── hero bits ────────────────────────────────────────── */

.services { display: flex; flex-direction: column; gap: .5rem; }
.services li {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: rgba(255, 255, 255, .9);
  text-shadow: var(--shadow-sm);
}

/* No portrait tile here. The reference had a founder's photo; an initials
   plate in its place just reads as a broken image, and a face is the one
   thing this page can never show. */
.card {
  display: flex;
  border-radius: .75rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.125rem 1.25rem;
  align-self: flex-start;
  max-width: 100%;
}
.card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .375rem;
}
.card-title { font-size: .875rem; font-weight: 500; }
.card-text .btn-solid { margin-top: .375rem; align-self: flex-start; font-size: .75rem; }

/* ── frosted panel ────────────────────────────────────── */

.panel {
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--glass-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 1.5rem;
}
.panel-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.panel-row:last-child { border-bottom: 0; }

.idx {
  flex: none;
  font-size: var(--label-md);
  letter-spacing: var(--track);
  color: rgba(255, 255, 255, .55);
  padding-top: .2rem;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.panel-title .chev {
  color: rgba(255, 255, 255, .4);
  transition: transform .3s, color .3s;
}
.panel-row:hover .chev { transform: translateX(2px); color: #fff; }
.panel-body {
  margin-top: .375rem;
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}

/* ── process ──────────────────────────────────────────── */

.section.center { text-align: center; }
.section.center .badge { border-left: 0; border-top: 2px solid #fff; }
.section.center .body { margin-inline: auto; }

.steps {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { border-top: 1px solid var(--line); padding-top: 1rem; }
.step .idx { display: block; padding: 0; }
.step-title { margin-top: .625rem; font-size: 1.05rem; font-weight: 500; }
.step-body {
  margin-top: .5rem;
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}

/* ── price ────────────────────────────────────────────── */

.price {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.015em;
  text-shadow: var(--shadow-sm);
}

.domains {
  margin: 1.75rem auto 0;
  max-width: 46rem;
  font-size: var(--label-md);
  text-transform: uppercase;
  letter-spacing: var(--track);
  line-height: 2.1;
  color: rgba(255, 255, 255, .55);
}

/* ── metrics ──────────────────────────────────────────── */

.metrics {
  margin: 3rem auto 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 52rem;
}
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metrics li { display: flex; flex-direction: column; gap: .5rem; }
.metrics strong {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: -.015em;
}
.metrics span {
  font-size: var(--label-md);
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

/* ── footer ───────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
@media (min-width: 768px) {
  footer { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ── reveal ───────────────────────────────────────────── */

.reveal {
  transform: translateY(2rem);
  opacity: 0;
  transition: transform .7s ease-out, opacity .7s ease-out;
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.reveal.in { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; opacity: 1; transition: none; }
}
