/* Solar System Auditors: one stylesheet, dark by default, genuinely light light-mode. */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-alt: #0f182b;
  --surface: #131d33;
  --surface-2: #18243f;
  --border: #26344f;
  --text: #e6edf7;
  --muted: #a9b6cc;
  --heading: #f8fafc;
  --sun: #f5b62b;
  --sun-text: #fbbf24;
  --ok: #2dd4bf;
  --ok-text: #5eead4;
  --link: #7dd3fc;
  --btn-bg: #f5b62b;
  --btn-text: #1a1203;
  --btn-border: #f5b62b;
  --btn-hover: #fcd34d;
  --ghost-text: #f8fafc;
  --ghost-border: rgba(248, 250, 252, .55);
  --ghost-hover: rgba(248, 250, 252, .12);
  --nav-bg: rgba(11, 18, 32, .86);
  --logo-tile: #111a2e;
  --logo-sun: #f5b62b;
  --logo-line: #64748b;
  --logo-check: #2dd4bf;
  --switch-track: #334155;
  --switch-on: #2dd4bf;
  --hero-text: #f8fafc;
  --hero-muted: #dbe4f0;
  --hero-veil: linear-gradient(100deg, rgba(8, 13, 26, .94) 0%, rgba(8, 13, 26, .82) 45%, rgba(8, 13, 26, .45) 100%);
  --hero-filter: none;
  --badge-bg: rgba(245, 182, 43, .16);
  --badge-text: #fcd34d;
  --error: #fca5a5;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

[data-theme="light"] {
  color-scheme: only light;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #fffbeb;
  --border: #d8e0ea;
  --text: #1e293b;
  --muted: #475569;
  --heading: #0f172a;
  --sun: #b45309;
  --sun-text: #92400e;
  --ok: #0f766e;
  --ok-text: #0f766e;
  --link: #0e5a8a;
  --btn-bg: #fef3c7;
  --btn-text: #451a03;
  --btn-border: #d97706;
  --btn-hover: #fde68a;
  --ghost-text: #0f172a;
  --ghost-border: #64748b;
  --ghost-hover: #e2e8f0;
  --nav-bg: rgba(248, 250, 252, .92);
  --logo-tile: #fef3c7;
  --logo-sun: #b45309;
  --logo-line: #94a3b8;
  --logo-check: #0f766e;
  --switch-track: #cbd5e1;
  --switch-on: #99f6e4;
  --hero-text: #0f172a;
  --hero-muted: #1e293b;
  --hero-veil: linear-gradient(100deg, rgba(248, 250, 252, .95) 0%, rgba(248, 250, 252, .88) 50%, rgba(255, 251, 235, .72) 100%);
  --hero-filter: grayscale(25%) brightness(1.3) contrast(.75);
  --badge-bg: #fef3c7;
  --badge-text: #78350f;
  --error: #b91c1c;
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: Verdana, Geneva, sans-serif; font-size: clamp(1.9rem, 4.4vw, 3.15rem); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.02rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--heading); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* ---------- navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; gap: 18px; width: min(1160px, 100% - 32px); margin-inline: auto; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 1.05rem; margin-right: auto; min-width: 0; }
.brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo { flex: none; display: block; }
.logo__tile { fill: var(--logo-tile); }
.logo__sun { fill: var(--logo-sun); }
.logo__rays { stroke: var(--logo-sun); }
.logo__line { stroke: var(--logo-line); }
.logo__check { stroke: var(--logo-check); }
[data-theme="light"] .logo__tile { stroke: #f59e0b; stroke-width: 2; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .96rem; }
.menu a:hover { background: var(--ghost-hover); }
.menu .menu__cta { background: var(--btn-bg); color: var(--btn-text); border: 1px solid var(--btn-border); font-weight: 650; margin-left: 6px; }
.menu .menu__cta:hover { background: var(--btn-hover); }

.nav__tools { display: flex; align-items: center; gap: 10px; }

/* iPhone-style switch */
.switch { border: 0; background: none; padding: 4px; cursor: pointer; border-radius: 999px; }
.switch__track { position: relative; display: block; width: 50px; height: 30px; border-radius: 999px; background: var(--switch-track); transition: background .2s; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.switch[aria-checked="true"] .switch__track { background: var(--switch-on); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(20px); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .menu.is-open { display: flex; }
  .menu a { padding: 12px 14px; font-size: 1.02rem; }
  .menu .menu__cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 400px) {
  .brand { font-size: .95rem; gap: 8px; }
  .brand__name { white-space: normal; overflow: visible; line-height: 1.15; max-width: 7.5em; }
  .nav__inner { gap: 8px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.25; text-align: center; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-border); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { background: transparent; color: var(--ghost-text); border-color: var(--ghost-border); }
.btn--ghost:hover { background: var(--ghost-hover); }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.link-btn { background: none; border: 1px solid var(--border); color: var(--link); border-radius: 8px; padding: 3px 10px; margin-left: 6px; font: inherit; font-size: .9rem; cursor: pointer; }
.copied { margin-left: 8px; color: var(--ok-text); font-size: .92rem; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 9vw, 104px); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: var(--hero-filter); }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: var(--hero-veil); }
.hero__body { max-width: 1160px; }
.hero h1 { color: var(--hero-text); max-width: 17em; }
.hero .lead { color: var(--hero-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40em; }
[data-theme="dark"] .hero h1, [data-theme="dark"] .hero .lead { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.hero .btn--ghost { color: var(--hero-text); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--sun-text); margin-bottom: .8em; }
.hero__facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--hero-muted); font-size: .98rem; }
.hero__facts li::before { content: "\2713"; color: var(--ok-text); font-weight: 700; margin-right: 8px; }
.hero__facts strong { color: var(--hero-text); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.band { padding: clamp(48px, 7vw, 80px) 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.section-lead { color: var(--muted); max-width: 46em; font-size: 1.06rem; margin-bottom: 1.8em; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.card__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--badge-bg); color: var(--sun-text); font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--rev > aside { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > aside { order: 0; } }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.panel--offer { background: var(--surface-2); border-color: var(--sun); }
.badge { display: inline-block; background: var(--badge-bg); color: var(--badge-text); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.note { color: var(--muted); border-left: 3px solid var(--ok); padding-left: 14px; }
.small { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--ok-text); font-weight: 800; }

.steps-small { margin: 0; padding-left: 1.3em; }
.steps-small li { margin-bottom: 12px; color: var(--muted); }
.steps-small strong { color: var(--heading); }

.timeline { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; }
.timeline p { color: var(--muted); margin: 0; font-size: .97rem; }
.timeline__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--badge-bg); color: var(--sun-text); font-weight: 800; margin-bottom: 12px; }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; } .timeline__n { margin: 0; } }

.stats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.stat__num { display: block; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--sun-text); line-height: 1.1; margin-bottom: 8px; }
.stat__label { color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .price-groups { grid-template-columns: 1fr; } }
.price-group h3 { font-size: 1.25rem; }
.price-group .for { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.price { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.price p { color: var(--muted); margin: 0; font-size: .96rem; }
.price--featured { border-color: var(--ok); }
.price--offer { background: var(--surface-2); border-color: var(--sun); }
.price .price__amt { flex: none; text-align: right; color: var(--heading); font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.price__amt span { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.price__amt .alt { margin-top: 4px; max-width: 11em; margin-left: auto; }
@media (max-width: 480px) { .price { flex-direction: column; gap: 8px; } .price .price__amt { text-align: left; } .price__amt .alt { margin-left: 0; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 650; color: var(--heading); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--sun-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact-direct { font-size: 1.02rem; }
.enquiry h3 { margin-bottom: 14px; }
.roles { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.roles legend { font-weight: 650; color: var(--heading); margin-bottom: 6px; padding: 0; }
.roles label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.roles input { width: 18px; height: 18px; accent-color: var(--ok); }
.field { display: block; margin-bottom: 14px; font-weight: 600; color: var(--heading); font-size: .96rem; }
.req { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 6px; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ok); outline-offset: 1px; border-color: var(--ok); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); min-height: 1.4em; margin: 0 0 10px; font-weight: 600; }
.error:empty { min-height: 0; margin: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--border); padding: 36px 0 44px; background: var(--bg); }
.foot__inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--heading); text-decoration: underline; }
.foot__note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.foot__copy { grid-column: 1 / -1; margin: 0; font-size: .92rem; }
.foot__copy a { color: var(--muted); }
@media (max-width: 700px) { .foot__inner { grid-template-columns: 1fr; } .foot__links { justify-content: flex-start; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.next-title { margin-top: 28px; }
