:root {
  color-scheme: dark;
  --background: #07100d;
  --panel: #0c1914;
  --panel-raised: #12231b;
  --border: #263d31;
  --text: #eff8f1;
  --muted: #9aafa0;
  --accent: #8cf5b1;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 28%, rgb(74 238 145 / 12%), transparent 26rem),
    radial-gradient(ellipse at 15% 76%, rgb(44 145 87 / 10%), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-lock,
.readiness-mark {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgb(74 238 145 / 35%));
}

.brand-lock {
  width: 34px;
  height: 34px;
}

.topbar-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 13px;
  color: #d3d9cf;
  font-size: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.topbar-action:hover {
  border-color: #687b4d;
  background: rgb(195 245 107 / 5%);
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(42px, 9vw, 112px);
  padding: 76px 0 92px;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow,
.preview-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

.hero h1 {
  max-width: 620px;
  margin: 20px 0 22px;
  font-size: clamp(48px, 6.5vw, 78px);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -4.8px;
}

.hero-description {
  max-width: 560px;
  margin: 0 0 31px;
  color: #bcc4b9;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 12px;
  border: 1px solid #a8c95f;
  border-radius: 8px;
  background: var(--accent);
  padding: 0 16px;
  color: #151912;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #d0fb7f;
}

.hero-note {
  margin: 15px 0 0;
  color: #828c80;
  font-size: 11px;
}

.app-preview {
  position: relative;
  width: 100%;
  min-height: 492px;
  overflow: hidden;
  border: 1px solid #384037;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 40%, rgb(195 245 107 / 8%), transparent 56%),
    linear-gradient(160deg, #1b201b, #121512 78%);
  box-shadow: 0 32px 90px rgb(0 0 0 / 35%);
  padding: 34px 24px 18px;
}

.preview-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 70px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #3a4039;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.preview-header .brand-lock {
  width: 27px;
  height: 27px;
}

.preview-menu {
  margin-left: auto;
  color: var(--muted);
  letter-spacing: 2px;
}

.preview-content {
  position: relative;
  margin-top: 37px;
}

.preview-label {
  margin: 0 0 10px;
  font-size: 9px;
}

.preview-content h2 {
  max-width: 260px;
  margin: 0 0 27px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #414a3d;
  border-radius: 17px;
  background: linear-gradient(145deg, #252c23, #191e19);
  box-shadow: 0 15px 35px rgb(0 0 0 / 25%);
}

.preview-card-back {
  position: absolute;
  top: 125px;
  right: 12px;
  left: 12px;
  height: 190px;
  transform: rotate(5deg);
  border-color: #333a31;
  background: #1b201b;
  padding: 16px;
  color: #879183;
  font-size: 10px;
}

.preview-card-back span:first-child {
  color: var(--accent);
  font-size: 9px;
}

.preview-card-front {
  position: relative;
  min-height: 207px;
  justify-content: space-between;
  margin-top: 4px;
  padding: 17px;
}

.preview-card-index {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.preview-card-mark {
  align-self: flex-end;
  color: var(--accent);
  font-size: 19px;
}

.preview-card-title {
  max-width: 220px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.preview-card-hint {
  color: var(--muted);
  font-size: 9px;
}

.preview-progress {
  display: flex;
  gap: 6px;
  margin-top: 22px;
}

.preview-progress span {
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: #41483f;
}

.preview-progress span:first-child {
  background: var(--accent);
}

.preview-footnote {
  margin: 20px 0 0;
  color: #778173;
  font-size: 9px;
  text-align: center;
}

.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(100 239 156 / 75%);
}

.hero .eyebrow,
.readiness .eyebrow {
  color: var(--accent);
}

.app-preview {
  border-color: #385344;
  background:
    radial-gradient(ellipse at 50% 40%, rgb(74 238 145 / 10%), transparent 56%),
    linear-gradient(160deg, #14291d, #0b1711 78%);
  box-shadow: 0 32px 90px rgb(0 0 0 / 40%), 0 0 40px rgb(74 238 145 / 5%);
}

.preview-card,
.experience-card {
  border-color: #31503c;
  background: linear-gradient(145deg, #193326, #0d1b13);
}

.preview-card-back {
  background: #11251a;
}

.readiness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 30px;
  border: 1px solid #315440;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 85% 50%, rgb(60 214 121 / 14%), transparent 19rem),
    linear-gradient(130deg, #13291d, #0b1711 72%);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 22px 60px rgb(0 0 0 / 22%);
}

.readiness h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -1.5px;
}

.readiness-copy > p:not(.eyebrow) {
  max-width: 530px;
  color: #b6c8ba;
  font-size: 15px;
  line-height: 1.65;
}

.readiness-next {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #315440;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
}

.readiness-next strong {
  color: var(--text);
  letter-spacing: 0;
}

.readiness-ring {
  display: grid;
  width: 180px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 2px dashed #538b68;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 35px rgb(93 226 142 / 12%);
  animation: readiness-breathe 4s ease-in-out infinite;
}

.readiness-ring-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #284634;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 25%, #1a3826, #0b1811 75%);
}

.readiness-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.readiness-ring strong {
  font-size: 19px;
}

.readiness-ring span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .7px;
}

@keyframes readiness-breathe {
  50% { box-shadow: 0 0 48px rgb(93 226 142 / 24%); }
}

.experience {
  border-top: 1px solid var(--border);
  padding: 88px 0 96px;
}

.experience-heading {
  max-width: 650px;
  margin-bottom: 34px;
}

.experience-heading .eyebrow {
  margin-bottom: 13px;
}

.experience-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.7px;
}

.experience-heading > p:last-child {
  margin: 0;
  color: #aab3a7;
  font-size: 15px;
  line-height: 1.7;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.experience-card {
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, #191d19, #141714);
  padding: 21px;
}

.experience-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.experience-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.experience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

footer {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 48px;
    padding: 64px 0 74px;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
  }

  .app-preview {
    width: min(100%, 360px);
  }

  .experience {
    padding: 68px 0 76px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  .topbar {
    min-height: 68px;
  }

  .topbar-action {
    min-height: 37px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero {
    gap: 39px;
    padding: 52px 0 60px;
  }

  .hero h1 {
    margin: 16px 0;
    font-size: clamp(43px, 12vw, 62px);
    letter-spacing: -3.2px;
  }

  .hero-description {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .app-preview {
    min-height: 470px;
    border-radius: 25px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .readiness {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 150px;
  }

  .experience-number {
    margin-bottom: 17px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
