:root {
  --navy: #062754;
  --navy-deep: #001b3c;
  --green: #65c83f;
  --green-dark: #159447;
  --white: #ffffff;
  --ink: #061426;
  --muted: #39495d;
  --line: rgba(6, 20, 38, 0.2);
  --shadow: 0 34px 90px rgba(6, 20, 38, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(101, 200, 63, 0.36), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(6, 39, 84, 0.3), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #dce9e0 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.coming-soon {
  display: grid;
  width: min(1160px, calc(100% - 36px));
  height: 100dvh;
  min-height: 0;
  grid-template-rows: 1fr auto;
  margin: 0 auto;
  padding: clamp(10px, 2vh, 20px) 0 clamp(8px, 1.5vh, 16px);
}

.panel {
  align-self: center;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.78fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: center;
  border: 1px solid rgba(6, 20, 38, 0.24);
  border-radius: 28px;
  max-height: calc(100dvh - 62px);
  padding: clamp(20px, 3.2vw, 38px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}

.content {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand {
  display: inline-flex;
  width: min(620px, 96%);
  margin-top: clamp(4px, 1vh, 15px);
  margin-bottom: clamp(8px, 1.4vh, 15px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(101, 200, 63, 0.72);
  animation: bulletPulse 1.8s ease-in-out infinite;
}

h1 {
  max-width: 880px;
  margin: clamp(8px, 1.5vh, 16px) 0 0;
  color: var(--ink);
  font-size: clamp(41px, 5.3vw, 61px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.headline {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 780px;
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  color: #2f4055;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.5;
}

.supporting-copy {
  max-width: 720px;
  margin: clamp(7px, 1.2vh, 10px) 0 0;
  color: var(--navy);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.45;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(720px, 100%);
  margin-top: clamp(9px, 1.5vh, 14px);
}

.mini-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(6, 20, 38, 0.12);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--green-dark);
  background: rgba(101, 200, 63, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.early-access {
  position: relative;
  z-index: 8;
  width: min(720px, 100%);
  height: 64px;
  margin: clamp(22px, 3vh, 34px) 0 0;
  text-align: left;
}

.early-access-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  border: 1px solid rgba(21, 148, 71, 0.28);
  border-radius: 27px;
  padding: 0 18px 0 22px;
  color: #5f6f81;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(21, 148, 71, 0.16), 0 8px 24px rgba(6, 20, 38, 0.08);
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.early-access-trigger:hover,
.early-access-trigger:focus-visible {
  border-color: rgba(21, 148, 71, 0.56);
  color: var(--green-dark);
  box-shadow: 0 28px 82px rgba(21, 148, 71, 0.2), 0 10px 28px rgba(6, 20, 38, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(101, 200, 63, 0.14);
  font-size: 22px;
  line-height: 1;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.early-access-trigger:hover .trigger-icon,
.early-access-trigger:focus-visible .trigger-icon,
.early-access.is-open .trigger-icon {
  color: var(--white);
  background: var(--green-dark);
  transform: rotate(45deg);
}

.early-access-form {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  border: 0 solid rgba(21, 148, 71, 0);
  border-radius: 27px;
  padding: 0 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.97);
  transform-origin: bottom center;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 76px rgba(6, 20, 38, 0.16);
  transition:
    max-height 620ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms ease,
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms ease;
}

.early-access.is-open .early-access-form {
  max-height: min(640px, calc(100dvh - 96px));
  border-width: 1px;
  border-color: rgba(21, 148, 71, 0.2);
  padding: 14px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.early-access.is-open .early-access-trigger {
  border-color: rgba(21, 148, 71, 0.4);
  color: var(--green-dark);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 20, 38, 0.08);
}

.form-heading p {
  margin: 0;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.form-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(6, 20, 38, 0.12);
  border-radius: 999px;
  color: #65748a;
  background: var(--white);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.form-close:hover,
.form-close:focus-visible {
  border-color: rgba(21, 148, 71, 0.46);
  color: var(--green-dark);
  outline: 0;
  transform: rotate(90deg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 0;
}

.early-access-form label:not(.consent-row) {
  display: block;
  margin-bottom: 7px;
}

.early-access-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #5d6b7c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.early-access-form input,
.early-access-form select,
.early-access-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 20, 38, 0.13);
  border-radius: 13px;
  color: var(--ink);
  background: #f8fbfa;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.early-access-form input,
.early-access-form select {
  height: 38px;
  padding: 0 11px;
}

.early-access-form textarea {
  min-height: 66px;
  padding: 10px 11px;
  resize: vertical;
}

.early-access-form input:focus,
.early-access-form select:focus,
.early-access-form textarea:focus {
  border-color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(101, 200, 63, 0.14);
}

.early-access-form [aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  display: block;
  min-height: 9px;
  margin-top: 3px;
  color: #b42318;
  font-size: 10px;
  font-weight: 800;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(6, 20, 38, 0.12);
  border-radius: 14px;
  padding: 9px 10px;
  background: #f8fbfa;
}

.consent-row input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--green-dark);
}

.consent-row span {
  margin: 0;
  color: #445267;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.submit-button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  margin-top: 2px;
  color: var(--white);
  background: linear-gradient(135deg, #73d847, var(--green-dark));
  box-shadow: 0 12px 24px rgba(21, 148, 71, 0.2);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.04);
  outline: 0;
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(21, 148, 71, 0.24);
}

.success-message {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  margin-top: 0;
  border: 1px solid rgba(21, 148, 71, 0.2);
  border-radius: 27px;
  padding: 34px 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 70px rgba(21, 148, 71, 0.16), 0 8px 24px rgba(6, 20, 38, 0.08);
  text-align: center;
  animation: successRise 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-message div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(101, 200, 63, 0.15);
  font-size: 22px;
  font-weight: 900;
}

.success-message p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 22px;
  margin-top: 18px;
}

.links a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.links a:hover {
  color: var(--green-dark);
  transform: translateY(-1px);
}

.phone-preview {
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(342px, 100%);
  max-width: 100%;
  height: min(590px, calc(100dvh - 164px));
  aspect-ratio: 342 / 590;
  padding: 12px 0;
  filter: drop-shadow(0 32px 46px rgba(6, 20, 38, 0.38));
}

.phone-preview::before {
  content: "";
  position: absolute;
  inset: 8% 2% 6% 10%;
  border-radius: 42px;
  background: rgba(101, 200, 63, 0.28);
  transform: rotate(-5deg);
  z-index: -1;
}

.phone-screenshot {
  display: block;
  width: 100%;
  max-width: 342px;
  height: calc(100% - 24px);
  max-height: 590px;
  border-radius: 34px;
  object-fit: contain;
  object-position: center;
  animation: phoneFloat 4.8s ease-in-out infinite;
}

.phone-screenshot[hidden] {
  display: none;
}

.phone-frame[hidden] {
  display: none;
}

.phone-frame {
  border: 8px solid #111820;
  border-radius: 42px;
  background: #111820;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.phone-screen {
  position: relative;
  min-height: 642px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbfa 0%, #eef4f2 100%);
  color: var(--ink);
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 118px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #05070a;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 0 26px;
  color: var(--white);
  background: #203e72;
  font-size: 12px;
  font-weight: 900;
}

.phone-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 16px;
  color: var(--white);
  background: #203e72;
}

.phone-header strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.phone-header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 24px;
  font-weight: 900;
}

.phone-logo-mark {
  display: flex;
  justify-content: center;
  padding: 18px 0;
}

.phone-logo-mark img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(6, 20, 38, 0.12);
}

.record-card,
.check-card {
  margin: 0 18px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(6, 20, 38, 0.08);
  overflow: hidden;
}

.record-card {
  padding: 10px 16px;
}

.record-card div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8ef;
  font-size: 12px;
}

.record-card div:last-child {
  border-bottom: 0;
}

.record-card span {
  color: #526179;
}

.record-card strong {
  color: #102754;
  text-align: right;
}

.record-card .ok {
  color: var(--green-dark);
}

.record-card .locked {
  color: #e11d48;
}

.check-card {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
}

.check-card article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-card b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

.check-card strong {
  display: block;
  color: #102754;
  font-size: 12px;
}

.check-card span {
  display: block;
  margin-top: 2px;
  color: #526179;
  font-size: 10px;
}

.phone-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  min-height: 58px;
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.76);
  background: #203e72;
  box-shadow: 0 10px 26px rgba(6, 20, 38, 0.18);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.phone-nav b {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 58px;
  height: 58px;
  border: 3px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #78d95a, var(--green-dark));
  font-size: 34px;
  font-weight: 400;
}

footer {
  display: flex;
  justify-content: center;
  padding-top: clamp(6px, 1vh, 14px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }

  .coming-soon {
    width: min(100% - 24px, 920px);
    height: auto;
    min-height: 100dvh;
    padding: 18px 0;
  }

  .panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
    max-height: none;
    padding: 24px 18px;
    overflow: visible;
    text-align: center;
  }

  .content {
    display: grid;
    justify-items: center;
    align-items: center;
    width: 100%;
  }

  .brand {
    width: 100%;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .headline {
    margin-top: 18px;
  }

  .lead {
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    line-height: 1.55;
  }

  .supporting-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .mini-points {
    justify-content: center;
  }

  .early-access {
    height: auto;
    text-align: left;
  }

  .early-access-trigger {
    min-height: 60px;
    padding: 0 14px 0 18px;
    font-size: 14px;
  }

  .early-access.is-open .early-access-form {
    max-height: none;
    padding: 14px;
  }

  .early-access-form {
    position: static;
    margin-top: 12px;
    transform-origin: top center;
  }

  .success-message {
    position: static;
    margin-top: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .form-heading {
    align-items: flex-start;
  }

  .form-heading h2 {
    font-size: 20px;
  }

  .early-access-form label > span {
    font-size: 10px;
  }

  .early-access-form input,
  .early-access-form select {
    height: 42px;
    font-size: 13px;
  }

  .early-access-form textarea {
    min-height: 86px;
  }

  .submit-button {
    min-height: 42px;
    font-size: 13px;
  }

  .links {
    justify-content: center;
  }

  .phone-preview {
    display: none;
  }

  .phone-screen {
    min-height: 560px;
  }

  footer {
    padding-bottom: 8px;
  }
}

@media (min-width: 641px) and (max-height: 760px) {
  .supporting-copy {
    display: none;
  }

  .brand {
    width: min(520px, 92%);
  }

  .headline {
    font-size: clamp(19px, 2.1vw, 24px);
  }

  .lead {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.42;
  }

  .mini-points span {
    min-height: 27px;
    font-size: 11px;
  }

  .panel {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.58fr);
    gap: clamp(18px, 2.8vw, 32px);
  }

  .phone-preview {
    height: calc(100dvh - 154px);
  }

  .early-access.is-open .early-access-form {
    max-height: calc(100dvh - 84px);
  }
}

@keyframes successRise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

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

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-screenshot {
    animation: none;
  }
}

@keyframes bulletPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(101, 200, 63, 0.35), 0 0 18px rgba(101, 200, 63, 0.72);
  }

  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 9px rgba(101, 200, 63, 0.08), 0 0 28px rgba(101, 200, 63, 0.9);
  }
}
