:root {
  --ink: #071a33;
  --muted: #5f6f86;
  --line: #d4dfec;
  --cyan: #18c4d8;
  --gold: #d7a642;
  --blue: #164a86;
  --pale: #eaf4f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f9fc;
  color: var(--ink);
  font-family: Candara, "Trebuchet MS", Arial, sans-serif;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgb(24 196 216 / 0.24), transparent 28%),
    linear-gradient(180deg, #071a33 0%, #0a2748 58%, #071a33 100%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 32px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(7 26 51 / 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 260px;
  height: auto;
  max-width: 46vw;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 800;
  color: #e6f2ff;
}

.nav-cta,
.primary-button,
.secondary-button,
.dark-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 176px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease;
}

.nav-cta {
  min-height: 40px;
  background: #fff;
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1216px;
  margin: 0 auto;
  padding: 80px 32px 96px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin: 0;
  border-left: 4px solid #67e8f9;
  background: rgb(255 255 255 / 0.1);
  padding: 10px 18px;
  color: #cffafe;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker {
  display: block;
  border-left: 0;
  background: transparent;
  padding: 0;
  color: var(--blue);
  font-size: 21px;
}

.section-kicker.light {
  color: #67e8f9;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 28px auto 0;
  max-width: 960px;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.92;
}

.hero-subtitle {
  max-width: 920px;
  margin: 28px auto 0;
  color: #f0f8ff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-copy,
.section-copy {
  max-width: 760px;
  margin: 28px auto 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-actions.left {
  justify-content: flex-start;
}

.primary-button {
  background: var(--cyan);
  color: #041625;
}

.secondary-button {
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.dark-button {
  background: var(--ink);
  color: #fff;
}

.outline-button {
  border: 1px solid var(--line);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover,
.dark-button:hover,
.outline-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.motion-band {
  position: relative;
  height: clamp(288px, 36vw, 512px);
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: var(--ink);
}

.motion-band video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.motion-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 26 51 / 0.86) 0%, rgb(7 26 51 / 0.42) 45%, rgb(7 26 51 / 0.78) 100%),
    linear-gradient(180deg, rgb(7 26 51 / 0.18) 0%, rgb(7 26 51 / 0) 46%, rgb(7 26 51 / 0.32) 100%);
}

.motion-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #fff;
  text-align: center;
}

.section-inner h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.motion-content h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
}

.section-inner {
  max-width: 1216px;
  margin: 0 auto;
  padding: 88px 32px;
}

.section-inner.narrow {
  max-width: 1050px;
}

.center {
  text-align: center;
}

.center .section-kicker {
  display: inline-flex;
}

.video-section {
  background: #f6f9fc;
}

.synthesia-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 30px 80px rgb(7 26 51 / 0.15);
}

.synthesia-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-consent-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.media-consent-placeholder[hidden] {
  display: none;
}

.media-consent-placeholder h3 {
  max-width: 520px;
  margin: 12px 0 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
}

.media-consent-placeholder button {
  min-height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #041625;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 24px;
}

.platform {
  background: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.capability-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  padding: 28px;
  box-shadow: 0 3px 10px rgb(7 26 51 / 0.07);
}

.capability-card h3 {
  margin: 0;
  font-size: 22px;
}

.capability-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.intelligence {
  background: var(--pale);
}

.intelligence .section-copy,
.final-cta .section-copy {
  margin-left: 0;
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.metric-card {
  border-top: 4px solid var(--cyan);
  background: #fff;
  padding: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.evidence {
  background: var(--ink);
  color: #fff;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.loop-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.1);
  padding: 24px;
}

.loop-card span {
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
}

.loop-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.proof-grid div {
  border-left: 4px solid var(--gold);
  background: rgb(255 255 255 / 0.06);
  padding: 24px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.privacy-page {
  min-height: 100vh;
  background: #f6f9fc;
}

.privacy-header {
  background: var(--ink);
  color: #fff;
}

.privacy-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1050px;
  margin: 0 auto;
  padding: 18px 32px;
}

.privacy-header a:first-child {
  font-size: 20px;
  font-weight: 900;
}

.privacy-content {
  max-width: 1050px;
  margin: 0 auto;
  padding: 56px 32px;
}

.privacy-content h1 {
  margin: 12px 0 24px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 72px);
  line-height: 0.95;
}

.privacy-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.privacy-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.privacy-content section {
  margin-top: 40px;
}

.password-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: #edf4fb;
  padding: 40px 24px;
  color: var(--ink);
}

.login-shell {
  position: relative;
  aspect-ratio: 1688 / 1125;
  width: min(75vw, 96vh);
  min-width: 320px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(15 23 42 / 0.15);
}

.login-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-form-band {
  position: absolute;
  right: 0;
  bottom: 24%;
  left: 0;
  background: rgb(255 255 255 / 0.95);
  padding: 16px 24px;
  box-shadow: 0 24px 56px rgb(15 23 42 / 0.15);
  backdrop-filter: blur(8px);
}

.app-login-form {
  display: grid;
  max-width: 896px;
  margin: 0 auto;
  gap: 12px;
}

.app-login-grid {
  display: grid;
  gap: 16px;
}

.app-login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.app-login-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.app-login-form input:focus {
  border-color: var(--cyan);
}

.app-login-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.forgot-button,
.enter-button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.forgot-button {
  color: var(--cyan);
}

.enter-button {
  border-radius: 999px;
  background: #008f9c;
  padding: 12px 28px;
  color: #fff;
  cursor: default;
}

.login-copyright {
  position: absolute;
  right: 24px;
  bottom: 16px;
  left: 24px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 560px) {
  .app-login-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .login-form-band {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 720px) {
  .password-page {
    padding: 24px 14px 56px;
  }

  .login-shell {
    width: min(92vw, 520px);
    min-width: 0;
    aspect-ratio: 1688 / 1125;
    border-radius: 24px;
  }

  .login-background {
    object-fit: contain;
  }

  .login-form-band {
    bottom: 0;
    padding: 14px 18px;
  }

  .app-login-form input {
    min-height: 42px;
    border-radius: 12px;
    padding: 10px 12px;
  }

  .app-login-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 559px) {
  .login-shell {
    height: min(620px, calc(100vh - 110px));
    aspect-ratio: auto;
  }

  .login-background {
    object-position: center top;
  }

}

/*
.password-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 18%, rgb(24 196 216 / 0.22), transparent 30%),
    linear-gradient(180deg, #071a33 0%, #0a2748 100%);
  color: #fff;
}

.password-nav {
  border-bottom-color: rgb(255 255 255 / 0.12);
}

.password-panel {
  width: min(720px, calc(100% - 40px));
  margin: 80px auto;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  padding: 40px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(14px);
}

.password-panel h1 {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
}

.password-panel p {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.7;
}

.display-login {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.display-login label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.display-login input {
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.92);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.display-login button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #041625;
  cursor: default;
  font: inherit;
  font-weight: 900;
}
*/

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay:target {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(7 26 51 / 0.72);
  backdrop-filter: blur(8px);
}

.sales-modal {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.28);
}

.sales-modal h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.sales-modal p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}

.enquiry-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  background: var(--ink);
  color: #dbeafe;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 900;
}

.site-footer button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  z-index: 80;
  padding: 16px;
  animation: cookie-slide-down 180ms ease-out;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  max-width: 780px;
  max-height: 44vh;
  overflow: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 24px 70px rgb(7 26 51 / 0.22);
}

.cookie-panel h2 {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.1;
}

.cookie-panel p {
  max-width: 760px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cookie-options[hidden] {
  display: none;
}

.cookie-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  color: var(--muted);
  font-size: 13px;
}

.cookie-options input {
  margin-top: 4px;
}

.cookie-options strong {
  display: block;
  color: var(--ink);
}

.cookie-actions {
  display: flex;
  min-width: 160px;
  flex-direction: column;
  gap: 8px;
}

.cookie-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 14px;
}

.cookie-actions button:first-child,
.cookie-actions button:last-child {
  background: var(--ink);
  color: #fff;
}

@keyframes cookie-slide-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .nav {
    padding: 16px 20px;
  }

  .brand img {
    width: 180px;
    max-width: 44vw;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .section-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .capability-grid,
  .metric-grid,
  .loop-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions.left {
    justify-content: flex-start;
  }

  .site-footer,
  .cookie-panel {
    grid-template-columns: 1fr;
  }

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

  .cookie-actions {
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .nav-cta {
    padding: 0 18px;
  }

  .hero-actions,
  .hero-actions.left {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .dark-button,
  .outline-button {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
