/* ============================================================
   СдалВсе.рф — site.css v20260619
   Font: Manrope variable (Google Fonts)
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand palette (OKLCH) */
  --brand:        #0b948a;
  --brand-hover:  #087a72;
  --brand-light:  #e2f5f2;
  --brand-dark:   #17211f;
  --brand-dark-2: #263330;

  /* Ink */
  --ink:   oklch(0.13 0.025 245);
  --ink-2: oklch(0.38 0.025 245);
  --ink-3: oklch(0.58 0.018 245);

  /* Backgrounds */
  --bg:        oklch(0.99 0.002 245);
  --surface:   oklch(0.965 0.005 245);
  --surface-2: oklch(0.93  0.007 245);

  /* Border */
  --border:    oklch(0.88 0.007 245);
  --border-2:  oklch(0.80 0.012 245);

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  28px;

  /* Shadow */
  --shadow-sm: 0 1px 3px oklch(0.13 0.025 245 / 0.08), 0 1px 2px oklch(0.13 0.025 245 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.13 0.025 245 / 0.10), 0 2px 6px oklch(0.13 0.025 245 / 0.07);
  --shadow-lg: 0 12px 40px oklch(0.13 0.025 245 / 0.14), 0 4px 12px oklch(0.13 0.025 245 / 0.08);
  --shadow-brand: 0 6px 24px oklch(0.55 0.135 205 / 0.30);
  --shadow-surface:
    0 0 0 1px oklch(0.13 0.025 245 / 0.055),
    0 1px 2px -1px oklch(0.13 0.025 245 / 0.07),
    0 10px 32px -18px oklch(0.13 0.025 245 / 0.22);
  --shadow-surface-hover:
    0 0 0 1px oklch(0.13 0.025 245 / 0.08),
    0 4px 10px -5px oklch(0.13 0.025 245 / 0.12),
    0 18px 40px -20px oklch(0.13 0.025 245 / 0.28);

  --z-header: 40;
  --z-popup: 60;
  --z-modal: 80;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  clamp(1.5rem,   3.5vw, 2rem);
  --text-3xl:  clamp(2rem,     4.5vw, 2.75rem);
  --text-4xl:  clamp(2.5rem,   5.5vw, 3.5rem);
  --text-hero: clamp(2.75rem,  6vw,   4.25rem);

  /* Spacing */
  --space-section: clamp(64px, 8vw, 104px);
  --max-w: 1200px;
}

/* ── 2. FONT LOADING ─────────────────────────────────────────── */
/* Metric-matched fallback to reduce layout shift */
@font-face {
  font-family: 'Manrope-Fallback';
  src: local('Arial');
  size-adjust: 102%;
  ascent-override: 93%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ── 3. RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, oklch(0.93 0.04 205 / .24), transparent 30rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid oklch(0.55 0.135 205 / .32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-modal);
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: var(--brand-dark);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 750;
  box-shadow: var(--shadow-lg);
  transform: translateY(-150%);
  transition: transform 160ms var(--ease-out-quart);
}
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }

/* ── 4. LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── 5. TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p { max-width: 68ch; text-wrap: pretty; }

.overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* ── 6. BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform        0.18s var(--ease-out-expo),
    box-shadow       0.18s var(--ease-out-expo),
    background-color 0.18s ease,
    border-color     0.18s ease,
    color            0.18s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

/* Ripple shimmer on hover */
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.96); transition-duration: 0.08s; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }

/* Primary – teal */
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px oklch(0.55 0.135 205 / 0.25);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: var(--shadow-brand);
}

/* Dark – navy */
.btn-dark {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 2px 8px oklch(0.20 0.055 245 / 0.25);
}
.btn-dark:hover {
  background: var(--brand-dark-2);
  box-shadow: 0 8px 28px oklch(0.20 0.055 245 / 0.35);
}

/* Ghost – teal outline */
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
}
.btn-ghost:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 6px 20px oklch(0.20 0.055 245 / 0.22);
}

/* Light – subtle surface */
.btn-light {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-light:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

/* ── 7. HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: oklch(0.99 0.002 245 / 0.92);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 oklch(0.13 0.025 245 / .07);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled {
  background: oklch(0.99 0.002 245 / 0.97);
  box-shadow: 0 1px 0 oklch(0.13 0.025 245 / .08), 0 12px 30px -22px oklch(0.13 0.025 245 / .45);
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 8px clamp(20px, 5vw, 48px);
  background: var(--brand-dark);
  color: oklch(0.85 0.015 245);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}
.top-strip span { white-space: nowrap; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.brand:hover { opacity: 0.82; }

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.desktop-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.desktop-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}
.desktop-nav a.is-current:not(.nav-neuro) {
  color: var(--brand-dark);
  background: #fff;
  box-shadow: var(--shadow-surface);
}
.desktop-nav .nav-neuro {
  color: var(--brand-dark);
  background: var(--brand-light);
  border: 1px solid oklch(0.84 0.055 205);
}
.desktop-nav .nav-neuro:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.nav-more { position: relative; }
.nav-more summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  list-style: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary span { font-size: .9em; transition: transform .15s ease; }
.nav-more[open] summary, .nav-more summary:hover, .nav-more.is-current summary { color: var(--brand-dark); background: #fff; box-shadow: var(--shadow-surface); }
.nav-more[open] summary span { transform: rotate(180deg); }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  width: 210px;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(23, 33, 31, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 40px rgba(23, 33, 31, .14);
}
.desktop-nav .nav-more-menu a { min-height: 38px; padding-inline: 11px; font-size: .78rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle:hover { background: var(--surface); }
.menu-toggle:active { transform: scale(0.96); }
.menu-toggle[aria-expanded="true"] { background: var(--brand-light); color: var(--brand-dark); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px clamp(20px, 5vw, 48px) 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  gap: 2px;
}
.mobile-nav a {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.12s ease, color 0.12s ease;
}
.mobile-nav a:hover { background: var(--surface); color: var(--ink); }
.mobile-nav .nav-neuro { color: var(--brand-dark); background: var(--brand-light); }
.mobile-nav a.is-current { color: var(--brand-dark); background: var(--brand-light); box-shadow: inset 3px 0 0 var(--brand); }
.mobile-nav.is-open {
  display: flex;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  box-shadow: 0 18px 38px rgba(7, 24, 45, .12);
}
body.nav-open { overflow: hidden; }

/* ── 8. SECTIONS ─────────────────────────────────────────────── */
.section {
  padding-block: var(--space-section);
}
.section-alt {
  padding-block: var(--space-section);
  background: var(--surface);
}
.section-dark {
  padding-block: var(--space-section);
  background: var(--brand-dark);
  color: oklch(0.92 0.01 245);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark .section-text { color: oklch(0.76 0.018 245); }
.section-dark .overline { color: oklch(0.72 0.1 205); }

.section-tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head.center p,
.section-head.center .section-text { margin-inline: auto; }

.section-title {
  font-size: var(--text-3xl);
  margin-top: 4px;
  margin-bottom: 14px;
  color: var(--ink);
}
.section-text {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 62ch;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: 24px;
}

/* ── 9. PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  padding-block: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(circle at 88% 10%, oklch(0.93 0.04 205 / .72), transparent 28rem),
    linear-gradient(180deg, #fff, var(--surface));
  box-shadow: inset 0 -1px 0 var(--border);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.page-title {
  font-size: var(--text-4xl);
  margin-block: 8px 16px;
  color: var(--ink);
}
.page-lead {
  font-size: var(--text-lg);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 58ch;
}
.page-aside {
  font-size: var(--text-sm);
  color: var(--ink-3);
  max-width: 26ch;
  line-height: 1.55;
  padding-top: 8px;
}

/* ── 10. HERO HOME ───────────────────────────────────────────── */
.hero-home {
  position: relative;
  overflow: hidden;
  min-height: min(680px, 80vh);
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    oklch(0.13 0.025 245 / 0.88) 0%,
    oklch(0.13 0.025 245 / 0.66) 52%,
    oklch(0.13 0.025 245 / 0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 88px);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.hero-copy { max-width: 58ch; }

.hero-copy .eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: oklch(1 0 0 / 0.12);
  border: 1px solid oklch(1 0 0 / 0.2);
  color: oklch(0.88 0.04 205);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: var(--text-hero);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 3px 28px oklch(0 0 0 / 0.38);
}
.hero-lead {
  font-size: var(--text-lg);
  color: oklch(0.85 0.012 245);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 52ch;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-home .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.hero-home .btn-ghost:hover { color: var(--brand-dark); background: #fff; border-color: #fff; }

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.proof-pill {
  padding: 5px 14px;
  border-radius: 100px;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.18);
  color: oklch(0.85 0.012 245);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stats span {
  font-size: 0.75rem;
  color: oklch(0.7 0.015 245);
  font-weight: 500;
}

/* Hero side card */
.hero-side { display: flex; flex-direction: column; gap: 16px; width: 320px; flex-shrink: 0; }

.hero-card {
  background: oklch(0.99 0.002 245 / 0.95);
  border: 0;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-surface), var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.curator-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.curator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  outline: 1px solid rgba(0, 0, 0, .10);
  outline-offset: -1px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px oklch(0.55 0.135 205 / .35);
}
.curator-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 2px;
}
.curator-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
}
.curator-text {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.curator-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.curator-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-2);
  font-weight: 500;
}
.curator-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.hero-preview {
  background: oklch(0.99 0.002 245 / 0.95);
  border: 0;
  border-radius: var(--r-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-surface);
}
.hero-preview .overline { font-size: 0.75rem; margin-bottom: 14px; }
.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s ease;
}
.preview-row:last-child { border-bottom: none; padding-bottom: 0; }
.preview-row:hover { opacity: 0.72; }
.preview-row span { display: flex; flex-direction: column; gap: 2px; }
.preview-row strong { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.preview-row em { font-style: normal; font-size: 0.75rem; color: var(--ink-3); }
.preview-row b {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
}
.preview-row.is-main {
  background: var(--brand-light);
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: var(--r-sm);
  border-bottom: none;
}
.preview-row.is-main b { color: var(--brand); }

/* ── 11. CARDS ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-surface);
  transition: box-shadow 0.2s var(--ease-out-quart), transform 0.2s var(--ease-out-quart);
}
.card:hover {
  box-shadow: var(--shadow-surface-hover);
  transform: translateY(-3px);
}
.card-pad { padding: 26px; }

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.service-card h3 { font-size: var(--text-xl); margin-bottom: 8px; }
.service-card p { font-size: var(--text-sm); color: var(--ink-2); }
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.price {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tool-card { display: flex; flex-direction: column; gap: 12px; }
.tool-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.feature-card h3 { font-size: var(--text-base); font-weight: 700; }
.feature-card p { font-size: var(--text-sm); color: var(--ink-2); }

.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card h3 { font-size: var(--text-base); font-weight: 700; }
.article-card p { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.6; }

.price-card { transition: box-shadow 0.2s var(--ease-out-quart), transform 0.2s var(--ease-out-quart); }
.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.example-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.example-card h3 { font-size: var(--text-base); font-weight: 700; }
.examples-list { display: flex; flex-direction: column; gap: 12px; }

/* Document grid */
.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.document-card { padding: 0; overflow: hidden; }
.document-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
}
.document-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, .10);
  outline-offset: -1px;
  transition: transform 0.3s var(--ease-out-quart);
}
.document-thumb:hover img { transform: scale(1.04); }
.document-card h3 { padding: 14px 16px; font-size: var(--text-sm); font-weight: 600; }

/* ── 12. LINK ARROW ──────────────────────────────────────────── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.15s ease, opacity 0.15s ease;
}
.link-arrow::after {
  content: '→';
  font-size: 0.9em;
  transition: transform 0.15s ease;
}
.link-arrow:hover { opacity: 0.78; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── 13. STATS BAND ──────────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 0;
  box-shadow: var(--shadow-surface);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s var(--ease-out-quart);
}
.stat-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.45;
}

/* ── 14. CONTACT GRID / SOCIAL ICONS ────────────────────────── */
.contact-icon,
.social-row a img,
.footer-social img,
.community-link img {
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  background: oklch(1 0 0 / 0.07);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--r-lg);
  text-align: center;
  transition: background 0.18s ease, transform 0.18s var(--ease-out-quart), box-shadow 0.18s ease;
  color: oklch(0.88 0.01 245);
  touch-action: manipulation;
}
.contact-card:hover {
  background: oklch(1 0 0 / 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.25);
}
.contact-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.contact-card:active, .community-link:active, .social-row a:active { transform: scale(.96); }
.contact-card span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.65 0.025 245);
}
.contact-card strong {
  font-size: var(--text-base);
  font-weight: 800;
  color: #fff;
}
.channel-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 100px;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
}

/* ── 15. SOCIAL ROW (pricing / order) ───────────────────────── */
.social-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 36px 40px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.social-cta h2 { font-size: var(--text-2xl); margin-block: 6px 10px; }
.social-cta p { font-size: var(--text-sm); color: var(--ink-2); max-width: 46ch; }

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: background 0.15s ease, transform 0.15s var(--ease-out-quart), box-shadow 0.15s ease;
  overflow: hidden;
  touch-action: manipulation;
}
.social-row a:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px oklch(0.55 0.135 205 / 0.22);
}
.social-row a img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.social-cta-order {
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px;
}

/* ── 16. FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-dark);
  color: oklch(0.78 0.015 245);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.footer-text {
  font-size: var(--text-sm);
  color: oklch(0.62 0.018 245);
  line-height: 1.65;
  max-width: 42ch;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: oklch(0.68 0.018 245);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: #fff; }

.footer-socials { gap: 14px; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(0.72 0.018 245);
  transition: color 0.15s ease, gap 0.15s ease;
}
.footer-social:hover { color: #fff; gap: 14px; }
.footer-social img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.footer-social:hover img { opacity: 1; }

.copyright {
  padding-top: 28px;
  border-top: 1px solid oklch(1 0 0 / 0.08);
  font-size: var(--text-xs);
  color: oklch(0.48 0.015 245);
}

/* ── 17. COMMUNITY POPUP ─────────────────────────────────────── */
.community-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(344px, calc(100vw - 32px));
  max-height: min(680px, calc(100dvh - 32px));
  overflow-y: auto;
  background: rgba(255,255,255,.98);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-surface), 0 24px 70px -24px oklch(0.13 0.025 245 / .48);
  padding: 20px;
  z-index: var(--z-popup);
  transform: translateY(32px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.26s var(--ease-out-expo), opacity 0.18s ease;
}
.community-popup.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.community-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.community-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.community-title { font-size: var(--text-xl); font-weight: 800; margin-top: 4px; }
.community-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-3);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.community-close:hover { background: var(--surface-2); color: var(--ink); }
.community-text {
  font-size: var(--text-sm);
  color: var(--ink-2);
  margin-bottom: 18px;
}
.community-links-label {
  margin: 16px 0 8px;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.community-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.community-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease-out-quart);
  touch-action: manipulation;
}
.community-link:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  transform: translateX(3px);
}
.community-link img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.community-close svg { width: 19px; height: 19px; }
.community-link span { display: flex; flex-direction: column; gap: 2px; }
.community-link strong { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.community-link em { font-style: normal; font-size: 0.75rem; color: var(--ink-3); }

.referral-note {
  padding: 14px 16px;
  background: oklch(0.97 0.03 205 / 0.5);
  border: 1px solid oklch(0.55 0.135 205 / 0.2);
  border-radius: var(--r-md);
  margin-top: 12px;
}
.referral-note strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.referral-note p { font-size: 0.78rem; color: var(--ink-2); line-height: 1.55; max-width: none; }
.referral-note-featured {
  margin-top: 0;
  background: linear-gradient(135deg, rgba(226,245,242,.9), rgba(255,255,255,.96));
  box-shadow: inset 0 0 0 1px rgba(11,148,138,.08);
}

@media (max-width: 768px) {
  .community-popup {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    max-height: min(620px, calc(100dvh - 24px));
    padding: 18px;
    border-radius: 22px;
  }
  .community-title { max-width: 14ch; font-size: 1.22rem; }
  .community-link { min-height: 56px; padding-block: 9px; }
  .community-link img { width: 38px; height: 38px; }
}

/* ── 18. FORMS ───────────────────────────────────────────────── */
.form-shell {
  max-width: 860px;
  margin-inline: auto;
  padding-block: var(--space-section);
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.form-shell > :only-child {
  grid-column: 1 / -1;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}

.tool-panel {
  background: #fff;
  border: 0;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-surface);
}
.tool-panel h2 { font-size: var(--text-2xl); margin-bottom: 20px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.input, .textarea, .select {
  width: 100%;
  padding: 11px 15px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  outline: none;
}
.input, .select { min-height: 48px; }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(0.55 0.135 205 / 0.15);
  background: var(--bg);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

/* ── 19. TOOL WORKSPACE ──────────────────────────────────────── */
.tool-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.tool-output {
  min-height: 120px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--border);
}
.output-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin-block: 18px;
}
.drop-zone:hover, .drop-zone.is-dragging {
  border-color: var(--brand);
  background: var(--brand-light);
}
.drop-zone strong { display: block; font-size: var(--text-base); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.drop-zone span { font-size: var(--text-sm); color: var(--ink-3); }
.file-name { font-size: var(--text-sm); color: var(--brand); margin-top: 10px; font-weight: 600; }

/* Notices */
.notice {
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 20px;
}
.notice-success {
  background: oklch(0.94 0.05 160 / 0.5);
  border: 1px solid oklch(0.75 0.1 160 / 0.4);
  color: oklch(0.3 0.08 160);
}
.notice-error {
  background: oklch(0.94 0.04 20 / 0.5);
  border: 1px solid oklch(0.72 0.1 20 / 0.4);
  color: oklch(0.35 0.1 20);
}

/* ── 20. GOST FORM ───────────────────────────────────────────── */
[data-gost-result] { display: none; }
[data-gost-result][hidden] { display: none !important; }
[data-gost-result]:not([hidden]) { display: flex; flex-direction: column; gap: 12px; }

/* ── 21. MODAL ───────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: oklch(0 0 0 / 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.is-open { opacity: 1; pointer-events: all; }
.modal img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.15);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.modal-close:hover { background: oklch(1 0 0 / 0.25); }

/* ── 22. EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: var(--text-sm);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--border);
}

/* ── 23. SEO COPY ────────────────────────────────────────────── */
.seo-copy {
  padding-block: clamp(24px, 4vw, 40px);
}
.seo-copy p {
  font-size: var(--text-sm);
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 72ch;
}
.seo-copy p + p { margin-top: 12px; }

/* ── 24. ADMIN THUMBNAIL ─────────────────────────────────────── */
.admin-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

/* ── 25. ANIMATIONS ──────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Entrance: only elements already visible — never gate content */
.hero-copy { animation: fade-up 0.7s var(--ease-out-expo) both; }
.hero-side  { animation: fade-up 0.7s 0.12s var(--ease-out-expo) both; }

/* Scroll-reveal via JS (.is-revealed class toggle) */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.reveal-init.is-revealed {
  opacity: 1;
  transform: none;
}
/* Stagger siblings */
.reveal-init:nth-child(2) { transition-delay: 0.07s; }
.reveal-init:nth-child(3) { transition-delay: 0.14s; }
.reveal-init:nth-child(4) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-init { opacity: 1; transform: none; }
}

/* ── 26. PRICING SECTION ─────────────────────────────────────── */
.pricing-section { padding-block: var(--space-section); }
.pricing-grid { align-items: stretch; }

/* ── 27. RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
}
.modal-close svg { width: 22px; height: 22px; }

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

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-side { width: 100%; max-width: 480px; flex-direction: row; }
  .hero-card, .hero-preview { flex: 1; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero-side { display: none; }
  .hero-stats { gap: 20px; }

  .page-hero-inner { grid-template-columns: 1fr; }
  .page-aside { display: none; }

  .tool-workspace { grid-template-columns: 1fr; }

  .form-shell { grid-template-columns: 1fr; }
  .form-shell > :only-child { max-width: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .social-cta { padding: 24px; }

  .section-head { flex-direction: column; }
  .section-head.center { align-items: flex-start; text-align: left; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .community-popup { bottom: 12px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 24px); }

  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-home { min-height: auto; align-items: flex-start; }
  .hero-content { padding-block: 48px 56px; }
  .hero-side { display: none; }
  .hero-title { font-size: clamp(2.5rem, 13vw, 3.15rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .top-strip { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PREMIUM LIGHT SYSTEM · 2026-07-02
   ============================================================ */
:root {
  --brand: #0b948a;
  --brand-hover: #087a72;
  --brand-light: #e2f5f2;
  --brand-dark: #17211f;
  --brand-dark-2: #263330;
  --ink: #17211f;
  --ink-2: #56625e;
  --ink-3: #7a8581;
  --bg: #f7f8f5;
  --surface: #eef1ed;
  --surface-2: #e7ebe7;
  --border: #dce2dd;
  --border-2: #cbd4ce;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 34px;
  --shadow-sm: 0 0 0 1px rgba(23, 33, 31, .055), 0 6px 22px -18px rgba(23, 33, 31, .24);
  --shadow-md: 0 0 0 1px rgba(23, 33, 31, .06), 0 16px 48px -26px rgba(23, 33, 31, .26);
  --shadow-lg: 0 0 0 1px rgba(23, 33, 31, .065), 0 28px 80px -38px rgba(23, 33, 31, .34);
  --shadow-brand: 0 18px 44px -24px rgba(11, 148, 138, .48);
  --shadow-surface: 0 0 0 1px rgba(23, 33, 31, .055), 0 18px 54px -30px rgba(23, 33, 31, .28);
  --shadow-surface-hover: 0 0 0 1px rgba(23, 33, 31, .09), 0 26px 70px -32px rgba(23, 33, 31, .34);
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --text-hero: clamp(3.2rem, 6.3vw, 6.4rem);
  --text-4xl: clamp(2.55rem, 5vw, 4.9rem);
  --text-3xl: clamp(2.15rem, 4vw, 3.7rem);
  --space-section: clamp(82px, 10vw, 148px);
  --max-w: 1320px;
}

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
}

h1, h2, h3, h4 { letter-spacing: -.045em; }
p, li { text-wrap: pretty; }
.top-strip { display: none; }

.site-header {
  padding: 10px 0;
  background: rgba(247, 248, 245, .82);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.25);
}
.site-header.scrolled { background: rgba(247, 248, 245, .94); box-shadow: none; }
.header-inner {
  min-height: 64px;
  gap: 22px;
  padding-block: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 1px rgba(23, 33, 31, .06), 0 18px 50px -32px rgba(23, 33, 31, .35);
}
.brand-logo { height: 40px; }
.desktop-nav { gap: 0; }
.desktop-nav a { min-height: 42px; padding-inline: 11px; border-radius: 10px; font-size: .82rem; font-weight: 600; }
.desktop-nav a.is-current:not(.nav-neuro) { color: var(--ink); background: var(--surface); box-shadow: none; }
.desktop-nav .nav-neuro { border: 0; color: #087a72; background: #e2f5f2; box-shadow: inset 0 0 0 1px rgba(11, 148, 138, .12); }
.header-actions { margin-left: 6px; }
.header-actions .btn { min-height: 44px; padding: 12px 18px; }

.btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 14px 23px;
  letter-spacing: -.01em;
  transition-property: transform, box-shadow, background-color, color, border-color;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn-primary { background: #0b948a; box-shadow: 0 12px 34px -22px rgba(11, 148, 138, .6); }
.btn-primary:hover { background: #087a72; box-shadow: var(--shadow-brand); }
.btn-dark { background: #17211f; box-shadow: 0 12px 34px -22px rgba(23, 33, 31, .6); }
.btn-dark:hover { background: #263330; box-shadow: 0 18px 40px -24px rgba(23, 33, 31, .55); }
.btn-light { border: 0; background: #ffffff; box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #f8faf7; box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid #bbc6c0; color: #17211f; }
.btn-ghost:hover { border-color: #17211f; background: #17211f; color: #ffffff; }
.btn-with-icon { padding-right: 8px; gap: 15px; }
.btn-with-icon i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font-style: normal; transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background-color 180ms cubic-bezier(.2, 0, 0, 1); }
.btn-with-icon:hover i { transform: translate(2px, -1px); background: rgba(255, 255, 255, .26); }

.section { padding-block: var(--space-section); }
.section-alt { background: #f0f2ee; }
.section-dark {
  background: #e6f3f0;
  color: var(--ink);
}
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark p, .section-dark .section-text { color: var(--ink-2); }
.section-dark .overline { color: #087a72; }
.section-head { margin-bottom: clamp(36px, 5vw, 68px); }
.section-head.center { align-items: flex-start; text-align: left; }
.section-head.center p, .section-head.center .section-text { margin-inline: 0; }
.section-title { max-width: 18ch; }
.section-text { max-width: 60ch; }

.page-hero {
  padding-block: clamp(74px, 9vw, 132px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 82% 18%, rgba(11, 148, 138, .11), transparent 31rem),
    #f7f8f5;
  box-shadow: inset 0 -1px 0 rgba(23, 33, 31, .06);
}
.page-hero-inner { grid-template-columns: 1fr; gap: 16px; }
.page-title { max-width: 16ch; margin-block: 8px 22px; }
.page-lead { max-width: 62ch; color: #53605c; }
.page-aside { max-width: 58ch; padding: 0; color: #74807c; }

.card, .tool-panel, .pricing-card, .document-card, .article-card {
  border: 0;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-surface);
}
.card {
  transition-property: transform, box-shadow, background-color;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-surface-hover); }
.card-pad { padding: clamp(24px, 3vw, 36px); }
.tool-panel { border-radius: 26px; }
.input, .textarea, .select, input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea { border-color: #d2dad5; background: #ffffff; }

.site-footer {
  padding-block: 70px 28px;
  background: #eef1ed;
  color: #65716d;
  box-shadow: inset 0 1px 0 rgba(23, 33, 31, .06);
}
.footer-title { color: #17211f; }
.footer-text, .footer-links a, .footer-social { color: #64706c; }
.footer-links a:hover, .footer-social:hover { color: #087a72; }
.copyright { border-top-color: rgba(23, 33, 31, .09); color: #87918e; }
.footer-social img { opacity: 1; }

.contact-card { border: 0; background: rgba(255, 255, 255, .72); color: var(--ink); box-shadow: var(--shadow-sm); }
.section-dark .contact-card { color: var(--ink); }
.section-dark .contact-card span { color: var(--ink-3); }
.section-dark .contact-card strong { color: var(--ink); }

/* Homepage */
.premium-hero { padding: clamp(54px, 7vw, 94px) 0 clamp(72px, 9vw, 124px); }
.premium-hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); gap: clamp(42px, 6vw, 94px); align-items: start; }
.premium-hero-copy { position: relative; z-index: 2; padding-top: clamp(24px, 5vw, 74px); }
.hero-kicker { margin-bottom: 22px; color: #087a72; font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.premium-hero h1 { max-width: 9ch; font-size: var(--text-hero); line-height: .98; }
.premium-hero-lead { max-width: 38ch; margin-top: 28px; color: #58645f; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.62; }
.premium-hero .hero-actions { align-items: center; margin: 34px 0 0; }
.text-action { display: inline-flex; min-height: 46px; align-items: center; gap: 9px; padding: 7px 2px; color: #283531; font-size: .92rem; font-weight: 700; }
.text-action span { color: #0b948a; transition: transform 180ms cubic-bezier(.2, 0, 0, 1); }
.text-action:hover span { transform: translateX(4px); }
.premium-hero-visual { position: relative; padding: 8px; border-radius: 36px; background: rgba(23, 33, 31, .045); box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.premium-hero-visual img { width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; object-fit: cover; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.hero-visual-note { position: absolute; right: 26px; bottom: 26px; display: flex; min-width: 225px; flex-direction: column; padding: 17px 19px; border-radius: 17px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.hero-visual-note strong { font-size: .87rem; }
.hero-visual-note span { margin-top: 3px; color: #75807c; font-size: .72rem; }

.trust-ribbon { border-block: 1px solid rgba(23, 33, 31, .07); background: #f0f2ee; }
.trust-ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-ribbon-grid div { min-width: 0; padding: 23px clamp(14px, 2.5vw, 32px); border-right: 1px solid rgba(23, 33, 31, .07); }
.trust-ribbon-grid div:first-child { padding-left: 0; }
.trust-ribbon-grid div:last-child { border-right: 0; }
.trust-ribbon-grid strong, .trust-ribbon-grid span { display: block; }
.trust-ribbon-grid strong { color: #26322f; font-size: .8rem; }
.trust-ribbon-grid span { margin-top: 3px; color: #7a8581; font-size: .7rem; line-height: 1.45; }

.editorial-heading { display: grid; max-width: 860px; gap: 16px; margin-bottom: clamp(44px, 6vw, 78px); }
.editorial-heading h2 { max-width: 15ch; font-size: var(--text-3xl); }
.editorial-heading p { max-width: 53ch; color: #68736f; font-size: 1.05rem; }
.tools-showcase { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); gap: 22px; align-items: stretch; }
.tools-feature-visual { overflow: hidden; border-radius: 32px; background: #ffffff; box-shadow: var(--shadow-surface); }
.tools-feature-visual picture { display: block; padding: 8px; }
.tools-feature-visual img { width: 100%; aspect-ratio: 16 / 10; border-radius: 25px; object-fit: cover; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.tools-feature-visual > div { padding: 25px 30px 31px; }
.tools-feature-visual h3 { margin-bottom: 10px; font-size: clamp(1.55rem, 2vw, 2.05rem); }
.tools-feature-visual p { color: #69746f; }
.tools-feature-visual .link-arrow { display: inline-flex; margin-top: 18px; }
.tools-directory { display: grid; align-content: stretch; border-radius: 30px; background: #e8ece8; padding: 8px; }
.tool-line { display: grid; grid-template-columns: 36px minmax(0, 1fr) 34px; gap: 13px; align-items: center; padding: 19px 17px; border-bottom: 1px solid rgba(23, 33, 31, .08); border-radius: 18px; transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background-color 180ms cubic-bezier(.2, 0, 0, 1), box-shadow 180ms cubic-bezier(.2, 0, 0, 1); }
.tool-line:last-child { border-bottom: 0; }
.tool-line:hover { background: #ffffff; box-shadow: var(--shadow-sm); transform: translateX(3px); }
.tool-line-index { color: #0b948a; font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tool-line strong, .tool-line small { display: block; }
.tool-line strong { color: #25312e; font-size: .92rem; }
.tool-line small { margin-top: 3px; color: #7a8581; font-size: .72rem; }
.tool-line i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(11, 148, 138, .1); color: #087a72; font-style: normal; }

.premium-process { background: #eef1ed; }
.process-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: clamp(50px, 9vw, 140px); }
.process-intro { position: sticky; top: 126px; align-self: start; }
.process-intro h2 { max-width: 12ch; }
.process-intro p { max-width: 40ch; margin-top: 20px; color: #68736f; }
.process-intro .text-action { margin-top: 22px; }
.process-list { display: grid; }
.process-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 31px 0; border-bottom: 1px solid rgba(23, 33, 31, .11); }
.process-list li:first-child { padding-top: 4px; }
.process-list > li > span { color: #0b948a; font-size: .75rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.process-list h3 { margin-bottom: 10px; font-size: clamp(1.45rem, 2vw, 2rem); }
.process-list p { color: #69746f; }

.facts-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.fact-main, .fact { display: flex; min-height: 240px; flex-direction: column; justify-content: space-between; padding: clamp(26px, 4vw, 46px); border-radius: 30px; background: #ffffff; box-shadow: var(--shadow-surface); }
.fact-main { background: #0b948a; color: #ffffff; }
.fact-main strong, .fact strong { font-size: clamp(3rem, 6vw, 6rem); line-height: .9; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.fact span, .fact-main span { max-width: 24ch; font-size: .85rem; line-height: 1.5; }
.fact span { color: #6d7874; }
.fact-main span { color: rgba(255, 255, 255, .82); }

.services-editorial { background: #f0f2ee; }
.service-list { margin-bottom: 30px; border-top: 1px solid rgba(23, 33, 31, .13); }
.service-row { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.3fr) minmax(160px, .45fr); gap: 32px; align-items: center; padding: 29px 0; border-bottom: 1px solid rgba(23, 33, 31, .13); }
.service-row h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
.service-row p { color: #68736f; font-size: .88rem; }
.service-row > div { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.service-row strong { white-space: nowrap; font-size: .84rem; font-variant-numeric: tabular-nums; }
.service-row a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 15px; border-radius: 999px; background: #ffffff; color: #087a72; font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-sm); }

.contact-studio-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr); gap: clamp(48px, 8vw, 110px); align-items: start; }
.contact-studio h2 { max-width: 10ch; }
.contact-studio p { max-width: 40ch; margin: 22px 0 28px; color: #69746f; }
.contact-links { display: grid; border-top: 1px solid rgba(23, 33, 31, .12); }
.contact-links a { display: grid; min-height: 80px; grid-template-columns: 42px minmax(0, 1fr) 32px; gap: 15px; align-items: center; border-bottom: 1px solid rgba(23, 33, 31, .12); transition: padding-left 180ms cubic-bezier(.2, 0, 0, 1), color 180ms cubic-bezier(.2, 0, 0, 1); }
.contact-links a:hover { padding-left: 9px; color: #087a72; }
.contact-links img { width: 34px; height: 34px; object-fit: contain; }
.contact-links strong, .contact-links small { display: block; }
.contact-links strong { font-size: .9rem; }
.contact-links small { margin-top: 3px; color: #85908c; font-size: .7rem; }
.contact-links i { font-style: normal; color: #0b948a; }

.faq-editorial { background: #eef1ed; }
.faq-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(52px, 9vw, 138px); }
.faq-layout header p { margin-top: 14px; color: #77827e; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 34px; }
.faq-list article { padding-top: 18px; border-top: 1px solid rgba(23, 33, 31, .13); }
.faq-list h3 { margin-bottom: 10px; font-size: 1rem; letter-spacing: -.02em; }
.faq-list p { color: #68736f; font-size: .85rem; }
.seo-copy-premium { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 32px; align-items: start; }
.seo-copy-premium h2 { font-size: 1.2rem; }
.seo-copy-premium p { margin: 0; }

/* Existing inner pages */
.pricing-card, .feature-card, .tool-card, .service-card, .article-card, .document-card { border-radius: 24px; }
.stats-band { border: 0; border-radius: 28px; background: #ffffff; box-shadow: var(--shadow-surface); }
.document-thumb img, .article-card img { outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.community-popup { border-radius: 24px; box-shadow: var(--shadow-lg); }

/* Content below the Neuro Assistant editor only */
.neuro-seo { background: #f7f8f5 !important; }
.neuro-faq { background: #eef1ed !important; }
.neuro-seo { padding-block: clamp(88px, 10vw, 140px) !important; }
.neuro-seo-head { max-width: 760px !important; margin: 0 auto clamp(42px, 6vw, 74px) !important; text-align: center; }
.neuro-seo-head h2, .neuro-faq-heading h2 { color: #17211f !important; font-family: 'Onest', sans-serif !important; letter-spacing: -.045em !important; }
.neuro-seo-grid { gap: 16px !important; }
.neuro-seo-grid > * { border: 0 !important; border-radius: 24px !important; background: #ffffff !important; box-shadow: var(--shadow-surface) !important; }
.neuro-seo-note { max-width: 72ch !important; margin: 30px auto 0 !important; color: #6d7874 !important; }
.neuro-faq { padding-block: 0 clamp(88px, 10vw, 140px) !important; }
.neuro-faq-grid { gap: clamp(46px, 8vw, 110px) !important; }
.neuro-faq .faq-list { gap: 0 !important; border-top: 1px solid rgba(23, 33, 31, .13); }
.neuro-faq .faq-item { border-bottom-color: rgba(23, 33, 31, .13) !important; }

@media (min-width: 901px) {
  .grid-4 { grid-template-columns: repeat(12, 1fr); }
  .grid-4 > * { grid-column: span 3; }
}

@media (max-width: 1120px) {
  .header-inner { margin-inline: 16px; width: calc(100% - 32px); padding-inline: 18px; }
  .premium-hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .premium-hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
  .tools-showcase, .contact-studio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .premium-hero-grid, .tools-showcase, .process-layout, .contact-studio-grid, .faq-layout { grid-template-columns: 1fr; }
  .premium-hero-copy { max-width: 680px; }
  .premium-hero h1 { max-width: 12ch; }
  .premium-hero-visual { transform: none; }
  .trust-ribbon-grid { grid-template-columns: 1fr 1fr; }
  .trust-ribbon-grid div:nth-child(2) { border-right: 0; }
  .trust-ribbon-grid div:nth-child(3), .trust-ribbon-grid div:nth-child(4) { border-top: 1px solid rgba(23, 33, 31, .07); }
  .trust-ribbon-grid div:nth-child(3) { padding-left: 0; }
  .process-intro { position: static; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact-main { grid-column: 1 / -1; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row > div { justify-content: flex-start; }
  .seo-copy-premium { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-section: 78px; }
  .site-header { padding: 7px 0; }
  .header-inner { min-height: 58px; margin-inline: 10px; width: calc(100% - 20px); padding-inline: 13px; border-radius: 17px; }
  .mobile-nav { margin: 7px 10px 0; padding: 8px; border: 0; border-radius: 17px; background: #ffffff; box-shadow: var(--shadow-lg); }
  .mobile-nav a { border-radius: 11px; }
  .premium-hero { padding-top: 46px; }
  .premium-hero-grid { gap: 42px; }
  .premium-hero h1 { font-size: clamp(3rem, 13vw, 4.7rem); }
  .premium-hero-lead { margin-top: 22px; }
  .premium-hero-visual { padding: 6px; border-radius: 26px; }
  .premium-hero-visual img { border-radius: 20px; }
  .hero-visual-note { right: 16px; bottom: 16px; min-width: 0; }
  .tools-feature-visual, .tools-directory { border-radius: 24px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-main { grid-column: auto; }
  .fact-main, .fact { min-height: 190px; }
  .faq-list { grid-template-columns: 1fr; }
  .neuro-seo-head, .neuro-faq-heading { text-align: left !important; }
}

@media (max-width: 520px) {
  .premium-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .premium-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .premium-hero .btn, .premium-hero .text-action { justify-content: center; }
  .hero-visual-note { position: static; margin: 7px 2px 2px; box-shadow: none; }
  .trust-ribbon-grid { grid-template-columns: 1fr; }
  .trust-ribbon-grid div, .trust-ribbon-grid div:first-child, .trust-ribbon-grid div:nth-child(3) { padding: 18px 0; border-right: 0; border-top: 1px solid rgba(23, 33, 31, .07); }
  .trust-ribbon-grid div:first-child { border-top: 0; }
  .tool-line { grid-template-columns: 30px minmax(0, 1fr) 30px; padding: 17px 11px; }
  .process-list li { grid-template-columns: 38px 1fr; gap: 14px; }
  .contact-links a { grid-template-columns: 38px minmax(0, 1fr) 26px; }
}

.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.premium-hero-copy { animation: fade-up 720ms cubic-bezier(.16, 1, .3, 1) both; }
.premium-hero-visual { animation: fade-up 820ms 90ms cubic-bezier(.16, 1, .3, 1) both; }
.premium-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-duration: 620ms;
  transition-delay: var(--reveal-delay, 0ms);
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}
.premium-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .premium-hero-copy, .premium-hero-visual { animation: none; }
  .premium-reveal { opacity: 1; transform: none; }
}

.article-hero { display: grid; gap: 16px; }
.article-hero .page-title { max-width: 18ch; }
.article-hero time { color: #7b8682; font-size: .78rem; font-variant-numeric: tabular-nums; }
.back-link { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; color: #087a72; font-size: .84rem; font-weight: 700; }
.article-body, .prose { max-width: 820px; padding-block: clamp(70px, 9vw, 128px); }
.article-body p, .prose p { max-width: 70ch; margin: 0 0 1.35em; color: #3f4b47; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.82; }
.article-body h2, .prose h2 { max-width: 19ch; margin: 2.2em 0 .75em; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.article-body h3, .prose h3 { margin: 1.8em 0 .7em; }
.article-body a, .prose a { color: #087a72; text-decoration: underline; text-decoration-color: rgba(11, 148, 138, .35); text-underline-offset: 3px; }
.related-articles { display: grid; border-top: 1px solid rgba(23, 33, 31, .12); }
.related-articles a { display: grid; min-height: 76px; grid-template-columns: 90px minmax(0, 1fr) 30px; gap: 18px; align-items: center; border-bottom: 1px solid rgba(23, 33, 31, .12); }
.related-articles time { color: #7d8884; font-size: .72rem; font-variant-numeric: tabular-nums; }
.related-articles strong { font-size: .94rem; }
.related-articles span { color: #0b948a; }

/* ============================================================
   2026-07-02 — layout correction
   Mobile, tablet and desktop are intentionally isolated below.
   ============================================================ */

/* Shared foundations only */
body { overflow-x: hidden; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 700; }
h3 { font-weight: 600; }
.premium-reveal,
.premium-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}
.premium-hero-copy,
.premium-hero-visual { animation: none; }

.page-hero {
  padding-block: 64px 56px;
  background: #f7f8f5;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 330px);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
.page-title {
  max-width: 17ch;
  margin-block: 10px 18px;
  font-size: clamp(2.7rem, 4.2vw, 4.35rem);
  line-height: 1.03;
}
.page-lead { max-width: 64ch; font-size: 1.08rem; line-height: 1.68; }
.page-aside { max-width: 34ch; padding: 0 0 5px; font-size: .9rem; line-height: 1.65; }
.page-hero + .section,
.page-hero + .pricing-section { padding-top: 64px; }

.pricing-section { padding-bottom: 88px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.price-card { min-height: 280px; }

.form-shell {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: 0 0 88px;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 22px;
}
.form-shell .tool-panel,
.form-shell .social-cta-order { min-width: 0; }
.form-shell .tool-panel { padding: 34px; }
.form-shell .textarea { min-height: 184px; }
.social-cta-order {
  min-height: 100%;
  align-content: space-between;
  padding: 34px;
  border-radius: 26px;
}

/* Desktop: wide editorial canvas, never reused as mobile layout */
@media (min-width: 1200px) {
  :root { --max-w: 1280px; --space-section: 88px; }

  .premium-hero { padding: 28px 0 34px; }
  .premium-hero-grid {
    position: relative;
    display: block;
    min-height: 590px;
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(23, 33, 31, .06), 0 28px 80px -50px rgba(23, 33, 31, .35);
  }
  .premium-hero-grid::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 33%, rgba(255,255,255,.6) 51%, rgba(255,255,255,0) 72%);
    content: "";
    pointer-events: none;
  }
  .premium-hero-copy {
    position: relative;
    z-index: 2;
    width: 55%;
    max-width: 650px;
    padding: 86px 0 76px 64px;
  }
  .hero-kicker { margin-bottom: 20px; }
  .premium-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.8rem, 5vw, 5.2rem);
    line-height: .98;
  }
  .premium-hero-lead {
    max-width: 48ch;
    margin-top: 24px;
    font-size: 1.08rem;
    line-height: 1.65;
  }
  .premium-hero .hero-actions { margin-top: 30px; }
  .premium-hero-visual {
    position: absolute;
    inset: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
  }
  .premium-hero-visual picture { display: block; height: 100%; }
  .premium-hero-visual img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
    object-position: center 52%;
    outline: 0;
  }
  .hero-visual-note { z-index: 3; right: 28px; bottom: 28px; }

  .trust-ribbon-grid div { padding-block: 20px; }
  .editorial-heading { margin-bottom: 38px; }
  .editorial-heading h2 { font-size: clamp(2.55rem, 3.7vw, 4rem); line-height: 1.02; }

  .tools-showcase {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: stretch;
  }
  .tools-feature-visual {
    position: relative;
    display: flex;
    min-height: 392px;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 28px;
    background: #e9ece8;
  }
  .tools-feature-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 24, 22, .02) 18%, rgba(14, 24, 22, .84) 100%);
    content: "";
  }
  .tools-feature-visual picture { position: absolute; inset: 0; height: 100%; padding: 0; }
  .tools-feature-visual img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: center; outline: 0; }
  .tools-feature-visual > div { position: relative; z-index: 1; max-width: 540px; padding: 34px; }
  .tools-feature-visual h3 { color: #ffffff; }
  .tools-feature-visual p { color: rgba(255,255,255,.82); }
  .tools-feature-visual .link-arrow { color: #ffffff; }
  .tools-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .tool-line {
    min-height: 190px;
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    align-content: center;
    padding: 24px 20px;
    border: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-surface);
  }
  .tool-line:hover { transform: translateY(-3px); box-shadow: var(--shadow-surface-hover); }
  .tool-line strong { font-size: 1rem; }
  .tool-line small { font-size: .76rem; line-height: 1.5; }

  .section { padding-block: 88px; }
  .premium-tools-section { padding-top: 82px; }
  .process-layout { gap: 86px; }

  .form-shell .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet: its own two-column rhythm, no desktop absolute canvas */
@media (min-width: 768px) and (max-width: 1199px) {
  :root { --space-section: 76px; }

  .header-actions { margin-left: auto; }

  .premium-hero { padding: 36px 0 54px; }
  .premium-hero-grid {
    position: relative;
    display: block;
    min-height: 520px;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-surface);
  }
  .premium-hero-grid::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.2) 75%);
    content: "";
  }
  .premium-hero-copy { position: relative; z-index: 2; width: 62%; max-width: 580px; padding: 64px 0 56px 44px; }
  .premium-hero h1 { max-width: 11ch; font-size: clamp(3.25rem, 6.6vw, 4.5rem); }
  .premium-hero-lead { margin-top: 22px; font-size: 1rem; }
  .premium-hero-visual { position: absolute; inset: 0; padding: 0; border-radius: 0; box-shadow: none; transform: none; }
  .premium-hero-visual picture { display: block; height: 100%; }
  .premium-hero-visual img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; outline: 0; }
  .hero-visual-note { right: 16px; bottom: 16px; min-width: 0; }

  .tools-showcase { grid-template-columns: 1fr; }
  .tools-feature-visual { position: relative; display: flex; min-height: 420px; align-items: flex-end; overflow: hidden; }
  .tools-feature-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(14,24,22,.84)); content: ""; }
  .tools-feature-visual picture { position: absolute; inset: 0; height: 100%; padding: 0; }
  .tools-feature-visual img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .tools-feature-visual > div { position: relative; z-index: 1; padding: 30px; }
  .tools-feature-visual h3 { color: #fff; }
  .tools-feature-visual p { color: rgba(255,255,255,.82); }
  .tools-feature-visual .link-arrow { color: #fff; }
  .tools-directory { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-line { min-height: 118px; border-bottom: 0; background: rgba(255,255,255,.7); }

  .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 48px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-shell { width: min(940px, calc(100% - 40px)); grid-template-columns: 1fr; }
  .social-cta-order { min-height: auto; }
}

/* Mobile: independent vertical composition */
@media (max-width: 767px) {
  :root { --space-section: 58px; }

  .header-actions { margin-left: auto; }
  .container { width: min(100% - 32px, var(--max-w)); }
  .premium-hero { padding: 26px 0 42px; }
  .premium-hero-grid { display: flex; flex-direction: column; gap: 28px; }
  .premium-hero-copy { width: 100%; max-width: none; padding: 0; }
  .hero-kicker { margin-bottom: 14px; font-size: .78rem; }
  .premium-hero h1 { max-width: 12ch; font-size: clamp(2.7rem, 13vw, 4rem); line-height: .98; }
  .premium-hero-lead { max-width: 38ch; margin-top: 20px; font-size: 1rem; line-height: 1.6; }
  .premium-hero .hero-actions { align-items: stretch; flex-direction: column; margin-top: 26px; }
  .premium-hero .btn,
  .premium-hero .text-action { width: 100%; justify-content: center; }
  .premium-hero-visual { position: relative; padding: 5px; border-radius: 24px; transform: none; }
  .premium-hero-visual img { aspect-ratio: 4 / 3; border-radius: 19px; object-position: center; }
  .hero-visual-note { right: 12px; bottom: 12px; min-width: 0; max-width: calc(100% - 24px); padding: 12px 14px; }

  .trust-ribbon-grid { grid-template-columns: 1fr 1fr; }
  .trust-ribbon-grid div,
  .trust-ribbon-grid div:first-child,
  .trust-ribbon-grid div:nth-child(3) { padding: 17px 12px; border-top: 0; }
  .trust-ribbon-grid div:nth-child(odd) { padding-left: 0; }
  .trust-ribbon-grid div:nth-child(even) { border-right: 0; }
  .trust-ribbon-grid div:nth-child(n+3) { border-top: 1px solid rgba(23, 33, 31, .07); }

  .editorial-heading { gap: 12px; margin-bottom: 30px; }
  .editorial-heading h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .editorial-heading p { font-size: 1rem; }
  .tools-showcase { grid-template-columns: 1fr; gap: 14px; }
  .tools-feature-visual { position: relative; display: flex; min-height: 390px; align-items: flex-end; overflow: hidden; border-radius: 22px; }
  .tools-feature-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(14,24,22,.86)); content: ""; }
  .tools-feature-visual picture { position: absolute; inset: 0; height: 100%; padding: 0; }
  .tools-feature-visual img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .tools-feature-visual > div { position: relative; z-index: 1; padding: 24px; }
  .tools-feature-visual h3 { color: #fff; }
  .tools-feature-visual p { color: rgba(255,255,255,.82); }
  .tools-feature-visual .link-arrow { color: #fff; }
  .tools-directory { gap: 8px; padding: 7px; border-radius: 22px; }
  .tool-line { min-height: 92px; padding: 16px 12px; }

  .page-hero { padding-block: 44px 38px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .page-title { max-width: 16ch; font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .page-lead { font-size: 1rem; }
  .page-aside { display: block; max-width: 50ch; font-size: .86rem; }
  .page-hero + .section,
  .page-hero + .pricing-section { padding-top: 44px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-card { min-height: 0; }
  .form-shell {
    width: min(100% - 32px, 680px);
    padding-bottom: 58px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-shell .tool-panel,
  .social-cta-order { padding: 22px; border-radius: 22px; }
  .form-shell .form-grid { grid-template-columns: 1fr; }
  .form-shell .section-actions { align-items: stretch; flex-direction: column; }
  .form-shell .section-actions .btn { width: 100%; }
}

/* 2026 editorial workspace: a continuous route, not a gallery of cards */
:root {
  --brand: #0b8f86;
  --brand-hover: #08766f;
  --brand-light: #e5f5f2;
  --brand-dark: #163532;
  --ink: #17221f;
  --ink-2: #53615c;
  --ink-3: #77827e;
  --border: #d9e1dc;
  --surface: #ffffff;
  --surface-muted: #f3f5f2;
}

body,
button,
input,
select,
textarea { font-family: "Golos Text", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6,
.page-title, .premium-hero h1, .tools-studio-sidebar h1,
.neuro-page h1, .neuro-page h2, .neuro-page h3, .neuro-seo h2, .neuro-faq h2 {
  font-family: "Golos Text", Arial, sans-serif !important;
  letter-spacing: -.052em;
}
body { background: var(--surface); color: var(--ink); }
.site-header { border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); box-shadow: none; }
.header-inner { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.desktop-nav a { border-radius: 0; font-weight: 600; }
.desktop-nav .nav-neuro { border-bottom-color: var(--brand); color: var(--brand); }
.btn, .btn-primary, .btn-dark, .btn-light, .btn-ghost { border-radius: 8px; font-weight: 650; }
.btn-primary, .btn-dark { background: var(--brand); }
.btn-primary:hover, .btn-dark:hover { background: var(--brand-hover); }
:focus-visible { outline: 3px solid rgba(11,143,134,.32); outline-offset: 3px; }

.home-journey {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(28px,5vw,72px) 0 clamp(24px,4vw,58px);
  border-block: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(11,143,134,.12) calc(50% - .5px), rgba(11,143,134,.12) calc(50% + .5px), transparent calc(50% + .5px)),
    #f6f8f6;
}
.home-journey .section { position: relative; padding-block: clamp(44px,6vw,82px); background: transparent; }
.premium-tools-section .editorial-heading { max-width: 680px; margin-bottom: 36px; }
.premium-tools-section .editorial-heading h2 { max-width: 15ch; font-size: clamp(2.35rem,4vw,4.15rem); line-height: .98; }
.premium-tools-section .editorial-heading p { max-width: 54ch; color: var(--ink-2); font-size: 1rem; }
.premium-home .tools-showcase {
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr);
  gap: clamp(30px,5vw,74px);
  align-items: stretch;
}
.premium-home .tools-feature-visual,
.premium-home .tools-directory {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.premium-home .tools-feature-visual { min-height: 410px; overflow: hidden; border-radius: 14px; }
.premium-home .tools-feature-visual::after { background: linear-gradient(180deg, rgba(13,25,21,0) 25%, rgba(13,25,21,.8) 100%); }
.premium-home .tools-feature-visual > div { padding: 28px; }
.premium-home .tools-feature-visual h3 { margin: 0; font-size: clamp(1.75rem,2.7vw,2.7rem); line-height: 1; }
.premium-home .tools-feature-visual p { max-width: 36ch; margin: 12px 0 20px; color: rgba(255,255,255,.82); font-size: .93rem; line-height: 1.55; }
.premium-home .tools-directory { display: grid; align-content: center; border-top: 1px solid var(--border); }
.premium-home .tool-line {
  display: grid;
  min-height: 102px;
  grid-template-columns: 42px minmax(0,1fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.premium-home .tool-line:hover { padding-inline: 12px; background: rgba(11,143,134,.06); color: var(--ink); }
.premium-home .tool-line-index { color: var(--brand); font-size: .72rem; font-weight: 700; }
.premium-home .tool-line strong { display: block; margin-bottom: 6px; font-size: clamp(1.05rem,1.55vw,1.35rem); line-height: 1.05; }
.premium-home .tool-line small { color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.premium-home .tool-line i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--brand); }

.premium-home .process-stage,
.premium-home .facts-stage { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.premium-home .process-stage-picture { opacity: .1; }
.premium-home .process-stage::after { display: none; }
.premium-home .process-stage .process-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(42px,8vw,126px); padding: clamp(36px,5vw,66px) 0; }
.premium-home .process-intro { align-self: start; padding: 0; border: 0; }
.premium-home .process-intro h2 { max-width: 10ch; margin: 12px 0 18px; font-size: clamp(2.25rem,3.4vw,3.7rem); line-height: .98; }
.premium-home .process-intro p { max-width: 36ch; color: var(--ink-2); font-size: .94rem; }
.premium-home .process-action { margin-top: 28px; color: var(--brand); }
.premium-home .process-action i { background: var(--brand); }
.premium-home .process-list { margin: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.premium-home .process-list > li { min-height: 132px; grid-template-columns: 56px minmax(0,1fr); gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.premium-home .process-list > li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-light); color: var(--brand); }
.premium-home .process-list h3 { margin: 0 0 8px; font-size: clamp(1.28rem,2vw,1.75rem); line-height: 1.05; }
.premium-home .process-list p { max-width: 58ch; color: var(--ink-2); font-size: .9rem; line-height: 1.55; }

.premium-home .facts-section { padding-bottom: clamp(44px,6vw,82px); }
.premium-home .facts-stage { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); gap: clamp(42px,7vw,104px); align-items: start; }
.premium-home .facts-intro { padding-top: 20px; }
.premium-home .facts-intro h2 { margin: 10px 0 16px; font-size: clamp(2.2rem,3.5vw,3.8rem); line-height: .97; }
.premium-home .facts-intro p { max-width: 30ch; color: var(--ink-2); }
.premium-home .facts-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
.premium-home .facts-grid > * { min-height: 228px; padding: 26px 20px 22px; border: 0; border-left: 1px solid var(--border); background: transparent; }
.premium-home .facts-grid > *:first-child { border-left: 0; padding-left: 0; }
.premium-home .facts-grid strong { display: block; margin: 44px 0 12px; color: var(--ink); font-size: clamp(1.08rem,1.8vw,1.6rem); line-height: 1.08; }
.premium-home .facts-grid span { display: block; max-width: 25ch; color: var(--ink-2); font-size: .82rem; line-height: 1.5; }
.premium-home .facts-grid .fact-main { background: transparent; }
.premium-home .facts-grid .fact-main strong { max-width: 13ch; }
.premium-home .fact-kicker, .premium-home .fact-label { color: var(--brand) !important; font-size: .7rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Student tools become one focused working desk with a persistent route. */
.student-tools-page { background: #f6f8f6; }
.tools-studio { padding: clamp(42px,6vw,88px) 0 clamp(62px,8vw,116px); }
.tools-studio-layout { display: grid; grid-template-columns: minmax(250px,310px) minmax(0,1fr); gap: clamp(42px,7vw,104px); align-items: start; }
.tools-studio-sidebar { position: sticky; top: 96px; padding-top: 2px; }
.tools-studio-sidebar h1 { max-width: 10ch; margin: 14px 0 18px; font-size: clamp(2.45rem,4.2vw,4.2rem); line-height: .96; }
.tools-studio-sidebar > p:not(.tools-studio-note) { max-width: 32ch; color: var(--ink-2); font-size: .96rem; line-height: 1.58; }
.tools-studio-nav { display: grid; margin-top: 34px; border-top: 1px solid var(--border); }
.tools-studio-nav a { display: grid; min-height: 54px; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; border-bottom: 1px solid var(--border); color: var(--ink); font-size: .92rem; font-weight: 650; }
.tools-studio-nav a:hover { padding-left: 8px; color: var(--brand); }
.tools-studio-nav span { color: var(--brand); font-size: .7rem; font-weight: 700; }
.tools-studio-note { margin-top: 22px; color: var(--ink-3); font-size: .78rem; }
.tools-studio-modules { border-top: 1px solid var(--border); }
.tool-module { padding: clamp(36px,5vw,58px) 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.tool-section-heading { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; align-items: start; margin: 0 0 24px; }
.tool-section-heading > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-size: .7rem; font-weight: 700; }
.tool-section-heading h2 { margin: 2px 0 7px; font-size: clamp(1.65rem,2.4vw,2.25rem); line-height: 1.04; }
.tool-section-heading p { max-width: 48ch; margin: 0; color: var(--ink-2); font-size: .89rem; line-height: 1.52; }
.student-tools-page .tool-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); gap: 1px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--border); box-shadow: none; }
.student-tools-page .tool-panel,
.student-tools-page .tool-panel:nth-child(2) { min-height: 348px; padding: clamp(22px,3.3vw,38px); border: 0; border-radius: 0; background: var(--surface); box-shadow: none; }
.student-tools-page .tool-panel:nth-child(2) { background: #eef4f2; }
.student-tools-page .tool-panel h2 { margin-top: 10px; font-size: clamp(1.45rem,2vw,1.9rem); line-height: 1.08; }
.student-tools-page .tool-output { min-height: 166px; padding: 18px; border: 0; border-left: 2px solid var(--brand); border-radius: 0; background: rgba(255,255,255,.72); color: var(--ink-2); font-size: .88rem; line-height: 1.55; }
.student-tools-page .input, .student-tools-page .select, .student-tools-page .textarea { border-color: #cfd9d4; border-radius: 7px; background: #fff; }
.student-tools-page .input:focus, .student-tools-page .select:focus, .student-tools-page .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,143,134,.12); }
.student-tools-page .tools-more-section { padding-block: clamp(54px,7vw,92px); background: #fff; }

@media (max-width: 980px) {
  .home-journey { background: #f6f8f6; }
  .premium-home .tools-showcase,
  .premium-home .process-stage .process-layout,
  .premium-home .facts-stage,
  .tools-studio-layout { grid-template-columns: 1fr; gap: 38px; }
  .premium-home .tools-feature-visual { min-height: 360px; max-width: 620px; }
  .premium-home .facts-grid { max-width: 760px; }
  .tools-studio-sidebar { position: static; max-width: 680px; }
  .tools-studio-sidebar h1 { max-width: 14ch; }
}

@media (max-width: 767px) {
  .site-header { position: sticky; top: 0; }
  .home-journey { padding-block: 8px 22px; }
  .home-journey .section { padding-block: 38px; }
  .premium-tools-section .editorial-heading h2 { font-size: clamp(2.15rem,10vw,3rem); }
  .premium-home .tools-showcase { gap: 26px; }
  .premium-home .tools-feature-visual { min-height: 330px; border-radius: 10px; }
  .premium-home .tools-feature-visual > div { padding: 20px; }
  .premium-home .tool-line { min-height: 86px; grid-template-columns: 30px minmax(0,1fr) 28px; gap: 10px; }
  .premium-home .tool-line strong { font-size: 1.08rem; }
  .premium-home .tool-line small { font-size: .79rem; }
  .premium-home .process-stage .process-layout { padding: 0; gap: 30px; }
  .premium-home .process-intro h2, .premium-home .facts-intro h2 { font-size: clamp(2.1rem,10vw,3rem); }
  .premium-home .process-list > li { min-height: 0; grid-template-columns: 42px minmax(0,1fr); gap: 10px; padding: 20px 0; }
  .premium-home .process-list h3 { font-size: 1.28rem; }
  .premium-home .facts-grid { grid-template-columns: 1fr; }
  .premium-home .facts-grid > * { min-height: 0; padding: 20px 0; border: 0; border-top: 1px solid var(--border); }
  .premium-home .facts-grid > *:first-child { border-top: 0; }
  .premium-home .facts-grid strong { margin: 18px 0 8px; font-size: 1.28rem; }
  .tools-studio { padding: 34px 0 58px; }
  .tools-studio-layout { gap: 34px; }
  .tools-studio-sidebar h1 { font-size: clamp(2.2rem,11vw,3.2rem); }
  .tools-studio-nav { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 26px; }
  .tools-studio-nav a { min-height: 72px; grid-template-columns: 1fr; gap: 3px; padding: 10px 8px 10px 0; font-size: .78rem; line-height: 1.15; }
  .tools-studio-nav a + a { border-left: 1px solid var(--border); padding-left: 10px; }
  .tools-studio-nav a:hover { padding-left: 0; }
  .tools-studio-nav a + a:hover { padding-left: 10px; }
  .tool-module { padding: 32px 0; scroll-margin-top: 72px; }
  .tool-section-heading { grid-template-columns: 38px minmax(0,1fr); gap: 8px; margin-bottom: 18px; }
  .tool-section-heading h2 { font-size: 1.55rem; }
  .student-tools-page .tool-workspace { grid-template-columns: 1fr; border-radius: 10px; }
  .student-tools-page .tool-panel,
  .student-tools-page .tool-panel:nth-child(2) { min-height: 0; padding: 22px 18px; }
  .student-tools-page .tool-panel:nth-child(2) { min-height: 250px; }
  .student-tools-page .tool-output { min-height: 140px; }
}

/* Process story: image is a background layer, never a side illustration. */
.premium-process { background: #f7f8f5; }
.process-stage {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  background: #eef1ed;
  box-shadow: 0 0 0 1px rgba(23, 33, 31, .06), 0 28px 72px -48px rgba(23, 33, 31, .4);
}
.process-stage-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.process-stage-picture,
.process-stage-picture img { width: 100%; height: 100%; }
.process-stage-picture img {
  object-fit: cover;
  object-position: center;
  outline: 1px solid rgba(0, 0, 0, .08);
  outline-offset: -1px;
}
.process-stage::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 245, .98) 0%, rgba(247, 248, 245, .93) 34%, rgba(239, 243, 239, .72) 72%, rgba(232, 238, 233, .62) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(225,232,227,.26));
  content: "";
  pointer-events: none;
}
.process-stage .process-layout {
  position: relative;
  z-index: 1;
  min-height: 560px;
  grid-template-columns: minmax(300px, .78fr) minmax(480px, 1.22fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
  padding: clamp(48px, 5vw, 72px);
}
.process-stage .process-intro { position: static; }
.process-stage .process-intro {
  max-width: 420px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 24px;
  background: rgba(19, 33, 30, .91);
  box-shadow: 0 20px 50px rgba(18, 31, 28, .18);
}
.process-kicker { display: inline-flex; margin-bottom: 18px; color: #7ee2d7; font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.process-stage .process-intro h2 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.2rem, 3.5vw, 3.75rem);
  line-height: 1.01;
}
.process-stage .process-intro p { max-width: 34ch; margin-top: 18px; color: rgba(235, 246, 242, .76); font-size: .92rem; line-height: 1.65; }
.process-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #fff; font-size: .78rem; font-weight: 750; }
.process-action i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #55cabc; color: #17302c; font-size: 1rem; font-style: normal; transition: transform .15s ease; }
.process-action:hover i { transform: translateX(3px); }
.process-stage .process-list {
  padding: 10px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(23, 33, 31, .07), 0 18px 48px -34px rgba(23, 33, 31, .35);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.process-stage .process-list li { padding-block: 27px; border-bottom-color: rgba(23, 33, 31, .1); }
.process-stage .process-list > li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(11,148,138,.1); }
.process-stage .process-list li:last-child { border-bottom: 0; }
.process-stage .process-list h3 { color: #1d2926; }
.process-stage .process-list p { color: #66736e; }

@media (min-width: 768px) and (max-width: 1199px) {
  .process-stage { min-height: 0; }
  .process-stage .process-layout {
    min-height: 0;
    grid-template-columns: minmax(0, .75fr) minmax(400px, 1.25fr);
    gap: 38px;
    padding: 44px;
  }
  .process-stage .process-intro h2 { font-size: clamp(2.5rem, 4.6vw, 3.25rem); }
  .process-stage .process-intro { padding: 24px; }
  .process-stage .process-list { padding-inline: 22px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .process-stage .process-layout { grid-template-columns: 1fr; }
  .process-stage .process-intro { max-width: 560px; }
  .process-stage .process-intro h2 { max-width: 13ch; font-size: clamp(2.7rem, 6vw, 3.5rem); }
  .process-stage .process-intro p { max-width: 50ch; }
}

@media (max-width: 767px) {
  .process-stage { min-height: 0; border-radius: 24px; }
  .process-stage::after {
    background: linear-gradient(180deg, rgba(247,248,245,.95) 0%, rgba(247,248,245,.88) 42%, rgba(236,241,237,.82) 100%);
  }
  .process-stage-picture img { object-position: 58% center; }
  .process-stage .process-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 20px;
  }
  .process-stage .process-intro h2 { max-width: 12ch; font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .process-stage .process-intro p { max-width: 32ch; margin-top: 16px; }
  .process-stage .process-list { padding: 4px 17px; border-radius: 20px; background: rgba(255,255,255,.78); }
  .process-stage .process-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-block: 21px; }
  .process-stage .process-list h3 { font-size: 1.2rem; line-height: 1.15; }
}
.legal-content { padding: 0; }
.error-page { display: grid; min-height: 72dvh; place-items: center; padding-block: 80px; }
.error-page-inner { text-align: center; }
.error-page-inner > span { color: #0b948a; font-size: clamp(5rem, 16vw, 11rem); font-weight: 800; letter-spacing: -.09em; line-height: .85; }
.error-page h1 { margin-top: 24px; }
.error-page p { max-width: 46ch; margin: 18px auto 0; color: #68736f; }
.error-page .section-actions { justify-content: center; }

@media (max-width: 620px) {
  .related-articles a { grid-template-columns: 1fr 26px; gap: 8px; padding-block: 14px; }
  .related-articles time { grid-column: 1; }
  .related-articles span { grid-column: 2; grid-row: 1 / span 2; }
}

/* ============================================================
   2026-07-04 — editorial stats, FAQ and visual archive heroes
   ============================================================ */

/* Unified statistics panel */
.facts-section { background: #ffffff; }
.facts-stage {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: clamp(42px, 5vw, 70px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.94), transparent 28rem),
    linear-gradient(135deg, #edf4f0 0%, #e4eeea 100%);
  box-shadow: 0 0 0 1px rgba(23,33,31,.055), 0 26px 68px -48px rgba(23,33,31,.38);
}
.facts-intro h2 {
  max-width: 12ch;
  margin-top: 12px;
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
  line-height: 1.01;
}
.facts-intro p { max-width: 34ch; margin-top: 18px; color: #62706b; }
.facts-stage .facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 27px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 0 0 1px rgba(23,33,31,.07), 0 20px 52px -38px rgba(23,33,31,.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.facts-stage .fact-main,
.facts-stage .fact {
  min-height: 252px;
  padding: 28px;
  border-radius: 0;
  box-shadow: none;
}
.facts-stage .fact { border-left: 1px solid rgba(23,33,31,.09); background: transparent; }
.facts-stage .fact-main { background: #0b948a; color: #ffffff; }
.facts-stage .fact-main strong,
.facts-stage .fact strong { font-size: clamp(3.35rem, 5vw, 5rem); }
.facts-stage .fact-main span,
.facts-stage .fact span { max-width: 20ch; font-size: .79rem; line-height: 1.55; }
.facts-stage .fact-main span { color: rgba(255,255,255,.84); }
.facts-stage .fact span { color: #697570; }

/* FAQ as one composed surface instead of loose text columns */
.faq-editorial { background: #f7f8f5; }
.faq-stage {
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: 8px;
  padding: 8px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(23,33,31,.06), 0 28px 76px -52px rgba(23,33,31,.38);
}
.faq-stage > header {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 4vw, 52px);
  border-radius: 27px;
  background: #0b948a;
  color: #ffffff;
}
.faq-stage > header h2 { max-width: 8ch; color: #ffffff; font-size: clamp(2.65rem, 4.1vw, 4rem); line-height: .98; }
.faq-stage > header p { max-width: 25ch; color: rgba(255,255,255,.78); }
.faq-stage .faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 12px 18px;
}
.faq-stage .faq-list article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 28px 22px;
  border-top: 0;
  border-bottom: 1px solid rgba(23,33,31,.09);
}
.faq-stage .faq-list article:nth-child(odd) { border-right: 1px solid rgba(23,33,31,.09); }
.faq-stage .faq-list article:nth-last-child(-n+2) { border-bottom: 0; }
.faq-index { padding-top: 2px; color: #0b948a; font-size: .72rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.faq-stage .faq-list h3 { margin-bottom: 10px; font-size: 1rem; line-height: 1.25; }
.faq-stage .faq-list p { color: #68746f; font-size: .84rem; line-height: 1.66; }

/* Compact SEO context */
.seo-copy-premium {
  grid-template-columns: minmax(220px, .66fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(30px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(11,148,138,.09), transparent 18rem),
    #edf2ee;
  box-shadow: inset 0 0 0 1px rgba(23,33,31,.055);
}
.seo-copy-premium h2 { max-width: 17ch; margin-top: 10px; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; }
.seo-copy-premium p { color: #596762; font-size: .88rem; line-height: 1.75; }

/* Document and example page hero canvases */
.page-hero-showcase { padding: 28px 0 46px; background: #f7f8f5; box-shadow: none; }
.page-hero-showcase-canvas {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(23,33,31,.06), 0 28px 80px -50px rgba(23,33,31,.38);
}
.page-hero-showcase-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.page-hero-showcase-picture,
.page-hero-showcase-picture img { width: 100%; height: 100%; }
.page-hero-showcase-picture img { object-fit: cover; object-position: center; }
.page-hero-showcase-canvas::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.95) 38%, rgba(255,255,255,.5) 60%, rgba(255,255,255,.08) 82%);
  content: "";
  pointer-events: none;
}
.page-hero-showcase-copy {
  width: 60%;
  max-width: 730px;
  padding: clamp(58px, 6vw, 82px) 0 clamp(52px, 5vw, 72px) clamp(42px, 5vw, 66px);
}
.page-hero-showcase .page-title { max-width: 13ch; margin-block: 12px 20px; font-size: clamp(3.3rem, 4.8vw, 4.85rem); line-height: .99; }
.page-hero-showcase .page-lead { max-width: 54ch; font-size: 1.05rem; }
.page-hero-note {
  max-width: 44ch;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid rgba(11,148,138,.48);
  color: #68746f;
  font-size: .82rem;
  line-height: 1.55;
}
.page-hero-showcase + .section { padding-top: 62px; }

/* Archive content */
.document-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.document-card { border-radius: 24px; }
.document-card h3 { margin: 0 !important; padding: 18px 20px 20px; font-size: .92rem; }
.document-thumb { background: #edf1ee; }
.examples-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.example-card {
  position: relative;
  min-height: 250px;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 30px;
  border-radius: 25px;
}
.example-card > div { padding-right: 34px; }
.example-card h3 { max-width: 24ch; font-size: 1.3rem; line-height: 1.2; }
.example-card p { max-width: 48ch; margin-top: 10px; color: #6a7671; font-size: .86rem; }
.example-card .btn { margin-top: auto; }
.example-index {
  position: absolute;
  top: 27px;
  right: 28px;
  color: rgba(11,148,138,.58);
  font-size: .78rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .facts-stage { grid-template-columns: 1fr; }
  .facts-intro h2 { max-width: 16ch; }
  .facts-stage .fact-main,
  .facts-stage .fact { min-height: 210px; }

  .faq-stage { grid-template-columns: .72fr 1.28fr; }
  .faq-stage > header { min-height: 440px; padding: 34px; }
  .faq-stage .faq-list { grid-template-columns: 1fr; }
  .faq-stage .faq-list article,
  .faq-stage .faq-list article:nth-child(odd) { border-right: 0; border-bottom: 1px solid rgba(23,33,31,.09); }
  .faq-stage .faq-list article:last-child { border-bottom: 0; }

  .page-hero-showcase-canvas { min-height: 470px; }
  .page-hero-showcase-copy { width: 68%; padding: 54px 0 48px 42px; }
  .page-hero-showcase .page-title { font-size: clamp(3rem, 6vw, 4.1rem); }
}

@media (max-width: 767px) {
  .facts-stage { grid-template-columns: 1fr; gap: 28px; padding: 26px 18px 18px; border-radius: 24px; }
  .facts-intro { padding-inline: 5px; }
  .facts-intro h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .facts-stage .facts-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .facts-stage .fact-main,
  .facts-stage .fact { min-height: 154px; padding: 23px; }
  .facts-stage .fact { border-top: 1px solid rgba(23,33,31,.09); border-left: 0; }
  .facts-stage .fact-main strong,
  .facts-stage .fact strong { font-size: 3.35rem; }

  .faq-stage { grid-template-columns: 1fr; padding: 6px; border-radius: 25px; }
  .faq-stage > header { min-height: 250px; padding: 28px; border-radius: 20px; }
  .faq-stage > header h2 { max-width: 9ch; font-size: clamp(2.45rem, 11vw, 3.2rem); }
  .faq-stage .faq-list { grid-template-columns: 1fr; padding: 4px 14px; }
  .faq-stage .faq-list article,
  .faq-stage .faq-list article:nth-child(odd) { padding: 23px 5px; border-right: 0; border-bottom: 1px solid rgba(23,33,31,.09); }
  .faq-stage .faq-list article:last-child { border-bottom: 0; }

  .seo-copy-premium { grid-template-columns: 1fr; gap: 20px; padding: 25px 22px; border-radius: 22px; }
  .seo-copy-premium h2 { font-size: 1.5rem; }

  .page-hero-showcase { padding: 18px 0 36px; }
  .page-hero-showcase-canvas { min-height: 540px; border-radius: 24px; }
  .page-hero-showcase-canvas::after { background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 62%, rgba(255,255,255,.66) 100%); }
  .page-hero-showcase-picture img { object-position: 62% center; }
  .page-hero-showcase-copy { width: 100%; max-width: none; padding: 34px 22px 210px; }
  .page-hero-showcase .page-title { max-width: 14ch; font-size: clamp(2.45rem, 11.5vw, 3.35rem); line-height: 1; }
  .page-hero-showcase .page-lead { font-size: 1rem; line-height: 1.6; }
  .page-hero-note { margin-top: 22px; font-size: .8rem; }
  .page-hero-showcase + .section { padding-top: 44px; }

  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .document-card { border-radius: 18px; }
  .document-card h3 { padding: 14px; font-size: .8rem; }
  .examples-list { grid-template-columns: 1fr; gap: 12px; }
  .example-card { min-height: 230px; padding: 24px; border-radius: 21px; }
}

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

/* ============================================================
   2026-07-10 — calmer hierarchy for the homepage and tools
   ============================================================ */
.premium-home .process-stage {
  min-height: 590px;
  padding: 12px;
  border-radius: 34px;
  background: #e7eeea;
}
.premium-home .process-stage::after {
  background: linear-gradient(90deg, rgba(241,246,243,.94) 0%, rgba(244,248,245,.82) 48%, rgba(236,242,238,.60) 100%);
}
.premium-home .process-stage .process-layout {
  min-height: 566px;
  grid-template-columns: minmax(300px,.78fr) minmax(460px,1.22fr);
  gap: clamp(30px,5vw,76px);
  padding: clamp(42px,5vw,70px);
}
.premium-home .process-stage .process-intro {
  max-width: 430px;
  padding: 0 0 0 26px;
  border: 0;
  border-left: 2px solid #0b948a;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.premium-home .process-kicker { margin-bottom: 15px; color: #087a72; letter-spacing: .08em; }
.premium-home .process-stage .process-intro h2 { max-width: 10ch; color: #17211f; font-size: clamp(2.45rem,3.7vw,3.8rem); }
.premium-home .process-stage .process-intro p { margin-top: 20px; color: #53615c; font-size: .92rem; }
.premium-home .process-action { color: #17211f; }
.premium-home .process-action i { background: #17211f; color: #fff; }
.premium-home .process-stage .process-list {
  padding: 8px 30px;
  border: 1px solid rgba(23,33,31,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 56px -42px rgba(23,33,31,.35);
  backdrop-filter: blur(10px);
}
.premium-home .process-stage .process-list li { grid-template-columns: 44px 1fr; gap: 18px; padding-block: 28px; }
.premium-home .process-stage .process-list > li > span { width: 32px; height: 32px; background: #e4f4f1; color: #087a72; }
.premium-home .process-stage .process-list h3 { margin-bottom: 8px; font-size: clamp(1.35rem,1.9vw,1.8rem); }
.premium-home .process-stage .process-list p { max-width: 52ch; font-size: .88rem; line-height: 1.6; }

.premium-home .facts-stage { grid-template-columns: minmax(270px,.76fr) minmax(0,1.24fr); }
.premium-home .facts-stage .fact-main,
.premium-home .facts-stage .fact { min-height: 238px; justify-content: flex-start; gap: 18px; }
.premium-home .facts-stage .fact-main { background: #17302c; }
.premium-home .facts-stage .fact-main strong,
.premium-home .facts-stage .fact strong { font-size: clamp(1.4rem,2vw,2rem); letter-spacing: -.045em; line-height: 1.08; }
.premium-home .fact-kicker { color: #74d6ca !important; font-size: .68rem !important; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.premium-home .facts-stage .fact span { max-width: 24ch; font-size: .82rem; }

.premium-home .services-editorial { background: #f3f5f2; }
.premium-home .service-list { display: grid; gap: 10px; border: 0; }
.premium-home .service-row {
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  padding: 27px 30px;
  border: 1px solid rgba(23,33,31,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  transition: transform .18s ease, box-shadow .18s ease;
}
.premium-home .service-row:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -28px rgba(23,33,31,.48); }
.premium-home .service-row-copy { display: grid; grid-template-columns: minmax(205px,.62fr) minmax(280px,1.38fr); gap: 24px; align-items: center; }
.premium-home .service-row h3 { font-size: clamp(1.18rem,1.6vw,1.48rem); }
.premium-home .service-row p { font-size: .84rem; line-height: 1.6; }
.premium-home .service-row-meta { display: flex; align-items: center; gap: 16px; }
.premium-home .service-row-meta strong { color: #53615c; font-size: .76rem; }
.premium-home .service-row-meta a { min-height: 40px; gap: 8px; padding: 0 14px; border: 1px solid rgba(23,33,31,.1); color: #17211f; box-shadow: none; }
.premium-home .service-row-meta a span { color: #0b948a; }

.premium-home .contact-studio { background: #f7f8f5; }
.premium-home .contact-studio-grid { align-items: stretch; padding: clamp(30px,4vw,48px); border: 1px solid rgba(23,33,31,.07); border-radius: 30px; background: #fff; box-shadow: 0 20px 60px -48px rgba(23,33,31,.35); }
.premium-home .contact-studio-grid > div:first-child { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 24px 8px 4px; }
.premium-home .contact-studio h2 { max-width: 11ch; font-size: clamp(2.4rem,3.7vw,3.7rem); line-height: 1.01; }
.premium-home .contact-links { border-top: 0; }
.premium-home .contact-links a { min-height: 68px; border: 1px solid rgba(23,33,31,.08); border-width: 0 0 1px; }

.student-tools-page { background: #f7f8f5; }
.tools-hero { padding: clamp(42px,7vw,88px) 0 clamp(42px,6vw,74px); border-bottom: 1px solid rgba(23,33,31,.08); background: radial-gradient(circle at 82% 0%, rgba(78,190,177,.14), transparent 28rem), #f7f8f5; }
.tools-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(330px,.75fr); gap: clamp(44px,7vw,110px); align-items: end; }
.tools-hero-copy h1 { max-width: 11ch; margin-top: 16px; font-size: clamp(3.1rem,5.4vw,5.6rem); line-height: .96; letter-spacing: -.065em; }
.tools-hero-copy > p { max-width: 55ch; margin-top: 24px; color: #58655f; font-size: clamp(1rem,1.35vw,1.18rem); line-height: 1.65; }
.tools-hero-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; color: #53615c; font-size: .8rem; font-weight: 650; }
.tools-hero-note span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #dff3ee; color: #087a72; }
.tools-hero-map { display: grid; padding: 10px 22px; border: 1px solid rgba(23,33,31,.09); border-radius: 22px; background: rgba(255,255,255,.85); box-shadow: 0 18px 48px -38px rgba(23,33,31,.35); }
.tools-hero-map > p { padding: 12px 0 7px; color: #7a8581; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tools-hero-map a { display: grid; min-height: 62px; grid-template-columns: 28px 1fr 20px; gap: 10px; align-items: center; border-top: 1px solid rgba(23,33,31,.09); color: #24312d; }
.tools-hero-map a span { color: #0b948a; font-size: .68rem; font-weight: 750; }
.tools-hero-map a strong { font-size: .85rem; }
.tools-hero-map a i { color: #0b948a; font-style: normal; transition: transform .15s ease; }
.tools-hero-map a:hover i { transform: translate(2px,2px); }
.student-tools-page .section { padding-block: clamp(54px,7vw,94px); }
.student-tools-page .section-alt { background: #edf2ee; }
.tool-section-heading { display: flex; align-items: flex-start; gap: 15px; max-width: 650px; margin-bottom: 27px; }
.tool-section-heading > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #dff2ee; color: #087a72; font-size: .68rem; font-weight: 750; }
.tool-section-heading h2 { font-size: clamp(1.7rem,2.5vw,2.25rem); line-height: 1.08; }
.tool-section-heading p { margin-top: 7px; color: #69756f; font-size: .9rem; line-height: 1.55; }
.student-tools-page .tool-workspace { gap: 12px; padding: 8px; border-radius: 28px; background: rgba(228,236,232,.74); }
.student-tools-page .tool-panel { min-height: 100%; padding: clamp(24px,3vw,36px); border-radius: 21px; box-shadow: none; }
.student-tools-page .tool-panel:nth-child(2) { background: #f8faf8; }
.student-tools-page .tool-panel h2 { font-size: clamp(1.55rem,2.2vw,2.1rem); }
.student-tools-page .tool-output { min-height: 160px; border: 0; border-radius: 16px; background: #edf2ef; }
.student-tools-page .tools-more-section { background: #17302c; color: #fff; }
.student-tools-page .tools-more-section .section-title { color: #fff; }
.student-tools-page .tools-more-section .section-text { color: rgba(235,246,242,.72); }
.student-tools-page .tools-more-section .overline { color: #74d6ca; }
.student-tools-page .tools-more-section .contact-card { min-height: 220px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: #fff; box-shadow: none; }
.student-tools-page .tools-more-section .contact-card span { color: rgba(235,246,242,.7); }
.student-tools-page .tools-more-section .contact-card strong { color: #fff; }

@media (max-width: 900px) {
  .premium-home .process-stage .process-layout { grid-template-columns: 1fr; min-height: 0; }
  .premium-home .process-stage .process-intro { max-width: 640px; }
  .premium-home .service-row-copy { grid-template-columns: 1fr; gap: 10px; }
  .premium-home .contact-studio-grid { grid-template-columns: 1fr; gap: 32px; }
  .tools-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .tools-hero-map { max-width: 620px; }
}

@media (max-width: 767px) {
  .premium-home .process-stage { min-height: 0; padding: 7px; border-radius: 24px; }
  .premium-home .process-stage::after { background: linear-gradient(180deg, rgba(244,248,245,.96), rgba(238,244,240,.88)); }
  .premium-home .process-stage .process-layout { gap: 26px; padding: 28px 18px 18px; }
  .premium-home .process-stage .process-intro { padding-left: 18px; }
  .premium-home .process-stage .process-intro h2 { font-size: clamp(2.2rem,10vw,3rem); }
  .premium-home .process-stage .process-list { padding: 5px 17px; border-radius: 18px; }
  .premium-home .process-stage .process-list li { grid-template-columns: 32px 1fr; gap: 11px; padding-block: 20px; }
  .premium-home .process-stage .process-list h3 { font-size: 1.14rem; }
  .premium-home .facts-stage { padding: 26px 18px 18px; }
  .premium-home .facts-stage .fact-main,
  .premium-home .facts-stage .fact { min-height: 0; padding: 24px; }
  .premium-home .service-row { grid-template-columns: 1fr; gap: 18px; padding: 23px 20px; }
  .premium-home .service-row-meta { justify-content: space-between; }
  .premium-home .contact-studio-grid { padding: 24px; border-radius: 23px; }
  .premium-home .contact-studio-grid > div:first-child { gap: 22px; padding: 0; }
  .premium-home .contact-studio h2 { font-size: clamp(2.25rem,10.5vw,3rem); }
  .tools-hero { padding: 38px 0 42px; }
  .tools-hero-copy h1 { font-size: clamp(2.65rem,12.5vw,3.8rem); }
  .tools-hero-copy > p { margin-top: 20px; font-size: 1rem; }
  .tools-hero-map { padding: 8px 17px; border-radius: 18px; }
  .student-tools-page .section { padding-block: 48px; }
  .tool-section-heading { gap: 12px; margin-bottom: 21px; }
  .tool-section-heading h2 { font-size: 1.65rem; }
  .tool-section-heading p { font-size: .84rem; }
  .student-tools-page .tool-workspace { grid-template-columns: 1fr; gap: 8px; padding: 6px; border-radius: 22px; }
  .student-tools-page .tool-panel { padding: 22px 18px; border-radius: 17px; }
  .student-tools-page .tool-panel h2 { font-size: 1.52rem; }
  .student-tools-page .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .student-tools-page .tool-output { min-height: 136px; padding: 14px; font-size: .82rem; }
  .student-tools-page .output-actions { align-items: flex-start; flex-direction: column; }
  .student-tools-page .tools-more-section .contact-card { min-height: 0; }
}

/* Public navigation and the subscriber offer: direct, compact, and readable. */
@media (min-width: 1121px) {
  .header-inner { gap: 16px; }
  .desktop-nav { gap: 1px; }
  .desktop-nav a { min-height: 38px; padding: 6px 8px; font-size: .72rem; white-space: nowrap; }
  .desktop-nav .nav-neuro { padding-inline: 10px; }
  .header-actions { margin-left: 4px; }
  .header-actions .btn { min-height: 40px; padding: 9px 14px; font-size: .76rem; white-space: nowrap; }
}

.community-popup {
  width: min(396px, calc(100vw - 32px));
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23,33,31,.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px -36px rgba(10,30,26,.55);
}
.community-head { align-items: flex-start; margin: 0; padding: 22px 22px 20px; background: #17302c; }
.community-kicker { color: #78d9cd; font-size: .65rem; letter-spacing: .1em; }
.community-title { max-width: 15ch; margin-top: 7px; color: #fff; font-size: clamp(1.35rem, 2.5vw, 1.65rem); line-height: 1.06; }
.community-close { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; }
.community-close:hover { background: rgba(255,255,255,.16); color: #fff; }
.community-popup > .community-text,
.community-popup > .referral-note,
.community-popup > .community-referral-note,
.community-popup > .community-links-label,
.community-popup > .community-links,
.community-popup > .community-benefit { margin-right: 22px; margin-left: 22px; }
.community-popup > .community-text { margin-top: 18px; margin-bottom: 14px; color: #596862; font-size: .8rem; line-height: 1.55; }
.community-benefit { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; padding: 13px 14px; border: 1px solid #d7ece7; border-radius: 14px; background: #edf8f5; }
.community-benefit span { color: #087a72; font-size: 1.45rem; font-weight: 800; letter-spacing: -.06em; }
.community-benefit p { color: #3b5851; font-size: .72rem; line-height: 1.42; }
.community-popup .referral-note { margin-top: 12px; padding: 11px 13px; border: 0; border-radius: 13px; background: #f4f6f4; box-shadow: none; }
.community-popup .referral-note strong { color: #25312e; font-size: .72rem; }
.community-popup .referral-note p { margin-top: 4px; color: #6e7b76; font-size: .67rem; }
.community-popup .community-referral-note { margin-top: 9px; color: #7a8581; font-size: .63rem; }
.community-popup .community-links-label { margin-top: 15px; color: #71807a; font-size: .62rem; }
.community-popup .community-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; margin-bottom: 20px; }
.community-popup .community-link { display: grid; min-height: 96px; grid-template-columns: 1fr; justify-items: start; gap: 7px; padding: 11px; border-color: #e1e8e4; border-radius: 13px; background: #fff; }
.community-popup .community-link:hover { border-color: #78cfc4; background: #f3fbf9; transform: translateY(-2px); }
.community-popup .community-link img { width: 28px; height: 28px; }
.community-popup .community-link strong { font-size: .7rem; }
.community-popup .community-link em { font-size: .59rem; line-height: 1.3; }

@media (max-width: 767px) {
  .community-popup { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: auto; border-radius: 20px; }
  .community-head { padding: 19px 18px 17px; }
  .community-title { font-size: 1.35rem; }
  .community-popup > .community-text,
  .community-popup > .referral-note,
  .community-popup > .community-referral-note,
  .community-popup > .community-links-label,
  .community-popup > .community-links,
  .community-popup > .community-benefit { margin-right: 18px; margin-left: 18px; }
  .community-popup > .community-text { margin-top: 15px; font-size: .76rem; }
  .community-popup .community-links { margin-bottom: 17px; }
  .community-popup .community-link { min-height: 82px; padding: 9px; }
}

/* ============================================================
   2026-07-10 — site-wide academic product system
   ============================================================ */
:root {
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-light: #eaf0ff;
  --brand-dark: #1e3a8a;
  --brand-dark-2: #172554;
  --ink: #1b2430;
  --ink-2: #536174;
  --ink-3: #78869a;
  --bg: #f7f8fb;
  --surface: #f0f3f8;
  --surface-2: #e7ecf4;
  --border: #e1e7f0;
  --font-body: 'Golos Text', 'Segoe UI', sans-serif;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(31, 43, 60, .04);
  --shadow-surface: 0 1px 2px rgba(31, 43, 60, .03);
  --shadow-lg: 0 14px 42px -30px rgba(31, 43, 60, .24);
}
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); }
h1, h2, h3, h4, .btn, .desktop-nav a, .mobile-nav a, .community-popup { font-family: 'Manrope', 'Golos Text', sans-serif; }
h1, h2, h3, h4 { letter-spacing: -.055em; }
.site-header { padding: 0; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); box-shadow: none; backdrop-filter: blur(16px); }
.site-header.scrolled { background: rgba(255,255,255,.98); box-shadow: none; }
.header-inner { min-height: 70px; gap: 18px; padding-block: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-logo { height: 36px; }
.desktop-nav a { min-height: 70px; border-radius: 0; color: #526174; font-weight: 600; }
.desktop-nav a:hover { color: var(--brand); background: transparent; }
.desktop-nav a.is-current:not(.nav-neuro),
.desktop-nav .nav-neuro { border: 0; border-bottom: 2px solid var(--brand); border-radius: 0; background: transparent; color: var(--brand); box-shadow: none; }
.desktop-nav .nav-neuro:hover { border-color: var(--brand-hover); background: transparent; color: var(--brand-hover); }
.header-actions .btn { min-height: 40px; border-radius: 10px; background: var(--brand); box-shadow: none; }
.header-actions .btn:hover { background: var(--brand-hover); box-shadow: none; }
.menu-toggle { border: 1px solid var(--border); border-radius: 10px; }
.mobile-nav { margin: 0; padding: 10px 16px 16px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: #fff; box-shadow: none; }
.mobile-nav a { min-height: 46px; border-bottom: 1px solid #eef1f5; border-radius: 0; font-size: .9rem; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .nav-neuro, .mobile-nav a.is-current { border-left: 2px solid var(--brand); border-radius: 0; background: var(--brand-light); color: var(--brand); box-shadow: none; }
.mobile-nav.is-open { box-shadow: 0 12px 26px -22px rgba(31,43,60,.28); }

.btn { min-height: 46px; border-radius: 10px; padding: 11px 17px; box-shadow: none; font-size: .82rem; }
.btn-primary, .btn-dark { background: var(--brand); box-shadow: none; }
.btn-primary:hover, .btn-dark:hover { background: var(--brand-hover); box-shadow: none; }
.btn-light { border: 1px solid var(--border); background: #fff; box-shadow: none; }
.btn-ghost { border: 1px solid #b8c8ef; color: var(--brand); }
.btn-with-icon i { width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.18); }

.page-hero, .tools-hero, .premium-hero, .section-alt, .services-editorial, .facts-section, .faq-editorial, .contact-studio { background: #fff; }
.page-hero { padding-block: clamp(54px,7vw,88px); box-shadow: inset 0 -1px 0 var(--border); }
.page-hero::before, .tools-hero::before { content: ""; position: absolute; }
.page-title, .tools-hero-copy h1, .premium-hero h1 { max-width: 13ch; font-size: clamp(2.8rem,5.2vw,4.9rem); letter-spacing: -.07em; }
.page-lead, .tools-hero-copy > p, .premium-hero-lead { color: var(--ink-2); }
.overline, .hero-kicker, .tools-hero-note span { color: var(--brand); }

.card, .tool-panel, .pricing-card, .document-card, .article-card, .service-card, .feature-card, .contact-card,
.tools-feature-visual, .tools-directory, .facts-stage, .faq-stage, .seo-copy-premium, .process-stage,
.student-tools-page .tool-workspace, .tools-hero-map, .contact-studio-grid {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: none;
}
.card, .tool-panel, .pricing-card, .document-card, .article-card, .service-card, .feature-card, .contact-card { background: #fff; }
.card:hover, .price-card:hover, .service-row:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -18px rgba(31,43,60,.22); }
.input, .textarea, .select, input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea { border-color: #d8e0eb; border-radius: 9px; background: #fff; }
.input:focus, .textarea:focus, .select:focus, input:focus, select:focus, textarea:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.11); }

.premium-hero { padding-block: clamp(42px,6vw,74px); }
.premium-hero-grid { gap: clamp(34px,5vw,72px); }
.premium-hero-visual { padding: 0; border: 1px solid var(--border); border-radius: 16px; box-shadow: none; transform: none; }
.premium-hero-visual img { border-radius: 15px; outline: 0; }
.hero-visual-note { right: 14px; bottom: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; box-shadow: none; }
.trust-ribbon { background: #fff; }
.trust-ribbon-grid { border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.trust-ribbon-grid strong { color: var(--ink); }

.tools-showcase { gap: 14px; }
.tools-feature-visual { border-radius: 16px; box-shadow: none; }
.tools-feature-visual picture { padding: 0; }
.tools-feature-visual img { border-radius: 15px 15px 0 0; outline: 0; }
.tools-feature-visual > div { padding: 22px; }
.tools-directory { padding: 6px; border-radius: 16px; background: #fff; }
.tool-line { border-radius: 10px; }
.tool-line:hover { background: var(--brand-light); box-shadow: none; transform: none; }
.tool-line i { background: var(--brand-light); color: var(--brand); }

.premium-home .process-stage, .premium-home .facts-stage { border-radius: 16px; background: #fff; }
.premium-home .process-stage { padding: 0; }
.premium-home .process-stage-picture { display: none; }
.premium-home .process-stage::after { background: linear-gradient(135deg, #fff 0%, #f4f7ff 100%); }
.premium-home .process-stage .process-layout { min-height: 0; padding: clamp(30px,4vw,52px); }
.premium-home .process-stage .process-intro { border-left-color: var(--brand); }
.premium-home .process-kicker, .premium-home .process-action { color: var(--brand); }
.premium-home .process-action i { background: var(--brand); }
.premium-home .process-stage .process-list { border-color: var(--border); border-radius: 14px; background: #fff; box-shadow: none; }
.premium-home .process-stage .process-list > li > span { background: var(--brand-light); color: var(--brand); }
.premium-home .facts-stage { background: #fff; }
.premium-home .facts-stage .fact-main { background: var(--brand); }
.premium-home .fact-kicker { color: #dce7ff !important; }
.premium-home .facts-stage .facts-grid { border: 1px solid var(--border); border-radius: 14px; box-shadow: none; }
.premium-home .facts-stage .fact { border-left-color: var(--border); }
.premium-home .service-row { border-color: var(--border); border-radius: 14px; background: #fff; }
.premium-home .service-row-meta a { border-color: #cbd8f4; color: var(--brand); }
.premium-home .contact-studio-grid { border-radius: 16px; background: #fff; }
.premium-home .contact-links a { border-bottom-color: var(--border); }
.premium-home .contact-links a:hover { color: var(--brand); }
.faq-stage > header { border-radius: 12px; background: var(--brand); }
.faq-stage .faq-list article, .faq-stage .faq-list article:nth-child(odd) { border-color: var(--border); }
.seo-copy-premium { border-radius: 16px; background: #fff; }

.student-tools-page, .student-tools-page .section-alt { background: #fff; }
.tools-hero { border-bottom-color: var(--border); background: #fff; }
.tools-hero-map { border-radius: 14px; background: #fff; }
.tools-hero-map a:hover { color: var(--brand); }
.tools-hero-map a span, .tools-hero-map a i, .tool-section-heading > span { color: var(--brand); }
.tool-section-heading > span { background: var(--brand-light); }
.student-tools-page .tool-workspace { border-radius: 16px; background: #f3f6fb; }
.student-tools-page .tool-panel { border-radius: 12px; background: #fff; }
.student-tools-page .tool-panel:nth-child(2), .student-tools-page .tool-output { background: #f5f8fd; }
.student-tools-page .tools-more-section { background: #fff; color: var(--ink); }
.student-tools-page .tools-more-section .section-title { color: var(--ink); }
.student-tools-page .tools-more-section .section-text { color: var(--ink-2); }
.student-tools-page .tools-more-section .overline { color: var(--brand); }
.student-tools-page .tools-more-section .contact-card { border-color: var(--border); background: #fff; color: var(--ink); }
.student-tools-page .tools-more-section .contact-card span, .student-tools-page .tools-more-section .contact-card strong { color: inherit; }

.neuro-page, .neuro-seo, .neuro-faq { font-family: 'Golos Text', sans-serif; }
.neuro-page h1, .neuro-page h2, .neuro-page h3, .neuro-seo h2, .neuro-faq h2 { font-family: 'Manrope', 'Golos Text', sans-serif !important; }

.community-popup { border-color: var(--border); border-radius: 16px; background: #fff; box-shadow: 0 16px 38px -26px rgba(31,43,60,.32); }
.community-head { padding: 19px 20px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.community-kicker { color: var(--brand); }
.community-title { color: var(--ink); font-size: 1.28rem; }
.community-close { border-color: var(--border); background: #fff; color: var(--ink-3); }
.community-close:hover { border-color: #bfd0fa; background: var(--brand-light); color: var(--brand); }
.community-benefit { border-color: #cfdbf8; border-radius: 10px; background: var(--brand-light); }
.community-benefit span { color: var(--brand); }
.community-benefit p { color: #3e547e; }
.community-popup .referral-note { border: 1px solid var(--border); border-radius: 10px; background: #f8fafc; }
.community-popup .community-link { border-radius: 10px; }
.community-popup .community-link:hover { border-color: #bfd0fa; background: var(--brand-light); }

@media (max-width: 1120px) { .site-header { padding: 0; } .header-inner { min-height: 64px; } }
@media (max-width: 767px) {
  .header-inner { min-height: 62px; margin: 0; width: 100%; padding-inline: 18px; border-radius: 0; }
  .brand-logo { height: 32px; }
  .page-title, .tools-hero-copy h1, .premium-hero h1 { font-size: clamp(2.45rem,11.5vw,3.45rem); }
  .premium-hero-visual, .facts-stage, .faq-stage, .seo-copy-premium, .tools-hero-map, .student-tools-page .tool-workspace { border-radius: 12px; }
  .premium-home .process-stage .process-layout { padding: 26px 18px; }
  .premium-home .process-stage .process-list { border-radius: 10px; }
  .premium-home .service-row { border-radius: 10px; }
  .community-popup { border-radius: 14px; }
  .community-head { padding: 17px 18px 14px; }
}

/* Premium trust ribbon */
.trust-ribbon {
  position: relative;
  isolation: isolate;
  min-height: 154px;
  overflow: hidden;
  padding: 22px 0;
  border: 0;
  background: #e9efeb;
}
.trust-ribbon-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.trust-ribbon-picture,
.trust-ribbon-picture img { width: 100%; height: 100%; }
.trust-ribbon-picture img { object-fit: cover; object-position: center 56%; }
.trust-ribbon::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(244,247,244,.74);
  content: "";
  pointer-events: none;
}
.trust-ribbon-grid {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 50px -34px rgba(23,33,31,.42);
  backdrop-filter: blur(14px) saturate(.9);
}
.trust-ribbon-grid div,
.trust-ribbon-grid div:first-child,
.trust-ribbon-grid div:nth-child(3) { padding: 25px clamp(20px, 2.7vw, 34px); }
.trust-ribbon-grid strong { color: #17211f; font-size: .82rem; letter-spacing: -.01em; }
.trust-ribbon-grid span { max-width: 24ch; color: #66726e; font-size: .72rem; }

/* Referral popup copy */
.community-popup { width: min(380px, calc(100vw - 32px)); }
.community-title { max-width: 18ch; font-size: 1.3rem; line-height: 1.08; letter-spacing: -.035em; }
.community-referral-note {
  margin: 10px 2px 0;
  color: #75817d;
  font-size: .68rem;
  line-height: 1.48;
}

/* GOST generator */
.gost-hero .page-hero-showcase-picture img { object-position: center 48%; }
.gost-hero .page-title { max-width: 12ch; }
.gost-hero .page-hero-showcase-copy { width: 63%; }
.gost-tool-section { padding-top: clamp(54px, 7vw, 86px); }
.gost-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: start;
  gap: 20px;
}
.gost-input-panel,
.gost-result-panel { padding: clamp(26px, 3vw, 38px); }
.gost-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.gost-panel-head h2 { margin: 8px 0 0; }
.gost-counter,
.gost-result-standard {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #dbe3de;
  border-radius: 999px;
  background: #f5f7f5;
  color: #66736e;
  font-size: .68rem;
  font-weight: 720;
}
.gost-result-standard { max-width: 190px; white-space: normal; text-align: right; }
.gost-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.gost-controls .field { margin: 0; }
.gost-controls .field > span,
.gost-label-row label {
  display: block;
  margin-bottom: 8px;
  color: #37423f;
  font-size: .73rem;
  font-weight: 740;
}
.gost-controls .input { width: 100%; padding-inline: 14px 34px; font-size: .8rem; }
.gost-standard-info {
  margin: 17px 0 24px;
  padding: 14px 16px;
  border-left: 2px solid rgba(11,148,138,.5);
  background: #eef6f3;
  color: #586762;
  font-size: .78rem;
  line-height: 1.58;
}
.gost-source-field { margin: 0; }
.gost-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gost-sample-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #087f77;
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}
.gost-sample-button:hover { color: #075f5a; }
.gost-source-field .textarea {
  min-height: 312px;
  padding: 18px;
  font-size: .86rem;
  line-height: 1.65;
}
.gost-exact-help {
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid #dce3df;
  border-radius: 15px;
  background: #f8f9f7;
  color: #5e6a66;
  font-size: .75rem;
}
.gost-exact-help summary { color: #26312e; font-weight: 750; cursor: pointer; }
.gost-exact-help p { margin: 12px 0 8px; line-height: 1.55; }
.gost-exact-help code { display: block; overflow-x: auto; padding: 5px 0; color: #43504c; white-space: nowrap; }
.gost-actions { margin-top: 20px; }
.gost-status { min-height: 1.4em; margin-top: 12px; color: #56635f; font-size: .78rem; }
.gost-result-panel { position: sticky; top: 112px; }
.gost-output {
  min-height: 330px;
  max-height: 570px;
  overflow: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid #dce3df;
  border-radius: 17px;
  background: #f8f9f7;
  color: #26312e;
  font-family: inherit;
  font-size: .84rem;
  line-height: 1.72;
  white-space: pre-wrap;
}
.gost-warning-box {
  margin-top: 15px;
  padding: 16px 18px;
  border: 1px solid #eadfc8;
  border-radius: 15px;
  background: #fbf8f1;
  color: #5e5545;
  font-size: .75rem;
}
.gost-warning-box strong { color: #3e392f; }
.gost-warning-box ul { margin: 9px 0 0; padding-left: 18px; }
.gost-warning-box li + li { margin-top: 6px; }
.gost-result-panel .output-actions { margin-top: 18px; }
.gost-rules-section .editorial-heading { margin-bottom: 34px; }
.gost-rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #dde4df; border-radius: 24px; background: #dde4df; }
.gost-rules-grid article { min-height: 250px; padding: 28px; background: #fff; }
.gost-rules-grid article > span { color: #0b948a; font-size: .7rem; font-weight: 760; }
.gost-rules-grid h3 { margin: 52px 0 12px; font-size: 1.15rem; }
.gost-rules-grid p { color: #67736f; font-size: .82rem; line-height: 1.65; }
.gost-method-note { max-width: 82ch; margin: 24px 0 0; color: #66736e; font-size: .78rem; line-height: 1.65; }

@media (max-width: 980px) {
  .gost-workspace { grid-template-columns: 1fr; }
  .gost-result-panel { position: static; }
  .gost-rules-grid { grid-template-columns: 1fr; }
  .gost-rules-grid article { min-height: 190px; }
  .gost-rules-grid h3 { margin-top: 32px; }
}

@media (max-width: 767px) {
  .trust-ribbon { min-height: 0; padding: 16px 0; }
  .trust-ribbon-picture img { object-position: 60% center; }
  .trust-ribbon-grid { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .trust-ribbon-grid div,
  .trust-ribbon-grid div:first-child,
  .trust-ribbon-grid div:nth-child(3) { min-height: 104px; padding: 19px 16px; }
  .trust-ribbon-grid div:nth-child(odd) { border-right: 1px solid rgba(23,33,31,.08); }
  .trust-ribbon-grid div:nth-child(even) { border-right: 0; }
  .trust-ribbon-grid div:nth-child(n+3) { border-top: 1px solid rgba(23,33,31,.08); }
  .trust-ribbon-grid span { font-size: .67rem; }

  .community-popup { width: auto; }
  .community-title { max-width: 17ch; font-size: 1.2rem; }

  .gost-hero .page-hero-showcase-copy { width: 100%; }
  .gost-hero .page-hero-showcase-picture img { object-position: 63% bottom; }
  .gost-controls { grid-template-columns: 1fr; }
  .gost-panel-head { display: block; }
  .gost-counter,
  .gost-result-standard { display: inline-block; margin-top: 14px; text-align: left; }
  .gost-label-row { align-items: flex-start; flex-direction: column; gap: 0; margin-bottom: 10px; }
  .gost-label-row label { margin-bottom: 5px; }
  .gost-source-field .textarea { min-height: 290px; }
  .gost-actions,
  .gost-result-panel .output-actions { display: grid; grid-template-columns: 1fr; }
  .gost-actions .btn,
  .gost-result-panel .output-actions .btn { width: 100%; }
  .gost-output { min-height: 280px; padding: 16px; font-size: .79rem; }
}
