:root {
  --ink: #101827;
  --ink-soft: #344256;
  --muted: #6a7789;
  --paper: #f4f8fd;
  --paper-strong: #ffffff;
  --line: rgba(42, 64, 96, 0.16);
  --night: #07111f;
  --night-soft: #101a2b;
  --blue: #4f8cff;
  --blue-deep: #2457c4;
  --cyan: #51b9c7;
  --gold: #d49857;
  --green: #4c8f78;
  --red: #ee3f32;
  --shadow: 0 24px 80px rgba(16, 30, 51, 0.15);
  --radius: 8px;
  --display: 'Outfit', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eef5ff 0, #f7fbff 720px, #f4f8fd 100%),
    linear-gradient(115deg, rgba(79, 140, 255, 0.08), rgba(238, 63, 50, 0.05) 42%, rgba(212, 152, 87, 0.08));
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.82);
  color: white;
  box-shadow: 0 18px 58px rgba(7, 17, 31, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-icon,
.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-block;
}

.brand-icon {
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(31, 77, 155, 0.18);
}

.brand-mark {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 58%, transparent 0 21%, rgba(17, 24, 39, 0.88) 22% 28%, transparent 29%),
    linear-gradient(145deg, #0f766e, #3e7fe8);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 77, 155, 0.18);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.nav-links a,
.footer-links a,
.nav-menu-trigger {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.nav-menu-trigger:hover,
.nav-menu:focus-within .nav-menu-trigger {
  color: white;
}

.footer-links {
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.nav-menu {
  position: relative;
}

.nav-menu::after {
  position: absolute;
  top: 100%;
  left: -18px;
  width: calc(100% + 36px);
  height: 18px;
  content: "";
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  cursor: pointer;
}

.nav-menu-trigger::after {
  width: 6px;
  height: 6px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(124, 149, 187, 0.25);
  border-radius: 18px;
  background: rgba(12, 24, 42, 0.96);
  box-shadow: 0 18px 54px rgba(7, 17, 31, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition:
    opacity 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 180ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(3px);
  transform-origin: top center;
  backdrop-filter: blur(18px);
}

.nav-submenu a {
  padding: 9px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: white;
  background: rgba(79, 140, 255, 0.16);
}

.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu,
.nav-menu.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  filter: blur(0);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 760;
}

.nav-cta,
.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 32px rgba(31, 77, 155, 0.26);
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.primary-action {
  padding: 0 24px;
}

.secondary-action {
  padding: 0 22px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 140, 255, 0.24);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: 120px clamp(20px, 6vw, 88px) 94px;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.98) 0 48%, rgba(15, 29, 50, 0.95) 48% 100%),
    linear-gradient(145deg, rgba(79, 140, 255, 0.24), rgba(238, 63, 50, 0.06));
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(116deg, transparent 0 46%, rgba(79, 140, 255, 0.12) 46% 56%, transparent 56%),
    linear-gradient(104deg, transparent 0 64%, rgba(255, 255, 255, 0.07) 64% 72%, transparent 72%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 20%;
  content: "";
  background: linear-gradient(0deg, rgba(244, 248, 253, 1), rgba(244, 248, 253, 0));
}

.hero-content {
  width: min(720px, 100%);
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 11vw, 9.25rem);
  font-weight: 760;
  line-height: 0.86;
  color: white;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
}

.hero-status {
  max-width: 560px;
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 3px 0 0 var(--red);
}

.hero-status span,
.hero-status small,
.hero-review-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-status strong {
  color: white;
  font-size: 1.05rem;
}

.hero-status small {
  letter-spacing: 0;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  min-height: min(68vw, 640px);
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-media::before {
  position: absolute;
  inset: 8% 0 6% 12%;
  content: "";
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.24), rgba(238, 63, 50, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  transform: rotate(-5deg);
}

.phone-frame {
  overflow: hidden;
  margin: 0;
  border: 10px solid #0b1220;
  border-radius: 42px;
  background: #0b1220;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-primary {
  position: relative;
  z-index: 2;
  width: min(48vw, 302px);
  aspect-ratio: 414 / 900;
  transform: rotate(3deg);
}

.phone-secondary {
  position: absolute;
  z-index: 1;
  right: min(0vw, 10px);
  bottom: 2%;
  width: min(38vw, 238px);
  aspect-ratio: 414 / 900;
  opacity: 0.92;
  transform: rotate(-8deg);
}

.hero-review-card {
  position: absolute;
  right: 0;
  bottom: 3%;
  z-index: 3;
  width: min(260px, 62%);
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.82);
  color: white;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-review-card strong {
  font-size: 1rem;
}

.hero-review-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hero-strip {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: 24px;
  left: clamp(20px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 690;
  text-align: center;
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
  scroll-margin-top: 96px;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-label {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  text-wrap: pretty;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 740;
  line-height: 0.96;
}

h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2.4vw, 1.72rem);
  line-height: 1.12;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading p:last-child,
.intro-grid > p,
.compact p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.intro {
  padding-top: 44px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.flow {
  padding-top: 24px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}

.flow-steps article {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(236, 246, 255, 0.72)),
    linear-gradient(120deg, rgba(79, 140, 255, 0.08), rgba(212, 152, 87, 0.06));
  box-shadow: var(--shadow);
}

.flow-steps span {
  color: var(--blue-deep);
  font-weight: 850;
}

.flow-steps p {
  margin: 0;
  color: var(--ink-soft);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(320px, 1.16fr);
  gap: clamp(18px, 4vw, 34px);
}

.profile-tabs {
  display: grid;
  gap: 10px;
}

.profile-tab {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.profile-tab:hover,
.profile-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(62, 127, 232, 0.4);
}

.profile-tab.is-active {
  color: white;
  background: linear-gradient(135deg, #1f4d9b, #3e7fe8);
  box-shadow: 0 18px 48px rgba(31, 77, 155, 0.22);
}

.profile-tab span {
  display: block;
  font-weight: 790;
}

.profile-tab small {
  display: block;
  margin-top: 5px;
  color: currentColor;
  opacity: 0.78;
}

.profile-panel {
  min-height: 408px;
  display: grid;
  align-content: space-between;
  gap: 34px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(62, 127, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.84)),
    linear-gradient(120deg, rgba(79, 140, 255, 0.08), rgba(81, 185, 199, 0.08));
  box-shadow: var(--shadow);
}

.profile-kicker {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-weight: 820;
}

.profile-panel-copy p:last-child {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.profile-details div,
.trust-list article,
.goal-list article,
.use-case-list article,
.compare-table,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.profile-details div {
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  font-weight: 760;
}

.missions {
  padding-top: 40px;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.62fr) minmax(420px, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
}

.mission-tabs {
  display: grid;
  align-content: flex-start;
  gap: 10px;
}

.mission-group-label {
  margin: 10px 6px 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-group-label:first-child {
  margin-top: 0;
}

.mission-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mission-tab:hover,
.mission-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(62, 127, 232, 0.36);
  color: var(--blue-deep);
}

.mission-tab.is-active {
  color: white;
  background: #0e1726;
  border-color: #0e1726;
  box-shadow: 0 18px 44px rgba(14, 23, 38, 0.2);
}

.mission-symbol,
.mission-game-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(62, 127, 232, 0.1);
  color: var(--blue-deep);
  font-family: var(--ui);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.mission-symbol svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mission-symbol circle,
.mission-symbol rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mission-tab.is-active .mission-symbol {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.mission-panel {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(300px, 1fr);
  align-items: stretch;
  gap: clamp(18px, 4vw, 34px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(62, 127, 232, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(81, 185, 199, 0.12), rgba(238, 63, 50, 0.04)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 255, 0.82));
  box-shadow: var(--shadow);
}

.mission-copy-block {
  align-self: center;
}

.mission-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 830;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.mission-copy-block > p {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.mission-roster {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(14, 23, 38, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
}

.mission-roster span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mission-roster p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.mission-game {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(14, 23, 38, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(140deg, rgba(238, 63, 50, 0.1), rgba(79, 140, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 247, 255, 0.92));
  box-shadow: 0 24px 54px rgba(31, 66, 120, 0.12);
}

.mission-game-topline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mission-game-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-game-topline strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-weight: 900;
}

.mission-game-stage {
  min-height: 208px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(14, 23, 38, 0.08);
  border-radius: 22px;
  background: #0f172a;
  color: white;
  overflow: hidden;
}

.mission-equation,
.mission-phrase,
.mission-scan-label {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
}

.mission-answer,
.mission-typed {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-weight: 850;
}

.mission-steps,
.mission-shake-count {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.mission-steps b,
.mission-shake-count b {
  font-size: 3rem;
  line-height: 1;
}

.mission-steps small,
.mission-shake-count small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.mission-track {
  width: 180px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f8cff 0%, #4f8cff var(--track-fill, 0%), rgba(255, 255, 255, 0.16) var(--track-fill, 0%));
}

.mission-shake-phone {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 104px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  color: transparent;
  transform: rotate(-8deg);
}

.mission-game-stage[data-progress="1"] .mission-shake-phone,
.mission-game-stage[data-progress="2"] .mission-shake-phone {
  transform: rotate(8deg);
}

.mission-scan-frame {
  position: relative;
  width: 132px;
  height: 132px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
}

.mission-scan-frame::before,
.mission-scan-frame::after,
.mission-scan-frame i {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 999px;
  background: #6ee7b7;
}

.mission-scan-frame::before {
  top: 38px;
}

.mission-scan-frame i {
  top: 64px;
}

.mission-scan-frame::after {
  top: 90px;
}

.mission-memory-grid,
.mission-2048-grid,
.mission-qr-grid {
  display: grid;
  gap: 8px;
}

.mission-memory-grid {
  grid-template-columns: repeat(4, 52px);
}

.mission-memory-grid i {
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mission-memory-grid i.is-lit {
  background: linear-gradient(135deg, #6ee7b7, #4f8cff);
  box-shadow: 0 12px 28px rgba(79, 140, 255, 0.28);
}

.mission-2048-grid {
  grid-template-columns: repeat(4, 46px);
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mission-2048-grid i {
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-style: normal;
  font-weight: 900;
}

.mission-2048-grid i:not(:empty) {
  background: linear-gradient(135deg, #fbbf24, #fb7185);
  color: #111827;
}

.mission-qr-grid {
  grid-template-columns: repeat(5, 20px);
  padding: 12px;
  border: 10px solid white;
  border-radius: 18px;
  background: white;
}

.mission-qr-grid i {
  height: 20px;
  background: #e5e7eb;
}

.mission-qr-grid i.is-dark {
  background: #0f172a;
}

.mission-photo-frame {
  position: relative;
  width: 176px;
  height: 116px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 28%, #f9a8d4 0 9%, transparent 10%),
    linear-gradient(135deg, #475569 0 42%, #38bdf8 43% 60%, #22c55e 61%);
}

.mission-photo-frame i {
  position: absolute;
  inset: auto 0 0;
  height: var(--match, 0%);
  background: linear-gradient(180deg, rgba(110, 231, 183, 0.3), rgba(110, 231, 183, 0.72));
}

.mission-squat-figure {
  position: relative;
  width: 92px;
  height: 116px;
}

.mission-squat-figure::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 34px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #6ee7b7;
}

.mission-squat-figure::after,
.mission-squat-figure i {
  content: "";
  position: absolute;
  border: 5px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
}

.mission-squat-figure::after {
  top: 34px;
  left: 27px;
  width: 38px;
  height: 42px;
}

.mission-squat-figure i {
  left: 12px;
  right: 12px;
  bottom: 16px;
  height: 28px;
  border-top: 0;
}

.mission-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 87, 191, 0.12);
}

.mission-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3e7fe8, #51b9c7);
  transition: width 220ms ease;
}

.mission-game-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mission-demo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.mission-demo-facts div {
  padding: 12px;
  border: 1px solid rgba(14, 23, 38, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.mission-demo-facts dt {
  font-size: 0.7rem;
}

.mission-demo-facts dd {
  font-size: 0.9rem;
}

.mission-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mission-game-button,
.mission-game-reset {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mission-game-button {
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 30px rgba(62, 127, 232, 0.22);
}

.mission-game-button:disabled {
  cursor: default;
  background: var(--green);
}

.mission-game-reset {
  background: rgba(14, 23, 38, 0.08);
  color: var(--ink);
}

.use-cases {
  background:
    linear-gradient(120deg, rgba(79, 140, 255, 0.08), rgba(81, 185, 199, 0.06)),
    linear-gradient(180deg, rgba(248, 251, 255, 0), rgba(235, 244, 255, 0.72));
}

.use-case-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.use-case-list article {
  padding: 24px;
}

.use-case-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.trust {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(235, 244, 255, 0.9)),
    linear-gradient(120deg, rgba(18, 35, 64, 0.04), rgba(81, 185, 199, 0.08));
}

.trust-grid,
.goal-grid,
.compare-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.compact {
  margin-bottom: 0;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list article {
  padding: 24px;
}

.trust-index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-weight: 850;
}

.trust-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.goal {
  background:
    linear-gradient(120deg, rgba(212, 152, 87, 0.08), rgba(79, 140, 255, 0.05)),
    linear-gradient(180deg, rgba(235, 244, 255, 0.9), rgba(248, 251, 255, 0));
}

.goal-list {
  display: grid;
  gap: 12px;
}

.goal-list article {
  padding: 24px;
}

.goal-list p {
  margin: 0;
  color: var(--ink-soft);
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.screen-card {
  margin: 0;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.device-frame {
  position: relative;
  width: min(100%, 248px);
  margin: 0 auto;
  padding: 6px;
  border: 1px solid rgba(9, 17, 31, 0.74);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05) 16%, rgba(0, 0, 0, 0.48) 78%),
    linear-gradient(90deg, #050910, #1b2430 8%, #070b12 50%, #28313f 92%, #060910);
  box-shadow:
    0 22px 54px rgba(9, 19, 35, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 5px rgba(2, 6, 13, 0.96);
  transition:
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.device-frame::before,
.device-frame::after {
  position: absolute;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, #111827, #353f4d, #070b12);
}

.device-frame::before {
  top: 16%;
  left: -4px;
  height: 34px;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 50px 0 #131b27;
}

.device-frame::after {
  top: 26%;
  right: -4px;
  height: 62px;
  border-radius: 0 999px 999px 0;
}

.device-frame img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: #101a2b;
  box-shadow: inset 0 0 0 1px rgba(7, 17, 31, 0.6);
}

.screen-card:hover .device-frame {
  transform: translateY(-4px);
  box-shadow:
    0 30px 68px rgba(9, 19, 35, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 5px rgba(2, 6, 13, 0.96);
}

.screen-card-offset {
  margin-top: 28px;
}

.screen-card figcaption {
  max-width: 248px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.96rem;
  text-align: left;
  width: min(100%, 248px);
}

.screen-card figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 820;
}

.compare {
  background: #0e1726;
  color: white;
}

.compare .section-label,
.compare h2 {
  color: white;
}

.compare-table {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.compare-table div {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.compare-table div:last-child {
  border-bottom: 0;
}

.compare-table span {
  color: rgba(255, 255, 255, 0.64);
}

.compare-table strong {
  font-weight: 760;
}

.launch-plan {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0), rgba(235, 244, 255, 0.74)),
    linear-gradient(115deg, rgba(79, 140, 255, 0.08), rgba(212, 152, 87, 0.08));
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.launch-console {
  display: grid;
  gap: 14px;
}

.launch-status-card,
.launch-checklist,
.launch-action-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(31, 66, 120, 0.1);
}

.launch-status-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(238, 63, 50, 0.08), rgba(79, 140, 255, 0.1)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.86));
}

.launch-status-card img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(31, 77, 155, 0.2);
}

.launch-status-card p,
.launch-action-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.launch-checklist {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
}

.launch-checklist span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 780;
}

.launch-checklist span:last-child {
  border-bottom: 0;
}

.launch-checklist b {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #0e1726;
  color: white;
  font-size: 0.82rem;
}

.launch-action-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 28px;
}

.press {
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.74), rgba(248, 251, 255, 0)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.03), rgba(79, 140, 255, 0.08));
}

.press-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.press-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.press-facts article {
  min-height: 176px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(31, 66, 120, 0.1);
}

.press-facts span {
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 880;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.press-facts p {
  margin: 0;
  color: var(--ink-soft);
}

.press-link-card {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.94), rgba(17, 37, 66, 0.94)) !important;
  color: white;
}

.press-link-card span,
.press-link-card p {
  color: rgba(255, 255, 255, 0.78);
}

.press-link-card .secondary-action {
  width: fit-content;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 790;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(31, 77, 155, 0.08);
}

.final-cta {
  padding-top: 72px;
}

.final-cta-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.final-icon,
.final-mark {
  width: 72px;
  height: 72px;
  display: inline-block;
}

.final-icon {
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(31, 77, 155, 0.18);
}

.final-mark {
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 58%, transparent 0 21%, rgba(17, 24, 39, 0.88) 22% 28%, transparent 29%),
    linear-gradient(145deg, #0f766e, #3e7fe8);
  box-shadow: 0 18px 40px rgba(31, 77, 155, 0.18);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 24px 0 36px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
}

.legal-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-shell {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.legal-shell h1 {
  margin: 36px 0 16px;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.94;
}

.legal-shell h2 {
  margin: 32px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  line-height: 1.02;
}

.legal-shell p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-shell ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.legal-shell li + li {
  margin-top: 8px;
}

.legal-shell a {
  color: var(--ink);
  font-weight: 700;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .hero-strip,
  .section-heading,
  .flow-steps article,
  .profile-layout,
  .mission-layout,
  .use-case-list article,
  .trust-list article,
  .goal-list article,
  .press-facts article,
  .screen-card {
    animation: rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-strip {
    animation-delay: 120ms;
  }

  .screen-card:nth-child(2) {
    animation-delay: 80ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-submenu,
  .device-frame {
    transition: none;
  }

  .screen-card:hover .device-frame {
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 96svh;
    padding-top: 116px;
    padding-bottom: 172px;
  }

  .hero::before {
    background:
      linear-gradient(116deg, transparent 0 48%, rgba(79, 140, 255, 0.14) 48% 60%, transparent 60%),
      linear-gradient(180deg, rgba(7, 17, 31, 0.99) 0%, rgba(15, 29, 50, 0.94) 58%, rgba(15, 29, 50, 0.68));
  }

  .hero-media {
    min-height: 520px;
    order: 2;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 22vw, 8rem);
  }

  .hero-review-card {
    right: 8%;
    bottom: 0;
  }

  .phone-primary {
    width: min(58vw, 288px);
  }

  .phone-secondary {
    right: calc(50% - 262px);
    width: min(42vw, 220px);
  }

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

  .intro-grid,
  .flow-steps,
  .profile-layout,
  .mission-layout,
  .use-case-grid,
  .trust-grid,
  .goal-grid,
  .launch-grid,
  .press-grid,
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .mission-panel,
  .use-case-list,
  .press-facts,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-gallery {
    gap: 30px;
  }

  .launch-action-card {
    grid-template-columns: 1fr;
  }

  .screen-card-offset {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero {
    padding: 104px 20px 188px;
  }

  .hero-media {
    min-height: 420px;
  }

  .phone-primary {
    width: min(70vw, 242px);
  }

  .phone-secondary {
    right: -8px;
    width: min(52vw, 190px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-strip {
    bottom: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }

  .hero-strip span {
    min-height: 48px;
    padding: 8px;
    font-size: 0.82rem;
  }

  .hero-review-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -18px;
  }

  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .mission-tab {
    min-height: 60px;
  }

  .mission-memory-grid {
    grid-template-columns: repeat(4, 42px);
  }

  .mission-memory-grid i {
    height: 42px;
  }

  .mission-2048-grid {
    grid-template-columns: repeat(4, 38px);
  }

  .mission-2048-grid i {
    height: 38px;
  }

  .mission-demo-facts {
    grid-template-columns: 1fr;
  }

  .launch-status-card {
    grid-template-columns: 1fr;
  }

  .press-facts article {
    min-height: auto;
  }

  .device-frame {
    width: min(76vw, 292px);
    padding: 6px;
    border-radius: 42px;
  }

  .device-frame img {
    border-radius: 36px;
  }

  .device-frame::before {
    top: 16%;
    height: 34px;
  }

  .device-frame::after {
    top: 26%;
    height: 60px;
  }

  .screen-card figcaption {
    width: min(76vw, 292px);
  }

  .compare-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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