/* MediaGoats Network — Dark Professional Theme */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

:root {
  --bg: #070B12;
  --bg-2: #0C1019;
  --surface: #121820;
  --surface-2: #161D28;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --accent: #22D3EE;
  --accent-2: #06B6D4;
  --accent-soft: rgba(34, 211, 238, 0.1);
  --accent-glow: rgba(34, 211, 238, 0.35);
  --highlight: #818CF8;
  --highlight-soft: rgba(129, 140, 248, 0.12);
  --heading: #F1F5F9;
  --text: #E2E8F0;
  --text-dim: #94A3B8;
  --text-mute: #64748B;
  --success: #34D399;
  --danger: #F87171;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-1: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 8px 32px rgba(34, 211, 238, 0.22);
  --container: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --gradient-hero: linear-gradient(135deg, #22D3EE 0%, #818CF8 100%);
  --header-bg: rgba(7, 11, 18, 0.88);
  --footer-bg: #040608;
  --auth-gradient: linear-gradient(160deg, #070B12 0%, #0C2A30 55%, #0E3D45 100%);
}

html, body { min-height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 600px at 10% -5%, rgba(34, 211, 238, 0.07), transparent 55%),
    radial-gradient(700px 500px at 90% 5%, rgba(129, 140, 248, 0.06), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(6, 182, 212, 0.04), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #070B12; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.55rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; }
p { color: var(--text-dim); }
.lead { font-size: clamp(1.02rem, 0.4vw + 1rem, 1.15rem); }
.serif { font-family: var(--font-display); font-style: normal; }
.accent { color: var(--accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .4s, visibility .4s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { position: relative; width: 80px; height: 80px; display: grid; place-items: center; }
.preloader__mark {
  width: 40px; height: 40px; border-radius: 0;
  background: transparent;
  animation: pulse 1.4s ease-in-out infinite;
  object-fit: contain;
}
.preloader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.9); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .35s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand img { height: 42px; width: auto; display: block; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--text-dim); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span, .nav__burger::before, .nav__burger::after {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--heading); border-radius: 2px; transition: .25s;
}
.nav__burger span { top: 50%; transform: translateY(-50%); }
.nav__burger::before { content: ''; top: 13px; }
.nav__burger::after { content: ''; bottom: 13px; }
.nav__burger.is-open span { opacity: 0; }
.nav__burger.is-open::before { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open::after { bottom: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 64px 0 0; z-index: 49;
  background: var(--surface);
  padding: 24px var(--gutter);
  transform: translateX(100%);
  transition: transform .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 14px 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  background: var(--gradient-hero); color: #070B12;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); box-shadow: none; filter: none; }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent-soft); }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.arrow { width: 18px; height: 18px; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); padding: 6px 14px;
  background: var(--accent-soft); border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* Hero */
.hero { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__title { margin-top: 20px; color: var(--heading); }
.hero__sub { margin-top: 20px; max-width: 540px; font-size: 1.08rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .85rem; color: var(--text-dim);
}
.trust-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat .v { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--heading); }
.stat .plus { color: var(--accent); font-size: 1.4rem; }
.stat .k { font-size: .82rem; color: var(--text-mute); margin-top: 4px; }
.hero__visual { position: relative; min-height: 380px; }
.hero__chart {
  width: 100%; height: 320px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
  object-fit: cover;
}
.hero__card {
  position: absolute; padding: 16px 20px; border-radius: var(--radius);
  background: rgba(18, 24, 32, 0.92); border: 1px solid var(--border);
  box-shadow: var(--shadow-2); min-width: 160px;
  backdrop-filter: blur(8px);
}
.hero__card.is-top { top: 20px; right: -10px; }
.hero__card.is-bottom { bottom: 40px; left: -10px; }
.hero__card .label { font-size: .75rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.hero__card .val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-top: 4px; color: var(--heading); }
.hero__card .delta { font-size: .85rem; color: var(--success); font-weight: 600; }
.floaty { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Logos marquee */
.logos { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(18, 24, 32, 0.5); }
.logos__title { text-align: center; font-size: .88rem; color: var(--text-mute); margin-bottom: 24px; }
.logos__marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; gap: 40px; animation: marquee 40s linear infinite; width: max-content; }
.logos__item {
  flex-shrink: 0; padding: 10px 20px; border-radius: var(--radius-sm);
  background: var(--surface-2); font-weight: 600; font-size: .9rem; color: var(--text-dim);
  border: 1px solid var(--border);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section head */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { color: var(--heading); margin-top: 12px; }

/* Cards */
.card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(34, 211, 238, 0.2); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { color: var(--heading); margin-bottom: 8px; }
.card__body { font-size: .95rem; }
.card__media {
  position: relative;
  width: 100%; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  margin-bottom: 16px; border: 1px solid var(--border); background: var(--surface-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(7,11,18,.5) 100%);
}

/* Verticals */
.vertical {
  display: block; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.vertical:hover { border-color: var(--accent); box-shadow: var(--shadow-accent); }
.vertical__thumb {
  position: relative;
  width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  margin-bottom: 16px; border: 1px solid var(--border); background: var(--surface-2);
}
.vertical__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vertical__thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(7,11,18,.55) 100%);
}
.vertical__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--highlight); }
.vertical__num { display: block; font-size: .78rem; color: var(--text-mute); margin: 8px 0; }
.vertical__title { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.vertical__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-mute); }
.vertical__meta b { color: var(--accent); }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row__num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--highlight); }
.feature-row__title { color: var(--heading); margin-top: 12px; }
.feature-row__media {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(7,11,18,.15), rgba(7,11,18,.35));
}

.checks { margin-top: 20px; }
.checks li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  color: var(--text-dim); font-size: .95rem;
}
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.price.is-featured { border-color: var(--accent); box-shadow: var(--shadow-accent), 0 0 0 1px rgba(34,211,238,0.15); position: relative; }
.price__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px;
  background: var(--gradient-hero); color: #070B12; font-size: .72rem; font-weight: 700; text-transform: uppercase;
}
.price__kind { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.price__amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--heading); }
.price__amount .unit { font-size: 1rem; color: var(--text-mute); font-weight: 500; }
.price__desc { font-size: .92rem; }
.price__list { flex: 1; margin: 8px 0 16px; }
.price__list li { padding: 6px 0 6px 24px; position: relative; font-size: .9rem; color: var(--text-dim); }
.price__list li::before { content: '•'; position: absolute; left: 8px; color: var(--accent); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.quote__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.quote__text { font-size: .95rem; font-style: italic; color: var(--text-dim); line-height: 1.7; }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote__author img, .quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
}
.quote__author .who { font-weight: 700; color: var(--heading); font-size: .92rem; }
.quote__author .role { font-size: .82rem; color: var(--text-mute); }

/* CTA band */
.cta-band {
  padding: clamp(40px, 5vw, 64px); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cta-band h2 { color: var(--heading); }
.cta-band .lead { color: var(--text-dim); }
.cta-band .eyebrow { background: var(--accent-soft); color: var(--accent); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { border-color: var(--border-strong); color: var(--text); }
.cta-band .btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); }

/* Footer */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.65); padding: 64px 0 32px; margin-top: 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { font-size: .92rem; margin-top: 16px; max-width: 300px; }
.footer-brand .nav__brand img { filter: none; opacity: 1; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: .92rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer ul a:hover { color: var(--accent-2); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background .2s;
}
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button {
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; font-weight: 600; font-size: .85rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent-2); }

/* Back to top */
.top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, visibility .2s, transform .2s;
}
.top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn svg { width: 20px; height: 20px; }

/* Page hero */
.page-hero { padding: clamp(48px, 6vw, 72px) 0; text-align: center; }
.page-hero h1 { color: var(--heading); }
.page-hero p { max-width: 600px; margin: 16px auto 0; }
.breadcrumbs { font-size: .85rem; color: var(--text-mute); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }
.filter-chip {
  padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-dim);
  transition: all .2s;
}
.filter-chip.is-active, .filter-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Timeline */
.timeline { max-width: 640px; margin: 0 auto; }
.timeline-item { padding: 24px 0 24px 32px; border-left: 2px solid var(--border); position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 28px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface);
}
.timeline-item .yr { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.timeline-item h4 { color: var(--heading); margin: 8px 0; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-weight: 600; color: var(--heading); text-align: left;
}
.faq-item__q .ic { transition: transform .25s; color: var(--accent); }
.faq-item.is-open .faq-item__q .ic { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-item.is-open .faq-item__a { max-height: 200px; padding-bottom: 20px; }
.faq-item__a p { font-size: .95rem; }

/* Posts */
.posts { display: flex; flex-direction: column; gap: 24px; }
.post {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.post:hover { box-shadow: var(--shadow-2); }
.post__media {
  position: relative;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(7,11,18,.1), rgba(7,11,18,.3));
}
.post__meta { display: flex; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.post__meta .cat { color: var(--accent); }
.post__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); margin-bottom: 8px; }
.post__excerpt { font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info h5 { color: var(--heading); margin-bottom: 4px; }
.contact-info a { color: var(--accent); }
.fallback-note {
  display: flex; gap: 16px; margin-top: 32px; padding: 20px;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border);
}
.fallback-note__icon { color: var(--highlight); flex-shrink: 0; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg-2);
  color: var(--text);
  color: var(--text);
  transition: border-color .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); outline: none; }
.textarea { min-height: 120px; resize: vertical; }
.form-section { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.agree-line { display: flex; gap: 10px; font-size: .88rem; color: var(--text-dim); align-items: flex-start; }
.agree-line a { color: var(--accent); text-decoration: underline; }

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); }
.auth__aside {
  padding: clamp(40px, 5vw, 64px);
  background: var(--auth-gradient);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between;
}
.auth__aside h2 { color: #fff; }
.auth__aside .lead { color: rgba(255,255,255,.75); }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.quote-mini { font-size: .92rem; font-style: italic; color: rgba(255,255,255,.7); border-left: 3px solid var(--accent-2); padding-left: 16px; margin-top: 32px; }
.auth__visual {
  margin-top: auto; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.auth__visual img { width: 100%; display: block; }
.auth__main { display: grid; place-items: center; padding: 40px var(--gutter); background: var(--bg); }
.form-wrap { width: 100%; max-width: 480px; }
.form-wrap h1 { color: var(--heading); font-size: 1.8rem; }
.form-wrap .meta { color: var(--text-mute); margin: 8px 0 24px; font-size: .92rem; }
.form-wrap .alt { text-align: center; margin-top: 24px; font-size: .92rem; color: var(--text-dim); }
.form-wrap .alt a { color: var(--accent); font-weight: 600; }
.signup-success { text-align: center; animation: signupFadeIn .45s ease; }
.signup-success.is-visible { display: block; }
@keyframes signupFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.signup-success__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}
.signup-success__icon svg { width: 28px; height: 28px; }
.signup-success h2 { color: var(--heading); font-size: clamp(1.5rem, 3vw, 1.85rem); }
.signup-success .lead { max-width: 480px; margin-left: auto; margin-right: auto; }
.signup-success__list { text-align: left; max-width: 420px; margin: 28px auto; list-style: none; padding: 0; }
.signup-success__list li {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px;
  font-size: .92rem; color: var(--text-dim);
}
.signup-success__list .check {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 7px;
  background: var(--text-mute); flex-shrink: 0;
}
.signup-success__list b { color: var(--heading); font-weight: 600; }
.signup-success__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.signup-success__hint { font-size: .88rem; color: var(--text-mute); margin-top: 24px; }
.signup-success__hint a { color: var(--accent); font-weight: 500; }
.signup-success__hint a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .8s linear infinite;
}

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 12px; color: var(--heading); }
.legal h3 { font-size: 1.05rem; margin-top: 20px; margin-bottom: 8px; color: var(--heading); font-weight: 700; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 10px; line-height: 1.7; font-size: .95rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 14px; }
.legal ul li { list-style: disc; }
.legal a { color: var(--accent); }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 28px; }
.legal .toc ol { padding-left: 1.4rem; }
.legal .toc ol li { list-style: decimal; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid, .feature-row, .auth, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .hero__visual { display: none; }
  .price-grid, .testimonials, .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn--ghost { display: none; }
  .price-grid, .testimonials, .footer-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .field--row { grid-template-columns: 1fr; }
}
