/* --- Tokens --- */
:root {
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --bg-soft: #f3f1ec;
  --ink: #0d0d0f;
  --ink-2: #2b2b30;
  --muted: #6b6b73;
  --line: #e6e3db;
  --accent: #1f3aa6;
  --accent-2: #3454d1;
  --accent-soft: #e8edff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(13, 13, 15, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 13, 15, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 13, 15, 0.12);
  --max: 1140px;
}

/* --- Reset-ish --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-2); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

/* --- Brand mark --- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 4px 4px 4px 8px;
  border-left: 2px solid var(--bg);
  border-top: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  border-radius: 2px 0 0 2px;
}
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
}

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); }
.header-cta { padding: 9px 16px; font-size: 14px; }

/* --- Hero --- */
.hero { padding: 88px 0 96px; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
}
.headline {
  font-size: clamp(40px, 5.4vw, 64px);
  margin: 14px 0 20px;
  letter-spacing: -0.025em;
}
.headline-accent {
  font-style: italic; font-weight: 500;
  color: var(--accent);
}
.lede { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.lede em { font-style: italic; color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 44px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 40px; max-width: 480px;
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats dt { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stats dd { margin: 0; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; }

/* --- Hero preview card --- */
.hero-preview {
  position: relative;
}
.hero-preview::before {
  content: ''; position: absolute; inset: -40px -20px;
  background: radial-gradient(60% 60% at 60% 40%, rgba(31, 58, 166, 0.10), transparent 70%);
  z-index: -1;
}
.preview-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.5deg);
}
.preview-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.preview-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d4d1c8;
}
.preview-dot:nth-child(1) { background: #e76f51; }
.preview-dot:nth-child(2) { background: #e9c46a; }
.preview-dot:nth-child(3) { background: #5fa777; }
.preview-url {
  margin-left: 12px;
  font-size: 12.5px; color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.preview-body { padding: 22px; }
.preview-label {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 10px; font-weight: 600;
}
.preview-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--bg-soft); color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip-active { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.preview-articles { display: flex; flex-direction: column; }
.preview-articles li {
  padding: 14px 0; border-top: 1px solid var(--line);
}
.preview-articles li:first-child { border-top: 0; padding-top: 4px; }
.article-source {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}
.preview-articles h4 {
  font-size: 16.5px; line-height: 1.3;
  margin: 6px 0 8px; font-weight: 600;
}
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px; padding: 3px 8px;
  border-radius: 4px; background: var(--bg-soft);
  color: var(--ink-2); font-weight: 500;
}

/* --- Section heads --- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 12px;
  letter-spacing: -0.02em;
}

/* --- Press strip --- */
.press {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.press-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.press-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 36px;
}
.press-list li {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.press-list li:hover { opacity: 1; }

/* --- How --- */
.how { padding: 96px 0; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.steps li {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.steps h3 {
  font-size: 22px; margin: 14px 0 10px;
}
.steps p { color: var(--muted); font-size: 15px; }

/* --- Features --- */
.features { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 19px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.feature:hover { transform: translateY(-2px); border-color: var(--ink-2); box-shadow: var(--shadow-md); }

/* --- Headlines (Today on Wepurch) --- */
.headlines {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.headline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.headline-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.headline-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-2);
  box-shadow: var(--shadow-md);
}
.headline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.article-time {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.headline-card h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 1;
}

/* --- Pricing --- */
.pricing { padding: 96px 0; }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.plan-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.plan-featured h3, .plan-featured .plan-price span { color: var(--bg); }
.plan-featured .plan-desc, .plan-featured ul li { color: rgba(250, 249, 246, 0.75); }
.plan-featured ul li::before { background: var(--bg); }
.plan-featured .btn-primary { background: var(--bg); color: var(--ink); }
.plan-featured .btn-primary:hover { background: var(--accent-soft); color: var(--accent); }
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.05em;
}
.plan h3 { font-size: 22px; }
.plan-price {
  margin: 14px 0 8px;
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price span {
  font-family: 'Fraunces', serif;
  font-size: 44px; font-weight: 600;
  letter-spacing: -0.02em;
}
.plan-price small { color: var(--muted); font-size: 14px; }
.plan-desc { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.plan ul { margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan ul li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; color: var(--ink-2);
}
.plan ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--accent);
  border-radius: 2px;
}
.plan .btn { width: 100%; }
.plan { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.plan:hover:not(.plan-featured) { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Testimonials --- */
.testimonials {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  position: relative;
  margin: 0;
  padding: 32px 28px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Fraunces', serif;
  font-size: 38px;
  line-height: 50px;
  text-align: center;
  font-weight: 700;
}
.quote blockquote {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 500;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.quote-meta { display: flex; flex-direction: column; }
.quote-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.quote-role {
  font-size: 13px;
  color: var(--muted);
}

/* --- Optin form --- */
.optin {
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.optin-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form-column {
  max-width: 600px;
  margin: 0 auto;
}
#disclaimer-form-widget {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-info-section { margin-bottom: 4px; }
.contact-info-title,
.consent-title {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 16px;
}

.input-group { margin-bottom: 16px; }
.input-group:last-child { margin-bottom: 0; }
.input-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.input-group input[type="text"],
.input-group input[type="tel"],
.input-group input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-group input::placeholder { color: var(--muted); }
.input-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input-group input.error {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.10);
}
.input-group input.valid {
  border-color: #1a7a55;
}
.error-message {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #b3261e;
}

.consent-section,
.required-checkbox {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-item input[type="checkbox"] {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.disclaimer-links,
.required-checkbox-links {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
  margin: 0;
}
.disclaimer-links strong { color: var(--ink-2); font-weight: 600; }
.required-checkbox-links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.required-checkbox-links a:hover { text-decoration: none; }

.hidden-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.submit-button {
  width: 100%;
  margin-top: 24px;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
.submit-button:hover { background: var(--accent); }
.submit-button:active { transform: translateY(1px); }

/* --- Success modal --- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal.show { display: flex; }
.modal-card {
  position: relative;
  background: var(--bg-elev);
  border-radius: 16px;
  padding: 40px 36px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.modal-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.modal-close:hover { background: var(--line); }

/* --- CTA --- */
.cta { padding: 100px 0; border-top: 1px solid var(--line); }
.cta-inner {
  text-align: center;
  max-width: 720px;
}
.cta h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.cta p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg-elev); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 56px;
  text-align: center;
  margin: 0 auto;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.footer-col p + p { margin-top: 4px; }
.footer-org { color: var(--ink-2); font-weight: 500; margin-bottom: 6px !important; }
.footer-col a { color: var(--muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .headline-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .header-cta { padding: 8px 14px; }
}

@media (max-width: 640px) {
  .headline-grid { grid-template-columns: 1fr; }
  .press-list { gap: 12px 24px; }
  .press-list li { font-size: 16px; }
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 540px) {
  .header-inner { height: 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .signup { flex-direction: column; padding: 8px; border-radius: 14px; }
  .signup input { padding: 10px 12px; }
  .signup .btn { width: 100%; }
  #disclaimer-form-widget { padding: 24px; }
  .modal-card { padding: 32px 24px 24px; }
}
