:root {
  color-scheme: light;
  --brand: #1268e8;
  --brand-dark: #0b4fb8;
  --brand-soft: #eaf3ff;
  --ink: #10203a;
  --muted: #637089;
  --line: #dfe6f0;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 20px 70px rgb(16 32 58 / 10%);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgb(18 104 232 / 32%);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid rgb(223 230 240 / 78%);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  color: #4c5b73;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.site-footer nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--brand);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary,
.button-small {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgb(18 104 232 / 22%);
}

.button-primary:hover,
.button-small:hover {
  background: var(--brand-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #b7c7dc;
  box-shadow: 0 12px 28px rgb(16 32 58 / 8%);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgb(35 161 255 / 15%), transparent 30%),
    radial-gradient(circle at 18% 20%, rgb(18 104 232 / 10%), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 78px;
  padding-block: 84px 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.release-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  margin-top: 22px;
  color: #53627a;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #18a66a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(24 166 106 / 10%);
}

.release-divider {
  width: 1px;
  height: 12px;
  margin-inline: 4px;
  background: #cbd5e3;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 590px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding-right: 20px;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  color: #7b879b;
  font-size: 12px;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

.visual-halo {
  position: absolute;
  width: 530px;
  height: 530px;
  background: linear-gradient(145deg, #d8eaff, #eaf7ff);
  border: 1px solid rgb(18 104 232 / 8%);
  border-radius: 50%;
}

.device-shell {
  position: relative;
  z-index: 2;
  width: 292px;
  padding: 9px;
  background: #0e1a2a;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 36px;
  box-shadow: 0 34px 80px rgb(16 32 58 / 24%);
}

.device-shell img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.visual-note {
  position: absolute;
  z-index: 3;
  min-width: 156px;
  padding: 14px 18px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid rgb(223 230 240 / 86%);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgb(16 32 58 / 12%);
}

.visual-note span,
.visual-note strong {
  display: block;
}

.visual-note span {
  color: var(--muted);
  font-size: 12px;
}

.visual-note strong {
  margin-top: 2px;
  font-size: 15px;
}

.visual-note-top {
  top: 82px;
  right: -6px;
}

.visual-note-bottom {
  bottom: 92px;
  left: -8px;
}

.section {
  padding-block: 116px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.privacy-copy h2,
.download-brand h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-height: 372px;
  padding: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-card-primary {
  background: #eef5ff;
  border-color: #cfe0fb;
}

.feature-index {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  background: #fff;
  border: 1px solid #d7e5f9;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3 {
  margin: 30px 0 12px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card ul {
  display: grid;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #34435a;
  font-size: 14px;
  font-weight: 650;
}

.feature-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--brand);
}

.privacy-section {
  padding-top: 0;
}

.privacy-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 68px;
  padding: 68px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 110%, rgb(62 184 255 / 58%), transparent 33%),
    linear-gradient(135deg, #0a4fae, #1268e8 58%, #147fe9);
  border-radius: var(--radius-lg);
}

.privacy-panel::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 74px solid rgb(255 255 255 / 7%);
  border-radius: 50%;
}

.privacy-copy,
.trust-grid {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  color: #beddff;
}

.privacy-copy > p:last-child {
  max-width: 480px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 76%);
}

.trust-grid {
  display: grid;
  gap: 12px;
}

.trust-grid article {
  display: grid;
  grid-template-columns: 42px 120px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 16px;
}

.trust-grid article > span {
  color: #beddff;
  font-size: 12px;
  font-weight: 800;
}

.trust-grid h3,
.trust-grid p {
  margin: 0;
}

.trust-grid h3 {
  font-size: 16px;
}

.trust-grid p {
  color: rgb(255 255 255 / 70%);
  font-size: 13px;
}

.privacy-document-link {
  display: inline-block;
  margin-left: 4px;
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 46%);
  text-underline-offset: 3px;
}

.download-section {
  background: var(--surface-soft);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 48px 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}

.download-brand img {
  flex: 0 0 auto;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgb(18 104 232 / 20%);
}

.download-brand .eyebrow {
  margin-bottom: 8px;
}

.download-brand h2 {
  font-size: 36px;
}

.download-brand div > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.download-action {
  min-width: 280px;
  text-align: center;
}

.button-wide {
  width: 100%;
}

.download-action p {
  margin: 10px 0 0;
  color: #7b879b;
  font-size: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 92px;
  align-items: start;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.app-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.app-details div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.app-details dt {
  color: #7b879b;
  font-size: 14px;
}

.app-details dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.app-details a {
  color: var(--brand);
}

.site-footer {
  padding-block: 54px;
  color: #96a2b4;
  background: #0d1728;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 34px;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  border-radius: 11px;
}

.footer-inner > p {
  margin: 0;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.legal-body {
  background: #f5f8fc;
}

.legal-header-inner {
  justify-content: space-between;
}

.legal-switcher {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: #f2f6fb;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal-switcher a {
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

.legal-switcher a[aria-current="page"] {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 5px 16px rgb(16 32 58 / 8%);
}

.legal-main {
  padding-block: 54px 96px;
}

.legal-document {
  width: min(860px, calc(100% - 48px));
  padding: 58px 68px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.legal-title-block {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-title-block h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-summary {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 26px 0 0;
}

.legal-meta div {
  display: flex;
  gap: 9px;
}

.legal-meta dt {
  color: #7b879b;
}

.legal-meta dd {
  margin: 0;
  font-weight: 700;
}

.legal-callout {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--brand-soft);
  border: 1px solid #cfe0fb;
  border-radius: 16px;
}

.legal-callout strong {
  color: var(--brand-dark);
}

.legal-callout p {
  margin: 6px 0 0;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 22px;
  margin: 32px 0 42px;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-toc strong {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.legal-toc a,
.legal-document section a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgb(18 104 232 / 28%);
  text-underline-offset: 3px;
}

.legal-document section {
  scroll-margin-top: 100px;
}

.legal-document section + section {
  margin-top: 38px;
}

.legal-document h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.35;
}

.legal-document p,
.legal-document li {
  color: #42516a;
}

.legal-document p {
  margin: 12px 0 0;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 800;
}

.legal-table td {
  color: #42516a;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table th:first-child,
.legal-table td:first-child {
  width: 152px;
  color: var(--ink);
  font-weight: 700;
}

.legal-footer {
  padding-block: 34px;
}

.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-footer-inner p {
  margin: 0;
  font-size: 13px;
}

.legal-footer-inner nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .device-shell {
    width: 260px;
  }

  .visual-halo {
    width: 420px;
    height: 420px;
  }

  .visual-note {
    display: none;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .download-panel {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 540px);
  }

  .header-inner {
    min-height: 68px;
    gap: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .site-nav {
    display: none;
  }

  .button-small {
    margin-left: auto;
    padding-inline: 14px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 62px 74px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(38px, 11.7vw, 50px);
    line-height: 1.12;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .button {
    flex: 1 1 190px;
  }

  .release-line {
    justify-content: center;
  }

  .hero-facts {
    margin-top: 34px;
    text-align: left;
  }

  .hero-facts div {
    padding-right: 12px;
  }

  .hero-facts div + div {
    padding-left: 12px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .visual-halo {
    width: min(440px, 116vw);
    height: min(440px, 116vw);
  }

  .device-shell {
    width: min(286px, 78vw);
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .privacy-copy h2 {
    font-size: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .privacy-section {
    padding-top: 0;
  }

  .privacy-panel {
    width: min(100% - 24px, 540px);
    padding: 42px 26px;
    border-radius: 26px;
  }

  .trust-grid article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .trust-grid article > p {
    grid-column: 2;
  }

  .download-panel {
    display: grid;
    gap: 36px;
    padding: 34px 24px;
    border-radius: 26px;
  }

  .download-brand {
    align-items: flex-start;
    gap: 18px;
  }

  .download-brand img {
    width: 82px;
    height: 82px;
    border-radius: 21px;
  }

  .download-brand h2 {
    font-size: 30px;
  }

  .download-action {
    min-width: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .app-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 16px 22px;
  }

  .copyright {
    grid-column: auto;
  }

  .legal-main {
    padding-block: 18px 56px;
  }

  .legal-document {
    width: min(100% - 24px, 600px);
    padding: 34px 22px 46px;
    border-radius: 22px;
  }

  .legal-summary {
    font-size: 15px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .legal-toc strong {
    grid-column: auto;
  }

  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .header-inner > .button-small {
    min-height: 38px;
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .hero-facts div,
  .hero-facts div + div {
    padding: 0;
    border-left: 0;
  }

  .release-divider {
    display: none;
  }

  .legal-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .legal-switcher {
    width: 100%;
  }

  .legal-switcher a {
    flex: 1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.opportunity-page {
  min-height: 100vh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: var(--surface-soft);
}

.opportunity-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 8px 20px;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
}

.opportunity-topbar h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.opportunity-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 700;
  color: var(--ink);
}

.opportunity-brand img {
  border-radius: var(--radius-sm);
}

.opportunity-main {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 28px 40px;
}

.opportunity-main label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 650;
}

#opportunity-search {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}

#opportunity-search:focus-visible {
  outline: 3px solid rgb(18 104 232 / 22%);
  border-color: var(--brand);
}

.opportunity-status {
  min-height: 28px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.opportunity-list {
  display: grid;
  gap: 16px;
}

.opportunity-card,
.opportunity-detail,
.opportunity-status-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.opportunity-card:hover {
  border-color: var(--brand);
}

.opportunity-card-title,
.opportunity-detail h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.45;
}

.opportunity-card-content {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.opportunity-card-meta,
.opportunity-card-budget,
.opportunity-detail > p {
  margin: 6px 0 0;
  font-size: 14px;
}

.opportunity-card-budget {
  color: var(--brand-dark);
  font-weight: 700;
}

.opportunity-detail-content {
  margin-bottom: 20px !important;
  color: var(--muted);
  white-space: pre-wrap;
}

.opportunity-detail .button {
  margin-top: 22px;
}

.opportunity-auth-status {
  min-height: 24px;
  color: #18895f;
  font-weight: 650;
}

.opportunity-load-more,
.opportunity-retry {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
}

.opportunity-download-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 96%);
  border-top: 1px solid var(--line);
}

.opportunity-download-bar .button {
  width: min(720px, 100%);
  min-height: 48px;
}

@media (max-width: 640px) {
  .opportunity-topbar {
    grid-template-columns: auto 1fr;
  }

  .opportunity-topbar h1 {
    text-align: right;
  }

  .opportunity-brand span {
    display: none;
  }

  .opportunity-main {
    width: calc(100% - 40px);
    padding-top: 20px;
  }

  .opportunity-card,
  .opportunity-detail,
  .opportunity-status-card {
    padding: 16px;
  }
}

body.h5-auth-open,
body.h5-card-open {
  overflow: hidden;
}

.h5-auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(16 32 58 / 52%);
  backdrop-filter: blur(12px);
  animation: h5-auth-backdrop-in 220ms ease-out both;
}

.h5-auth-sheet {
  position: relative;
  width: min(393px, 100%);
  max-height: min(852px, calc(100dvh - 48px));
  overflow: auto;
  padding: 16px 20px calc(28px + env(safe-area-inset-bottom));
  color: #111c32;
  background:
    radial-gradient(circle at 75% 12%, rgb(18 104 232 / 8%), transparent 29%),
    #f4f7fb;
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 32px;
  box-shadow: 0 36px 110px rgb(8 25 50 / 32%);
  animation: h5-auth-sheet-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  scrollbar-width: none;
}

.h5-auth-sheet::-webkit-scrollbar {
  display: none;
}

.h5-auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #61708a;
  background: rgb(255 255 255 / 76%);
  border: 1px solid rgb(209 220 235 / 82%);
  border-radius: 50%;
  font: 400 26px/1 system-ui, sans-serif;
  cursor: pointer;
}

.h5-auth-close:hover {
  color: #111c32;
  background: #fff;
}

.h5-auth-hero {
  min-height: 178px;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.h5-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.h5-auth-brand img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 15px 32px rgb(18 104 232 / 22%);
}

.h5-auth-brand strong,
.h5-auth-brand span {
  display: block;
}

.h5-auth-brand strong {
  font-size: 25px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.h5-auth-brand span {
  margin-top: 3px;
  color: #8b9ab0;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.h5-auth-hero > p {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.h5-auth-status {
  min-height: 22px;
  margin: 0 8px 8px;
  color: #d14b42;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.h5-auth-state {
  padding: 24px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid rgb(220 229 241 / 90%);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgb(36 62 98 / 9%);
}

.h5-auth-state h2 {
  margin: 18px 0 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.h5-auth-state > p {
  margin: 12px 0 0;
  color: #77869d;
  font-size: 14px;
  line-height: 1.65;
}

#h5-auth-one-click {
  min-height: 438px;
  display: flex;
  flex-direction: column;
}

#h5-auth-one-click .h5-auth-primary {
  margin-top: auto;
}

.h5-auth-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  color: #1268e8;
  background: #eaf3ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.h5-auth-primary {
  width: 100%;
  margin-top: 28px;
  border: 0;
  cursor: pointer;
}

.h5-auth-primary:disabled,
.h5-auth-code-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.h5-auth-link-button {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 14px;
  color: #1268e8;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.h5-auth-link-button:hover {
  background: #f2f7ff;
}

.h5-auth-network-tip {
  padding: 12px 14px;
  color: #7a684d !important;
  background: #fff7e8;
  border-radius: 12px;
  font-size: 12px !important;
}

.h5-auth-carrier {
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.h5-auth-carrier-mount {
  flex: 1;
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
}

.h5-auth-form {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.h5-auth-form label {
  margin-top: 8px;
  color: #344259;
  font-size: 13px;
  font-weight: 750;
}

.h5-auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  color: #111c32;
  background: #f8fafd;
  border: 1px solid #d4deeb;
  border-radius: 13px;
  font: inherit;
  font-size: 15px;
}

.h5-auth-form input::placeholder {
  color: #a2aec0;
}

.h5-auth-form input:focus-visible,
.h5-auth-close:focus-visible,
.h5-auth-link-button:focus-visible,
.h5-auth-captcha:focus-visible,
.h5-auth-code-button:focus-visible,
.h5-auth-primary:focus-visible {
  outline: 3px solid rgb(18 104 232 / 24%);
  outline-offset: 2px;
  border-color: #1268e8;
}

.h5-auth-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.h5-auth-captcha-row {
  grid-template-columns: minmax(0, 1fr) 124px;
}

.h5-auth-captcha,
.h5-auth-code-button {
  min-height: 52px;
  padding: 0 10px;
  color: #1268e8;
  background: #edf5ff;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.h5-auth-captcha {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
}

.h5-auth-captcha img {
  width: 68px;
  height: 40px;
  object-fit: contain;
}

.h5-auth-legal {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 18px 10px 0;
  color: #7a879b;
  font-size: 12px;
  line-height: 1.6;
}

.h5-auth-legal input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #1268e8;
}

.h5-auth-legal a {
  margin-inline: 2px;
  color: #1268e8;
  font-weight: 700;
}

.h5-auth-dialog[data-state="carrier"] .h5-auth-legal,
.h5-auth-dialog[data-state="success"] .h5-auth-legal {
  display: none;
}

.h5-auth-success {
  min-height: 340px;
  display: grid;
  place-content: center;
  text-align: center;
}

.h5-auth-success-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: #fff;
  background: #22ad74;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgb(34 173 116 / 24%);
  font-size: 30px;
  font-weight: 800;
}

.h5-auth-success h2 {
  margin-top: 22px;
}

@keyframes h5-auth-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes h5-auth-sheet-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
  .h5-auth-dialog {
    display: block;
    padding: 0;
    background: #f4f7fb;
  }

  .h5-auth-sheet {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    padding-top: max(16px, env(safe-area-inset-top));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .h5-auth-close {
    top: max(20px, env(safe-area-inset-top));
  }
}

@media (max-width: 360px) {
  .h5-auth-sheet {
    padding-inline: 14px;
  }

  .h5-auth-state {
    padding: 20px;
  }

  .h5-auth-inline,
  .h5-auth-captcha-row {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5-auth-dialog,
  .h5-auth-sheet {
    animation: none;
  }
}

.h5-card-dialog {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgb(0 0 0 / 42%);
  backdrop-filter: blur(6px);
  animation: h5-auth-backdrop-in 180ms ease-out both;
}

.h5-card-sheet {
  width: min(390px, 100%);
  max-height: min(620px, calc(100dvh - 48px));
  overflow: auto;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgb(8 25 50 / 28%);
  animation: h5-card-sheet-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
  scrollbar-width: none;
}

.h5-card-sheet::-webkit-scrollbar {
  display: none;
}

.h5-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.h5-card-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.025em;
}

.h5-card-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.h5-card-cancel {
  min-width: 48px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.h5-card-cancel:hover {
  background: var(--brand-soft);
}

.h5-card-cancel:disabled {
  cursor: wait;
  opacity: 0.5;
}

.h5-card-form {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.h5-card-form label {
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.h5-card-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fafd;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
}

.h5-card-form input::placeholder {
  color: #94a3b8;
}

.h5-card-form input:focus-visible,
.h5-card-cancel:focus-visible,
.h5-card-form .button:focus-visible {
  outline: 3px solid rgb(18 104 232 / 24%);
  outline-offset: 2px;
  border-color: var(--brand);
}

.h5-card-status {
  min-height: 20px;
  margin: 6px 0 0;
  color: #d14b42;
  font-size: 12px;
  line-height: 20px;
}

.h5-card-form .button {
  width: 100%;
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.h5-card-form .button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.h5-card-hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.opportunity-submission-success {
  width: min(390px, 100%);
  display: grid;
  gap: 24px;
  margin-inline: auto;
  outline: none;
}

.opportunity-success-card,
.opportunity-download-hero {
  padding: 28px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.opportunity-success-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.025em;
}

.opportunity-success-card p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.opportunity-success-card strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 18px;
  color: #18a957;
  background: #eaf8f0;
  border-radius: 999px;
  font-size: 13px;
}

.opportunity-download-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  background: var(--brand-soft);
  border-color: #dce5f1;
  border-radius: 24px;
}

.opportunity-download-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.opportunity-download-brand img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.opportunity-download-brand h2,
.opportunity-download-brand p,
.opportunity-download-tagline,
.opportunity-success-tip {
  margin: 0;
}

.opportunity-download-brand h2 {
  font-size: 22px;
  line-height: 32px;
}

.opportunity-download-brand p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 20px;
}

.opportunity-download-tagline {
  font-size: 18px;
  font-weight: 800;
  line-height: 26px;
}

.opportunity-download-hero .button {
  width: 100%;
  min-height: 48px;
}

.opportunity-success-tip {
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

@keyframes h5-card-sheet-in {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .h5-card-dialog {
    padding: 0;
  }

  .h5-card-sheet {
    width: 100%;
    max-height: min(620px, 92dvh);
    border-radius: 28px 28px 0 0;
  }

  .opportunity-submission-success {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5-card-dialog,
  .h5-card-sheet {
    animation: none;
  }
}
