/* ============================================================
   Adminity Assist — website styles
   Brand colours (from the technical notes). Change a colour here
   and it updates across every page.
   ============================================================ */
:root {
  --navy: #1B365D;        /* Deep Navy  – headings, buttons */
  --sage: #5B8266;        /* Soft Sage  – accents, large text */
  --sage-dark: #47684F;   /* darker sage for small text (readability) */
  --ochre: #C88A2D;       /* Warm Ochre – highlights (the door colour) */
  --ochre-dark: #8F5F17;  /* darker ochre for small text */
  --bg-soft: #F0F4F1;     /* Soft background */
  --divider: #E2E8F0;     /* Slate divider */
  --white: #FFFFFF;
  --text: #22303F;

  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 14px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1875rem;          /* 19px – generous, easy to read */
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--sage-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.3rem; color: var(--text); max-width: 40em; }
.eyebrow {
  display: inline-block; font-size: .9rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: .8rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 4px; border-radius: 2px;
  background: var(--ochre); vertical-align: middle; margin-right: 10px; position: relative; top: -2px;
}

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a { color: var(--white); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 1rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .area { opacity: .9; }

.site-header { background: #fff; border-bottom: 1px solid var(--divider); position: relative; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; }
.logo img { width: 300px; }   /* brand rule: full logo no smaller than 300px wide */

.nav-toggle {
  display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  font: 700 1rem var(--font); padding: .75rem 1rem; cursor: pointer;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.main-nav a { display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 700; color: var(--navy); border-radius: 8px; }
.main-nav a:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--ochre); border-radius: 0; }
.main-nav .btn { margin-left: .5rem; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--divider); box-shadow: 0 12px 24px rgba(27,54,93,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; }
  .main-nav a { padding: .9rem .5rem; border-bottom: 1px solid var(--divider); border-radius: 0; }
  .main-nav .btn { margin: 1rem 0 0; text-align: center; }
}
@media (max-width: 420px) { .logo img { width: 230px; } .topbar .area { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--navy); color: #fff !important; text-decoration: none;
  font-weight: 700; padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid var(--navy);
  line-height: 1.2; cursor: pointer; font-size: 1.05rem; transition: transform .15s, background .15s;
}
.btn:hover { background: #12264A; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy) !important; }
.btn--outline:hover { background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn--light:hover { background: var(--bg-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-soft); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero h1 span { color: var(--sage); display: block; }
.hero-card {
  background: #fff; border-radius: 22px; padding: 2rem; box-shadow: 0 18px 40px rgba(27,54,93,.10);
  position: relative; border-top: 8px solid var(--ochre);
}
.hero-card .free { font-size: 1rem; font-weight: 700; letter-spacing: .12em; color: var(--ochre-dark); text-transform: uppercase; }
.hero-card .big { font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1.1; margin: .3rem 0 .8rem; }
.hero-card ul { margin: 0 0 1.4rem; }
.hero-deco { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .06; pointer-events: none; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } }

/* ---------- Ticks list ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 2.1rem; margin-bottom: .7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--divider); }
.trust ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trust li { display: flex; gap: .8rem; align-items: center; font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.35; }
.trust svg { flex: none; width: 40px; height: 40px; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--divider); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,54,93,.08); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--bg-soft);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.icon svg { width: 32px; height: 32px; stroke: var(--navy); }
.card .example { font-size: 1rem; color: #4A5868; border-top: 1px dashed var(--divider); padding-top: .9rem; margin-top: 1rem; }
.card .example strong { color: var(--sage-dark); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem 1.8rem; border: 1px solid var(--divider); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 1.6rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ochre); color: #fff; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.steps h3 { margin-top: .3rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { background: #fff; border-radius: 20px; border: 1px solid var(--divider); display: flex; flex-direction: column; overflow: hidden; }
.plan-head { padding: 1.8rem 1.8rem 1.4rem; border-bottom: 1px solid var(--divider); }
.plan-head h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.plan-head .tagline { color: var(--sage-dark); font-weight: 700; margin: 0 0 1rem; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price small { font-size: 1.05rem; font-weight: 400; color: #4A5868; }
.plan-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.plan-body .ticks { flex: 1; }
.plan-body .btn { text-align: center; }
.plan--1 { border-top: 8px solid var(--sage); }
.plan--2 { border-top: 8px solid var(--ochre); }
.plan--3 { border-top: 8px solid var(--navy); }

.notice { background: var(--bg-soft); border-left: 6px solid var(--sage); border-radius: 10px; padding: 1.3rem 1.5rem; font-size: 1.02rem; }
.notice p:last-child { margin: 0; }
.smallprint { font-size: 1rem; color: #4A5868; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: center; }
.founder img { border-radius: 22px; box-shadow: 14px 14px 0 var(--bg-soft); }
.section--soft .founder img { box-shadow: 14px 14px 0 #fff; }
.founder blockquote { margin: 0 0 1.2rem; font-size: 1.35rem; color: var(--navy); font-style: italic; border-left: 5px solid var(--ochre); padding-left: 1.2rem; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 340px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--bg-soft); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-head p { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--divider); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { margin-bottom: 1.3rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.field .hint { font-size: .95rem; color: #4A5868; display: block; margin-top: -.2rem; margin-bottom: .4rem; font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.1rem; padding: .85rem 1rem; border: 2px solid #B9C4D0; border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(200,138,45,.45); outline-offset: 1px; }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.3rem; }
.choices { display: flex; flex-wrap: wrap; gap: .7rem; }
.choices label { display: flex; align-items: center; gap: .55rem; font-weight: 400; color: var(--text); border: 2px solid #B9C4D0; border-radius: 10px; padding: .65rem 1rem; cursor: pointer; margin: 0; }
.choices input { width: 1.25rem; height: 1.25rem; accent-color: var(--navy); }
.choices label:has(input:checked) { border-color: var(--navy); background: var(--bg-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 600px) { .two-col { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 10px; display: none; font-weight: 700; }
.form-status.ok { display: block; background: #E6F0E8; color: #2D4A35; border: 2px solid var(--sage); }
.form-status.err { display: block; background: #FBF1E2; color: #6B4510; border: 2px solid var(--ochre); }
.contact-side .card { margin-bottom: 1.2rem; }
.contact-side .big-link { font-size: 1.45rem; font-weight: 700; text-decoration: none; display: block; word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band p { font-size: 1.2rem; margin: 0; opacity: .95; }
@media (max-width: 820px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #13284A; color: #DCE4EE; font-size: 1rem; padding: 3.5rem 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .logo-footer { width: 300px; margin-bottom: 1rem; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .92rem; color: #B9C6D6; }
.legal p { margin: 0 0 .4rem; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .callbar a { text-align: center; padding: 1rem .5rem; font-weight: 700; text-decoration: none; color: #fff; background: var(--navy); }
  .callbar a + a { background: var(--sage-dark); }
  body { padding-bottom: 58px; }
}

/* ---------- Text pages (privacy etc.) ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Gentle reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* Placeholder text still to be filled in — remove the <mark class="todo"> tags once done */
mark.todo { background: #FFF1C9; color: #5C3D0B; padding: 0 .25em; border-radius: 4px; outline: 2px dashed var(--ochre); }

/* ---------- Introductory offer ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.price-was { margin: 0 0 .3rem; color: #4A5868; font-size: 1.05rem; }
.price-was s { font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: var(--ochre-dark); }
.price-note { margin: .5rem 0 0; font-size: 1rem; font-weight: 700; color: var(--sage-dark); }
.offer-note { max-width: 46em; margin-inline: auto; }
.offer-badge {
  display: inline-block; max-width: 100%; margin: 1.6rem 0 0; padding: 1.1rem 1.5rem 1.2rem;
  background: var(--navy); color: #fff; border-radius: 18px; border-top: 6px solid var(--ochre);
  box-shadow: 0 14px 30px rgba(27,54,93,.22); position: relative;
}
.offer-badge p { margin: 0; }
.offer-headline { line-height: 1.1; }
.offer-upto { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.offer-pct { font-size: 2.6rem; font-weight: 800; color: var(--ochre); letter-spacing: -.01em; }
.offer-term { display: block; font-size: 1.35rem; font-weight: 700; margin-top: .2rem; }
.offer-detail { font-size: 1.05rem; margin-top: .55rem !important; color: #E8EEF5; }
.offer-detail strong { color: #fff; }
.offer-end {
  display: inline-block; margin-top: .8rem !important; padding: .3rem .85rem; border-radius: 999px;
  border: 2px solid var(--ochre); font-size: .95rem; font-weight: 700; letter-spacing: .02em;
}
@media (max-width: 860px) {
  .callbar { grid-template-columns: 1fr 1.7fr; }
  .callbar a { font-size: 1rem; line-height: 1.3; }
}
