/* ScriptStream — rebuilt from Figma "Landing page — Desktop" (Script Stream — Website 21 Aug 2025).
   Design frame: 1440 × 5931. All desktop measurements below are taken from the Figma layer geometry. */

@font-face { font-family: "New Science"; src: url("../fonts/new-science-light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "New Science"; src: url("../fonts/new-science-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "New Science"; src: url("../fonts/new-science-medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "New Science"; src: url("../fonts/new-science-semi-bold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "New Science"; src: url("../fonts/new-science-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #1F3776;
  --aqua: #45BBCD;
  --ice: #EBF6FA;
  --grey: #74849C;
  --white: #FFFFFF;
  --grad-h: linear-gradient(90deg, var(--aqua) 0%, var(--navy) 100%);
  --grad-band: linear-gradient(66deg, var(--navy) 0%, var(--aqua) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--navy);
  font-family: "New Science", "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }

.page { width: 100%; max-width: 1440px; margin: 0 auto; position: relative; overflow-x: clip; }

/* gradient text (per-heading angles/stops come from inline --g, computed from the Figma gradient vectors) */
.gt {
  background: var(--g, linear-gradient(300deg, var(--aqua) 10%, var(--navy) 103%));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: inline-block;
}

/* type scale */
.t40 { font-size: 40px; line-height: 44px; font-weight: 700; }
.t36 { font-size: 36px; line-height: 36px; font-weight: 700; }
.t28 { font-size: 28px; line-height: 28px; font-weight: 700; }
.t24 { font-size: 24px; line-height: 28px; font-weight: 400; }
.t24b { font-size: 24px; line-height: 28px; font-weight: 700; }
.t20 { font-size: 20px; line-height: 28px; font-weight: 300; }
.t16 { font-size: 16px; line-height: 20px; font-weight: 400; }
.center { text-align: center; }
.eyebrow { color: var(--aqua); font-weight: 300; }

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; margin: 19px 19px 0 21px; height: 716px; }
.hero__bg {
  position: absolute; inset: 0;
  background: #1a2f78 url("../img/hero-gradient.png") center / cover no-repeat;
}
.hero__logo { position: absolute; left: 60px; top: 66px; width: 285px; height: 122px; }
.hero__title {
  position: absolute; left: 0; top: 381px; width: 590px; height: 172px;
  background: var(--white); padding: 41px 40px 0;
}
.hero__blurb {
  position: absolute; left: 0; top: 552px; width: 867px; height: 164px;
  background: var(--white); padding: 41px 100px 0 40px;
}
.hero__blurb p { font-weight: 300; }

.cta {
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
  height: 80px; padding: 0 7px 0 24px;
  background: var(--grad-h);
  color: var(--ice); text-decoration: none;
  font-size: 24px; line-height: 28px; font-weight: 300;
}
.cta span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cta img { width: 60px; height: 60px; flex: none; transition: transform .2s ease; }
.cta:hover img, .cta:focus-visible img { transform: translate(3px, 3px); }
.hero-cta { margin: 2px 0 0 21px; width: 866px; position: relative; top: 3px; }

/* ── Section 1: Built for Australia ─────────────────── */
.built { padding-top: 69px; }
.built h2 { margin: 0 auto; }
.built .sub { margin-top: 46px; font-weight: 400; }
.built .intro { margin: 26px auto 0; max-width: 680px; }

.pillars { display: flex; gap: 20px; align-items: flex-start; margin: 50px 20px 0 21px; }
.pillar { position: relative; flex: 0 0 453px; background: var(--white); overflow: hidden; padding: 0 30px 30px; }
.pillar__icon { height: 85px; margin-top: 32px; display: flex; align-items: center; }
.pillar h3 { margin-top: 26px; font-size: 24px; line-height: 24px; font-weight: 700; }
.pillar p { margin-top: 9px; }
.pillar .bar { margin-top: 20px; width: 275px; height: 14px; }
.pillar__ribbon { position: absolute; right: -25px; top: -24px; width: 166px; height: 166px; pointer-events: none; }

/* ── AI band ────────────────────────────────────────── */
.ai { margin: 40px 20px 0; }
.ai__band {
  height: 180px; padding-top: 44px;
  background: linear-gradient(66deg, var(--navy) 0%, var(--aqua) 103%);
  color: var(--ice); text-align: center;
}
.ai__band p { margin: 12px auto 0; max-width: 1100px; line-height: 26px; }
.ai__frame {
  position: relative; height: 233px;
  border: 10px solid; border-top: 0;
  border-image: linear-gradient(90deg, var(--navy) 0%, var(--aqua) 100%) 1;
  display: grid; grid-template-columns: 340px 351px 350px; column-gap: 93px;
  padding: 41px 0 0 69px; text-align: center;
}
.ai__frame h3 { font-size: 28px; line-height: 28px; }
.ai__frame p { margin-top: 10px; }

/* ── Demo / video ───────────────────────────────────── */
.demo { padding-top: 120px; }
.demo .intro { margin: 46px auto 0; max-width: 1020px; }
.slider { position: relative; height: 742px; margin: 78px 88px 0 84px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__panel {
  position: absolute; left: 270px; top: 0; width: 731px; height: 690px;
  background: linear-gradient(315deg, var(--aqua) 0%, var(--navy) 87%);
}
.slide__glow {
  position: absolute; left: 123px; top: 47px; width: 1027px; height: 500px;
  background: linear-gradient(90deg, var(--aqua) 0%, var(--navy) 100%);
  filter: blur(25px);
}
.slide__shot {
  position: absolute; left: 123px; top: 47px; width: 1027px; height: 500px;
  background: center / 100% 100% no-repeat; border: 0; padding: 0; cursor: pointer;
}
.slide__play { position: absolute; left: 441px; top: 200px; width: 140px; height: 140px; transition: transform .2s ease; }
.slide__shot:hover .slide__play, .slide__shot:focus-visible .slide__play { transform: scale(1.05); }
.slide__stripes { position: absolute; left: 299px; top: 642px; width: 100px; height: 100px; }
.slide__text { position: absolute; left: 430px; top: 571px; width: 600px; }
.slide__text .kicker { color: var(--ice); font-weight: 300; }
.slide__text h3 { margin-top: 10px; color: var(--ice); }
.slide__text p.t16 { margin-top: 41px; }
.slider__nav { position: absolute; top: 298px; width: 37px; height: 37px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__nav--prev { left: 0; }
.slider__nav--next { right: 0; top: 299px; }
.slider__nav img { width: 37px; height: 37px; transition: transform .2s ease; }
.slider__nav--prev:hover img { transform: translate(-3px, -3px); }
.slider__nav--next:hover img { transform: translate(3px, 3px); }

/* ── Benefits ───────────────────────────────────────── */
.benefits { padding-top: 109px; }
.benefits h2 { margin-top: 16px; }
.benefits .intro { margin: 80px 56px 0 40px; }
.benefit-grid {
  display: grid; grid-template-columns: 697px 600px;
  grid-template-rows: 225px 235px auto;
  margin: 76px 0 0 84px;
}
.benefit { position: relative; padding-left: 166px; }
.benefit__art { position: absolute; }
.benefit h3 { margin-top: 4px; }
.benefit p { margin-top: 10px; }
.benefit--r { top: 2px; }

/* ── Why choose ─────────────────────────────────────── */
.why { padding-top: 118px; }
.why h2 { margin-top: 15px; }

/* ── Mission & values ───────────────────────────────── */
.mission { margin: 150px 20px 0; }
.mission__band {
  display: flex; gap: 50px; height: 324px; padding: 40px 0 0 40px;
  background: linear-gradient(75deg, var(--navy) 0%, var(--aqua) 100%);
  color: var(--ice);
}
.mission__icon { flex: none; width: 199px; height: 199px; margin-top: 23px; }
.mission__text { width: 984px; }
.mission__text .kicker { font-weight: 300; }
.mission__text h2 { margin-top: 15px; }
.mission__text p.t20 { margin-top: 19px; white-space: nowrap; }
.values {
  height: 399px; border: 10px solid; border-top: 0;
  border-image: linear-gradient(90deg, var(--navy) 0%, var(--aqua) 100%) 1;
  padding: 48px 0 0 42px;
}
.values__cols { display: grid; grid-template-columns: 358px 376px 387px; column-gap: 83px; margin-top: 41px; }
.values__cols h3 { font-size: 28px; line-height: 28px; }
.values__cols p { margin-top: 12px; line-height: 26px; font-weight: 400; }
.values--line { height: auto; padding: 62px 40px 66px; }
.values--line h2 { font-size: 30px; line-height: 40px; white-space: nowrap; }
.benefit h3 { white-space: nowrap; }

/* ── Footer ─────────────────────────────────────────── */
.footer-top { display: flex; justify-content: space-between; align-items: center; margin: 64px 50px 0 60px; }
.footer-top .logo { width: 297px; height: 99px; }
.footer-top .cta { width: 419px; padding-left: 27px; justify-content: space-between; }
.contact { margin: 56px 0 0 140px; }
.contact__cols { display: grid; grid-template-columns: 399px 399px auto; margin-top: 33px; }
.contact__cols p { font-size: 16px; line-height: 28px; font-weight: 300; }
.contact__cols a { color: var(--aqua); text-underline-offset: 3px; }
.dev { margin: 36px 0 0 140px; }
.dev__logos { display: flex; align-items: center; gap: 107px; margin: 26px 0 0 16px; }
.dev__logos .adha { width: 286px; height: 57px; }
.dev__logos .sa { width: 98px; height: 42px; margin-top: 12px; }
.credit {
  margin-top: 94px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(60deg, var(--aqua) 0%, var(--navy) 100%);
  color: var(--ice); font-size: 14px; line-height: 14px; font-weight: 300;
}
.credit a { margin: 0 .3em; text-underline-offset: 2px; }

/* ── Modals ─────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 28, 64, .72); }
.modal.is-open { display: flex; }
.modal__dialog { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto; background: var(--white); padding: 48px 40px 40px; }
.modal__dialog--video { max-width: 1100px; padding: 0; background: #000; overflow: visible; }
.modal__dialog--video video { width: 100%; height: auto; max-height: calc(100vh - 32px); }
.modal__close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 32px; line-height: 1; color: var(--navy); cursor: pointer; }
.modal__dialog--video .modal__close { top: -44px; right: 0; color: var(--white); }
.register__logo { width: 200px; margin-bottom: 24px; }
.register h2 { font-size: 28px; line-height: 32px; }
.register p.lead { margin: 12px 0 24px; font-size: 16px; line-height: 22px; font-weight: 300; }
.register fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.register legend, .register label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.register .req { color: var(--grey); font-weight: 300; font-size: 12px; margin-left: 4px; }
.register .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.register input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c9d6e3; background: var(--ice); color: var(--navy); font: inherit; font-size: 16px; }
.register input:focus { outline: 2px solid var(--aqua); outline-offset: 0; border-color: var(--aqua); }
.register small { display: block; margin-top: 4px; font-size: 12px; color: var(--grey); }
.register button[type=submit] { margin-top: 8px; width: 100%; border: 0; cursor: pointer; }
.register .status { margin-top: 12px; font-size: 14px; min-height: 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* desktop: Figma line breaks are authoritative */
.pillar p, .ai__frame p, .benefit p, .values__cols p, .slide__text p { white-space: nowrap; }

/* ── Responsive (below the 1440 design width) ───────── */
@media (max-width: 1439px) {
  .page { zoom: calc(100vw / 1440px); }
}
@supports not (zoom: 1) {
  @media (max-width: 1439px) { .page { zoom: normal; } }
}
@media (max-width: 1024px) {
  .page { zoom: normal; }
  .hero { margin: 12px 12px 0; height: auto; min-height: 0; padding: 40px 0 0; }
  .hero__bg { position: absolute; inset: 0; }
  .hero__logo { position: relative; left: 24px; top: 0; width: 220px; height: auto; margin-bottom: 140px; }
  .hero__title, .hero__blurb { position: relative; left: 0; top: 0; width: auto; height: auto; max-width: 600px; padding: 28px 24px 0; }
  .hero__blurb { max-width: 760px; padding: 16px 24px 28px; }
  .hero-cta { width: auto; margin: 0 12px; }
  .t40 { font-size: 32px; line-height: 36px; }
  .t36 { font-size: 28px; line-height: 32px; }
  .t28 { font-size: 22px; line-height: 26px; }
  .t24, .t24b, .cta { font-size: 20px; line-height: 26px; }
  .t20 { font-size: 17px; line-height: 25px; }
  .built, .demo, .benefits, .why { padding-left: 16px; padding-right: 16px; }
  .built { padding-top: 56px; }
  .built .sub { margin-top: 20px; }
  .pillars { flex-direction: column; margin: 32px 12px 0; }
  .pillar { flex: none; width: 100%; }
  .ai, .mission { margin-left: 12px; margin-right: 12px; }
  .ai__band { height: auto; padding: 32px 16px; }
  .ai__frame { height: auto; grid-template-columns: 1fr; row-gap: 32px; padding: 32px 16px; }
  .demo { padding-top: 64px; }
  .slider { height: auto; margin: 40px 0 0; aspect-ratio: auto; }
  .slide { position: relative; display: none; }
  .slide.is-active { display: block; }
  .slide__panel, .slide__glow, .slide__stripes { display: none; }
  .slide__shot { position: relative; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1920 / 936; }
  .slide__play { left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .slide__text { position: relative; left: 0; top: 0; width: auto; background: linear-gradient(315deg, var(--aqua) 0%, var(--navy) 87%); padding: 20px; }
  .slide__text h3 { margin-top: 8px; }
  .slide__text p { margin-top: 16px; color: var(--ice); }
  .slider__nav { top: auto; bottom: -48px; }
  .slider__nav--prev { left: 0; } .slider__nav--next { right: 0; }
  .benefits { padding-top: 96px; }
  .benefits .intro { margin: 32px 0 0; }
  .benefit-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 56px; margin: 48px 0 0; }
  .benefit { padding-left: 0; padding-top: 0; min-height: 0; }
  .benefit__art { position: static; width: 110px !important; height: auto !important; margin: 0 0 16px !important; }
  .benefit--r { top: 0; }
  .mission__band { flex-direction: column; height: auto; gap: 20px; padding: 32px 20px; }
  .mission__icon { width: 120px; height: 120px; margin: 0; }
  .mission__text { width: auto; }
  .values { height: auto; padding: 32px 20px; }
  .values--line h2 { font-size: 22px; line-height: 30px; white-space: normal; }
  .benefit h3 { white-space: normal; }
  .values__cols { grid-template-columns: 1fr; row-gap: 28px; margin-top: 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; margin: 48px 16px 0; }
  .footer-top .logo { width: 220px; height: auto; }
  .footer-top .cta { width: 100%; max-width: 419px; }
  .contact, .dev { margin-left: 16px; margin-right: 16px; }
  .contact__cols { grid-template-columns: 1fr; row-gap: 20px; margin-top: 20px; }
  .dev__logos { flex-wrap: wrap; gap: 32px; margin-left: 0; }
  .credit { height: auto; padding: 14px 16px; text-align: center; flex-wrap: wrap; }
  .register .row { grid-template-columns: 1fr; }
  .pillar p, .ai__frame p, .benefit p, .values__cols p, .slide__text p, .mission__text p { white-space: normal; }
  .pillar p br, .ai__frame p br, .benefit p br, .values__cols p br, .slide__text br, .mission h2 br, .mission__text p br { display: none; }
  .modal__dialog { padding: 40px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
