/* "More colour" option. Loaded only by the variant pages, on top of site.css.
   1 Amber (the logo's tick) for the main action and key moments.
   2 Audience colours: teal = self-employed, blue = landlords, amber = accountants.
   3 Section rhythm: deep-teal and warm bands between the pale ones. */
:root{
  --amber-btn:#F2B544; --amber-btn-ink:#3A2606; --amber-btn-hover:#E8A62E;
  --warm:#FBF4E6; --warm-line:#EEDFC2;
  --deep:#0F5C59; --deep-2:#0B4A47; --deep-ink:#FFFFFF; --deep-muted:#BFE3DA; --deep-accent:#9FE0D2;
  --ll:#1D5FA8; --ll-soft:#E3EDF9; --ll-deep:#17497F;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --warm:#221C12; --warm-line:#3A2F1C; --deep:#123F3B; --deep-2:#0E3330; --deep-muted:#A9CFC6;
  --ll:#8AB8EE; --ll-soft:#172A40; --ll-deep:#21406A}}
:root[data-theme="dark"]{
  --warm:#221C12; --warm-line:#3A2F1C; --deep:#123F3B; --deep-2:#0E3330; --deep-muted:#A9CFC6;
  --ll:#8AB8EE; --ll-soft:#172A40; --ll-deep:#21406A}

/* 1. Amber for joining the beta, wherever it appears */
body.c a.btn-primary[href^="early-access.html"],body.c .cta-band a.btn[href^="early-access.html"]{background:var(--amber-btn);color:var(--amber-btn-ink);border-color:var(--amber-btn)}
body.c a.btn-primary[href^="early-access.html"]:hover,body.c .cta-band a.btn[href^="early-access.html"]:hover{background:var(--amber-btn-hover)}
body.c .nav a.btn[href^="early-access.html"]{background:var(--amber-btn);border-color:var(--amber-btn)}
body.c .nav a.btn[href^="early-access.html"]{color:var(--amber-btn-ink)}
body.c .steps li:nth-child(4n+1){border-top-color:#0F6E60}
body.c .steps li:nth-child(4n+2){border-top-color:var(--ll)}
body.c .steps li:nth-child(4n+3){border-top-color:#E39B1B}
body.c .steps li:nth-child(4n+4){border-top-color:#0F6E60}

/* 3a. Deep-teal hero on the home page */
body.c-home .hero{background:linear-gradient(160deg,var(--deep) 0%,var(--deep-2) 100%);color:var(--deep-ink)}
body.c-home .hero .eyebrow{color:var(--amber-btn)}
body.c-home .hero h1{color:var(--deep-ink)}
body.c-home .hero h1 em{color:var(--amber-btn)}
body.c-home .hero .lede{color:var(--deep-muted)}
body.c-home .hero .hero-note{color:var(--deep-accent)}
body.c-home .hero .btn-ghost{color:var(--deep-ink);border-color:rgba(255,255,255,.6)}
body.c-home .hero .mock{box-shadow:0 24px 60px rgba(0,0,0,.28);border-color:transparent;color:var(--ink)}

/* 2. Audience colours on the home page cards */
body.c-home main>section:nth-of-type(3) .card{border-top:5px solid #0F6E60}
body.c-home main>section:nth-of-type(3) .card:nth-child(2){border-top-color:var(--ll)}
body.c-home main>section:nth-of-type(3) .card:nth-child(2) .more{color:var(--ll)}
body.c-home main>section:nth-of-type(3) .card:nth-child(3){border-top-color:#E39B1B}
body.c-home main>section:nth-of-type(3) .card:nth-child(3) .more{color:#9A6410}

/* 3b. Warm band for the timeline, with the "now" step in amber */
body.c-home main>section:nth-of-type(2){background:var(--warm);border-color:var(--warm-line)}
body.c-home .when{border-color:var(--warm-line)}
body.c-home .when .now{background:var(--amber-soft)}
body.c-home .when .now .d{color:var(--amber-ink)}

/* 3c. Feature icons pick up the three colours */
body.c .feature:nth-child(3n+2) .ico{background:var(--ll-soft);color:var(--ll)}
body.c .feature:nth-child(3n+3) .ico{background:var(--amber-soft);color:#9A6410}

/* 3d. "Your data" as a deep-teal band */
body.c-home main>section:nth-of-type(8){background:var(--deep);color:var(--deep-ink);border:0}
body.c-home main>section:nth-of-type(8) h2{color:var(--deep-ink)}
body.c-home main>section:nth-of-type(8) .eyebrow{color:var(--amber-btn)}
body.c-home main>section:nth-of-type(8) .lede{color:var(--deep-muted)}
body.c-home main>section:nth-of-type(8) .check-list li::before{color:var(--amber-btn)}

/* 3e. Final call to action: amber button on deep teal */
body.c .cta-band{background:linear-gradient(140deg,var(--deep) 0%,var(--deep-2) 100%);color:var(--deep-ink)}
body.c .cta-band h2{color:var(--deep-ink)}
body.c .cta-band .btn-ghost{color:var(--deep-ink);border-color:rgba(255,255,255,.6)}

/* 2. Landlords page: blue is the landlord colour */
body.c-ll .eyebrow{color:var(--ll)}
body.c-ll .page-hero{background:linear-gradient(160deg,var(--ll-deep) 0%,#123A66 100%);color:#fff;padding-bottom:clamp(36px,5vw,56px)}
body.c-ll .page-hero .eyebrow{color:var(--amber-btn)}
body.c-ll .page-hero h1{color:#fff}
body.c-ll .page-hero .lede{color:#D4E3F5}
body.c-ll .page-hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.6)}
body.c-ll .check-list li::before{color:var(--ll)}
body.c-ll .feature .ico{background:var(--ll-soft);color:var(--ll)}
body.c-ll .feature:nth-child(3n+3) .ico{background:var(--amber-soft);color:#9A6410}
body.c-ll main>section:nth-of-type(6) .card{border-top:4px solid var(--ll)}
body.c-ll main>section:nth-of-type(6) .card:nth-child(3n+2){border-top-color:#E39B1B}
body.c-ll main>section:nth-of-type(6) .card:nth-child(3n+3){border-top-color:#0F6E60}
body.c-ll #rent-tracker{background:var(--ll-soft);border-color:transparent}
body.c-ll #compliance{background:var(--warm)}
body.c-ll #compliance .callout{background:var(--amber-soft);color:var(--amber-ink)}
body.c-ll main>section:nth-of-type(5) .callout{background:var(--ll-soft)}
body.c-ll .nav a[aria-current="page"]{color:var(--ll);background:var(--ll-soft)}

/* Self-employed page: teal is the self-employed colour */
body.c-se .page-hero{background:linear-gradient(160deg,var(--deep) 0%,var(--deep-2) 100%);color:var(--deep-ink);padding-bottom:clamp(36px,5vw,56px)}
body.c-se .page-hero .eyebrow{color:var(--amber-btn)}
body.c-se .page-hero h1{color:var(--deep-ink)}
body.c-se .page-hero .lede{color:var(--deep-muted)}
body.c-se .page-hero .btn-ghost{color:var(--deep-ink);border-color:rgba(255,255,255,.6)}

/* Accountants page: amber is the accountants colour */
body.c-acc .page-hero{background:var(--warm);border-bottom:1px solid var(--warm-line)}
body.c-acc .eyebrow{color:#9A6410}
body.c-acc .feature .ico{background:var(--amber-soft);color:#9A6410}
body.c-acc .callout{background:var(--amber-soft);color:var(--amber-ink)}

/* Other pages: a gentle warm top band */
body.c-plain .page-hero{background:var(--warm);border-bottom:1px solid var(--warm-line)}
