/* ==========================================================================
   RTO Growth — site styles
   Colours are taken from the RTO Growth logo. Change them here only.
   ========================================================================== */
:root {
  --forest: #063C2A;       /* logo dark leaf — headings, dark bands */
  --green: #2F8458;        /* logo "Growth" / mid leaf — buttons, links */
  --green-dark: #246B47;   /* hover state for green */
  --sage: #84C09C;         /* logo light leaf */
  --sage-tint: #E6F2EA;    /* light sage background */
  --amber: #DE8A24;        /* logo sun — call-to-action fills, highlights */
  --amber-dark: #C47718;
  --ink: #0B241B;          /* body text */
  --muted: #4A5E54;        /* secondary text */
  --cream: #F6F5F0;        /* page background */
  --white: #FFFFFF;
  --line: rgba(6, 60, 42, 0.12);

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(6,60,42,.06), 0 8px 24px rgba(6,60,42,.08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--forest); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-tint); }
.bg-forest { background: var(--forest); color: #E9F3EC; }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-forest a:not(.btn) { color: #BFE3CC; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.bg-forest .eyebrow { color: var(--sage); }
.lead { font-size: 1.18rem; color: var(--muted); }
.bg-forest .lead { color: #CFE5D7; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-dark); color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.bg-forest .btn-outline { border-color: #BFE3CC; color: var(--white); }
.bg-forest .btn-outline:hover { background: var(--white); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btn-row, .cta-band .btn-row { justify-content: center; }

/* Header ----------------------------------------------------------------- */
.site-header { background: rgba(246,245,240,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--sage-tint); color: var(--forest); }
.nav a[aria-current="page"] { color: var(--green); }
.nav .btn { margin-left: 8px; padding: 10px 18px; font-size: .92rem; }
.nav .btn:hover { background: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--forest); font-weight: 700; font-family: var(--font-body); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 84px; flex-direction: column; align-items: stretch;
         background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { max-width: 600px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--forest); margin: 0; }
.trust-row li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); flex: none; }
.page-hero { padding: 64px 0 56px; background: var(--sage-tint); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Daily log card (hero visual) */
.log-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); }
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.log-head strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--forest); }
.log-head span { font-size: .82rem; color: var(--muted); }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--line); margin: 0; font-size: .94rem; }
.log-list li:last-child { border-bottom: 0; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--sage-tint); color: var(--green); display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.tick.pending { background: #FBEBD6; color: var(--amber-dark); }
.log-list small { display: block; color: var(--muted); font-size: .82rem; }
.log-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.log-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--forest); font-size: .95rem; }
.example-note { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Cards & grids ---------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }
.icon-dot { width: 46px; height: 46px; border-radius: 12px; background: var(--sage-tint); display: grid; place-items: center; margin-bottom: 16px; }
.icon-dot svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature { display: flex; gap: 16px; }
.feature .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.feature h3 { font-size: 1.2rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps.row { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; margin: 0; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 1.9rem; color: var(--amber); display: block; margin-bottom: 6px; font-weight: 600; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-tint); color: var(--green); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.bg-forest .checklist li::before { background: rgba(255,255,255,.12); color: var(--sage); }
.crosslist li::before { content: "–"; background: #F1EDE4; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--white); line-height: 1.1; }
.stat span { color: #CFE5D7; font-size: .95rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sage-tint); color: var(--forest); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--forest); }

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan .hours { font-family: var(--font-head); font-size: 2.2rem; color: var(--forest); line-height: 1.1; }
.plan .hours small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
.plan .price { font-weight: 700; color: var(--green); margin: 8px 0 14px; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.badge { display: inline-block; background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--forest); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.6rem; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: .93rem; color: var(--forest); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #C9D6CE; border-radius: var(--radius-sm); padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(47,132,88,.2); outline-offset: 0; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .96rem; margin: 0; }
.checks input { margin-top: 5px; accent-color: var(--green); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--green); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; color: var(--green); min-height: 1.4em; margin: 0; }
.form-status.error { color: #B3261E; }
.required { color: #B3261E; }

/* Contact blocks */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 700; color: var(--forest); text-decoration: none; }

/* Video (click to load) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(132,192,156,.35), transparent 60%), var(--forest); }
.video .play { width: 76px; height: 76px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; margin: 0 auto 14px; }
.video .play::after { content: ""; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Article */
.article { background: var(--white); }
.article .container { max-width: 760px; }
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article p, .article li { font-size: 1.06rem; }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.callout { background: var(--sage-tint); border-left: 4px solid var(--green); padding: 20px 24px; border-radius: var(--radius-sm); margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card:hover h3 { color: var(--green); }
.post-card .tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: .96rem; }

/* Legal */
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal p, .legal li { color: #23362D; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { max-width: 640px; margin: 0 auto; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--green); text-decoration: underline; }
.footer-grid p { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom a { color: var(--muted); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4, .steps.row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-4, .steps.row, .form-row, .checks, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .brand img { height: 38px; }
  .card, .panel { padding: 22px; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
