:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #eef1f5;
  --text: #0d1b2e;
  --muted: #5b6b80;
  --line: #dde3ea;
  --brand: #0d1b2e;
  --brand-deep: #0d0d0f;
  --accent: #0d8fd4;
  --accent-deep: #0a6ba3;
  --teal: #2BB5A0;
  --teal-deep: #229e8c;
  --amber: #FFB81C;
  --amber-deep: #d99c18;
  --shadow: 0 18px 48px rgba(13, 27, 46, 0.08);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f4f8 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  display: inline-block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 143, 212, 0.08);
  color: var(--accent-deep);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.hero,
.metrics-strip,
.section,
.page-hero,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.brand img,
.footer-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.hero h1,
.section-heading h2,
.architecture-card h3,
.logic-card h3,
.rollout-card h3,
.contact-copy h2,
.product-info h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.3rem;
}

.site-nav a.active {
  color: var(--text);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 143, 212, 0.26);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero-badge,
.eyebrow,
.card-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.architecture-card p,
.logic-card p,
.rollout-card li,
.architecture-card li,
.contact-copy p,
.contact-note,
.metrics-strip span {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-proof div,
.metrics-strip article,
.architecture-card,
.logic-card,
.rollout-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 1rem 1.1rem;
}

.hero-proof strong,
.metrics-strip strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-logo-panel {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
}

.hero-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.logic-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-bottom: 1rem;
  padding: 0 0.8rem;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.metrics-strip article {
  padding: 1.25rem;
}

.section {
  padding: 2.2rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}

.section-heading p {
  margin-top: 1rem;
}

.architecture-grid,
.logic-grid,
.rollout-grid {
  display: grid;
  gap: 1rem;
}

.architecture-grid {
  grid-template-columns: repeat(3, 1fr);
}

.logic-grid,
.rollout-grid {
  grid-template-columns: repeat(3, 1fr);
}

.architecture-card,
.logic-card,
.rollout-card,
.contact-panel {
  padding: 1.5rem;
}

.architecture-card ul,
.rollout-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.architecture-card h3,
.logic-card h3,
.rollout-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.featured,
.highlight {
  background: linear-gradient(160deg, #f3f7fd, #ffffff);
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.flow-tags span {
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(13, 143, 212, 0.1);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.logic-tag.high {
  background: rgba(13, 143, 212, 0.12);
  color: var(--accent-deep);
}

.logic-tag.medium {
  background: rgba(13, 27, 46, 0.08);
  color: var(--brand);
}

.logic-tag.low {
  background: rgba(91, 107, 128, 0.12);
  color: #46566d;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.contact-note {
  margin: 0;
}

.page-hero {
  max-width: 760px;
  padding: 3rem 0 1rem;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.page-hero p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product-feature-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.product-feature-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.product-feature-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.product-feature-accent {
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  border-color: transparent;
  color: #fff;
}

.product-feature-accent strong {
  color: #fff;
}

.product-feature-accent span {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
}

.footer-contact a {
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 2rem;
}

.footer-brand p {
  margin-bottom: 0.2rem;
}

/* ── Proof cards: delivered AU products used as credibility ── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.proof-card.teal::before {
  background: linear-gradient(90deg, #0d1b2e, var(--teal));
}

.proof-card.amber::before {
  background: linear-gradient(90deg, #20303C, var(--amber));
}

.proof-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.proof-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.proof-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.proof-tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(13, 143, 212, 0.08);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.proof-card.teal .proof-tag {
  background: rgba(43, 181, 160, 0.1);
  color: var(--teal-deep);
}

.proof-card.amber .proof-tag {
  background: rgba(255, 184, 28, 0.12);
  color: #7a5600;
}

/* ── AI capability tags ── */
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ai-tag {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(13, 143, 212, 0.08);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(13, 143, 212, 0.15);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .site-header,
  .hero,
  .metrics-strip,
  .architecture-grid,
  .logic-grid,
  .rollout-grid,
  .contact-panel,
  .product-content {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .metrics-strip,
  .section,
  .page-hero,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-proof,
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}
