/* Rmemba marketing site. Light (Paper) with Olive as the brand colour; Coral only for focus and one small mark.
   Copy runs Promise -> Proof -> Objections -> Ask (fable-web-design). Mobile first; 17px body; 44px targets. */
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
:root {
  --night: #181913; --ink: #292B20; --olive: #51563F; --olive-dark: #3F4331; --sage: #C9D59C; --coral: #E86A50; --coral-deep: #B8442D;
  --stone: #D6C6B4; --stone-soft: #EFE7DC; --paper: #FAFAFA; --text: #181913; --muted: rgba(24, 25, 19, .72);
  --max: 72rem; --pad: clamp(1.25rem, 4vw, 2.5rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.55 'Instrument Sans', -apple-system, system-ui, sans-serif; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.015em; line-height: 1.08; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--night); color: var(--paper); padding: .6rem 1rem; border-radius: .5rem; z-index: 50; }
.skip:focus { top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: .75rem var(--pad); background: rgba(250, 250, 250, .92); border-bottom: 1px solid rgba(24, 25, 19, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; min-height: 44px; }
.logo svg { width: 1.875rem; height: 1.875rem; }
.top nav { display: none; gap: 1.75rem; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--muted); font-size: .9375rem; }
.top nav a:hover { color: var(--text); }
.top .cta.small { margin-left: auto; }
@media (min-width: 60rem) { .top nav { display: flex; } .top .cta.small { margin-left: 1rem; } }

/* the one call to action, everywhere */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; background: var(--olive); color: var(--paper); text-decoration: none; font-weight: 500; transition: background .15s; }
.cta:hover { background: var(--olive-dark); }
.cta.small { min-height: 2.75rem; padding: 0 1.125rem; font-size: .9375rem; }
.cta.line { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1.5px var(--olive); }
.cta.line:hover { background: rgba(81, 86, 63, .08); }
.quiet { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-underline-offset: 4px; }

section { padding: clamp(4rem, 10vw, 8rem) var(--pad); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* hero: promise + proof + one action */
.hero { display: grid; gap: 3rem; align-items: center; padding-top: clamp(2.5rem, 7vw, 5rem); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.hero > * { margin: 0; max-width: none; }
@media (min-width: 60rem) { .hero { grid-template-columns: 1.15fr .85fr; } }
.kicker { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; margin: .75rem 0 1.25rem; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin: 1.75rem 0 1rem; }
.fine { font-size: .9375rem; color: var(--muted); }

/* the phone: a quiet picture of the product, drawn in CSS */
.phone { justify-self: center; width: min(19rem, 78vw); aspect-ratio: 9 / 18.5; border-radius: 2.6rem; padding: .6rem; background: var(--night); box-shadow: 0 30px 80px -30px rgba(24, 25, 19, .45); transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) { .phone { transition: transform .4s cubic-bezier(.2, .8, .2, 1); } .phone:hover { transform: rotate(-1deg); } }
.screen { height: 100%; border-radius: 2.1rem; background: #241519; color: #fff; display: flex; flex-direction: column; align-items: center; padding: 2.4rem 1rem 1rem; overflow: hidden; text-align: center; }
.p-names { font-family: Georgia, "Iowan Old Style", serif; font-size: 1.6rem; margin: 0; }
.p-date { font-size: .75rem; letter-spacing: .2em; color: #ffec8a; margin: .25rem 0 1rem; }
.p-count { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.p-count span { display: grid; font-size: .6875rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .08em; }
.p-count b { font-family: Georgia, serif; font-size: 1.5rem; color: #fff; font-weight: 400; letter-spacing: 0; }
.p-btn { background: #470101; padding: .6rem 1.2rem; border-radius: 99px; font-size: .8125rem; margin-bottom: 1.1rem; }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; width: 100%; flex: 1; }
.p-grid i { border-radius: .4rem; background: linear-gradient(150deg, #6b4a3a, #2a1a14); }
.p-grid i:nth-child(2) { background: linear-gradient(150deg, #c9a27c, #6e4b33); } .p-grid i:nth-child(3) { background: linear-gradient(150deg, #8a5a64, #3b1e26); }
.p-grid i:nth-child(4) { background: linear-gradient(150deg, #d8c3a5, #7d6047); } .p-grid i:nth-child(5) { background: linear-gradient(150deg, #5b3b44, #1d1013); }
.p-grid i:nth-child(6) { background: linear-gradient(150deg, #a77b5c, #4b2f22); }
.p-tag { font-size: .75rem; color: #f7d2d2; margin: .7rem 0 0; }

/* the problem: big type, no cards */
.pain { background: var(--night); color: var(--paper); }
.pain p { font-size: clamp(1.75rem, 1.1rem + 3vw, 3.25rem); line-height: 1.12; letter-spacing: -.025em; max-width: 50rem; margin: 0 auto .75em; }
.pain .muted { color: rgba(250, 250, 250, .66); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem); }

/* how it works: a numbered sequence */
.how h2, .pricing h2, .faq h2 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.25rem); margin-bottom: 2.5rem; }
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps .n { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sage); color: var(--night); font-weight: 700; margin-bottom: 1rem; }
.steps h3 { font-size: 1.375rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); }

/* objections: an asymmetric, editorial run */
.doubts { background: var(--stone-soft); display: grid; gap: 3rem; }
.doubt { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--stone); }
@media (min-width: 52rem) { .doubt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; } }
.doubt h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.doubt p { color: var(--muted); font-size: 1.125rem; margin: 0; }

/* pricing */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.25rem; border: 1px solid var(--stone); background: #fff; }
.plan.main { border: 2px solid var(--olive); }
.plan .tag { position: absolute; top: -.85rem; left: 1.5rem; margin: 0; background: var(--olive); color: var(--paper); font-size: .8125rem; padding: .25rem .75rem; border-radius: 99px; }
.plan h3 { font-size: 1.375rem; }
.price { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); font-weight: 500; letter-spacing: -.03em; margin: 0; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .4rem; flex: 1; }
.plan .cta { align-self: stretch; }
.bespoke { margin-top: 1.75rem; color: var(--muted); }
.bespoke a { color: var(--olive); font-weight: 500; }

/* planners */
.planners { background: var(--olive); color: var(--paper); }
.planners > div { max-width: 46rem; }
.planners h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); margin-bottom: 1rem; }
.planners p { font-size: 1.125rem; color: rgba(250, 250, 250, .85); }
.planners .quiet { color: var(--paper); }

/* FAQ */
.faq details { border-top: 1px solid var(--stone); }
.faq details:last-of-type { border-bottom: 1px solid var(--stone); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 3.5rem; padding: .75rem 0; font-size: 1.125rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--olive); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); max-width: 44rem; }

/* final ask */
.final { text-align: center; }
.final h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); margin-bottom: 1.75rem; }

/* footer: a second chance and the small print */
.foot { display: grid; gap: 2rem; padding: 3rem var(--pad) max(3rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--stone); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
@media (min-width: 52rem) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h2 { font-size: 1rem; margin-bottom: .75rem; }
.foot a { display: inline-flex; min-height: 2rem; align-items: center; }
.foot p { font-size: .9375rem; }

/* legal pages */
.doc { max-width: 44rem; margin: 0 auto; padding: 3rem var(--pad) 5rem; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: .5rem; }
.doc h2 { font-size: 1.375rem; margin: 2rem 0 .5rem; }
.doc .draft { background: #FFF4E0; border: 1px solid #E8C98A; padding: .875rem 1rem; border-radius: .75rem; font-size: .9375rem; }
.doc li { margin-bottom: .35rem; }
.foot .logo { min-height: 44px; }
.p-count span { font-size: .75rem; }
