/* Lecto — landing. Lino cálido, papel, tinta café y terracota. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("fonts/newsreader-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree.woff2") format("woff2"); }

:root {
  --canvas: #EFE9DF;
  --canvas-deep: #E6DDCF;
  --paper: #FBF8F2;
  --ink: #2B241D;
  --ink-soft: #6B5F52;
  --ink-faint: #A89B8B;
  --accent: #B5532F;
  --accent-deep: #96401F;
  --on-accent: #FFF8F1;
  --line: #E2D9CB;
  --chip: #E8DDCD;
  --hl-yellow: #F3DC7A;
  --hl-green: #BFE3B4;
  --hl-blue: #B9D4F0;
  --hl-pink: #F2C1CF;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(43, 36, 29, .06), 0 12px 32px -12px rgba(43, 36, 29, .22);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Fine paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .14 0 0 0 0 .11 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--hl-yellow); color: var(--ink); }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 26px; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
p.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 36em; }

mark.hl { background: none; color: inherit; padding: 0 .08em; border-radius: 3px;
  background-image: linear-gradient(transparent 12%, var(--hl, var(--hl-yellow)) 12%, var(--hl, var(--hl-yellow)) 88%, transparent 88%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-y { --hl: var(--hl-yellow); } .hl-g { --hl: var(--hl-green); } .hl-b { --hl: var(--hl-blue); } .hl-p { --hl: var(--hl-pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -10px rgba(181, 83, 47, .7); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.stage::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F7E2CF 0%, rgba(239, 233, 223, 0) 68%);
}
.phone {
  position: relative; width: 300px; aspect-ratio: 560 / 1216; border-radius: 46px; padding: 10px;
  background: #1E1915; box-shadow: 0 40px 80px -30px rgba(43, 36, 29, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone.tilt { transform: rotate(-3deg); }
.float-card {
  position: absolute; z-index: 2; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow);
  padding: 12px 16px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  animation: bob 6s ease-in-out infinite;
}
.float-card .dots { display: flex; gap: 6px; }
.float-card .dots i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.fc-colors { top: 18%; left: -2%; }
.fc-voice { bottom: 20%; right: -4%; animation-delay: -3s; }
.fc-voice .play { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.fc-voice .play svg { width: 16px; height: 16px; color: #fff; }
.fc-voice small { display: block; color: var(--ink-soft); font-weight: 500; font-size: 12px; }
.wave { display: flex; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; border-radius: 2px; background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s } .wave i:nth-child(3) { animation-delay: -.4s } .wave i:nth-child(4) { animation-delay: -.6s } .wave i:nth-child(5) { animation-delay: -.8s }
@keyframes wave { 0%, 100% { height: 4px } 50% { height: 18px } }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@media (max-width: 520px) { .phone { width: 250px; } .stage { min-height: 560px; } .fc-colors { left: 0 } .fc-voice { right: 0 } }

/* ---------- Generic sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 16px; }
.center { text-align: center; margin-inline: auto; }
.center p.lead { margin-inline: auto; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.pain .q { font-family: var(--serif); font-size: 24px; line-height: 1.25; font-style: italic; margin: 0 0 14px; }
.pain p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-media { order: 2; }
.feature-media { display: grid; place-items: center; position: relative; }
.feature-media .backdrop { position: absolute; inset: 8% 4%; border-radius: 36px; background: var(--canvas-deep); }
.feature-media .phone { width: 280px; }
.feature-copy h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 12px 0 16px; }
.feature-copy p { color: var(--ink-soft); font-size: 18px; margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF8F1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-media { order: 0; }
}

/* Demo */
.demo { background: var(--ink); color: var(--paper); border-radius: 40px; margin-inline: 20px; }
.demo .eyebrow { color: #E59A78; }
.demo h2 em { color: #E59A78; }
.demo p.lead { color: #CDBFAE; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sheet {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 44px 40px;
  font-family: var(--serif); font-size: 20px; line-height: 1.7; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  user-select: text; -webkit-user-select: text;
}
.sheet h4 { font-family: var(--serif); font-size: 24px; margin: 0 0 14px; font-weight: 600; }
.sheet p { margin: 0 0 14px; }
.sheet .page-tag { position: absolute; bottom: 14px; right: 18px; font: 600 12px var(--sans); color: var(--ink-faint); }
.demo-hint { display: flex; gap: 10px; align-items: center; color: #CDBFAE; font-size: 15px; margin-top: 18px; }
.demo-hint kbd { font: 700 12px var(--sans); background: rgba(255, 255, 255, .1); padding: 4px 8px; border-radius: 6px; }
.sel-menu {
  position: absolute; z-index: 30; display: none; align-items: center; gap: 6px; padding: 8px;
  background: #3A2418; border-radius: 16px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5);
  transform: translate(-50%, calc(-100% - 12px));
}
.sel-menu.open { display: flex; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, calc(-100% - 4px)) scale(.96) } }
.sel-menu button { border: 0; cursor: pointer; background: none; color: #F6EEE4; font: 600 13px var(--sans); }
.sel-menu .sw { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); transition: transform .12s; }
.sel-menu .sw:hover { transform: scale(1.12); }
.sel-menu .sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .18); margin: 0 4px; }
.sel-menu .act { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; }
.sel-menu .act:hover { background: rgba(255, 255, 255, .08); }
.sel-menu .act svg { width: 18px; height: 18px; }
.extract-list { margin-top: 22px; display: grid; gap: 10px; min-height: 20px; }
.extract-item { display: flex; gap: 12px; align-items: stretch; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 14px; font-family: var(--serif); font-size: 17px; animation: pop2 .25s ease-out; }
.extract-item i { width: 5px; border-radius: 3px; flex: none; }
@keyframes pop2 { from { opacity: 0; transform: translateY(6px) } }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo { margin-inline: 10px; border-radius: 28px; } .sheet { padding: 32px 24px; font-size: 18px; } }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who { background: var(--paper); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.who:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--chip); display: grid; place-items: center; margin-bottom: 18px; }
.who .ico svg { width: 24px; height: 24px; color: var(--accent); }
.who h3 { font-size: 22px; margin-bottom: 8px; }
.who p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* Photo band */
.photo-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.photo-band figure { margin: 0; border-radius: 28px; overflow: hidden; position: relative; min-height: 340px; background: var(--canvas-deep); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-band figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(251, 248, 242, .92); border-radius: 16px; padding: 14px 18px; font-family: var(--serif); font-size: 19px; line-height: 1.35; backdrop-filter: blur(8px); }
@media (max-width: 860px) { .photo-band { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--paper); border-radius: 36px; padding: 56px; box-shadow: var(--shadow); }
.privacy-points { display: grid; gap: 22px; }
.pp { display: flex; gap: 16px; }
.pp .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; }
.pp .ico svg { width: 22px; height: 22px; color: var(--accent); }
.pp h4 { margin: 0 0 4px; font-size: 17px; }
.pp p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) { .privacy-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Pricing / CTA */
.cta-block { text-align: center; background: var(--accent); color: var(--on-accent); border-radius: 40px; padding: 80px 28px; position: relative; overflow: hidden; }
.cta-block::before, .cta-block::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-block::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.cta-block::after { width: 300px; height: 300px; bottom: -150px; right: -60px; }
.cta-block h2 { color: var(--on-accent); position: relative; }
.cta-block h2 em { color: #FFE2CF; }
.cta-block p { position: relative; color: #FBE3D6; font-size: 19px; max-width: 34em; margin: 18px auto 30px; }
.cta-block .price { position: relative; font-family: var(--serif); font-size: 22px; margin-bottom: 26px; }
.cta-block .btn { position: relative; background: var(--paper); color: var(--ink); box-shadow: none; }
.cta-block .btn:hover { background: #fff; }
.cta-block small { position: relative; display: block; margin-top: 16px; color: #F3CDB9; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 28px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 44em; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.site-footer small { color: var(--ink-faint); display: block; margin-top: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .wave i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 40px; }
.legal-wrap { width: min(820px, 100% - 40px); margin-inline: auto; }
.legal-paper { background: var(--paper); border-radius: 10px; padding: clamp(28px, 6vw, 72px); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(38px, 5.5vw, 58px); margin: 12px 0 10px; }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 32px; }
.legal .summary { background: var(--canvas); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 0 0 36px; }
.legal .summary p { margin: 0; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -.01em; }
.legal p, .legal li { font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal .toc { font-family: var(--sans); columns: 2; column-gap: 32px; padding: 0; list-style: none; margin: 0 0 12px; }
.legal .toc li { font-family: var(--sans); font-size: 15px; margin-bottom: 6px; }
.legal .toc a { text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.back:hover { color: var(--accent); }
@media (max-width: 600px) { .legal .toc { columns: 1; } }
