:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --text-muted: #ccc;
  --text-soft: #c2c6d8;
  --gradient-end: #6993f5;
  --header-h: 88px;
  --footer-h: 96px;
  --container: min(1280px, 92vw);
  --radius-pill: 20px;
  --radius-card: 24px;
  --btn-gradient: linear-gradient(
    33deg,
    #0a73fd 15.66%,
    #72bcff 38.21%,
    #b2c7fe 60.44%,
    #ffddb7 83.64%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
}

.site-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
}

.page-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 300;
  padding: 0.5rem 1rem;
  background: #0a73fd;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.65rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 32px;
  height: 2px;
  margin-left: -16px;
  background: var(--white);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.header-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--white);
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-header-login:hover {
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  box-shadow:
    0 -6px 0 var(--white),
    0 6px 0 var(--white);
}

@media (max-width: 960px) {
  .header-inner {
    position: relative;
    grid-template-columns: 1fr auto;
    width: 100%;
    padding-inline: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    z-index: 260;
    position: relative;
    right: auto;
  }

  .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(17.5rem, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1.25rem) 1.5rem 1.5rem;
    gap: 0.35rem;
    background: rgba(6, 10, 20, 0.96);
    backdrop-filter: blur(18px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    z-index: 250;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.32s;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav .nav-link {
    padding: 0.85rem 0;
    font-size: 1.125rem;
    text-align: left;
  }

  .site-nav .nav-link.is-active::after {
    left: 0;
    margin-left: 0;
  }

  .header-actions {
    display: none;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-mobile-actions .header-link {
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .nav-mobile-actions .btn-header-login {
    width: 100%;
  }
}

/* 移动端侧栏遮罩（须低于 .site-header 的 200，否则挡住侧栏内链接点击） */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .nav-backdrop {
    transition: none;
  }
}

.nav-mobile-actions {
  display: none;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 40px;
  }
}

/* —— Full-screen sections（单页一屏，无滚动） —— */
.screen {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.screen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.screen-bg-dim {
  opacity: 0.5;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10, 115, 253, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.screen-overlay-dark {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* APP 下载页：背景用 CSS 铺层（移动端比 <img> 绝对定位更稳定） */
.screen-app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000 url("assets/app-bg.jpg") center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

/* APP 下载页：设计稿仅背景图 50% 透明度，不加深色遮罩 */
.screen-app .screen-overlay {
  background: none;
}

.screen-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  text-align: center;
}

.screen-content-wide {
  max-width: 1280px;
}

/* —— Typography —— */
.title-gradient {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--white) 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-gradient span {
  display: block;
}

.title-gradient-sm {
  font-size: clamp(1.75rem, 4.5vw, 4.5rem);
  margin-bottom: 1rem;
}

.title-gradient-left {
  text-align: left;
  font-size: clamp(1.75rem, 4vw, 4.5rem);
}

.section-desc {
  margin: 0 auto 2.5rem;
  max-width: 52rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.section-desc-left {
  margin-left: 0;
  margin-right: 0;
  max-width: 32rem;
  text-align: left;
}

/* —— Hero —— */
.screen-hero{
  background: url("assets/hero-bg.jpg") center / cover no-repeat;");
}

.screen-hero .screen-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.55rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.125rem;
  color: var(--white);
}

.hero-desc {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 64px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--black);
  box-shadow:
    inset 0 0 15px rgba(222, 254, 255, 0.8),
    inset 0 0 30px #bdd4ff,
    0 8px 32px rgba(10, 115, 253, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 15px rgba(222, 254, 255, 0.8),
    inset 0 0 30px #bdd4ff,
    0 12px 40px rgba(10, 115, 253, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-download {
  min-width: 328px;
}

/* 移动端按钮：高 48px，圆角 16px（须写在 .btn 基础样式之后才会生效） */
@media (max-width: 960px) {
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-download,
  .apply-form .btn-primary {
    height: 48px;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: 16px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .btn-header-login,
  .nav-mobile-actions .btn-header-login {
    height: 48px;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 16px;
    font-size: 1rem;
    box-sizing: border-box;
  }
}

/* —— Feature cards —— */
.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.25s ease;
}

.feature-card:first-child {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.feature-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #e6e6e6;
}

@media (max-height: 820px) {
  .page-about .title-gradient-sm {
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    margin-bottom: 0.5rem;
  }

  .page-about .section-desc {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .page-about .feature-grid {
    gap: 0.75rem;
  }

  .page-about .feature-card {
    height: 160px;
  }

  .page-product .hero-badge {
    margin-bottom: 1rem;
  }

  .page-product .hero-desc {
    margin-bottom: 1.25rem;
  }

  .app-phones {
    min-height: 380px;
    transform: scale(0.78);
  }
}

@media (max-width: 1024px) {
  .page-about .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 0.65rem;
  }

  .page-about .feature-card {
    height: clamp(120px, 22vh, 180px);
  }

  .page-about .feature-card h3 {
    font-size: 0.875rem;
  }

  .page-about .feature-card p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .page-about .feature-card-body {
    padding: 0.75rem 0.65rem 0.85rem;
  }
}

/* —— App download —— */
.app-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.app-copy {
  max-width: 520px;
}

.download-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

/* 弹层视觉样式与 Figma 一致，仅增加悬停时的显隐与定位 */
.download-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.75rem;
}

/* Figma 7:107 Frame 13 — 400×160 */
.download-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  z-index: 60;
  box-sizing: border-box;
  min-width: 400px;
  height: 160px;
  padding: 16px;
  display: grid;
  grid-template-columns: 128px 1fr;
  column-gap: 16px;
  border-radius: 16px;
  background: #242832;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.download-dropdown:hover .download-panel,
.download-dropdown:focus-within .download-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.download-qr {
  width: 128px;
  height: 128px;
  object-fit: cover;
  flex-shrink: 0;
}

.download-panel-text {
  display: flex;
  flex-direction: column;
  min-height: 128px;
}

.download-panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--white);
}

.download-panel-sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: #ccc;
}

.download-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.download-link img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  flex-shrink: 0;
}

.download-link:hover {
  opacity: 0.85;
}

.app-phones {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-carousel {
  position: relative;
  width: min(100%, 680px);
  height: 100%;
  min-height: inherit;
  margin-inline: auto;
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: auto;
  border-radius: var(--radius-card);
  border: 4px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  transform-origin: center center;
  transition:
    transform 0.9s cubic-bezier(0.45, 0, 0.2, 1),
    opacity 0.9s ease,
    filter 0.9s ease,
    box-shadow 0.9s ease;
}

.phone.is-rear {
  z-index: 0 !important;
}

.phone.is-front {
  z-index: 4 !important;
}

.phone[data-pos="left"] {
  transform: translate(calc(-50% - 138px), -50%) scale(0.9);
  z-index: 2;
  opacity: 0.72;
  filter: brightness(0.82);
  box-shadow: none;
}

.phone[data-pos="center"] {
  transform: translate(-50%, -50%) scale(1.09);
  z-index: 3;
  opacity: 1;
  filter: none;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
}

.phone[data-pos="right"] {
  transform: translate(calc(-50% + 138px), -50%) scale(0.9);
  z-index: 0;
  opacity: 0.72;
  filter: brightness(0.82);
  box-shadow: none;
}

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

@media (max-width: 1100px) {
  .page-download .screen {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 1rem);
    min-height: calc(100dvh - var(--header-h) - var(--footer-h));
  }

  .page-download .screen-app::before {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: var(--footer-h);
  }

  .page-download .screen-content.app-layout {
    padding-top: 0.25rem;
  }

  .app-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-copy {
    max-width: none;
    margin-inline: auto;
  }

  .title-gradient-left,
  .section-desc-left {
    text-align: center;
    margin-inline: auto;
  }

  .download-dropdown {
    display: block;
    margin-inline: auto;
    width: fit-content;
  }

  .download-panel {
    left: 50%;
    transform: translateX(-50%);
  }

  .btn-download {
    margin-inline: auto;
    display: flex;
  }

  .app-phones {
    min-height: 420px;
    transform: scale(0.85);
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .page-download .screen {
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .page-download .app-copy {
    padding-top: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-primary,
  .btn-outline,
  .btn-download,
  .apply-form .btn-primary {
    min-width: 0;
    width: 100%;
  }

  .app-phones {
    transform: scale(0.65);
    min-height: 340px;
  }

  .download-panel {
    width: min(400px, 92vw);
    height: auto;
    grid-template-columns: 1fr;
    row-gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .download-panel-text {
    min-height: 0;
    align-items: center;
    width: 100%;
  }

  .download-links {
    margin-top: 0.75rem;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-panel {
    transition: none;
  }

  .download-dropdown:hover .download-panel,
  .download-dropdown:focus-within .download-panel {
    transition: none;
  }
}

/* —— Footer（吸底固定） —— */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.site-footer-sep {
  color: rgba(255, 255, 255, 0.28);
}

.site-footer a {
  color: var(--gradient-end);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* —— Sub pages (商家注册) —— */
body.page-sub {
  background: var(--black);
  height: auto;
  min-height: 100%;
  overflow: auto;
}

html:has(body.page-sub) {
  height: auto;
  overflow: auto;
}

body.page-sub .site-header {
  position: sticky;
}

.page-sub-main {
  width: var(--container);
  max-width: 580px;
  margin-inline: auto;
  padding: 3rem 1.5rem calc(4rem + var(--footer-h));
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.page-sub .intro h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  background: linear-gradient(90deg, var(--white), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-sub .section-eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #72bcff;
}

.page-sub .lede {
  margin: 0;
  color: var(--text-soft);
}

.page-sub .card {
  margin-top: 1.5rem;
}

.apply-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

.apply-form .field {
  margin-bottom: 1.25rem;
}

.req {
  color: #fb7185;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  font: inherit;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: rgba(10, 115, 253, 0.6);
  box-shadow: 0 0 0 3px rgba(10, 115, 253, 0.25);
}

.apply-form textarea {
  resize: vertical;
  min-height: 100px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
}

.check a {
  color: #72bcff;
}

.apply-form .btn-primary {
  width: 100%;
  margin-top: 0.25rem;
}

.form-hint {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-hint.is-error {
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.3);
}

.page-sub .back-link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
}

.page-sub .back-link:hover {
  color: var(--white);
}

.page-sub .header-inner {
  grid-template-columns: auto 1fr auto;
}

.page-sub .site-nav,
.page-sub .nav-toggle {
  display: none;
}
