:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f5;
  --ink: #0b0b0b;
  --ink-muted: #525252;
  --ink-subtle: #737373;
  --border: #e5e5e5;
  --border-strong: #0b0b0b;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --container: 1040px;
  --radius: 2px;
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-cta {
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
}

.nav-cta:hover {
  opacity: 0.86;
}

/* Typography & Sections */
.section {
  padding-block: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p {
  margin: 0;
}

.lead {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* Hero */
.hero {
  padding-block: clamp(64px, 10vw, 112px);
  border-bottom: 1px solid var(--border);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-screenshot {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  opacity: 0.86;
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Editorial Lists (Benefits & Compatibility) */
.grid-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 36px;
}

.grid-item {
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.item-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.grid-item p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Split layout (Fines & Viral) */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.split-copy p {
  margin-top: 20px;
  color: var(--ink-muted);
}

.split-copy p + p {
  margin-top: 14px;
}

/* Fines table */
.fines-table-wrap {
  border-top: 2px solid var(--ink);
}

.fines-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.fines-table th,
.fines-table td {
  padding: 14px 4px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.fines-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
}

.fines-table td:last-child,
.fines-table th:last-child {
  text-align: right;
}

.fines-table td:last-child {
  font-weight: 700;
  font-size: 1.0625rem;
}

/* Pricing */
.pricing-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.plan-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
}

.plan-featured .plan-name {
  color: #a3a3a3;
}

.plan-price {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-desc {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.plan-featured .plan-desc {
  color: #d4d4d4;
}

/* Share & QR */
.share-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.share-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
}

.qr-frame {
  width: 176px;
  height: 176px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.qr-frame svg {
  width: 100%;
  height: 100%;
}

.qr-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.qr-caption {
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 34ch;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-subtle);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--ink);
}

.faq-answer {
  padding-bottom: 22px;
  color: var(--ink-muted);
  max-width: 68ch;
  font-size: 0.9375rem;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer p + ol,
.faq-answer ul + p,
.faq-answer ol + p {
  margin-top: 10px;
}

.faq-answer ul,
.faq-answer ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.faq-answer li + li {
  margin-top: 6px;
}

.faq-answer strong {
  color: var(--ink);
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  font-size: 0.875rem;
}

.faq-toc a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-toc a:hover {
  color: var(--ink);
}

.faq-group {
  padding-top: 40px;
}

.faq-group:first-child {
  padding-top: 0;
}

.faq-group-title {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.faq-section-link {
  margin-top: 24px;
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Subpages (/offer, /faq) */
.page-head {
  padding-block: clamp(48px, 7vw, 76px) 36px;
  border-bottom: 1px solid var(--border);
}

.prose {
  padding-block: 44px 72px;
  max-width: 72ch;
}

.prose h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-muted);
  font-size: 0.96875rem;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  font-size: 0.875rem;
  color: var(--ink-subtle);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-split,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav .nav-hide-mobile {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
