/* SuperGovorilka landing - static, strict monochrome. Tokens locked 1:1 with app. */

:root {
  --bg: #ffffff;
  --bg-2: #faf9f7;
  --panel: #ffffff;
  --panel-2: #f7f6f3;
  --hair: rgba(0, 0, 0, 0.08);
  --hair-strong: rgba(0, 0, 0, 0.16);
  --ink: #1a1a18;
  --ink-soft: #4a4a47;
  --ink-mute: #76767a;
  --ink-faint: #9a9a96;
  --accent: #1a1a18;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);

  --serif: "PP Editorial New", "Hoefler Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --grotesk: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", monospace;

  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 160ms;
  --dur-enter: 360ms;

  --shell: 1080px;
  --gutter: 28px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Ambient + grain (very faint, monochrome) ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(0, 0, 0, 0.035), transparent 70%),
    radial-gradient(45% 40% at 88% 8%, rgba(0, 0, 0, 0.02), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ---------- Shell ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--hair);
}

.eyebrow {
  font-family: var(--grotesk);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section__head {
  max-width: 30ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head .eyebrow {
  display: block;
  margin-bottom: var(--space-16);
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
}

.lede {
  color: var(--ink-soft);
  max-width: 62ch;
}

.muted {
  color: var(--ink-mute);
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-micro) var(--ease),
    background-color var(--dur-micro) var(--ease),
    border-color var(--dur-micro) var(--ease),
    color var(--dur-micro) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}

.btn--primary:hover {
  background: #000;
}

.btn--ghost {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--hair-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

/* ---------- Illustration container (currentColor -> ink) ---------- */
.ill {
  color: var(--ink);
  line-height: 0;
}

.ill svg {
  width: 100%;
  height: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
  line-height: 0;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__name {
  font-size: 15px;
}

.site-header .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

/* ---------- Language toggle (monochrome, mono, hairline pill) ---------- */
.lang {
  display: inline-flex;
  align-items: stretch;
  padding: 2px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-pill);
  background: var(--panel);
}

.lang__opt {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink-mute);
  transition: color var(--dur-micro) var(--ease),
    background-color var(--dur-micro) var(--ease);
}

.lang__opt:hover {
  color: var(--ink);
}

.lang__opt[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.lang__opt:focus-visible {
  outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 11vw, 132px) clamp(56px, 9vw, 104px);
  border-top: none;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 280px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__eyebrow {
  display: block;
  margin-bottom: var(--space-24);
}

.hero h1 {
  max-width: 16ch;
}

.hero h1 em {
  /* keep the italic accent quiet, no color */
}

.hero__sub {
  margin-top: var(--space-28);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero__cta {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
}

.hero__note {
  margin-top: var(--space-16);
  font-size: 13.5px;
  color: var(--ink-mute);
  max-width: 48ch;
}

.hero__mark {
  justify-self: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  color: var(--ink);
}

.hero__mark svg {
  width: 100%;
  height: 100%;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.step {
  background: var(--panel);
  padding: clamp(24px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  transition: background-color var(--dur-micro) var(--ease);
}

.step:hover {
  background: var(--panel-2);
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.step__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0;
}

.step__ill {
  width: 64px;
  height: 64px;
}

.step h3 {
  margin-top: var(--space-4);
}

.step p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-20);
}

.value-card {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  transition: border-color var(--dur-micro) var(--ease),
    box-shadow var(--dur-micro) var(--ease);
}

.value-card:hover {
  border-color: var(--hair-strong);
  box-shadow: var(--shadow-soft);
}

.value-card__ill {
  width: 56px;
  height: 56px;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 52ch;
}

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-20);
  align-items: stretch;
}

.tier {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.tier--pro {
  border-color: var(--hair-strong);
  background: var(--panel-2);
}

.tier__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.tier--pro .tier__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--ink);
}

/* Small "unlimited / forever" infinity mark next to the PRO label. */
.tier__infinity {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--ink);
  line-height: 0;
}

.tier__infinity svg {
  width: 100%;
  height: 100%;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.tier__amount {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tier--free .tier__amount {
  font-size: clamp(52px, 8vw, 80px);
}

.tier--pro .tier__amount {
  font-size: clamp(34px, 5vw, 48px);
  color: var(--ink);
}

.tier__cap {
  font-size: 14px;
  color: var(--ink-mute);
}

.tier p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 56ch;
}

.tier__note {
  margin-top: auto;
  padding-top: var(--space-16);
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  color: var(--ink-mute);
}

.tier__cta {
  margin-top: var(--space-8);
}

.tier__cta .btn {
  width: 100%;
}

/* ---------- Final CTA + footer ---------- */
.final {
  text-align: center;
}

.final__inner {
  max-width: 40ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}

.final__sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 52ch;
}

.final__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-16);
}

.final__mac-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.final__intel-link {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.final__intel-link:hover {
  opacity: 1;
}

.site-footer {
  border-top: 1px solid var(--hair);
  padding-block: clamp(40px, 6vw, 64px);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-24);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.site-footer__brand .brand__mark {
  width: 28px;
  height: 28px;
}

.site-footer__domain {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}

.site-footer__lines {
  text-align: right;
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 42ch;
}

/* ---------- Reveal hooks (no JS yet: content stays fully visible) ---------- */
.reveal {
  will-change: opacity, transform;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 859px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .hero__mark {
    grid-row: 1;
    max-width: 156px;
    justify-self: start;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__lines {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
