:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-alt: #eefbf8;
  --text: #102033;
  --muted: #516173;
  --line: #d9e3ec;
  --brand: #14b8a6;
  --brand-dark: #0f766e;
  --brand-soft: #ccfbf1;
  --brand-coral: #fb7185;
  --brand-sky: #38bdf8;
  --brand-gold: #f59e0b;
  --brand-violet: #818cf8;
  --success: #dcfce7;
  --success-text: #166534;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
  --shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.08), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.08), transparent 20%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 251, 0.82);
  border-bottom: 1px solid rgba(219, 227, 238, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.95rem;
  flex: 0 0 auto;
}

.brand-wordmark {
  height: 2.8rem;
  width: auto;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links a:not(.button-ghost) {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a.is-active {
  color: var(--brand-dark);
}

.nav-links a:not(.button-ghost):hover {
  color: var(--brand-dark);
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  border: 1px solid var(--brand);
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.22);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
  transform: translateY(-1px);
}
.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}
.button-secondary:hover,
.button-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
}
.button.small { padding: 0.7rem 1rem; font-size: 0.95rem; }

.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at 60% 78%, rgba(251, 113, 133, 0.14), transparent 20%),
    radial-gradient(circle at 22% 58%, rgba(245, 158, 11, 0.10), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(240,253,250,0.8)),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1,
.section-head h2,
.callout h2,
.cta-box h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  max-width: 13ch;
}

.hero-text {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 1.2rem 0 1.6rem;
}

.hero-copy {
  position: relative;
}

.hero-note {
  margin: 1rem 0 0;
  max-width: 60ch;
  font-size: 0.95rem;
  color: #526173;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-pricing {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-copy {
  color: #405163;
  font-size: 0.95rem;
  max-width: 44ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "•";
  color: var(--brand);
  font-weight: 800;
  margin-right: 0.6rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.hero-proof > div {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 184, 166, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.callout-points strong {
  display: block;
  margin-bottom: 0.3rem;
}

.hero-proof span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.hero-photo-glow {
  position: absolute;
  inset: 8% 0 auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.24), rgba(56, 189, 248, 0.14) 34%, rgba(129, 140, 248, 0.10) 58%, rgba(20, 184, 166, 0));
  filter: blur(20px);
  pointer-events: none;
}

.card-window,
.callout,
.cta-box,
.feature,
.step,
.callout-points > div,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(219, 227, 238, 0.9);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card-window::after,
.step::after,
.feature::after,
.callout-points > div::after,
.faq-list details::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-a, var(--brand)), var(--accent-b, var(--brand-sky)));
  opacity: 0.95;
}

.step:nth-child(1),
.feature:nth-child(1),
.callout-points > div:nth-child(1),
.faq-list details:nth-child(1) {
  --accent-a: var(--brand);
  --accent-b: var(--brand-sky);
}

.step:nth-child(2),
.feature:nth-child(2),
.callout-points > div:nth-child(2),
.faq-list details:nth-child(2) {
  --accent-a: var(--brand-coral);
  --accent-b: var(--brand-gold);
}

.step:nth-child(3),
.feature:nth-child(3),
.callout-points > div:nth-child(3),
.faq-list details:nth-child(3) {
  --accent-a: var(--brand-violet);
  --accent-b: var(--brand-sky);
}

.feature:nth-child(4),
.faq-list details:nth-child(4) {
  --accent-a: var(--brand-gold);
  --accent-b: var(--brand);
}

.feature:nth-child(5),
.faq-list details:nth-child(5) {
  --accent-a: var(--brand-sky);
  --accent-b: var(--brand-coral);
}

.feature:nth-child(6) {
  --accent-a: var(--brand);
  --accent-b: var(--brand-violet);
}

.card-window {
  width: min(100%, 520px);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: floatCard 8s ease-in-out infinite;
  box-shadow: 0 30px 75px rgba(15, 23, 42, 0.12);
}

.window-bar {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.window-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #cbd5e1;
}
.window-bar span:nth-child(1) { background: var(--brand-coral); }
.window-bar span:nth-child(2) { background: var(--brand-gold); }
.window-bar span:nth-child(3) { background: var(--brand); }

.queue-card {
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98)),
    linear-gradient(135deg, rgba(20,184,166,0.06), rgba(15,118,110,0.02));
}
.queue-head,
.queue-item,
.queue-actions,
.footer-row,
.trust-items {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.queue-head { align-items: flex-start; margin-bottom: 1.2rem; }
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 700;
}
.queue-head h2 { margin: 0.2rem 0 0; font-size: 1.55rem; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}
.pill.success {
  background: var(--success);
  color: var(--success-text);
}

.queue-list { display: grid; gap: 0.85rem; }
.queue-item {
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.queue-item strong { display: block; }
.queue-item span { color: var(--muted); font-size: 0.94rem; }
.queue-item.muted { background: #f8fafc; }
.queue-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(20, 184, 166, 0.22);
}
.amount { font-weight: 800; }
.queue-actions { margin-top: 1rem; }
.queue-actions .button {
  pointer-events: none;
  cursor: default;
}
.queue-actions .button:hover {
  background: inherit;
  border-color: inherit;
  color: inherit;
  box-shadow: none;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
}
.trust-items {
  min-height: 74px;
  align-items: center;
  flex-wrap: wrap;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  justify-content: space-between;
}

.section { padding: 5rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(204,251,241,0.52), rgba(248,250,252,0.72)); }

.story-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(248,250,252,0.95));
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.story-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 184, 166, 0.12);
}

.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 58ch;
}

.story-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.story-points li {
  color: var(--muted);
}

.story-points li::before {
  content: '•';
  color: var(--brand);
  font-weight: 800;
  margin-right: 0.6rem;
}

.blog-page {
  background-image:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 26%),
    radial-gradient(circle at 84% 4%, rgba(56, 189, 248, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(240,253,250,0.72));
}

.blog-hero,
.article-hero {
  padding: 4.8rem 0 2.8rem;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(56, 189, 248, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.8));
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.blog-hero-copy h1,
.article-shell h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
}

.blog-hero-panel {
  position: relative;
}

.blog-hero-stack {
  display: grid;
  gap: 1rem;
}

.mini-article-card,
.blog-card,
.article-callout,
.article-figure {
  background: var(--surface);
  border: 1px solid rgba(219, 227, 238, 0.9);
  box-shadow: var(--shadow);
}

.mini-article-card {
  border-radius: 24px;
  padding: 1.3rem 1.4rem;
}

.mini-article-link {
  display: grid;
  gap: 0.85rem;
}

.mini-article-card h2 {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.mini-article-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
  border-color: rgba(20, 184, 166, 0.22);
}

.article-meta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #5b6b7c;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-meta-row span::after {
  content: '•';
  margin-left: 0.8rem;
  color: #94a3b8;
}

.article-meta-row span:last-child::after {
  content: '';
  margin: 0;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.blog-card {
  border-radius: 28px;
  overflow: hidden;
}

.blog-card-media {
  display: block;
  background: linear-gradient(180deg, rgba(204,251,241,0.42), rgba(248,250,252,0.64));
}

.blog-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.blog-card-body h3 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.blog-card-body p,
.article-dek,
.article-prose p,
.article-prose li,
.article-figure figcaption {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--brand-dark);
  font-weight: 800;
}

.article-shell {
  width: min(calc(100% - 2rem), 880px);
  margin: 0 auto;
}

.article-dek {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  max-width: 62ch;
}

.article-hero-media {
  margin-top: 1.6rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(219, 227, 238, 0.9);
  box-shadow: var(--shadow);
}

.article-section {
  padding-top: 2rem;
}

.article-prose {
  display: grid;
  gap: 0.95rem;
}

.article-prose h2 {
  margin: 1.5rem 0 0;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.article-prose ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-prose blockquote {
  margin: 0.75rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  background: rgba(204,251,241,0.42);
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
}

.article-figure {
  margin: 1rem 0;
  border-radius: 28px;
  overflow: hidden;
}

.article-figure figcaption {
  padding: 0.95rem 1.1rem 1.1rem;
  font-size: 0.92rem;
}

.article-callout {
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(56,189,248,0.08));
}

.article-callout strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.article-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #115e59);
  color: #fff;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.18);
}

.article-cta-box h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: #fff;
}

.article-cta-box p {
  margin: 0.6rem 0 0;
  color: rgba(255,255,255,0.84);
  max-width: 54ch;
}

.article-cta-box .eyebrow {
  background: rgba(255,255,255,0.12);
  color: #ccfbf1;
}

.article-cta-box > .button {
  width: auto;
  white-space: nowrap;
  flex: 0 0 auto;
}
.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.06rem; }

.steps,
.feature-grid,
.callout-points,
.faq-list {
  display: grid;
  gap: 1.2rem;
}
.steps { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.callout-points { grid-template-columns: repeat(3, 1fr); }

.step,
.feature {
  padding: 1.4rem;
  border-radius: var(--radius);
}
.step-number {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}
.step h3,
.feature h3 { margin: 0 0 0.55rem; }
.step p,
.feature p,
.callout-points span,
.faq-list p,
.site-footer p { margin: 0; color: var(--muted); }

.callout,
.cta-box {
  border-radius: 28px;
  padding: 2rem;
}
.callout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
}
.callout h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.callout-points > div,
.cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
}
.callout-points > div {
  padding: 1.15rem;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 18px;
  min-height: 100%;
}

.callout-copy {
  color: var(--muted);
  max-width: 52ch;
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
}
.faq-list summary {
  font-size: 0.98rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { padding-top: 0.8rem; }

.cta-section { padding-top: 2rem; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #0f172a, #115e59);
  color: #fff;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.22);
}
.cta-box > .button {
  width: auto;
  white-space: nowrap;
  flex: 0 0 auto;
}
.cta-box p { color: rgba(255,255,255,0.82); margin: 0.6rem 0 0; }
.cta-box .eyebrow { background: rgba(255,255,255,0.12); color: #ccfbf1; }
.cta-pricing {
  color: rgba(204, 251, 241, 0.92) !important;
  font-weight: 600;
  max-width: 48ch;
}

.site-footer {
  padding: 2.5rem 0 4rem;
}
.footer-row {
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-links {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding: 4rem 0;
}

.legal-shell {
  max-width: 860px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-meta {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-back {
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .blog-hero-grid,
  .callout,
  .steps,
  .feature-grid,
  .callout-points,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
    padding-bottom: 0;
  }

  .nav { flex-wrap: wrap; padding: 0.7rem 0; }
  .nav-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero-proof { grid-template-columns: 1fr; }
  .cta-box,
  .footer-row,
  .trust-items,
  .queue-head,
  .queue-item,
  .queue-actions,
  .article-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero { padding-top: 3.5rem; }
  .blog-hero,
  .article-hero { padding-top: 3.5rem; }
  .section { padding: 3.7rem 0; }
  .callout,
  .cta-box,
  .step,
  .feature,
  .queue-card,
  .modal-dialog,
  .mini-article-card,
  .blog-card-body,
  .article-callout { padding: 1.2rem; }
  .brand-wordmark { height: 1.95rem; }
  .story-photo img { min-height: 280px; height: 280px; }
  .button { width: 100%; }
  .hero-actions { display: grid; }
  .hero-pricing { align-items: flex-start; }
  .hero h1 { max-width: none; }
  .article-meta-row { gap: 0.5rem; }
  .article-meta-row span::after { margin-left: 0.5rem; }
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(20, 184, 166, 0.12);
}

.modal-copy p {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.demo-form {
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
}

.field-full {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: 2px solid rgba(20, 184, 166, 0.18);
  border-color: rgba(20, 184, 166, 0.32);
}

.form-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.turnstile-shell {
  margin-top: 1rem;
}

.turnstile-placeholder {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed rgba(20, 184, 166, 0.28);
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.9rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #0f766e;
}

.form-status.is-error {
  color: #b91c1c;
}

.form-actions {
  margin-top: 1rem;
}

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

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

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
