:root {
  --navy: #0B1B2B;
  --navy-deep: #06111B;
  --navy-lift: #10283D;
  --ice: #EAF2F5;
  --white: #FFFFFF;
  --muted: #9FB5C3;
  --cyan: #7DD3E8;        /* accent on dark */
  --cyan-ink: #0E8FB0;    /* accent on light: large text, graphics */
  --cyan-text: #0A6F89;   /* small cyan text on light (passes 4.5:1) */
  --ink: #0B1B2B;
  --ink-soft: #3C5566;
  --line: rgba(11, 27, 43, 0.12);
  --line-strong: rgba(11, 27, 43, 0.25);
  --line-dark: rgba(159, 181, 195, 0.2);
  --maxw: 1248px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h3 { font-weight: 500; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--navy); color: var(--ice); padding: 8px 14px; border-radius: 6px;
  font-weight: 500; z-index: 10;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 3px; border-radius: 4px; }

/* Labels: Sora, small caps only */
.label {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin: 0 0 20px;
}

section { padding: clamp(80px, 10vw, 128px) 0; }
section h2 { font-size: clamp(34px, 4.2vw, 54px); }
.sub { font-size: 20px; color: var(--ink-soft); max-width: 36em; }
section h2 + .sub { margin-top: 20px; }
.band { background: var(--white); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand span { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 400; color: var(--ink-soft);
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  background: var(--navy); color: var(--ice); padding: 10px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--cyan-text); color: var(--white); }
@media (max-width: 800px) { .nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font-family: var(--display); font-size: 17px; font-weight: 500;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--ice); }
.btn-primary:hover { background: var(--cyan-text); color: var(--white); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.hero-grid {
  display: grid; gap: clamp(40px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  align-items: center;
}
.hero h1 { font-size: clamp(42px, 5.8vw, 80px); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lead { margin-top: 28px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 34em; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero demo: manual -> automated */
.demo {
  margin: 0; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-lift) 100%);
  color: var(--ice); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px);
}
.demo::after {
  content: ""; position: absolute; right: -70px; top: -50px; width: 420px; aspect-ratio: 1;
  background: url("logo-outline.svg") no-repeat center / contain; opacity: 0.12; pointer-events: none;
}
.demo > * { position: relative; z-index: 1; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo-label {
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan);
}
.demo-tabs { display: flex; gap: 4px; flex-wrap: nowrap; margin-left: -10px; }
.demo-tabs[hidden] { display: none; }
.demo-tab {
  font: 500 14px var(--display); color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 6px 10px; min-height: 36px; border-radius: 8px; position: relative;
  transition: color .2s;
}
.demo-tab:hover { color: var(--ice); }
.demo-tab[aria-pressed="true"] { color: var(--ice); }
.demo-tab[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cyan);
}
.demo-tab:focus-visible { outline-color: var(--cyan); }
.demo-toggle {
  font: 500 13px var(--display); color: var(--muted); background: transparent;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; min-height: 32px; cursor: pointer;
}
.demo-toggle:hover { color: var(--ice); border-color: var(--muted); }
.demo-toggle:focus-visible { outline-color: var(--cyan); }

.demo-mode {
  margin-top: 24px; display: inline-flex; padding: 4px; gap: 4px;
  border: 1px solid var(--line-dark); border-radius: 999px;
}
.mode {
  font-size: 14px; font-weight: 500; padding: 6px 16px; border-radius: 999px; color: var(--muted);
  transition: background-color .4s, color .4s;
}
.demo[data-mode="manual"] .mode-manual { background: rgba(234, 242, 245, 0.12); color: var(--ice); }
.demo[data-mode="auto"] .mode-auto { background: var(--cyan); color: var(--navy); }

.demo-rows { list-style: none; margin: 20px -12px 0; padding: 0; }
.demo-rows li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 11px 12px; border-radius: 10px; font-size: 15px;
  /* divider inset to line up with the panel's other content */
  background-image: linear-gradient(var(--line-dark), var(--line-dark));
  background-size: calc(100% - 24px) 1px; background-position: center top; background-repeat: no-repeat;
  transition: background-color .3s;
}
.demo-rows .sup { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-rows .amt { color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-rows .st {
  justify-self: end; width: 104px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; line-height: 1.4;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted);
  transition: background-color .25s, color .25s, border-color .25s;
}
.demo-rows li[data-state="working"] .st { color: var(--ice); border-color: var(--muted); }
.demo[data-mode="manual"] .demo-rows li[data-state="working"] { background-color: rgba(234, 242, 245, 0.06); }
.demo-rows li[data-state="entered"] .st { color: var(--ice); background: rgba(234, 242, 245, 0.1); border-color: transparent; }
.demo-rows li[data-state="matched"] .st { color: var(--navy); background: var(--cyan); border-color: var(--cyan); }
.demo-rows li[data-state="flagged"] .st { color: var(--navy); background: var(--ice); border-color: var(--ice); }
.demo-rows li[data-state="working"] .st::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none;
  animation: pulse 1s ease-in-out infinite;
}
.demo[data-mode="auto"] .demo-rows li[data-state="working"] .st::before { background: var(--cyan); }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.demo-bar { margin-top: 18px; height: 3px; border-radius: 3px; background: var(--line-dark); overflow: hidden; }
.demo-bar span { display: block; height: 100%; width: 0; background: var(--muted); transition: width .4s ease; }
.demo[data-mode="auto"] .demo-bar span { background: var(--cyan); transition-duration: .2s; }

.demo-caption { margin-top: 16px; min-height: 3.2em; font-size: 17px; line-height: 1.45; color: var(--ice); }

/* Optional demo agent: pointer (manual) and the logo's cyan node (automated) */
.demo-agent {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}
.demo-agent[data-kind="node"] { transition-duration: .22s; }
.demo-agent .agent-hand, .demo-agent .agent-node { position: absolute; display: none; max-width: none; }
.demo-agent[data-kind="hand"] .agent-hand { display: block; left: -3px; top: -2px; animation: agent-tap 1.3s ease-in-out infinite; }
.demo-agent[data-kind="node"] .agent-node { display: block; }
.agent-node { width: 14px; height: 14px; left: -7px; top: -7px; border-radius: 50%; background: var(--cyan); }
.agent-node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--ice); opacity: 0;
}
.demo-agent.handoff .agent-node::after { animation: agent-handoff .9s ease-out 2; }
@keyframes agent-tap { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1px, 3px); } }
@keyframes agent-handoff { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-agent { display: none; } }

@media (max-width: 480px) {
  .demo-rows li { grid-template-columns: 1fr auto; }
  .demo-rows .amt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .demo *, .demo *::before, .demo *::after { transition: none !important; animation: none !important; }
}

/* Intro */
.intro .wrap > p {
  padding: 56px 0 clamp(80px, 10vw, 120px); border-top: 1px solid var(--line);
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4;
}
.intro p span { color: var(--ink-soft); }

/* Outcomes table */
.head-split {
  display: grid; gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.head-split .label + h2 { margin: 0; }
.orow {
  display: grid; grid-template-columns: 1fr 2fr 2fr; column-gap: 48px;
  padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.5;
}
.ohead {
  padding: 0 0 16px; border-bottom: 1px solid var(--ink);
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.ohead .accent { color: var(--cyan-text); }
.orow .fn { font-size: 22px; font-weight: 500; }
.orow .today { color: var(--ink-soft); }
.orow .after { font-weight: 400; }
@media (max-width: 760px) {
  .ohead { display: none; }
  .orow { grid-template-columns: 1fr; row-gap: 8px; }
  .orow .today::before, .orow .after::before {
    display: block; font-family: var(--label); font-size: 11px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2px;
  }
  .orow .today::before { content: "Today"; color: var(--ink-soft); }
  .orow .after::before { content: "With AI built in"; color: var(--cyan-text); }
}

/* How we work */
.steps {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.step { background: var(--white); border-radius: 20px; padding: 36px; }
.step .num {
  display: block; font-size: clamp(64px, 7vw, 88px); line-height: 1; font-weight: 300;
  letter-spacing: -0.04em; color: var(--cyan-ink);
}
.step h3 { margin-top: 28px; font-size: 30px; font-weight: 400; }
.step p { margin-top: 12px; font-size: 18px; color: var(--ink-soft); }

/* Which AI tool */
.points {
  display: grid; gap: 0 48px; border-top: 1px solid var(--ink);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.point { padding: 28px 0; border-bottom: 1px solid var(--line); }
.point h3 { font-size: 22px; }
.point p { margin-top: 10px; font-size: 18px; color: var(--ink-soft); }

/* Packages */
.packages {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.pkg { padding: 36px 40px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.pkg:first-child { padding-left: 0; }
.pkg:last-child { padding-right: 0; border-right: 0; }
.pkg h3 { font-size: 26px; }
.pkg .fit { margin-top: 8px; font-size: 17px; color: var(--ink-soft); }
.pkg .from {
  margin-top: 36px; font-family: var(--label); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.pkg .price { margin-top: 4px; font-size: clamp(40px, 4vw, 52px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pkg .price span { font-size: 18px; letter-spacing: 0; color: var(--ink-soft); }
.pkg .gst { margin-top: 2px; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pkg .note { margin-top: 16px; font-size: 15px; color: var(--ink-soft); padding-left: 12px; border-left: 2px solid var(--cyan-ink); }
.pkg .incl { margin-top: 24px; font-size: 17px; line-height: 1.7; flex: 1; }
.pkg .more {
  margin-top: 28px; align-self: stretch; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px; font-weight: 500; text-align: center; text-decoration: none;
  color: var(--navy); border: 1.5px solid var(--navy); border-radius: 999px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pkg .more:hover { background: var(--navy); color: var(--ice); }
.pkg .more-primary { background: var(--navy); color: var(--ice); }
.pkg .more-primary:hover { background: var(--cyan-text); border-color: var(--cyan-text); color: var(--white); }
@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; }
  .pkg, .pkg:first-child, .pkg:last-child { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
.custom {
  padding: 28px 0; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
@media (max-width: 900px) { .custom { border-top: 0; } }
.custom p { font-size: 19px; max-width: 36em; }
.custom a { font-weight: 500; font-size: 18px; text-underline-offset: 5px; padding: 8px 0; }
.custom a:hover { color: var(--cyan-text); }
.running-costs { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-soft); text-align: center; }
.running-costs { padding-inline: max(0px, calc((100% - 46em) / 2)); }
@media (max-width: 900px) { .running-costs { border-top: 0; } }
.running-costs strong { color: var(--ink); font-weight: 500; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* About */
.about-grid {
  display: grid; gap: clamp(48px, 6vw, 88px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.statement { margin-top: 28px; font-size: clamp(21px, 2vw, 24px); line-height: 1.45; }
.statement span { color: var(--ink-soft); }
.founders {
  display: grid; gap: 0 40px; align-content: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.founder { padding: 28px 0; border-top: 1px solid var(--line); }
.founder-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.avatar {
  width: 136px; height: 136px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--ice); box-shadow: 0 0 0 1px var(--line);
}
.avatar-initials {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 300; letter-spacing: 0.02em; color: var(--ink-soft);
}
.founder h3 { font-size: 22px; }
.founder .role { margin-top: 2px; font-size: 16px; color: var(--ink-soft); }
.founder .bio { margin-top: 16px; font-size: 17px; color: var(--ink-soft); max-width: 34em; }

/* Contact */
.contact-section { padding-bottom: 64px; }
.contact-card {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-lift) 100%);
  color: var(--ice); border-radius: 28px; padding: clamp(40px, 7vw, 96px);
}
.contact-card .label { color: var(--cyan); }
.contact-card h2 { font-size: clamp(34px, 4.2vw, 56px); max-width: 14ch; letter-spacing: -0.02em; }
.contact-intro p:not(.label) { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 32em; }
.contact-card :focus-visible { outline-color: var(--cyan); }

/* Footer */
.site-footer { padding: 0 0 40px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--ink-soft);
}
.site-footer .brand svg { width: 22px; height: 22px; }
.site-footer .brand span { font-size: 18px; color: var(--ink); }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound .brand { margin-bottom: 48px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); }
.notfound p:not(.label) { margin-top: 18px; color: var(--ink-soft); font-size: 20px; }
.notfound .btn { margin-top: 36px; }

/* Contact: intro + enquiry form on the navy card */
.contact-card {
  display: grid; gap: clamp(40px, 5vw, 72px); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.contact-card .alt { font-size: 18px; }
.contact-card .alt a { color: var(--cyan); text-underline-offset: 4px; }
.enquiry { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 400; color: var(--ice); }
.field .opt { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 300 17px/1.5 var(--display); color: var(--ice);
  background: rgba(234, 242, 245, 0.06); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  width: 100%; font: 300 17px/1.5 var(--display); color: var(--ice); min-height: 48px;
  background: rgba(234, 242, 245, 0.06); border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px;
}
.field select option { color: var(--ink); background: var(--white); }
.field select:focus { outline: none; border-color: var(--cyan); }
.field select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field input:hover, .field textarea:hover { border-color: rgba(159, 181, 195, 0.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(234, 242, 245, 0.09); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.contact-card .form-status { margin: 0; min-height: 1.5em; font-size: 16px; color: var(--muted); max-width: none; }
.contact-card .form-status:empty { display: none; }
.contact-card .form-status.is-error { color: #FFD7CF; }
.contact-card .form-status a { color: var(--cyan); }
.btn-send { justify-self: start; border: 0; cursor: pointer; background: var(--cyan); color: var(--navy); }
.btn-send:hover { background: var(--ice); color: var(--navy); }
.btn-send:disabled { opacity: .6; cursor: progress; }
.enquiry-done { padding: 32px; border: 1px solid var(--line-dark); border-radius: 18px; }
.enquiry-done h3 { font-size: 26px; font-weight: 400; }
.enquiry-done p { margin-top: 10px; color: var(--muted); }
.enquiry-done:focus { outline: none; }

