/* Shared paper-and-ink language, matching the in-app card studio and paywall. */
:root {
  --ink: #20211f;
  --ink-soft: #454840;
  --muted: #63675f;
  --paper: #faf9f6;
  --night: #232823;
  --line: rgba(32, 33, 31, .13);
  --mark: #a6472b;
  --content: 1120px;
}

body { line-height: 1.8; }
.site-header { background: rgba(250,249,246,.94); border-bottom-color: var(--line); }
.header-inner { min-height: 72px; }
.brand { font-weight: 750; }
.brand img { box-shadow: none; }
.site-nav > a:not(.language-pill) { font-weight: 600; }
.language-pill { min-height: 44px; background: transparent; }
:focus-visible { outline-color: var(--mark); }
.eyebrow, .section-kicker, .step-index { color: var(--mark); font-weight: 650; letter-spacing: .08em; }
.eyebrow { margin-bottom: 22px; }
.eyebrow::before { display: none; }

.hero { padding: 64px 0 72px; background: var(--paper); }
.hero::before, .hero::after, .device-glow, .device-note,
.feature-card::after, .feature-trace, .privacy-visual,
.pro-panel::after, .cta-card::before, .cta-card::after { display: none; }
.hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(260px,.8fr); gap: 48px; }
.hero h1 { font-size: clamp(36px,4.4vw,58px); line-height: 1.3; font-weight: 750; letter-spacing: -.045em; }
.hero h1 .accent { color: var(--mark); }
.hero-lead { max-width: 540px; margin-top: 24px; font-size: 17px; line-height: 1.95; }
.hero-actions { margin-top: 28px; align-items: center; }
.button { min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 650; box-shadow: none; }
.button-primary:not(.is-disabled):hover { box-shadow: none; }
.button-secondary { background: transparent; }
.hero-actions .button-secondary { background: var(--night); color: white; border-color: var(--night); }
.hero-actions .is-disabled { order: 2; padding: 0; min-height: 32px; color: var(--muted); background: transparent; font-size: 13px; }
.button-icon { display: none !important; }
.trust-list { gap: 8px 18px; margin-top: 24px; }
.trust-list li { font-size: 12px; font-weight: 500; }
.trust-list li::before { width: 4px; height: 4px; background: var(--mark); box-shadow: none; }
.device-demo { margin: 0; }
.phone-shell { width: 272px; padding: 7px; border-radius: 43px; transform: none; box-shadow: 0 24px 48px rgba(32,33,31,.16), 0 3px 8px rgba(32,33,31,.12); }
.phone-screen { border-radius: 36px; }
.screen-controls { gap: 4px; padding: 4px; margin-top: 20px; width: auto; background: #efeee9; border: 0; box-shadow: none; }
.screen-tab, .demo-play { min-height: 44px; height: 44px; }
.screen-tab { padding-inline: 16px; font-weight: 600; font-size: 13px; }
.screen-tab[aria-selected="true"] { color: var(--ink); background: white; box-shadow: 0 1px 5px rgba(0,0,0,.09); }
.demo-play { width: 44px; color: var(--ink-soft); }
.stat-strip { margin-top: 0; }
.stat-grid { border-radius: 0; border-inline: 0; background: transparent; box-shadow: none; }
.stat-item { padding: 28px 30px; }
.stat-item:first-child { padding-left: 0; }
.stat-item strong { font-size: 20px; line-height: 1.5; font-weight: 650; letter-spacing: -.02em; }
.stat-item span { font-weight: 400; }
.section { padding: 96px 0; }
.section-tight { padding: 24px 0; }
.section-heading { max-width: 770px; font-size: clamp(29px,3.4vw,44px); font-weight: 700; line-height: 1.45; letter-spacing: -.035em; text-wrap: pretty; }
.section-lead { margin-top: 20px; font-size: 16px; }
.section-kicker { font-size: 12px; margin-bottom: 14px; }
.feature-grid { gap: 32px; margin-top: 44px; }
.feature-card, .feature-card:last-child { min-height: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.feature-card:nth-child(2) { transform: none; }
.feature-number { display: block; width: auto; height: auto; border: 0; border-radius: 0; background: transparent; color: var(--mark); font-family: ui-monospace, monospace; font-weight: 500; }
.feature-card h3 { max-width: none; margin: 22px 0 12px; font-size: 21px; line-height: 1.55; font-weight: 650; letter-spacing: -.025em; }
.feature-card p { font-size: 14px; }
.showcase-section { padding: 80px 0; background: #f0f0eb; }
.showcase-heading-row { grid-template-columns: 1.3fr 1fr; gap: 40px; }
.showcase-intro { font-size: 15px; }
.showcase-rail, .showcase-rail-three { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; width: min(var(--content),calc(100% - 40px)); margin-top: 40px; padding: 0; overflow: visible; }
.showcase-rail-three { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 950px; }
.showcase-shot { width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.showcase-shot:nth-child(even), .showcase-shot:hover, .showcase-shot:nth-child(even):hover { transform: none; box-shadow: none; }
.showcase-shot img { height: auto; border-radius: 16px; object-fit: contain; }
.showcase-shot figcaption { padding: 16px 0 0; gap: 5px; }
.showcase-shot figcaption strong { font-weight: 650; font-size: 15px; }
.privacy-section { background: var(--night); }
.privacy-grid { display: block; max-width: 860px; }
.privacy-section .section-kicker { color: #d9be9b; }
.privacy-section .section-lead, .privacy-disclosure { color: #c5cec4; }
.privacy-points { margin-top: 28px; gap: 0; }
.privacy-points li { padding: 18px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; }
.privacy-points li::before { content: ""; flex-basis: 5px; width: 5px; height: 5px; margin: 12px 5px 0 0; background: #d9be9b; }
.privacy-link { font-size: 14px; min-height: 44px; align-items: center; }
.steps-grid { margin-top: 36px; }
.step h3 { font-size: 21px; margin-top: 22px; font-weight: 650; }
.step p { font-size: 14px; }
.pro-panel { background: #efeee8; padding: 40px; border-radius: 20px; box-shadow: none; grid-template-columns: 1fr auto; gap: 32px; }
.pro-copy h2 { font-size: clamp(28px,3vw,38px); font-weight: 650; line-height: 1.45; letter-spacing: -.03em; }
.pro-copy p { font-size: 15px; }
.pro-copy .section-kicker { margin-top: 0; color: var(--mark); font-size: 12px; }
.pro-badge { width: auto; height: auto; padding: 12px 18px; border: 1px solid var(--mark); border-radius: 8px; color: var(--mark); background: transparent; font-size: 24px; box-shadow: none; transform: none; }
.cta-card { padding: 64px 28px; border-radius: 20px; }
.cta-card h2 { max-width: 700px; font-size: clamp(28px,3.5vw,44px); font-weight: 650; line-height: 1.5; letter-spacing: -.03em; }
.cta-card .is-disabled { background: transparent; color: #d4dbd1; font-size: 14px; }
.cta-card .button-secondary { background: white; color: var(--night); }
.footer-links { gap: 8px 20px; }
.footer-links a, .footer-analytics-button { display: inline-flex; align-items: center; min-height: 44px; }
.legal-hero { background: #efeee8; }
.legal-hero h1 { font-size: clamp(32px,5vw,56px); line-height: 1.35; letter-spacing: -.035em; }
.legal-toc a { min-height: 44px; }
.analytics-consent { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.14); }
.analytics-consent-copy p { color: var(--muted); }
.analytics-consent-copy a { color: var(--mark); }
.analytics-consent-button { border-radius: 8px; }
.analytics-consent-decline, .analytics-consent-accept { color: var(--ink); background: #f2f1ec; border-color: var(--line); }

@media (max-width: 960px) {
  .hero-grid { gap: 32px; grid-template-columns: minmax(0,1fr) 260px; }
  .feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .feature-card:last-child { grid-column: auto; }
  .showcase-rail, .showcase-rail-three { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 270px; justify-content: start; width: 100%; overflow-x: auto; padding: 0 24px 20px; scroll-padding-inline: 24px; scroll-snap-type: x mandatory; }
  .showcase-shot { width: auto; scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; }
  .hero { padding: 38px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 560px; margin-inline: auto; }
  .hero h1 { font-size: clamp(28px,8.8vw,46px); line-height: 1.4; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .hero-lead { font-size: 15px; margin-top: 18px; line-height: 1.85; }
  .hero-actions { display: flex; gap: 12px; margin-top: 22px; }
  .hero-actions .button { width: auto; }
  .trust-list { margin-top: 18px; gap: 5px 14px; }
  .trust-list li { font-size: 11px; }
  .phone-shell { width: 250px; border-radius: 40px; }
  .phone-screen { border-radius: 33px; }
  .screen-controls { width: auto; }
  .screen-tab { flex: initial; }
  .stat-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .stat-item, .stat-item:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; }
  .stat-item + .stat-item { border: 0; }
  .stat-item strong { font-size: 16px; }
  .stat-item span { font-size: 12px; text-align: right; }
  .section { padding: 64px 0; }
  .section-heading { font-size: 28px; }
  .section-lead { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .feature-card h3 { margin-top: 12px; font-size: 20px; }
  .showcase-section { padding: 60px 0; }
  .showcase-heading-row { grid-template-columns: 1fr; gap: 20px; }
  .showcase-rail, .showcase-rail-three { margin-top: 28px; grid-auto-columns: min(72vw,280px); padding-inline: 20px; scroll-padding-inline: 20px; }
  .privacy-points li { font-size: 14px; }
  .privacy-disclosure { font-size: 12px; }
  .pro-panel { padding: 28px 24px; grid-template-columns: 1fr; gap: 24px; }
  .pro-badge { justify-self: start; }
  .cta-card { padding: 40px 24px; }
  .cta-actions { display: flex; flex-direction: column; align-items: center; }
  .cta-actions .button { width: auto; }
  .analytics-consent-actions { grid-template-columns: 1fr 1fr; }
}
