/* PeptiNova — design system
   Brand: deep navy scientific · clinical trust · light surfaces */

:root {
  --navy-950: oklch(0.22 0.08 275);
  --navy-900: oklch(0.28 0.1 275);
  --navy-800: oklch(0.35 0.1 275);
  --navy-700: oklch(0.42 0.09 275);
  --navy-100: oklch(0.94 0.02 275);
  --navy-50: oklch(0.97 0.01 275);

  --ink: oklch(0.24 0.04 275);
  --ink-muted: oklch(0.45 0.03 275);
  --ink-faint: oklch(0.58 0.02 275);

  --surface: oklch(0.995 0.005 275);
  --surface-2: oklch(0.975 0.01 275);
  --surface-3: oklch(0.95 0.015 275);
  --border: oklch(0.9 0.015 275);
  --border-strong: oklch(0.82 0.02 275);

  --accent: oklch(0.42 0.14 275);
  --accent-hover: oklch(0.36 0.14 275);
  --accent-soft: oklch(0.94 0.03 275);

  --success: oklch(0.55 0.12 155);
  --success-bg: oklch(0.96 0.03 155);
  --warn: oklch(0.62 0.14 65);
  --warn-bg: oklch(0.97 0.03 85);
  --danger: oklch(0.55 0.18 25);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --font-sans: "Onest", system-ui, sans-serif;
  --font-display: "Archivo", "Onest", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
  --text-3xl: clamp(1.85rem, 1.4rem + 1.5vw, 2.35rem);
  --text-4xl: clamp(2.25rem, 1.6rem + 2.2vw, 3.1rem);

  --shadow-sm: 0 1px 2px oklch(0.28 0.08 275 / 0.06);
  --shadow: 0 4px 20px oklch(0.28 0.08 275 / 0.08);
  --shadow-lg: 0 16px 48px oklch(0.28 0.08 275 / 0.12);

  --header-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: white;
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ——— Typography ——— */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-950);
  margin: 0 0 var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); font-weight: 600; }

p { margin: 0 0 var(--space-4); color: var(--ink-muted); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-muted);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

/* ——— Layout ——— */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-8) 0;
}

.section--tight {
  padding: var(--space-6) 0;
}

.section--muted {
  background: var(--surface-2);
}

.section--navy {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: oklch(0.96 0.01 275);
}

.section--navy h2,
.section--navy h3 {
  color: white;
}

.section--navy p {
  color: oklch(0.85 0.03 275);
}

.grid-2 {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 840px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-8);
  }

  .grid-2--reverse > :first-child {
    order: 2;
  }
}

.grid-3 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-products {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: oklch(0.995 0.005 275 / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--navy-950);
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.7rem;
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--navy-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy-900);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cart-link:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--navy-900);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.is-on {
  display: inline-flex;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  color: var(--navy-900);
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: var(--space-3) 0 var(--space-4);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: var(--space-3) 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--navy-900);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--navy-950);
  color: white;
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: var(--surface);
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--navy-50);
  color: var(--navy-950);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--navy-50);
  color: var(--navy-950);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 52px;
  padding-inline: var(--space-6);
  font-size: var(--text-base);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* ——— Hero ——— */
.hero {
  padding: var(--space-8) 0 var(--space-7);
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, oklch(0.88 0.05 275 / 0.55), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, oklch(0.94 0.02 275), transparent 50%),
    var(--surface);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 650;
  margin-bottom: var(--space-4);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px oklch(0.7 0.12 155 / 0.25);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: var(--space-4);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: oklch(0.99 0.005 275);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1.05;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.hero-visual img {
  width: min(92%, 420px);
  filter: none;
}

.hero-float {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: var(--shadow);
}

.hero-float span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-float small {
  font-weight: 500;
  color: var(--ink-faint);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ——— Trust strip ——— */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 720px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  background: var(--surface);
  padding: var(--space-5);
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--navy-950);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: var(--text-xs);
  color: var(--ink-faint);
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s;
}

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

.card-media {
  aspect-ratio: 1;
  background: oklch(0.99 0.005 275);
  display: grid;
  place-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.card-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.card-body h3 {
  font-size: var(--text-xl);
  margin: 0;
}

.card-body h3 a {
  text-decoration: none;
  color: inherit;
}

.card-body h3 a:hover {
  color: var(--accent);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--navy-950);
  letter-spacing: -0.02em;
}

.price small {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-faint);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  width: fit-content;
}

.tag--success {
  background: var(--success-bg);
  color: var(--success);
}

.tag--muted {
  background: var(--surface-3);
  color: var(--ink-muted);
}

.feature {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  font-size: 1.1rem;
}

.feature h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature p {
  font-size: var(--text-sm);
  margin: 0;
}

/* ——— Product page ——— */
.product-layout {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
  }
}

.product-gallery {
  border-radius: var(--radius-xl);
  background: oklch(0.99 0.005 275);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  box-shadow: var(--shadow);
}

.product-gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.product-meta .price {
  font-size: var(--text-3xl);
  margin: var(--space-3) 0 var(--space-4);
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.bullets li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.bullets li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--surface-2);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy-900);
}

.qty-control input {
  width: 48px;
  height: 44px;
  border: 0;
  border-inline: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  font-size: var(--text-base);
  background: var(--surface);
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin: var(--space-5) 0;
}

.specs th,
.specs td {
  text-align: left;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.specs th {
  width: 40%;
  color: var(--ink-faint);
  font-weight: 500;
}

.specs td {
  color: var(--ink);
  font-weight: 500;
}

.disclaimer {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--warn-bg);
  border: 1px solid oklch(0.88 0.05 85);
  font-size: var(--text-sm);
  color: oklch(0.4 0.06 65);
}

.disclaimer strong {
  color: oklch(0.35 0.08 55);
}

/* ——— Cart / checkout ——— */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--navy-900);
}

.cart-line h3 {
  font-size: var(--text-base);
  margin: 0 0 4px;
}

.cart-line .meta {
  font-size: var(--text-sm);
  color: var(--ink-faint);
}

.cart-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  color: var(--ink-muted);
}

.summary-row--total {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy-950);
  font-family: var(--font-display);
}

.empty-state {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

/* ——— Forms ——— */
.form-grid {
  display: grid;
  gap: var(--space-4);
}

.form-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: var(--space-2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-base);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  min-height: 120px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.55 0.1 275 / 0.18);
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-1);
}

.pay-options {
  display: grid;
  gap: var(--space-3);
}

.pay-option {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.pay-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pay-option input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.pay-option strong {
  display: block;
  color: var(--navy-950);
  margin-bottom: 2px;
}

.pay-option span {
  font-size: var(--text-sm);
  color: var(--ink-faint);
}

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 var(--space-5) var(--space-4);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* ——— Footer ——— */
.site-footer {
  margin-top: auto;
  background: var(--navy-950);
  color: oklch(0.82 0.02 275);
  padding: var(--space-8) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-brand .logo {
  color: white;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: oklch(0.72 0.03 275);
  max-width: 32ch;
}

.footer-col h4 {
  color: white;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: oklch(0.75 0.03 275);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: 4px 0;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid oklch(1 0 0 / 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: oklch(0.62 0.03 275);
}

.footer-legal-note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: oklch(0.58 0.03 275);
  max-width: 80ch;
}

/* ——— Page utilities ——— */
.page-hero {
  padding: var(--space-7) 0 var(--space-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: var(--space-6);
  font-size: var(--text-2xl);
}

.prose h3 {
  margin-top: var(--space-5);
  font-size: var(--text-xl);
}

.prose ul {
  padding-left: 1.2em;
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}

.prose li {
  margin-bottom: var(--space-2);
}

.toast {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  background: var(--navy-900);
  color: white;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.toast.is-on {
  transform: translateY(0);
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Telegram CTA */
.tg-fab {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #2AABEE;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: var(--text-sm);
  box-shadow: 0 10px 30px oklch(0.45 0.12 240 / 0.35);
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}

.tg-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px oklch(0.45 0.12 240 / 0.45);
  color: #fff !important;
}

.tg-fab svg {
  flex-shrink: 0;
}

.tg-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, oklch(0.94 0.03 240), oklch(0.96 0.02 275));
  border: 1px solid oklch(0.88 0.03 240);
  margin-bottom: var(--space-6);
}

.tg-banner p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  max-width: none;
}

.tg-banner strong {
  color: var(--navy-950);
}

.btn--telegram {
  background: #2AABEE;
  color: #fff;
}

.btn--telegram:hover {
  background: #229ED9;
  color: #fff;
}

.header-actions .btn--telegram {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
  display: none;
}

@media (min-width: 720px) {
  .header-actions .btn--telegram {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
