:root {
  --ink: #061b3d;
  --ink-soft: #315078;
  --blue: #002864;
  --blue-deep: #001e50;
  --cyan: #00c8dc;
  --cyan-dark: #0696aa;
  --mist: #e6f0fa;
  --surface: #f7fbff;
  --white: #ffffff;
  --line: rgba(6, 27, 61, 0.14);
  --shadow: 0 22px 70px rgba(0, 30, 80, 0.16);
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  color: var(--blue-deep);
  background: rgba(0, 200, 220, 0.28);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 18, 48, 0.72), rgba(0, 18, 48, 0));
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue-deep);
  background: var(--cyan);
  border-radius: 9px;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 18, 48, 0.22);
}

.brand-word {
  color: currentColor;
  font-size: 1.08rem;
  line-height: 1;
  white-space: nowrap;
}

.site-header.is-solid .brand-mark {
  box-shadow: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header.is-solid .brand-logo {
  filter: brightness(0.5) saturate(1.4);
}

.hero-logo {
  width: clamp(58px, 8vw, 104px);
  height: clamp(58px, 8vw, 104px);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 100, 200, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a,
.header-cta {
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--blue-deep);
  background: var(--cyan);
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 20, 55, 0.94) 0%, rgba(0, 28, 76, 0.78) 38%, rgba(0, 30, 80, 0.26) 68%, rgba(0, 30, 80, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 18, 48, 0.72), rgba(0, 18, 48, 0.02) 35%);
}

.hero-content {
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 112px);
  padding-top: var(--header);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.3rem, 8.8vw, 8.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-wordmark {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  max-width: 100%;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 24px 48px rgba(0, 18, 48, 0.34);
}

.hero-mark {
  width: clamp(58px, 8vw, 104px);
  height: clamp(58px, 8vw, 104px);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue-deep);
  background: var(--cyan);
  border-radius: clamp(14px, 1.8vw, 26px);
  font-size: 0.72em;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 24px 48px rgba(0, 18, 48, 0.32);
}

h2 {
  margin: 0;
  max-width: 850px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--blue-deep);
  background: var(--cyan);
  box-shadow: 0 16px 40px rgba(0, 200, 220, 0.28);
}

.button.primary:hover {
  background: #21ddec;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.value-note {
  margin: 24px 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.band {
  background: var(--surface);
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 136px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.center-copy p,
.ethics-shell p,
.signup-copy p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.plain-list {
  border-top: 1px solid var(--line);
}

.plain-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.plain-list span {
  color: var(--cyan-dark);
  font-weight: 900;
}

.plain-list p,
.step p,
.use-cases p,
.questions p {
  margin: 0;
  color: var(--ink-soft);
}

.center-copy {
  max-width: 760px;
  margin-bottom: 46px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 300px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
}

.step strong {
  color: var(--cyan-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.use-cases {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.use-cases p {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  background: var(--white);
  font-weight: 700;
}

.ethics {
  background: var(--blue-deep);
  color: var(--white);
}

.ethics-shell {
  padding-top: clamp(70px, 9vw, 112px);
  padding-bottom: clamp(70px, 9vw, 112px);
}

.ethics-shell h2 {
  max-width: 860px;
}

.ethics-shell p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.questions {
  border-top: 1px solid var(--line);
}

details {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.08rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--cyan-dark);
  font-size: 1.35rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding-top: 12px;
}

.signup {
  background:
    radial-gradient(circle at 20% 12%, rgba(0, 200, 220, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
}

.signup-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.signup-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.google-form-card {
  display: grid;
  min-height: 560px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.google-form-placeholder {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 560px;
  padding: clamp(24px, 4vw, 42px);
}

.google-form-placeholder .eyebrow {
  margin-bottom: 0;
}

.google-form-placeholder h3 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
}

.google-form-placeholder p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.form-fields-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-fields-preview li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.google-form-placeholder .button {
  width: fit-content;
}

.google-form-frame {
  display: none;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: var(--white);
}

.google-form-card.has-form .google-form-placeholder {
  display: none;
}

.google-form-card.has-form .google-form-frame {
  display: block;
}

.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--ink-soft);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-12px, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  :root {
    --header: 66px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 1.2rem;
  }

  .brand-word {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-image {
    object-position: 67% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 20, 55, 0.95), rgba(0, 27, 72, 0.72)),
      linear-gradient(0deg, rgba(0, 18, 48, 0.78), rgba(0, 18, 48, 0.14));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: calc(var(--header) + 24px);
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 5.2rem);
  }

  .hero-wordmark {
    gap: 12px;
  }

  .hero-mark {
    width: clamp(46px, 13.2vw, 64px);
    height: clamp(46px, 13.2vw, 64px);
    border-radius: 13px;
  }

  .two-column,
  .steps,
  .signup-shell {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
  }

  .brand-word {
    font-size: 0.96rem;
  }

  h1 {
    font-size: clamp(2.68rem, 13.5vw, 4.1rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h2 {
    font-size: 2.25rem;
  }

  .plain-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-fields-preview {
    grid-template-columns: 1fr;
  }

  .section-shell {
    width: min(100% - 32px, 1160px);
  }
}
