@font-face {
  font-family: Inter;
  src: url("assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #030b07;
  --panel: #05170d;
  --line: #244835;
  --text: #f3f7f4;
  --green: #80e7ad;
}
body {
  background: #030b07;
}
.container {
  width: min(1260px, calc(100% - 96px));
}
.atmosphere {
  background: #030b07;
}
.atmosphere .star {
  opacity: 0.12;
}
.meteor {
  opacity: 0.12;
}
.header {
  position: relative;
  background: #030b07;
  border-bottom: 0;
  backdrop-filter: none;
}
.nav-wrap {
  max-width: 1440px;
  min-height: 76px;
  padding: 0 5%;
  gap: 24px;
}
.brand img {
  width: 190px;
  height: 64px;
  object-fit: cover;
}
.brand {
  margin-right: auto;
}
.header nav {
  gap: 32px;
}
.header nav a {
  font-size: 13px;
  border-bottom: 0;
  position: relative;
}
.header nav a.active:after {
  position: absolute;
  content: "";
  height: 2px;
  left: 4px;
  right: 4px;
  bottom: 18px;
  background: #7ef0ad;
  box-shadow: 0 0 7px #3ee795;
}
.header nav a.active {
  color: #e1f6e9;
}
.language-control {
  border-left: 1px solid #48604d;
  padding-left: 24px;
}
.language-control select {
  color-scheme: dark;
  border: 1px solid #527260;
  border-radius: 6px;
  background: #0c2116;
  color: #f4fff7;
  font-size: 13px;
  min-height: 32px;
  padding: 5px 7px;
  max-width: 116px;
}
.language-control select option {
  background: #0c2116;
  color: #f4fff7;
}
.language-control select option:checked {
  background: #196140;
  color: #fff;
}
.nav-cta {
  border: 0 !important;
  background: transparent;
  padding: 5px !important;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  min-height: 30px;
}
.nav-signup {
  border-radius: 25px;
  border: 1px solid #c2ead0;
  font-size: 12px;
  padding: 5px 18px;
  min-height: 31px;
  font-weight: 400;
  background: transparent;
}
.nav-signup:hover {
  background: #12351e;
}
.ui-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}
.icon-library {
  display: none;
}
.vault-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: visible;
}
.hero-copy {
  order: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 35px 0 0;
  width: 100%;
}
.hero-eyebrow {
  justify-content: center;
  margin: 0 0 23px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  gap: 22px;
  color: #eff9f2;
}
.hero-eyebrow:before,
.hero-eyebrow:after {
  content: "";
  width: 90px;
  height: 1px;
  background: #70ddb2;
  transform: none;
}
.vault-hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.vault-hero h1 span {
  display: block;
  color: #f3f7f4;
}
.vault-hero .hero-text {
  font-size: clamp(14px, 1.7vw, 20px);
  color: #e0ece3;
  margin: 15px 0 0;
  line-height: 1.5;
}
.vault-hero .hero-visual {
  order: 1;
  width: calc(100% + 96px);
  max-width: none;
  margin: 8px -48px 0;
  position: relative;
  isolation: isolate;
  line-height: 0;
}
.vault-art {
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
  object-fit: contain;
  display: block;
}
.query-shell {
  order: 2;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid #a6ddbb;
  border-radius: 22px;
  background: #08281acc;
  box-shadow:
    inset 0 1px 18px #63ebb52b,
    0 0 24px #18b86a0f;
}
.query-shell form {
  padding: 20px 30px 16px;
}
.network-tabs {
  max-width: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  margin: 0 0 17px;
  gap: 0;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.network-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: none;
  border: 0;
  position: relative;
  border-radius: 11px;
  padding: 10px 8px;
  color: #f0f4ef;
  font-size: 16px;
  min-width: 0;
  white-space: nowrap;
  font-weight: 550;
}
.network-tabs button:not(:last-child):after {
  position: absolute;
  content: "";
  right: 0;
  height: 22px;
  top: calc(50% - 11px);
  width: 1px;
  background: #587362;
}
.network-tabs button.selected {
  background: #0c5b36;
  box-shadow:
    inset 0 0 0 1px #8cecb4,
    inset 0 2px 10px #59e5a75e,
    0 0 9px #1be78622;
  color: #effdf3;
}
.network-tabs button.selected:after {
  display: none;
}
.network-choice {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #b8dbbf;
  position: relative;
  flex-shrink: 0;
}
.selected .network-choice:after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #c8ffdf;
  border-radius: 50%;
}
.network-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.query-row {
  gap: 18px;
}
.address-input {
  background: #586c5d6e;
  border: 1px solid #c9ddcb;
  border-radius: 12px;
  padding-inline: 20px;
}
.address-input input {
  font-size: 16px;
  padding: 15px 0;
  color: #f6fff6;
}
.address-input input::placeholder {
  color: #d4e2d6;
}
.query-shell .button.primary {
  border-radius: 12px;
  background: #0b9953;
  box-shadow:
    inset 0 3px 10px #82fabb66,
    0 0 10px #16d77818;
  border: 1px solid #7af2a7;
  min-width: 245px;
  font-size: 19px;
  padding: 10px 25px;
  min-height: 54px;
}
.query-shell .button.primary:hover {
  background: #11ad60;
  transform: none;
}
.form-helper {
  justify-content: center;
  position: relative;
  align-items: center;
  margin-top: 13px;
  min-height: 18px;
}
.form-helper p {
  font-size: 12px;
  color: #b3ccbe;
  text-align: center;
  line-height: 1.5;
}
.form-helper .text-link {
  position: absolute;
  right: 0;
  font-size: 10px;
  color: #a6c9b4;
}
.query-shell #query-error {
  margin: 0;
  min-height: 0;
  text-align: center;
  color: #ffb6c5;
  font-size: 12px;
}
.query-shell #query-error:not(:empty) {
  padding-top: 12px;
}
.vault-features {
  padding: 45px 0 0;
  margin-top: 42px;
  border-top: 1px solid #407557;
  border-bottom: 0;
}
.vault-features .section-heading {
  justify-content: center;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  gap: 28px;
}
.vault-features h2 {
  font-size: clamp(25px, 3.3vw, 40px);
  font-weight: 690;
  line-height: 1.2;
  color: #f1f8f2;
  letter-spacing: -0.035em;
}
.vault-features .section-heading:before,
.vault-features .section-heading:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #79dda5;
  max-width: 180px;
}
.vault-features #workflow {
  position: absolute;
  top: 0;
}
.feature-grid {
  gap: 35px;
  align-items: start;
}
.feature-card {
  background: none;
  mix-blend-mode: normal;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.feature-card:after {
  display: none;
}
.feature-card:hover {
  transform: none;
}
.feature-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1.52;
  object-fit: contain;
  mix-blend-mode: normal;
  display: block;
  margin-bottom: 11px;
}
.feature-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
}
.feature-heading .step-number {
  font-family: Inter, sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #7addaa;
  font-weight: 520;
  margin: 0;
  letter-spacing: -0.03em;
}
.feature-heading h3 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.4;
  color: #f1f8f2;
}
.feature-heading:hover h3 {
  color: #a0f2bd;
}
.feature-card > p {
  font-size: 15px;
  color: #d1e0d6;
  line-height: 1.7;
  margin: 14px 0 0;
  padding-inline: 6px;
  min-height: 0;
}
.secondary-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 65px;
  border: 1px solid #45765a;
  border-radius: 12px;
  background: #0b2418b8;
  box-shadow: inset 0 1px 8px #9dffbf11;
  min-height: 64px;
}
.secondary-features > button,
.secondary-features > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: none;
  border: 0;
  padding: 17px 20px;
  font-size: 16px;
  color: #edf7ed;
  cursor: pointer;
}
.secondary-features > button {
  position: relative;
}
.secondary-features > button:after {
  content: "";
  position: absolute;
  height: 24px;
  width: 1px;
  right: 0;
  background: #72977c;
}
.secondary-features > a:hover,
.secondary-features > button:hover {
  color: #8af2ac;
  background: #17603a24;
}
.secondary-features .ui-icon {
  width: 25px;
  height: 25px;
}
.more-section {
  border: 1px solid #294831;
  border-radius: 9px;
  margin: 25px 0 0;
  background: #06150d;
}
.more-section > summary {
  padding: 13px 18px;
  cursor: pointer;
  color: #9cbdab;
  list-style: none;
  font-size: 12px;
}
.more-section > summary:after {
  content: "+";
  float: right;
}
.more-section[open] > summary:after {
  content: "−";
}
.more-section > summary::-webkit-details-marker {
  display: none;
}
.more-section .section {
  padding: 28px;
  border: 0;
}
.more-section:not([open]) {
  border: 0;
  background: none;
  display: inline-block;
  margin-top: 18px;
  margin-right: 20px;
}
.more-section:not([open]) > summary {
  padding: 5px 0;
  font-size: 11px;
}
.more-section:not([open]) > summary:after {
  display: none;
}
.compact-footer {
  padding: 25px 0 30px;
  gap: 25px;
  align-items: center;
}
.compact-footer p {
  font-size: 10px;
  color: #708b79;
}
.compact-footer a {
  font-size: 11px;
}
.compact-footer a:last-child {
  margin-left: auto;
}
@media (min-width: 1400px) {
  .vault-hero .hero-visual {
    max-width: 1356px;
  }
  .hero-copy {
    padding-top: 40px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .nav-wrap {
    gap: 18px;
    padding: 0 5%;
    min-height: 70px;
  }
  .brand img {
    width: 173px;
    height: 60px;
  }
  .header nav {
    gap: 24px;
  }
  .header nav a {
    font-size: 12px;
  }
  .language-control {
    padding-left: 18px;
  }
  .nav-cta {
    font-size: 12px;
  }
  .hero-copy {
    padding-top: 24px;
  }
  .vault-hero .hero-text {
    margin-top: 11px;
  }
  .hero-eyebrow {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .query-shell form {
    padding: 18px 26px 13px;
  }
  .network-tabs button {
    font-size: 14px;
    gap: 10px;
  }
  .network-icon {
    width: 28px;
    height: 28px;
  }
  .query-shell .button.primary {
    min-width: 205px;
    font-size: 17px;
    min-height: 47px;
  }
  .address-input input {
    font-size: 14px;
    padding: 12px 0;
  }
  .feature-heading {
    gap: 13px;
  }
  .feature-heading .step-number {
    font-size: 27px;
  }
  .feature-heading h3 {
    font-size: 18px;
  }
  .feature-card > p {
    font-size: 14px;
  }
  .feature-grid {
    gap: 30px;
  }
  .secondary-features {
    margin-top: 54px;
    min-height: 58px;
  }
  .secondary-features > button,
  .secondary-features > a {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .nav-wrap {
    padding: 0 14px;
    gap: 9px;
    min-height: 62px;
  }
  .brand img {
    width: 118px;
    height: 50px;
    object-fit: cover;
  }
  .header nav {
    top: 62px;
    background: #05140b;
    padding: 12px 20px;
  }
  .header nav a {
    font-size: 14px;
  }
  .header nav a.active:after {
    display: none;
  }
  .language-control {
    padding-left: 0;
    border: 0;
    margin-left: auto;
  }
  .language-control select {
    font-size: 11px;
    max-width: 91px;
    min-height: 33px;
  }
  .nav-cta {
    display: none;
  }
  .nav-signup {
    font-size: 11px;
    padding: 5px 11px;
    min-height: 30px;
    white-space: nowrap;
  }
  .menu {
    width: 28px;
    padding: 5px;
  }
  .hero-copy {
    padding: 25px 0 0;
  }
  .hero-eyebrow {
    font-size: 10px;
    gap: 12px;
    letter-spacing: 0.13em;
    margin-bottom: 16px;
  }
  .hero-eyebrow:before,
  .hero-eyebrow:after {
    width: 34px;
  }
  .vault-hero h1 {
    font-size: clamp(28px, 7.6vw, 46px);
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }
  .vault-hero .hero-text {
    font-size: 12px;
    line-height: 1.65;
    max-width: 335px;
    margin: 11px auto 0;
    color: #cbded0;
  }
  .query-shell {
    order: 1;
    margin: 24px 0 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 14px #60f1a72b;
  }
  .query-shell form {
    padding: 12px 11px 11px;
  }
  .network-tabs {
    gap: 2px;
    margin-bottom: 11px;
  }
  .network-tabs button {
    padding: 9px 2px;
    gap: 4px;
    font-size: 10px;
    line-height: 1.1;
    min-height: 38px;
    border-radius: 7px;
  }
  .network-choice {
    display: none;
  }
  .network-icon {
    width: 23px;
    height: 23px;
  }
  .network-tabs button:not(:last-child):after {
    height: 17px;
    top: calc(50% - 8px);
  }
  .query-row {
    gap: 9px;
  }
  .address-input {
    padding: 0 11px;
    border-radius: 8px;
    gap: 8px;
  }
  .address-input .ui-icon {
    width: 17px;
    height: 17px;
  }
  .address-input input {
    font-size: 16px;
    padding: 12px 0;
    min-height: 47px;
  }
  .query-shell .button.primary {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    min-height: 47px;
    padding: 10px 16px;
    border-radius: 8px;
  }
  .form-helper {
    justify-content: space-between;
    gap: 5px;
    margin-top: 9px;
  }
  .form-helper p {
    font-size: 9px;
    max-width: 70%;
    text-align: left;
  }
  .form-helper .text-link {
    position: static;
    font-size: 9px;
    white-space: nowrap;
  }
  .vault-hero .hero-visual {
    order: 2;
    width: calc(100% + 32px);
    margin: 9px -16px 0;
    max-width: none;
  }
  .vault-art {
    width: 100%;
    height: auto;
  }
  .vault-features {
    padding: 29px 0 0;
    margin-top: 5px;
  }
  .vault-features .section-heading {
    margin-bottom: 20px;
    gap: 14px;
    flex-wrap: nowrap;
  }
  .vault-features .section-heading:before,
  .vault-features .section-heading:after {
    max-width: 30px;
  }
  .vault-features h2 {
    font-size: 25px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
  }
  .feature-art {
    grid-row: 1/3;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0;
    width: 115px;
  }
  .feature-heading {
    gap: 10px;
    align-self: end;
  }
  .feature-heading .step-number {
    position: static;
    font-size: 21px;
    margin: 0;
  }
  .feature-heading h3 {
    font-size: 17px;
  }
  .feature-card > p {
    font-size: 12px;
    line-height: 1.7;
    margin: 8px 0 0;
    padding: 0;
    align-self: start;
  }
  .secondary-features {
    margin-top: 33px;
    min-height: 0;
    border-radius: 9px;
  }
  .secondary-features > button,
  .secondary-features > a {
    padding: 14px 9px;
    font-size: 10px;
    gap: 9px;
    line-height: 1.5;
  }
  .secondary-features .ui-icon {
    width: 19px;
    height: 19px;
  }
  .more-section > summary {
    font-size: 11px;
  }
  .more-section .section {
    padding: 20px 15px;
  }
  .compact-footer {
    padding-top: 14px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .compact-footer p {
    font-size: 8px;
  }
  .compact-footer a {
    font-size: 10px;
  }
  .auth-logo {
    object-fit: cover;
    width: 145px;
    height: 57px;
  }
  .form-helper > p {
    max-width: 68%;
  }
}
@media (max-width: 370px) {
  .nav-wrap {
    padding: 0 11px;
    gap: 8px;
  }
  .brand img {
    width: 102px;
    height: 48px;
  }
  .language-control select {
    max-width: 79px;
    font-size: 10px;
  }
  .nav-signup {
    font-size: 10px;
    padding-inline: 9px;
  }
  .menu {
    width: 25px;
  }
  .hero-copy {
    padding-top: 18px;
  }
  .hero-eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .vault-hero h1 {
    font-size: 27px;
  }
  .vault-hero .hero-text {
    font-size: 11px;
    max-width: 270px;
  }
  .query-shell {
    margin-top: 19px;
  }
  .network-tabs button {
    font-size: 9px;
    gap: 3px;
  }
  .network-icon {
    width: 20px;
    height: 20px;
  }
  .feature-card {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
  }
  .feature-art {
    width: 95px;
  }
  .feature-heading h3 {
    font-size: 16px;
  }
  .feature-heading .step-number {
    font-size: 18px;
  }
  .feature-card > p {
    font-size: 11px;
  }
}

/* Fidelity corrections after source/prototype comparison. */
@media (min-width: 761px) {
  .vault-art {
    aspect-ratio: 1.65;
    object-fit: cover;
  }
  .vault-features {
    padding-top: 24px;
  }
  .vault-features .section-heading {
    align-items: center;
  }
  .query-shell form {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .network-tabs {
    margin-bottom: 14px;
  }
  .network-tabs button {
    padding-block: 8px;
    min-height: 40px;
  }
}

@media (min-width: 761px) {
  .vault-hero h1 {
    font-size: clamp(44px, 5.8vw, 74px);
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .hero-copy {
    padding-top: 15px;
  }
  .hero-eyebrow {
    margin-bottom: 19px;
  }
  .vault-features h2 {
    font-size: clamp(28px, 3.6vw, 42px);
  }
  .feature-art {
    height: 165px;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .vault-features .section-heading {
    margin-bottom: 15px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .network-tabs button {
    font-size: 16px;
  }
  .feature-heading h3 {
    font-size: 20px;
  }
  .query-shell .button.primary {
    font-size: 18px;
  }
}

body {
  background: #030b07 url("assets/hero-canopy.webp") center 60px / 100% auto
    no-repeat;
}
.atmosphere {
  background: transparent;
}
@media (max-width: 760px) {
  body {
    background-position: center 55px;
    background-size: auto 230px;
  }
}

/* Slow ambient motion preserves the illustration's composition and readable UI. */
body {
  isolation: isolate;
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 17% 32%, #137c452e, transparent 44%),
    radial-gradient(ellipse at 90% 68%, #6726381c, transparent 35%);
  animation: atmosphere-breathe 13s ease-in-out infinite alternate;
}
.atmosphere .star {
  animation: refined-twinkle var(--duration) var(--delay) infinite ease-in-out;
}
.atmosphere .star:nth-child(4n) {
  width: 2px;
  height: 2px;
}
.atmosphere .star:nth-child(9n) {
  width: 4px;
  height: 4px;
}
.meteor {
  top: var(--start, 8%);
  left: 110%;
  width: clamp(90px, 15vw, 210px);
  height: 1px;
  background: linear-gradient(90deg, #b9ffda, #48d99888 20%, transparent);
  box-shadow: 0 -1px 6px #6bffad22;
  animation: refined-meteor 19s linear infinite;
}
.meteor.m2 {
  --start: 36%;
  animation-delay: -6s;
  animation-duration: 23s;
}
.meteor.m3 {
  --start: 15%;
  animation-delay: -12s;
  animation-duration: 27s;
}
.meteor.m4 {
  --start: 58%;
  animation-delay: -17s;
  animation-duration: 31s;
  background: linear-gradient(90deg, #f4adbb, #be426a66 20%, transparent);
}
.vault-hero .hero-visual {
  animation: vault-float 9s ease-in-out infinite;
}
.vault-art {
  animation: vault-light 7s ease-in-out infinite;
}
.vault-hero .hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% 19% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 46%, #49ffc928, transparent 64%);
  animation: vault-halo 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.vault-sheen {
  position: absolute;
  inset: 7% 7% 12%;
  overflow: hidden;
  border-radius: 38%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.vault-sheen::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -30%;
  width: 16%;
  background: linear-gradient(90deg, transparent, #d0ffe91f, transparent);
  animation: vault-sheen 15s ease-in-out infinite;
}
.vault-orbit {
  position: absolute;
  left: 10%;
  top: 53%;
  width: 80%;
  height: 21%;
  border: 1px solid #80ffca15;
  border-radius: 50%;
  transform: rotate(-11deg);
  pointer-events: none;
  z-index: 2;
}
.vault-orbit i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c1ffe4;
  box-shadow:
    0 0 7px #74ffd9,
    0 0 15px #46eba9;
  offset-path: ellipse(50% 50% at 50% 50%);
  animation: vault-orbit 22s linear infinite;
}
.vault-orbit i:nth-child(2) {
  animation-delay: -8s;
  opacity: 0.65;
  width: 3px;
  height: 3px;
}
.vault-orbit i:nth-child(3) {
  animation-delay: -16s;
  opacity: 0.45;
  width: 2px;
  height: 2px;
}
@keyframes vault-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes vault-light {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}
@keyframes vault-halo {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}
@keyframes vault-sheen {
  0%,
  14% {
    transform: translateX(0) rotate(20deg);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  39%,
  100% {
    transform: translateX(900%) rotate(20deg);
    opacity: 0;
  }
}
@keyframes vault-orbit {
  to {
    offset-distance: 100%;
  }
}
@keyframes refined-twinkle {
  0%,
  100% {
    opacity: 0.08;
    transform: scale(0.65);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.2);
  }
}
@keyframes atmosphere-breathe {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 0.85;
  }
}
@keyframes refined-meteor {
  0% {
    transform: translate3d(0, 0, 0) rotate(-32deg);
    opacity: 0;
  }
  2% {
    opacity: 0.6;
  }
  11% {
    opacity: 0.3;
  }
  15%,
  100% {
    transform: translate3d(-145vw, 70vh, 0) rotate(-32deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vault-sheen,
  .meteor {
    display: none;
  }
  .atmosphere .star {
    opacity: 0.2;
  }
  .vault-hero .hero-visual::before {
    opacity: 0.3;
  }
}

/* Typography glints and independently drifting feature illustrations. */
.hero-copy {
  isolation: isolate;
}
.hero-atmosphere {
  position: absolute;
  inset: -8px -15px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.hero-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #b4ffda;
  box-shadow:
    0 0 6px #63ffb5,
    0 0 13px #38c58d55;
  animation: refined-twinkle var(--duration) var(--delay) ease-in-out infinite;
}
.hero-star.red {
  background: #eda2b0;
  box-shadow: 0 0 7px #e16b8a77;
}
.hero-star:nth-child(5n) {
  width: 3px;
  height: 3px;
}
.hero-meteor {
  position: absolute;
  top: var(--start);
  left: 105%;
  width: clamp(65px, 12vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, #d5ffe6, #72f8b4aa 15%, transparent);
  opacity: 0;
  animation: hero-meteor var(--duration) var(--delay) linear infinite;
}
@keyframes hero-meteor {
  0% {
    transform: translate3d(0, 0, 0) rotate(-18deg);
    opacity: 0;
  }
  3% {
    opacity: 0.75;
  }
  17%,
  100% {
    transform: translate3d(-140vw, 90px, 0) rotate(-18deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-meteor {
    display: none;
  }
  .hero-star {
    opacity: 0.18;
  }
}
.hero-copy {
  animation: copy-reveal 0.9s ease-out both;
}
.hero-copy .hero-text {
  animation: copy-reveal 1s 0.12s ease-out both;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  animation: heading-line-glow 5s ease-in-out infinite;
}
@supports (background-clip: text) {
  .vault-hero h1 span {
    background: linear-gradient(
      110deg,
      #f4fff7 15%,
      #f4fff7 38%,
      #8af2bc 49%,
      #f4fff7 60%,
      #f4fff7 85%
    );
    background-size: 260% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: heading-shimmer 11s ease-in-out infinite;
  }
  .vault-hero h1 span:nth-child(2) {
    animation-delay: -1.2s;
  }
}
.feature-art {
  animation: feature-drift 7s ease-in-out infinite;
  filter: drop-shadow(0 0 9px #31f19b33);
  scale: 1.06;
}
.feature-card:nth-child(2) .feature-art {
  animation-duration: 8.5s;
  animation-delay: -2s;
  scale: 1.12;
}
.feature-card:nth-child(3) .feature-art {
  animation:
    feature-drift 6.5s -3s ease-in-out infinite,
    alert-glimmer 5s ease-in-out infinite;
  scale: 1.38;
}
.secondary-features {
  border: 1px solid transparent;
  background:
    linear-gradient(110deg, #09251b, #06160f) padding-box,
    linear-gradient(110deg, #75efb7, #27744c 38%, #76e9b4 70%, #326f50)
      border-box;
  box-shadow:
    0 0 12px #49edaa2b,
    0 0 28px #18bd7d1c,
    inset 0 0 14px #5affb71a;
}
.secondary-features:hover,
.secondary-features:focus-within {
  box-shadow:
    0 0 14px #49edaa45,
    0 0 30px #18bd7d26,
    inset 0 0 14px #5affb725;
}
@keyframes copy-reveal {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heading-shimmer {
  0%,
  30% {
    background-position: 100% 50%;
  }
  75%,
  100% {
    background-position: 0% 50%;
  }
}
@keyframes heading-line-glow {
  0%,
  100% {
    opacity: 0.5;
    box-shadow: 0 0 2px #79e9b155;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 9px #79e9b177;
  }
}
@keyframes feature-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
  50% {
    transform: translateY(-4px) rotate(0.6deg);
  }
}
@keyframes alert-glimmer {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 4px #fa5f7c33);
  }
  50% {
    filter: brightness(1.12) drop-shadow(0 0 10px #fa5f7c66);
  }
}

/* Emphasize the main entry with an emerald gradient border and wider halo. */
.query-shell {
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, #103a2c, #061a11 55%, #0a2c1e) padding-box,
    linear-gradient(
        125deg,
        #c8ffe2 0%,
        #49e79b 24%,
        #147b51 48%,
        #75fbc2 76%,
        #c3ffe0 100%
      )
      border-box;
  box-shadow:
    0 0 9px #5dffb35c,
    0 0 25px #22d88b33,
    0 0 48px #14b9751c,
    inset 0 0 20px #73ffc414;
}

/* A luminous, rounded CTA with a travelling light confined to its border. */
#query-form .button.primary,
#auth-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #9bffd0;
  border-radius: 999px;
  background: #034d2b;
  box-shadow:
    0 0 5px #adffda99,
    0 0 14px #38ff9570,
    0 0 25px #0bea7b2e;
  text-shadow: 0 1px 6px #a8ffcf33;
}
#query-form .button.primary::before,
#auth-submit::before {
  content: "";
  position: absolute;
  inset: -400% -50%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 235deg,
    #20f89466 265deg,
    #a6ffcf 287deg,
    #fff 296deg,
    #7dffb7 304deg,
    transparent 325deg 360deg
  );
  animation: cta-rim-orbit 4.8s linear infinite;
  pointer-events: none;
}
#query-form .button.primary::after,
#auth-submit::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(180deg, #0b6337, #004225 54%, #075b31);
  box-shadow:
    inset 0 1px 9px #8dffc438,
    inset 0 -2px 8px #00fa7755;
  pointer-events: none;
}
#query-form .cta-label {
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
}
#query-form .button.primary:hover,
#auth-submit:hover {
  box-shadow:
    0 0 7px #caffdfcc,
    0 0 20px #38ff9580,
    0 0 33px #0bea7b38;
}
@keyframes cta-rim-orbit {
  to {
    transform: rotate(360deg);
  }
}

/* Compact account dialog, with comfortable input and touch sizes. */
#auth-dialog {
  width: min(390px, calc(100% - 48px));
  max-width: 390px;
  padding: 22px;
  border-radius: 14px;
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, #103124, #09170f 65%) padding-box,
    linear-gradient(
        135deg,
        #c6ffe0,
        #45e69a 24%,
        #216c49 52%,
        #73f9b9 80%,
        #c8ffe2
      )
      border-box;
  box-shadow:
    0 0 9px #64ffb44d,
    0 0 28px #27dc8a2e,
    0 20px 80px #0009;
}
#auth-submit > * {
  position: relative;
  z-index: 1;
}
#auth-dialog .dialog-top {
  margin-bottom: 12px;
}
#auth-dialog .auth-logo {
  width: 118px;
  height: 46px;
  object-fit: cover;
}
#auth-dialog .round-button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  font-size: 23px;
}
#auth-dialog .eyebrow {
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  margin: 0 0 12px;
}
#auth-title {
  font-size: 23px;
  line-height: 1.35;
  margin: 0;
}
#auth-description {
  font-size: 12px;
  line-height: 1.65;
  margin: 8px 0 0;
}
#auth-dialog .auth-tabs {
  margin: 15px 0 12px;
}
#auth-dialog .auth-tabs button {
  padding: 8px;
  font-size: 14px;
  min-height: 40px;
}
#auth-dialog .auth-label {
  margin: 11px 0 6px;
  font-size: 12px;
}
#auth-form input {
  min-height: 44px;
  padding: 10px 12px;
}
#auth-dialog #password-hint {
  margin: 6px 0 0;
  line-height: 1.5;
}
#auth-dialog .auth-error {
  min-height: 0;
  margin: 9px 0 0;
  line-height: 1.5;
}
#auth-dialog .auth-error:empty {
  display: none;
}
#auth-submit {
  min-height: 44px;
  padding: 10px 16px;
  margin-top: 18px;
  font-size: 15px;
}
@media (max-width: 760px) {
  #auth-dialog {
    width: min(340px, calc(100% - 48px));
    padding: 18px;
  }
  #auth-dialog .dialog-top {
    margin-bottom: 10px;
  }
  #auth-dialog .auth-logo {
    width: 108px;
    height: 43px;
  }
  #auth-dialog .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
    margin-bottom: 11px;
  }
  #auth-title {
    font-size: 21px;
  }
  #auth-dialog #auth-success {
    padding: 12px 0;
  }
}

/* Application WebViews must hand off to a full browser. */
body.browser-gated {
  overflow: hidden;
}
#browser-gate {
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #345747;
  border-radius: 20px;
  background: #09150f;
}
.browser-gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.browser-gate-top img {
  object-fit: cover;
  mix-blend-mode: screen;
}
.browser-gate-top .language-control {
  border: 0;
  padding: 0;
}
.browser-gate-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 25px 0 20px;
  border: 1px solid #4d8263;
  border-radius: 14px;
  color: #9bf3bd;
  background: #123023;
  font-size: 30px;
}
#browser-gate-title {
  font-size: clamp(23px, 4.5vw, 30px);
  line-height: 1.3;
}
#browser-gate-description {
  font-size: 15px;
  color: #b3c8bc;
}
.browser-gate-steps {
  padding-left: 22px;
  margin: 20px 0;
  color: #bfd1c5;
  font-size: 14px;
  line-height: 1.8;
}
.browser-gate-steps li + li {
  margin-top: 9px;
}
#browser-gate-copy {
  background: #edf6f0;
  color: #09150f;
  font-weight: 700;
  border: 1px solid #d5e7dc;
}
#browser-gate-status {
  min-height: 23px;
  color: #bde7cb;
  font-size: 13px;
}
#browser-gate-fallback {
  margin-top: 16px;
  font-size: 13px;
  color: #c6dacd;
}
#browser-gate-url {
  display: block;
  margin-top: 9px;
  width: 100%;
  padding: 12px;
  border: 1px solid #4b6f58;
  border-radius: 8px;
  background: #040e08;
  color: #f1fff4;
}
#browser-gate [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  html:lang(ja) .vault-hero h1,
  html:lang(ko) .vault-hero h1 {
    font-size: clamp(25px, 6.8vw, 40px);
    letter-spacing: -0.035em;
  }
  #browser-gate {
    padding: 22px;
  }
  .browser-gate-top img {
    width: 115px;
    height: 50px;
  }
}
