/* ============================================================================
   Smart PDF Desk
   Aesthetic direction: a well-run desk. A cool paper-white surface ruled with
   hairline lines, sections filed behind small monospaced tab markers, documents
   drawn as softly stacked paper cards, and one ink-indigo accent (with a single
   amber tab) carrying all the emphasis.
   ========================================================================== */

:root {
  /* palette */
  --bg: #f3f6fc;
  --bg-deep: #e9eef9;
  --surface: #ffffff;
  --surface-2: #f7f9fe;
  --ink: #0e1830;
  --text: #1b2540;
  --muted: #5b6683;
  --accent: #2f43c4;
  --accent-hover: #24349d;
  --accent-soft: #e8ecfd;
  --marker: #c9821c;
  --marker-soft: #fbf0dd;
  --border: #dde4f2;
  --border-strong: #c8d2e8;
  --danger: #c0392b;
  --success: #1f7a4d;

  /* shape + rhythm */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(14, 24, 48, 0.05);
  --shadow-md: 0 10px 30px -18px rgba(14, 24, 48, 0.35);
  --shadow-lg: 0 26px 60px -34px rgba(14, 24, 48, 0.45);
  --rule: 1px solid var(--border);

  /* type */
  --font-display: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

/* ── Reset / base ──────────────────────────────────────────────────────────── */

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

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 320px),
    repeating-linear-gradient(90deg, rgba(47, 67, 196, 0.045) 0 1px, transparent 1px 96px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-inline-start: 1.15rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1200;
  background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── Layout primitives ─────────────────────────────────────────────────────── */

.container { width: min(1160px, 92vw); margin-inline: auto; }
.container-narrow { width: min(760px, 92vw); margin-inline: auto; }
.container-mid { width: min(920px, 92vw); margin-inline: auto; }

.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section--tinted { background: linear-gradient(180deg, var(--surface-2), transparent 70%); }
.section--ruled { border-top: var(--rule); }

/* The signature device: every section is "filed" behind a manila-style tab.
   The mono label sits on a hairline rule with a short amber marker beneath. */
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  background: var(--surface);
  border: var(--rule); border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 0.42rem 0.85rem 0.36rem;
  position: relative; top: 1px;
}
.tab::before {
  content: ''; width: 7px; height: 7px; border-radius: 2px;
  background: var(--marker);
}
.tab-rule { border-top: var(--rule); margin-bottom: 1.9rem; }

.section-head { margin-bottom: 2.4rem; width: min(820px, 100%); }
.section-head h2 { margin-bottom: 0.55rem; }
.section-head > p { color: var(--muted); font-size: 1.03rem; }
.section-head.center { text-align: center; width: auto; margin-inline: auto; }

/* Inner blocks are held to a comfortable reading width while their section
   heads keep the page's single left edge. */
.page-hero-copy { width: min(760px, 100%); }
.faq-list, .refund-list { width: min(920px, 100%); }

.lede { font-size: 1.1rem; color: var(--muted); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  padding: 0.78rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.03rem; }
button.btn { font: inherit; font-weight: 600; }
button.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

/* ── Header + navigation ───────────────────────────────────────────────────── */

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-header {
  direction: ltr;
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}
.header-inner {
  width: min(1160px, 92vw); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.site-nav-desktop { display: flex; align-items: center; gap: 1.55rem; }
.site-nav-desktop a:not(.btn) {
  color: var(--muted); font-size: 0.95rem; font-weight: 500; padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
}
.site-nav-desktop a:not(.btn):hover { color: var(--ink); }
.site-nav-desktop a.is-active { color: var(--ink); border-bottom-color: var(--marker); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.site-nav { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero { padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero-sub { font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-meta {
  margin-top: 1.9rem; padding-top: 1.2rem; border-top: var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.6rem;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--muted); text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta span::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.hero-art {
  background: var(--surface); border: var(--rule); border-radius: var(--radius-lg);
  padding: 1.1rem; box-shadow: var(--shadow-lg);
}
.price-pill {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  background: var(--marker-soft); color: #7a4f0d;
  border: 1px solid #eedcbd; border-radius: 999px;
  padding: 0.3rem 0.9rem; margin-bottom: 1.1rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
}

/* ── Showcase (paper stack strip) ──────────────────────────────────────────── */

.showcase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.paper {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.paper:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.paper img { width: 100%; background: var(--surface-2); }
.paper-caption { padding: 1rem 1.15rem 1.2rem; border-top: var(--rule); }
.paper-caption h3 { font-size: 1.03rem; margin-bottom: 0.25rem; }
.paper-caption p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ── Why us (index cards) ──────────────────────────────────────────────────── */

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: var(--rule); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--surface); padding: 1.6rem 1.5rem; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; padding-top: 0.9rem; position: relative; }
.why-item h3::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  width: 22px; height: 3px; border-radius: 2px; background: var(--marker);
}
.why-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ── Features ──────────────────────────────────────────────────────────────── */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-card {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1.05rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ── Steps ─────────────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: var(--rule);
  border-radius: var(--radius); padding: 1.7rem 1.5rem 1.5rem;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent);
  letter-spacing: 0.1em; display: block; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ── Pricing cards ─────────────────────────────────────────────────────────── */

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 1.4rem; justify-content: center; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-lg); text-align: center;
}
.pricing-card .plan-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 1rem;
}
.price-val {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--ink); line-height: 1; letter-spacing: -0.03em; margin: 0 0 0.35rem;
}
.price-freq { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); margin: 0 0 1.1rem; }
.price-trial {
  background: var(--marker-soft); border: 1px solid #eedcbd; color: #7a4f0d;
  border-radius: var(--radius-sm); padding: 0.65rem 0.9rem; margin: 0 0 1.2rem;
  font-size: 0.9rem;
}
.pricing-card .btn { width: 100%; }
.pricing-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.plan-includes { text-align: start; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: var(--rule); list-style: none; }
.plan-includes li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.5rem; font-size: 0.93rem; color: var(--muted); }
.plan-includes li::before { content: ''; flex: none; margin-top: 0.5rem; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

/* ── Opt-out / refund ──────────────────────────────────────────────────────── */

.optout-box {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; box-shadow: var(--shadow-md);
}
.optout-box h3 { font-size: 1.1rem; }
.optout-channel {
  font-family: var(--font-mono); font-size: 1.05rem; color: var(--ink);
  background: var(--surface-2); border: var(--rule); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; display: inline-block; margin: 0.4rem 0 0.9rem; word-break: break-word;
}
.optout-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.optout-note {
  border-top: 2px solid var(--marker); padding-top: 0.7rem;
  font-size: 0.9rem; color: var(--muted);
}
.optout-note strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.15rem; }

.refund-list { list-style: none; padding: 0; margin: 0; }
.refund-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.85rem 0; border-bottom: var(--rule); color: var(--text);
}
.refund-list li:last-child { border-bottom: none; }
.refund-list li::before {
  content: ''; flex: none; margin-top: 0.6rem; width: 7px; height: 7px;
  border-radius: 2px; background: var(--accent);
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */

.faq-list {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: var(--rule); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.03rem;
  color: var(--ink); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 1.4rem; top: 1.5rem;
  width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { background: var(--surface-2); }
.faq-body { padding: 0 1.4rem 1.35rem; color: var(--muted); font-size: 0.96rem; }

/* ── About ─────────────────────────────────────────────────────────────────── */

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value-card {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
}
.value-card .tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--marker); display: block; margin-bottom: 0.8rem;
}
.value-card h3 { font-size: 1.1rem; }
.value-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.vision-panel {
  background: var(--ink); color: #e6ebf7; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem); box-shadow: var(--shadow-lg);
}
.vision-panel h2 { color: #fff; }
.vision-panel .tab { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #b9c4dd; }
.vision-panel .tab-rule { border-top-color: rgba(255, 255, 255, 0.18); }
.vision-panel p { color: #c3cde3; }
.vision-panel p:last-child { margin-bottom: 0; }

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */

.page-hero {
  padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: var(--rule);
  background: linear-gradient(180deg, #ffffff, transparent);
}
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* ── Cards used by contact ─────────────────────────────────────────────────── */

.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 2.6rem; }
.care-card {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.care-card h3 { font-size: 1.05rem; }
.care-card p { color: var(--muted); font-size: 0.94rem; }
.care-card p:last-child { margin-bottom: 0; }
.care-email { font-family: var(--font-mono); font-size: 0.95rem; word-break: break-all; }

/* ── Forms (contact + sign-in) ─────────────────────────────────────────────── */

.contact-form, .form-card {
  background: var(--surface); border: var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-md);
}
.contact-form { width: min(820px, 100%); }
.contact-form > p { color: var(--muted); font-size: 0.95rem; margin-top: -1rem; margin-bottom: 1.6rem; }
.form-card.narrow { width: min(520px, 100%); margin-inline: auto; }

.form-group { margin-bottom: 1.1rem; }
.contact-form h3, .form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button, .form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label {
  display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.4rem; letter-spacing: 0.01em;
}
.form-group input, .form-group textarea {
  width: 100%; font: inherit; font-size: 0.97rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 0.72rem 0.9rem;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.form-group input:focus, .form-group textarea:focus {
  background: var(--surface); border-color: var(--accent); outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 150px; }

.error-msg, .errorMsg { display: none; color: var(--danger); font-size: 0.82rem; margin-top: 0.3rem; }
.form-success, .successMsg { display: none; color: var(--success); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; margin-bottom: 0; }

/* ── Legal pages ───────────────────────────────────────────────────────────── */

.legals-wrap { padding: 2.5rem 0 0; }
.legals { padding-top: 1rem; padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
/* Legal page heading shares the document's own reading column. */
.legals-hero .container { width: min(840px, 92vw); }
.legals-hero .page-hero-copy { width: 100%; }
.legals h1 { display: none; }
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
  font-family: var(--font-mono);
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }
.legals a { word-break: break-word; }

/* ── 404 ───────────────────────────────────────────────────────────────────── */

.not-found { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; }
.not-found .big-num {
  font-family: var(--font-display); font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 800; line-height: 1; color: var(--accent-soft); margin: 0 0 0.5rem;
  letter-spacing: -0.04em;
}
.not-found p { color: var(--muted); }
.not-found .btn { margin-top: 1rem; }

/* ── Footer ────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink); color: #b9c4dd; margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2.8rem, 6vw, 4rem) 0 1.8rem;
  font-size: 0.93rem;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.site-footer h4 {
  color: #8e9bba; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.site-footer a { color: #d5dded; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-entity { margin-top: 1.4rem; font-size: 0.85rem; color: #8e9bba; }
.footer-entity p { margin-bottom: 0.3rem; }
.lang-switcher { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.lang-switcher a {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.lang-switcher a.is-current { background: rgba(255, 255, 255, 0.12); color: #fff; }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  font-size: 0.82rem; color: #7f8dad;
}
.footer-version { font-family: var(--font-mono); }

/* ── Reveal (gated: nothing is hidden without JS) ──────────────────────────── */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .paper:hover { transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .showcase-grid, .why-grid, .feature-grid, .steps, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .site-nav {
    display: block;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    z-index: 800;
    background: var(--surface); border-bottom: var(--rule);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav .container { display: flex; flex-direction: column; padding-block: 0.8rem 1.4rem; }
  .site-nav a:not(.btn), .site-nav .lang-switcher { padding: 0.6rem 0; color: var(--ink); border-bottom: var(--rule); }
  .site-nav .btn { width: 100%; justify-content: center; margin-top: 0.9rem; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .showcase-grid, .why-grid, .feature-grid, .steps, .values-grid,
  .care-grid, .optout-notes { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}

/* ── RTL (no RTL language ships today; kept so a future locale is correct) ─── */

[dir="rtl"] .form-group input[type="text"],
[dir="rtl"] .form-group textarea { direction: rtl; text-align: right; }
[dir="rtl"] .form-group input[type="email"],
[dir="rtl"] .form-group input[type="tel"] { direction: ltr; text-align: left; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] .form-card .form-group label { text-align: center; }
