:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #1f2937;
  --paper: #f6f4ef;
  --paper-strong: #ffffff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --emerald: #059669;
  --gold: #facc15;
  --plum: #7c3aed;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 35px rgba(15, 23, 42, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.top-ribbon {
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.ribbon-link {
  background: rgba(15, 23, 42, 0.12);
  color: var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-family: 'Playfair Display', serif;
}

.brand-logo {
  font-size: 1.9rem;
  transform: rotate(-8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
}

.nav-link.is-active {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 16px 32px rgba(234, 88, 12, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.2);
}

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

.btn-outline {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(249, 115, 22, 0.1);
}

.site-main {
  flex: 1;
  width: min(1080px, 92vw);
  margin: 0 auto 6rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding-top: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
  margin: 0;
}

.hero-summary {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

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

.hero-card {
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 55%),
    var(--paper-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid rgba(249, 115, 22, 0.18);
}

.hero-date {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero-card-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.section-header h2 {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  margin: 0;
}

.section-header p {
  margin: 0;
  color: var(--ink-soft);
}

.article-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.article-card p {
  margin: 0;
  color: var(--ink-soft);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-link {
  align-self: flex-start;
  font-weight: 600;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.article-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.article-link:hover::after {
  transform: translateX(4px);
}

.article-rubric {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--plum);
  font-weight: 700;
}

.premium-feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.premium-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.premium-summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.premium-highlights {
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px dashed rgba(249, 115, 22, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.premium-highlights ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-free {
  background: rgba(5, 150, 105, 0.16);
  color: var(--emerald);
}

.badge-premium {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-dark);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.2rem 1.5rem;
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.timeline-time {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-size: 0.85rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid figure {
  background: var(--paper-strong);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-soft);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
}

.testimonial-grid figcaption {
  font-weight: 600;
  color: var(--ink-soft);
}

.newsletter {
  display: flex;
  justify-content: center;
}

.newsletter-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.newsletter-card p {
  margin: 0;
}

.perk-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1rem;
}

.newsletter-caption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.newsletter-status.is-success {
  color: #bbf7d0;
}

.newsletter-status.is-error {
  color: #fca5a5;
}

.rubric-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem 0 1rem;
}

.rubric-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
}

.rubric-hero p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--ink-soft);
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rubric-card {
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rubric-card header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.rubric-payoff {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 600;
}

.rubric-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.pricing-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.pricing-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--ink-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pricing-card.is-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 22px 55px rgba(249, 115, 22, 0.25);
  transform: translateY(-6px);
}

.plan-note {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.plan-price span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq {
  background: var(--paper-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-items {
  display: grid;
  gap: 1rem;
}

.faq details {
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: #fff;
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .site-nav ul {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }

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

  .hero-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .top-ribbon {
    flex-direction: column;
    text-align: center;
  }

  .site-main {
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    flex-direction: column;
  }

  .ribbon-link {
    width: 100%;
    justify-content: center;
  }

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

  .rubric-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card.is-featured {
    transform: none;
  }
}
