/* Sanaic Pty Ltd — sanaic.com.au v1 (2026-08-19)
   Colours are the brand tokens from Sanaic-Brand\sanaic-tokens.css — do not add hues. */

:root {
  --sanaic-blue:      #2B59C3;
  --sanaic-deep-blue: #204083;
  --sanaic-sky:       #6E8FDD;
  --sanaic-wash:      #DEE6F8;
  --sanaic-ink:       #16151A;
  --sanaic-slate:     #5A5F6A;
  --sanaic-mist:      #F2F3F5;
  --sanaic-white:     #FFFFFF;
  --sanaic-night:     #10131A;
  --sanaic-coal:      #131217;

  --font-display: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--sanaic-ink);
  background: var(--sanaic-white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--sanaic-blue); text-decoration: none; }
a:hover { color: var(--sanaic-deep-blue); }
a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--sanaic-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sanaic-mist);
  font-size: 1.45rem;
  line-height: 1;
}
.wordmark .ai { color: var(--sanaic-blue); }
.wordmark-small { font-size: 1.2rem; }

/* ---------- Hero (Night) ---------- */

.hero {
  background: var(--sanaic-night);
  color: var(--sanaic-mist);
  position: relative;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  position: relative;
  z-index: 2;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; display: block; }

.nav-contact {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--sanaic-sky);
}
.nav-contact:hover { color: var(--sanaic-mist); }

.hero-inner {
  position: relative;
  padding-top: 72px;
  padding-bottom: 108px;
}

/* Oversized Option B "Node" mark, ghosted behind the headline */
.hero-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-52%);
  width: 560px;
  height: 560px;
  pointer-events: none;
  z-index: 0;
}

.hero-copy { position: relative; z-index: 1; max-width: 43rem; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sanaic-sky);
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  color: var(--sanaic-mist);
  margin-bottom: 28px;
}

/* the "ai" of the headline — same treatment as the wordmark */
.ai-mid {
  color: var(--sanaic-blue);
  position: relative;
  white-space: nowrap;
}
.ai-mid::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.08em;
  height: 0.055em;
  background: var(--sanaic-blue);
  border-radius: 999px;
}

.hero-lede {
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(242, 243, 245, 0.82);
  margin-bottom: 40px;
  max-width: 40rem;
}
.hero-lede strong { font-weight: 600; color: var(--sanaic-mist); }

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1rem;
  color: var(--sanaic-white);
  background: var(--sanaic-blue);
  padding: 15px 30px;
  border-radius: 8px;
  transition: background-color 140ms ease;
}
.button:hover { background: var(--sanaic-deep-blue); color: var(--sanaic-white); }

.hero-alt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sanaic-sky);
}
.hero-alt:hover { color: var(--sanaic-mist); }

/* ---------- Sections (light) ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--sanaic-mist); }

/* Node section marker — the mark's blue node, reused as a structural label */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sanaic-blue);
  margin-bottom: 18px;
}
.node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sanaic-blue);
  flex: none;
}
.section-label-dark { color: var(--sanaic-sky); }
.section-label-dark .node { background: var(--sanaic-blue); }

.section h2,
.contact h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 44px;
}

/* Service cards */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--sanaic-white);
  border: 1px solid var(--sanaic-wash);
  border-radius: 12px;
  padding: 30px 32px 34px;
  transition: border-color 140ms ease, transform 140ms ease;
}
.card:hover { border-color: var(--sanaic-blue); transform: translateY(-2px); }

.card h3,
.approach-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.card p,
.approach-item p {
  font-size: 0.96rem;
  color: var(--sanaic-slate);
  line-height: 1.7;
}

/* Approach */

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.approach-item { border-top: 3px solid var(--sanaic-blue); padding-top: 20px; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: start;
}
.about-grid h2 { margin-bottom: 0; }
.about-copy p { color: var(--sanaic-slate); margin-bottom: 20px; max-width: 36rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- Contact (Coal) ---------- */

.contact {
  background: var(--sanaic-coal);
  color: var(--sanaic-mist);
  padding-top: 96px;
}
.contact h2 { color: var(--sanaic-mist); margin-bottom: 20px; }
.contact-lede {
  color: rgba(242, 243, 245, 0.75);
  max-width: 34rem;
  margin-bottom: 40px;
}
/* Enquiry form — White card on the Coal band, brand tokens only */

.enquiry {
  background: var(--sanaic-white);
  color: var(--sanaic-ink);
  border-radius: 12px;
  padding: 36px;
  max-width: 720px;
}

.botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  color: var(--sanaic-ink);
  margin-bottom: 8px;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--sanaic-ink);
  background: var(--sanaic-mist);
  border: 1.5px solid var(--sanaic-mist);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--sanaic-slate); opacity: 0.75; }

.field input:hover,
.field textarea:hover { border-color: var(--sanaic-wash); }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--sanaic-blue);
  background: var(--sanaic-white);
  box-shadow: 0 0 0 3px var(--sanaic-wash);
}

/* Service checkbox group */
.field-group { border: 0; padding: 0; margin: 4px 0 24px; }
.field-group legend {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  color: var(--sanaic-ink);
  padding: 0;
  margin-bottom: 10px;
}
.legend-note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.83rem;
  color: var(--sanaic-slate);
  letter-spacing: 0;
  margin-left: 6px;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.check.option {
  padding: 7px 0;
  border-radius: 6px;
}
.check.option span {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.field-check { margin-bottom: 26px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--sanaic-blue);
}
.check input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--sanaic-blue);
  outline-offset: 2px;
}
.check span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  line-height: 1.45;
}
.field-note {
  font-size: 0.85rem;
  color: var(--sanaic-slate);
  line-height: 1.6;
  margin: 8px 0 0 28px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-actions .button {
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.form-actions .button:disabled { opacity: 0.6; cursor: default; }
.form-actions .button:focus-visible {
  outline: 3px solid var(--sanaic-sky);
  outline-offset: 3px;
}
.form-status {
  font-size: 0.9rem;
  color: var(--sanaic-slate);
  min-height: 1.4em;
}

.form-done {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  color: var(--sanaic-mist);
  border-left: 3px solid var(--sanaic-blue);
  padding: 6px 0 6px 20px;
  max-width: 34rem;
}

.contact-alt {
  margin-top: 26px;
  padding-bottom: 88px;
  font-size: 0.95rem;
  color: rgba(242, 243, 245, 0.75);
}
.contact-alt a { color: var(--sanaic-sky); font-weight: 600; }
.contact-alt a:hover { color: var(--sanaic-mist); }

/* Thanks page */
.hero-full { min-height: 100vh; }

/* Footer */

.footer { border-top: 1px solid rgba(242, 243, 245, 0.12); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 30px;
}
.footer p { font-size: 0.85rem; color: rgba(242, 243, 245, 0.6); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 600ms ease-out both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover { transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-mark { width: 420px; height: 420px; right: -120px; opacity: 0.8; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .approach { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 80px; }
  .hero-mark { width: 340px; height: 340px; right: -150px; top: 58%; opacity: 0.6; }
  .cards { grid-template-columns: 1fr; }
  .nav-contact { display: none; }
  .contact { padding-top: 72px; }
  .contact-alt { padding-bottom: 64px; }
  .enquiry { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .option-grid { grid-template-columns: 1fr; gap: 2px; }
  .check.option { padding: 10px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2.35rem; }
  .button { width: 100%; text-align: center; }
  .hero-actions { gap: 18px; }
  .form-actions { align-items: stretch; flex-direction: column; }
}

/* About: employer credibility strip */
.about-orgs {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--sanaic-wash);
  color: var(--sanaic-slate);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
