/* Foldavo — landing page styles. Design by Hermes, 15 Sep 2026 (Bryn's chosen candidate);
   moved out of the page into this file per the store's one-filing-convention. Palette and type are
   CSS variables and can be rethemed centrally. */

:root {
  --paper: #f7f5ef;
  --paper-bright: #fffefa;
  --ink: #142421;
  --ink-soft: #42504d;
  --line: #d9ddd5;
  --mist: #e9ede7;
  --dark: #102824;
  --dark-soft: #d8e7e1;
  --cta: #e65321;
  --cta-hover: #c94216;
  --cta-text: #ffffff;
  --success: #28715d;
  --shadow: 0 20px 60px rgba(20, 36, 33, .12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  font-size: .76rem;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink-soft);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 870px; margin-bottom: 24px; }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.9rem); margin-bottom: 22px; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 10px; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 690px; }
.section-intro { max-width: 720px; margin-bottom: 52px; color: var(--ink-soft); font-size: 1.08rem; }
.section { padding: 112px 0; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 2px solid var(--cta);
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 10px 25px rgba(230, 83, 33, .25);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(230, 83, 33, .31); }
.button:active { transform: translateY(0); }
.button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #142421; outline-offset: 4px; }
.button svg { width: 18px; }
.reassurance { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; color: var(--ink-soft); font-size: .88rem; font-weight: 650; }
.reassurance svg { width: 17px; flex: 0 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, .94);
  border-bottom: 1px solid rgba(20, 36, 33, .1);
  backdrop-filter: blur(12px);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 1.12rem; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 30px; height: 34px; position: relative; }
.brand-mark span { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper-bright); }
.brand-mark span:nth-child(2) { transform: translate(5px, 5px); z-index: -1; background: var(--mist); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.button) { color: var(--ink-soft); font-size: .91rem; font-weight: 700; text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--ink); }
.nav .button { min-height: 44px; padding-inline: 18px; box-shadow: none; }

.hero { padding: 82px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr); gap: 72px; align-items: center; }
.hero h1 strong { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cta); text-decoration-thickness: .1em; text-underline-offset: .12em; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; }
.hero .button { font-size: 1.05rem; padding-inline: 28px; min-height: 58px; }

.product-scene { position: relative; min-height: 510px; }
.scene-backdrop { position: absolute; inset: 5% -16% 2% 8%; border-radius: 50%; background: #e1e8df; }
.email-card, .pdf-stack { position: absolute; background: var(--paper-bright); border: 1px solid #ccd2ca; box-shadow: var(--shadow); }
.email-card { width: 78%; left: 0; top: 55px; padding: 22px; border-radius: var(--radius-md); transform: rotate(-4deg); }
.email-top { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 850; }
.email-meta strong, .email-meta span { display: block; }
.email-meta strong { font-size: .82rem; }
.email-meta span { color: var(--ink-soft); font-size: .68rem; }
.mail-line { height: 7px; border-radius: 99px; background: var(--mist); margin-top: 13px; }
.mail-line.short { width: 68%; }
.attachment-chip { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--ink-soft); font-size: .68rem; font-weight: 750; }
.pdf-stack { width: 70%; right: 0; bottom: 20px; padding: 24px 22px 30px; border-radius: 5px; transform: rotate(3deg); }
.pdf-stack::before, .pdf-stack::after { content: ""; position: absolute; inset: 8px -8px -8px 8px; z-index: -1; border: 1px solid #ccd2ca; background: #f2f1eb; border-radius: 5px; }
.pdf-stack::after { inset: 16px -16px -16px 16px; z-index: -2; }
.pdf-kicker { display: flex; justify-content: space-between; font-size: .64rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 850; color: var(--ink-soft); }
.pdf-stack h3 { margin: 36px 0 16px; font-size: 1.45rem; }
.pdf-rule { height: 1px; background: var(--ink); opacity: .3; margin-bottom: 14px; }
.page-line { height: 6px; background: #d8ded7; border-radius: 20px; margin: 9px 0; }
.page-line:nth-of-type(3) { width: 88%; }
.page-line:nth-of-type(4) { width: 70%; }
.local-badge { position: absolute; right: -10px; top: 44px; display: flex; align-items: center; gap: 8px; background: var(--ink); color: white; border-radius: 999px; padding: 11px 15px; font-size: .75rem; font-weight: 850; box-shadow: 0 10px 30px rgba(20, 36, 33, .2); }
.local-badge svg { width: 16px; }

.trust { border-block: 1px solid var(--line); background: var(--paper-bright); }
.trust-inner { min-height: 116px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.trust-label { margin: 0; font-weight: 800; line-height: 1.3; font-size: .9rem; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { color: var(--ink-soft); text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .03em; }

.problem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.problem-copy { max-width: 500px; }
.problem-list { border-top: 1px solid var(--line); }
.problem-row { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.problem-number { font-family: Georgia, serif; font-size: 1.1rem; color: var(--ink-soft); }
.problem-row strong { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.problem-row p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.how { background: var(--dark); color: white; }
.how .eyebrow, .how .section-intro { color: var(--dark-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid rgba(255,255,255,.2); }
.step { padding: 38px 38px 42px 0; position: relative; }
.step + .step { padding-left: 38px; border-left: 1px solid rgba(255,255,255,.2); }
.step-number { font-family: Georgia, serif; font-size: 3.8rem; line-height: 1; color: #9fbab1; margin-bottom: 60px; }
.step h3 { font-family: "Avenir Next", Avenir, sans-serif; letter-spacing: -.02em; }
.step p { color: var(--dark-soft); margin: 0; }

.benefit-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 92px; align-items: start; }
.benefit-sticky { position: sticky; top: 116px; }
.benefit-sticky .button { margin-top: 10px; }
.benefit-list { display: grid; }
.benefit { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 18px; }
.benefit:last-child { border-bottom: 1px solid var(--line); }
.check { width: 25px; height: 25px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 13px; }
.benefit p { color: var(--ink-soft); margin: 0; }

.private { padding: 42px 0 112px; }
.private-panel { background: var(--dark); color: white; border-radius: var(--radius-lg); padding: clamp(42px, 7vw, 86px); display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; overflow: hidden; position: relative; }
.private-panel::after { content: ""; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; position: absolute; right: -190px; top: -180px; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); }
.private-panel .eyebrow, .private-panel .lead { color: var(--dark-soft); }
.privacy-diagram { display: grid; gap: 14px; position: relative; z-index: 1; }
.privacy-row { display: grid; grid-template-columns: 48px 1fr; gap: 17px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.privacy-row:last-child { border-bottom: 0; }
.privacy-icon { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: grid; place-items: center; }
.privacy-icon svg { width: 22px; }
.privacy-row strong, .privacy-row span { display: block; }
.privacy-row span { color: var(--dark-soft); font-size: .91rem; }

.use-cases { background: var(--paper-bright); border-block: 1px solid var(--line); }
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.case { padding: 30px 0; border-top: 1px solid var(--line); }
.case:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.case h3 { font-family: "Avenir Next", Avenir, sans-serif; font-size: 1.12rem; letter-spacing: -.015em; }
.case p { margin: 0; color: var(--ink-soft); }

.testimonials-header { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 52px; }
.testimonials-header h2 { max-width: 710px; margin-bottom: 0; }
.placeholder-note { max-width: 260px; margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.quotes { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.quote { background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 46px); }
.quote blockquote { margin: 0 0 32px; font-family: Georgia, serif; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.45; letter-spacing: -.015em; }
.quote footer { color: var(--ink-soft); font-size: .86rem; }
.quote footer strong { color: var(--ink); display: block; }

.closing { padding: 40px 0 110px; }
.closing-panel { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(46px, 8vw, 94px); text-align: center; }
.closing-panel h2 { max-width: 780px; margin-inline: auto; }
.closing-panel .lead { margin: 0 auto 30px; }
.signup { width: min(100%, 570px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup input { width: 100%; min-height: 56px; border: 1px solid #afb8b0; border-radius: 999px; background: var(--paper-bright); padding: 0 20px; color: var(--ink); }
.signup input::placeholder { color: #66726f; }
.closing .reassurance { justify-content: center; }
.form-message { margin: 14px 0 0; min-height: 24px; color: var(--success); font-weight: 750; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--ink-soft); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .problem-grid, .benefit-layout, .private-panel { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 62px; }
  .product-scene { max-width: 580px; width: 100%; margin-inline: auto; min-height: 470px; }
  .trust-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-item { text-align: left; }
  .benefit-sticky { position: static; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .nav { height: 68px; }
  .nav-links > a:not(.button) { display: none; }
  .nav .button { min-height: 42px; padding-inline: 15px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .product-scene { min-height: 390px; }
  .email-card { width: 82%; top: 32px; padding: 17px; }
  .pdf-stack { width: 72%; bottom: 18px; padding: 18px; }
  .local-badge { top: 16px; right: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .step:last-child { border-bottom: 0; }
  .step-number { font-size: 2.4rem; margin-bottom: 24px; }
  .case-list { grid-template-columns: 1fr; }
  .case:nth-last-child(-n+2) { border-bottom: 0; }
  .case:last-child { border-bottom: 1px solid var(--line); }
  .testimonials-header { display: block; }
  .placeholder-note { margin-top: 18px; }
  .signup { grid-template-columns: 1fr; }
  .signup .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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

/* ---- Added for the store version (16 Sep 2026): the offer panel replaces the prototype's
   email-capture form; the assurance cards replace the placeholder testimonials. ---- */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.assure .quote h3 { font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 12px; }
.assure .quote p { margin: 0; color: var(--ink-soft); }
.offer { width: min(100%, 640px); margin: 0 auto; }
.price-line { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 4px; }
.price-line small { font-family: inherit; font-size: 1rem; color: var(--ink-soft); letter-spacing: 0; margin-left: 8px; }
.buy-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 6px; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.button.secondary:hover { background: var(--ink); color: white; border-color: var(--ink); box-shadow: none; }
.fine { margin: 18px 0 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.fine a { color: inherit; }
.site-footer .legal { margin-top: 14px; font-size: .78rem; line-height: 1.6; }
.site-footer .legal a { color: inherit; }
@media (max-width: 900px) { .assure { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .buy-actions .button { width: 100%; } }

/* ---- Comparison section (added 16 Sep 2026; rows as passed by S&C) ---- */
.limits { margin: 18px 0 0; color: var(--ink-soft); font-size: .88rem; max-width: 720px; }
