:root {
  --site-header-inset: clamp(28px, 5.4vw, 80px);
  --site-header-top: clamp(22px, 2.4vw, 35px);
  --site-header-row: 42px;
  color-scheme: dark;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #080a0d;
  color: #f2f5f8;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
.landing-page, html:has(> .order-page, > .confirmation-page) { scrollbar-gutter: stable; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #9ed0ff; outline-offset: 5px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  min-height: 100svh;
  padding: var(--site-header-top) var(--site-header-inset) 0;
  background: #090c10;
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #090c10 0%, #090c10e8 23%, #090c1040 54%, transparent 76%),
    url('assets/orbit-sky.webp') right center / cover no-repeat;
}

.hero-mark {
  position: absolute;
  top: 40%;
  left: 79.5%;
  width: clamp(84px, 10vw, 150px);
  height: auto;
  transform: translate(-50%, -50%) rotate(46deg);
  filter: drop-shadow(0 0 5px #e0efffaf) drop-shadow(0 0 19px #82bbff8c);
  animation: orbit-drift 14s ease-in-out infinite;
}

@keyframes orbit-drift {
  0%, 100% { transform: translate(-50%, -50%) rotate(46deg); }
  30% { transform: translate(-40%, -59%) rotate(51deg); }
  70% { transform: translate(-58%, -46%) rotate(41deg); }
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 1.17rem;
  font-weight: 720;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.domain { color: #a4afbd; }

@media (prefers-reduced-motion: no-preference) {
  .landing-page { scroll-behavior: smooth; }
  .section-revealed:not(:focus-within) {
    animation: section-reveal 500ms cubic-bezier(.22, 1, .36, 1);
  }

  @view-transition { navigation: auto; }

  .topbar > .wordmark,
  .order-header > .wordmark { view-transition-name: header-wordmark; }

  ::view-transition-group(root),
  ::view-transition-group(header-wordmark) {
    animation-duration: 360ms;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  }
}

@keyframes section-reveal {
  from { opacity: .6; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.navigation { display: flex; gap: clamp(20px, 3vw, 42px); }
.navigation a {
  padding: .6rem 0;
  color: #bdc5d0;
  font-size: .9rem;
  white-space: nowrap;
}
.navigation a:hover { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #101216;
  background-color: #dadde2;
  background-image: linear-gradient(180deg, #fff, #ffffff70 62%, transparent);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms ease;
}
.button:hover { background-color: #cdd1d7; }
.button:active { background-color: #c1c6ce; }
.button-small { min-height: var(--site-header-row); padding: 0 17px; font-size: .875rem; }
.button-primary { min-height: 53px; padding: 0 23px; font-size: 1rem; }
.button-silver {
  border-radius: 999px;
  background-color: #9da6b4;
  background-image:
    radial-gradient(ellipse at bottom left, #e1e9f4, transparent 70%),
    linear-gradient(165deg, #fff 4%, #e8ebf1 36%, transparent 88%);
  box-shadow: inset 0 0 7px #ffffff90;
  font-weight: 750;
  letter-spacing: -.025em;
  transition: background-color 160ms ease, translate 160ms ease;
}

.button-primary.button-silver {
  min-width: min(100%, 14.5rem);
  min-height: 58px;
  padding-inline: 28px;
  font-size: 1.125rem;
}

.intro .button-silver {
  border-color: #f4f9ff;
  box-shadow: inset 0 0 7px #ffffff90, 0 0 5px #f4f9ff, 0 0 24px #a5c5ee9c;
}

@media (hover: hover) {
  .button-silver:hover { background-color: #b0bac8; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .intro .button-silver:hover { translate: 0 -2px; }
  .intro .button-silver:active { translate: none; }
}

.button-silver:active { background-color: #8791a0; }

.intro {
  align-self: center;
  padding: clamp(56px, 8vh, 105px) 0 clamp(58px, 8vh, 108px);
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.05vw, 6.15rem);
  font-weight: 720;
  line-height: .99;
  letter-spacing: -.057em;
}

.intro p {
  max-width: 31rem;
  margin: 27px 0 32px;
  color: #bbc4cf;
  font-size: clamp(1.075rem, 1.45vw, 1.28rem);
  line-height: 1.54;
  text-wrap: pretty;
}

.hero-impact {
  margin: 0;
  padding: 20px 0 clamp(26px, 3vw, 40px);
  color: #d3dae4;
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
.hero-impact strong { color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.hero-impact span { white-space: nowrap; }

.details {
  position: fixed;
  width: min(440px, calc(100% - 32px));
  padding: 32px;
  border: 1px solid #384451;
  border-radius: 16px;
  background: #10161e;
  color: #f2f5f8;
}
.details::backdrop { background: #05070bbc; }
.details h2 { margin: 0 32px 10px 0; font-size: 1.6rem; letter-spacing: -.03em; }
.details p { margin: 0; color: #c4cdd9; line-height: 1.55; }
.close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 6px; background: #222c38; color: #fff; font-size: 1.4rem; }
.close:hover { background: #303e4d; }

@media (max-width: 800px) {
  .hero-art { background-position: center, 65% center; }
  .hero-mark { left: 82%; }
  .topbar { grid-template-columns: 1fr auto; gap: 14px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
}

@media (max-width: 540px) {
  :root { --site-header-inset: 20px; --site-header-row: 39px; }
  .hero-art {
    background:
      linear-gradient(180deg, #090c10 17%, #090c10f0 35%, #090c108f 51%, #090c1026 76%, #090c10db 100%),
      url('assets/orbit-sky.webp') 79% bottom / auto 70% no-repeat;
  }
  .hero-mark {
    top: 62%;
    left: 82%;
    width: clamp(60px, 17vw, 88px);
    opacity: .94;
  }
  .wordmark { font-size: 1.05rem; gap: 5px; }
  .wordmark img { width: 22px; height: 22px; }
  .button-small { padding: 0 11px; }
  .intro { align-self: start; padding: 53px 0 140px; }
  h1 { font-size: clamp(2.42rem, 10.1vw, 3.38rem); letter-spacing: -.05em; }
  .intro p { margin: 20px 0 25px; }
}

@media (max-width: 360px) {
  :root { --site-header-inset: 15px; }
  .topbar { column-gap: 8px; }
  .button-small { padding: 0 8px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .hero-mark { animation: none; }
}

.page-content {
  width: min(100% - 2 * clamp(20px, 5.4vw, 80px), 1160px);
  margin-inline: auto;
}

.content-section {
  padding: clamp(52px, 7vw, 104px) 0;
  border-top: 1px solid #252b34;
  scroll-margin-top: 18px;
}

.content-section h2, .closing h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  font-weight: 630;
  line-height: 1.06;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.section-summary {
  max-width: 43ch;
  margin: 16px 0 0;
  color: #bbc4cf;
  line-height: 1.6;
}

.product-intro, .process-section, .faq-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 76px);
}
.product-intro { align-items: end; margin-bottom: 30px; }
.product-intro .section-summary { margin: 0; }

.report-console {
  border: 1px solid #344150;
  border-radius: 10px;
  background: #10151c;
  scroll-margin-top: 18px;
}
.report-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 2.5vw, 28px);
  border-bottom: 1px solid #2b3541;
}
.report-top h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.025em; }
.sample-status { margin: 5px 0 0; color: #a9b5c5; font-size: .86rem; }
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #465365;
  border-radius: 999px;
  color: #eef4fc;
  background: transparent;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.quiet-button:hover { border-color: #87a8ce; background: #1d2734; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.report-list, .finding-detail { min-width: 0; padding: clamp(16px, 2.5vw, 28px); }
.report-list h4 { margin: 0 0 12px; font-size: .91rem; }
.report-list h4 > span { color: #a9b5c5; font-weight: 500; }
.finding-detail { border-left: 1px solid #2b3541; }
.finding-buttons button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #28323e;
  color: #e7eef7;
  background: transparent;
  font-size: .9rem;
  text-align: left;
}
.finding-buttons button:hover { background: #182332; }
.finding-buttons button[aria-pressed='true'] { background: #203047; box-shadow: inset 2px 0 #91c2ff; }
.finding-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 10px; }
.finding-heading h4 { margin: 0 0 8px; font-size: 1.15rem; }
.finding-detail h5 { margin: 18px 0 4px; font-size: .9rem; }
.finding-detail p { max-width: 58ch; margin: 0; color: #c4cfdd; font-size: .94rem; line-height: 1.5; }
#finding-evidence { padding-left: 11px; border-left: 2px solid #43556d; }
.severity { width: fit-content; color: var(--severity-ink); font-size: .78rem; font-weight: 650; white-space: nowrap; }
.high { --severity-ink: #ffbe86; }
.medium { --severity-ink: #efd297; }
.low { --severity-ink: #b6d6ff; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #2a323e;
  counter-increment: step;
}
.steps li:last-child { border-bottom: 1px solid #2a323e; }
.steps li::before { color: #a6bbd7; font-size: .85rem; font-variant-numeric: tabular-nums; content: counter(step, decimal-leading-zero); }
.steps h3, .plan h3 { margin: 0; font-size: 1.05rem; line-height: 1.28; }
.steps p, .plan p { margin: 0; color: #b7c3d2; font-size: .95rem; line-height: 1.5; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid #2a323e; }
.plan { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px clamp(16px, 3vw, 36px); }
.plan:first-child { padding-left: 0; }
.plan + .plan { border-left: 1px solid #2a323e; }
.plan p { max-width: 29ch; margin-top: 8px; }
.plan-price { padding-top: 20px; font-size: clamp(1.75rem, 3.1vw, 2.85rem); font-weight: 650; letter-spacing: -.055em; }
.plan-price span { color: #becbdb; font-size: .875rem; font-weight: 450; letter-spacing: normal; }
.plan .quiet-button { min-height: 42px; margin-top: 16px; padding-inline: 14px; font-size: .875rem; }

.faqs details { border-top: 1px solid #2a323e; }
.faqs details:last-child { border-bottom: 1px solid #2a323e; }
.faqs summary { position: relative; display: block; padding: 15px 34px 15px 0; font-weight: 620; cursor: pointer; list-style: none; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { position: absolute; top: 50%; right: 4px; color: #a7c3e9; content: '+'; transform: translateY(-50%); }
.faqs details[open] summary::after { content: '−'; }
.faqs summary:hover { color: #c4dcff; }
.faqs p { max-width: 56ch; margin: 0; padding-bottom: 16px; color: #bbc4cf; line-height: 1.55; }

.closing {
  padding: clamp(58px, 7vw, 102px) 20px clamp(72px, 9vw, 135px);
  border-block: 1px solid #283749;
  background:
    linear-gradient(180deg, #080a0d 0%, #080a0d22 42%, transparent 65%),
    #080a0d url('assets/closing-horizon.webp') center 65% / cover no-repeat;
  text-align: center;
}
.closing h2 { max-width: 26ch; margin-inline: auto; }
.closing p { margin: 14px 0 0; color: #bbc4cf; line-height: 1.5; }
.closing .button { margin-top: 24px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; width: min(100% - 2 * clamp(20px, 5.4vw, 80px), 1280px); margin-inline: auto; padding: 26px 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; color: #bdc5d0; font-size: .9rem; }
.footer nav a:hover { color: #fff; }

@media (max-width: 820px) {
  .product-intro, .process-section, .faq-section { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .report-layout, .plans { grid-template-columns: 1fr; }
  .finding-detail { border-left: 0; border-top: 1px solid #2b3541; }
  .steps li { grid-template-columns: 2rem minmax(0, 1fr); gap: 5px 10px; }
  .steps p { grid-column: 2; }
  .plan { padding-inline: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid #2a323e; }
}

.topbar-actions { display: flex; align-items: center; gap: clamp(9px, 1.7vw, 24px); }
.topbar-login {
  display: inline-flex;
  align-items: center;
  min-height: var(--site-header-row);
  padding-inline: 4px;
  color: #e1e7ef;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.topbar-login:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 360px) {
  .topbar .wordmark { font-size: .9rem; }
  .topbar .wordmark img { width: 18px; height: 18px; }
  .topbar-actions { gap: 5px; }
  .topbar-login { padding-inline: 2px; font-size: .8rem; }
}

html:has(.login-dialog[open]) { overflow: hidden; }
.login-dialog {
  width: min(680px, calc(100% - 28px));
  height: min(510px, calc(100dvh - 28px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid #394657;
  border-radius: clamp(16px, 2.4vw, 24px);
  background: #0b1018;
  color: inherit;
  box-shadow: 0 24px 72px #02060b70;
}
.login-dialog::backdrop { background: rgb(5 8 13 / 43%); }
.login-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.login-dialog-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #34404f;
  border-radius: 50%;
  background: #171f2a;
  color: #edf3fb;
  font-size: 1.5rem;
  line-height: 1;
}
.login-dialog-close:hover { background: #273546; }
