/* Referral Ready — marketing site.
   Editorial system: Newsreader display over Public Sans, warm paper ground, deep pine ink. */
:root {
  --paper: #f6f4ee;
  --panel: #fffefb;
  --panel-2: #eeebe2;
  --ink: #1d2823;
  --muted: #5f6b60;
  --brand: #0c5f52;
  --brand-soft: #e4ede7;
  --pine: #0b332e;
  --pine-ink: #eef6f2;
  --line: #ddd8ca;
  --amber: #8a5f14;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.navrow { max-width: 1060px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 18px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navspacer { flex: 1; }
.navlink { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navlink:hover { color: var(--brand); }
.navcta {
  font-size: 14px; font-weight: 700; color: #fff; background: var(--brand);
  padding: 9px 16px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}
@media (max-width: 420px) { .wordmark { font-size: 18px; } .navrow { gap: 12px; } }
@media (max-width: 640px) { .navlink.hide-sm { display: none; } }

/* hero */
.hero { padding: 72px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--brand); }
h1.display {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 58px);
  line-height: 1.06; letter-spacing: -.5px; margin: 14px 0 18px; text-wrap: balance;
}
.hero .lede { font-size: 18.5px; color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-lg {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 9px;
}
.btn-lg:hover { background: #0a5044; }
.btn-quiet { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--panel); }
.btn-quiet:hover { border-color: var(--brand); color: var(--brand); }
.cta-note { font-size: 13px; color: var(--muted); width: 100%; }

.hero-visual { position: relative; min-height: 420px; }
.hero-visual .shot-card {
  position: absolute; width: 62%; right: 4%; top: 0;
  border-radius: 12px; box-shadow: 0 24px 60px rgba(20,38,32,.28);
  transform: rotate(2.5deg);
}
.hero-visual .shot-app {
  position: absolute; width: 52%; left: 0; bottom: 0;
  border-radius: 18px; box-shadow: 0 24px 60px rgba(20,38,32,.25);
  border: 6px solid var(--pine); transform: rotate(-2deg);
}
@media (max-width: 880px) {
  .hero-visual { min-height: 0; display: flex; gap: 14px; margin-top: 8px; }
  .hero-visual .shot-card, .hero-visual .shot-app { position: static; width: 48%; transform: none; }
}

/* metadata strip */
.factstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 54px; }
.factrow { max-width: 1060px; margin: 0 auto; padding: 18px 22px; display: flex; gap: 34px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.factrow b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* sections */
section.block { padding: 74px 0 10px; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--brand); }
h2.sec {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12; margin: 12px 0 14px; letter-spacing: -.3px; text-wrap: balance; max-width: 24ch;
}
.sec-lede { font-size: 17px; color: var(--muted); max-width: 62ch; margin-bottom: 30px; }

/* pain */
.pain-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 10px; }
.pain {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px;
  font-family: var(--serif); font-size: 19px; line-height: 1.4; font-style: italic; color: var(--ink);
}
.pain span { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13.5px; color: var(--muted); }

/* outcomes */
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.outcome { border-top: 2px solid var(--brand); padding: 16px 4px 6px; }
.outcome h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.outcome p { font-size: 14.5px; color: var(--muted); }

/* personalisation demo */
.demo-wrap { background: var(--pine); color: var(--pine-ink); border-radius: 14px; padding: 40px 36px; }
.demo-wrap .section-eyebrow { color: #8ed0bd; }
.demo-wrap h2.sec { color: #fff; }
.demo-wrap .sec-lede { color: rgba(238,246,242,.75); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: start; }
@media (max-width: 780px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-field { margin-bottom: 14px; }
.demo-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #8ed0bd; margin-bottom: 6px; }
.demo-field input {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 15px;
}
.demo-field input::placeholder { color: rgba(255,255,255,.4); }
.demo-field input:focus { outline: 2px solid #8ed0bd; }
.demo-script {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 22px 24px;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55;
}
.demo-script mark { background: rgba(142,208,189,.25); color: #b5e3d3; padding: 0 3px; border-radius: 3px; font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 16px; }
.demo-note { font-size: 13px; color: rgba(238,246,242,.6); margin-top: 12px; }

/* curriculum */
.curric { border-top: 1px solid var(--line); margin-top: 6px; }
.curric-item { display: flex; gap: 22px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.curric-item .num { font-family: var(--serif); font-size: 22px; color: var(--brand); font-variant-numeric: tabular-nums; width: 34px; flex: 0 0 auto; }
.curric-item .body { flex: 1; }
.curric-item h3 { font-size: 17px; font-weight: 700; }
.curric-item p { font-size: 14.5px; color: var(--muted); margin-top: 2px; max-width: 66ch; }
.curric-item .mins { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* toolkit */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.tool-shot { border-radius: 12px; box-shadow: 0 16px 44px rgba(20,38,32,.22); }
.tool-copy h3 { font-size: 16.5px; font-weight: 700; margin: 16px 0 6px; }
.tool-copy p { font-size: 14.5px; color: var(--muted); }
.tool-copy ul { margin: 10px 0 0 18px; font-size: 14.5px; color: var(--muted); }
.tool-copy li { margin-bottom: 6px; }

/* who + honest */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.who { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.who h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.who p { font-size: 14.5px; color: var(--muted); }
.honest {
  border-left: 3px solid var(--amber); background: #f5eeda60; border-radius: 0 10px 10px 0;
  padding: 20px 24px; margin-top: 30px; max-width: 74ch;
}
.honest b { color: var(--amber); }
.honest p { font-size: 15px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 760px; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); }
.price-card .plan { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); }
.price-card .amount { font-family: var(--serif); font-size: 48px; font-weight: 500; margin: 8px 0 14px; }
.price-card .amount span { font-size: 16px; font-family: var(--sans); font-weight: 700; color: var(--muted); }
.price-card ul { margin: 0 0 22px 18px; font-size: 14.5px; color: var(--muted); flex: 1; }
.price-card li { margin-bottom: 8px; }
.guarantee { margin-top: 22px; font-size: 15px; max-width: 64ch; }
.guarantee b { color: var(--brand); }

/* buy + enquiry */
.btn-lg.buybtn { border: 0; }
.buybtn { cursor: pointer; font-family: inherit; }
.buybtn[disabled] { opacity: .6; cursor: wait; }
button.btn-quiet.buybtn { border: 1.5px solid var(--line); background: var(--panel); }
button.btn-quiet.buybtn:hover { border-color: var(--brand); color: var(--brand); }
.paynote { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.access-alt { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.linkish { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.enqwrap { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; margin-top: 16px; max-width: 720px; }
.enqwrap h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.enqlede { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; max-width: 60ch; }
.enqgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 620px) { .enqgrid { grid-template-columns: 1fr; } }
.enqwrap .field { margin-bottom: 14px; }
.enqwrap label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.enqwrap input, .enqwrap textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 15px;
}
.enqwrap textarea { resize: vertical; }
.enqwrap input:focus, .enqwrap textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.enqmsg { font-size: 14px; margin-bottom: 12px; }
.enqmsg.good { color: var(--brand); font-weight: 600; }
.enqmsg.bad { color: #a8481f; font-weight: 600; }

/* welcome (post-payment) */
.welcomewrap { max-width: 640px; margin: 60px auto 0; text-align: center; }
.welcome-h { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 5vw, 42px); line-height: 1.1; margin: 12px 0 14px; text-wrap: balance; }
.welcome-p { font-size: 16.5px; color: var(--muted); max-width: 52ch; margin: 0 auto; }
.codebox {
  margin: 30px auto 0; background: var(--pine); color: var(--pine-ink);
  border-radius: 12px; padding: 24px 20px; display: flex; gap: 16px;
  align-items: center; justify-content: center; flex-wrap: wrap;
}
.codebox .code { font-family: var(--serif); font-size: clamp(28px, 6vw, 42px); font-weight: 600; letter-spacing: 3px; }
.copybtn2 { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: var(--pine-ink); border-radius: 8px; padding: 9px 16px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.welcome-small { font-size: 13px; color: var(--muted); margin-top: 20px; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* faq */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; color: var(--brand); }
details.faq[open] summary::after { content: "\2212"; }
details.faq summary:focus-visible { outline: 2px solid var(--brand); }
details.faq .a { padding: 0 4px 18px; font-size: 15px; color: var(--muted); max-width: 70ch; }

/* access */
.access { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 44px 40px; text-align: center; margin-top: 20px; }
.access h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; text-wrap: balance; }
.access p { color: var(--muted); max-width: 56ch; margin: 0 auto 24px; }
.access .cta-row { justify-content: center; }

/* footer */
footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 30px 0 60px; }
.footrow { max-width: 1060px; margin: 0 auto; padding: 0 22px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footrow a { color: var(--muted); }
