:root {
  --bg: #14171c;
  --bg-elevated: #1b2027;
  --panel: #202631;
  --panel-soft: #252d38;
  --text: #edf1f6;
  --muted: #a8b0bc;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #73c7a6;
  --accent-strong: #91e0c2;
  --accent-deep: #16392d;
  --warn: #e3b26c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Aptos, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(115, 199, 166, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(227, 178, 108, 0.14), transparent 25%),
    linear-gradient(180deg, #111419 0%, #151920 52%, #12161b 100%);
}

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

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

.site-shell {
  position: relative;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(17, 20, 25, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong,
.section-head h2,
.hero h1,
.surface-card h3,
.app-card h3,
.page-title h1,
.detail-card h1,
.contact-card h1,
.policy-card h2,
.contact-card h2,
.support-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand small,
.metric-label,
.app-meta,
.supporting-text,
.site-footer p,
.legal-note,
.contact-list a,
.page-copy,
.detail-description,
.detail-meta,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.main-nav,
.footer-links,
.hero-actions,
.app-actions,
.detail-actions,
.detail-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
}

.main-nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.contact-list a:hover {
  color: var(--text);
}

.hero,
.page-hero {
  padding: 5rem 0 2rem;
}

.hero-grid,
.detail-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

.hero h1,
.page-title h1,
.detail-card h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.hero-copy,
.page-copy,
.detail-description {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-panel,
.surface-card,
.app-card,
.detail-card,
.policy-card,
.contact-card {
  background: linear-gradient(180deg, rgba(37, 45, 56, 0.92), rgba(27, 32, 39, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel,
.surface-card,
.policy-card,
.contact-card {
  padding: 1.5rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff8e7;
}

.button,
.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.button {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #102019;
  border-color: transparent;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.section {
  padding: 1.5rem 0 2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.surface-card h3,
.app-card h3,
.policy-card h2,
.contact-card h1,
.contact-card h2 {
  margin: 0;
}

.text-link {
  color: var(--accent-strong);
}

.app-grid,
.info-grid,
.policy-grid {
  display: grid;
  gap: 1.25rem;
}

.app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid,
.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-card {
  padding: 1.4rem;
}

.app-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  background: rgba(115, 199, 166, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(115, 199, 166, 0.18);
}

.badge.coming-soon {
  color: #f2d2a1;
  background: rgba(227, 178, 108, 0.12);
  border-color: rgba(227, 178, 108, 0.2);
}

.app-summary {
  line-height: 1.7;
  color: var(--muted);
}

.app-meta {
  margin: 1rem 0 1.2rem;
  font-size: 0.95rem;
}

.app-meta strong,
.detail-meta strong,
.contact-list strong {
  color: var(--text);
}

.status-pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.status-live {
  background: rgba(115, 199, 166, 0.12);
  color: var(--accent-strong);
}

.status-testing {
  background: rgba(227, 178, 108, 0.12);
  color: #f6d6aa;
}

.detail-layout,
.contact-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.detail-card {
  padding: 2rem;
}

.detail-meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.feature-list,
.policy-card ul,
.contact-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li,
.policy-card li,
.contact-list li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

.detail-links {
  margin-top: 1.5rem;
}

.support-card {
  padding: 1.5rem;
}

.page-title {
  max-width: 760px;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.document-wrap {
  max-width: 920px;
}

.document-card {
  padding: 2rem;
}

.document-card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.document-card h2:not(:first-child) {
  margin-top: 2rem;
}

.document-card p,
.document-card li {
  color: var(--muted);
  line-height: 1.8;
}

.document-card ul {
  padding-left: 1.1rem;
}

.legal-note-card {
  margin-top: 1.25rem;
}

.footer-wrap {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-wrap p {
  margin: 0.35rem 0 0;
}

.empty-state {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid,
  .detail-layout,
  .contact-layout,
  .app-grid,
  .info-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .nav-wrap,
  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .site-header {
    position: static;
    backdrop-filter: blur(10px);
  }

  .nav-wrap,
  .footer-wrap {
    gap: 0.85rem;
    padding: 0.85rem 0;
  }

  .brand {
    align-items: center;
    gap: 0.75rem;
  }

  .brand strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .brand small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .hero,
  .page-hero {
    padding: 2.25rem 0 1.25rem;
  }

  .section {
    padding: 1rem 0 1.35rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .hero h1,
  .page-title h1,
  .detail-card h1,
  .contact-card h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.08;
  }

  .hero-copy,
  .page-copy,
  .detail-description,
  .document-card p,
  .document-card li {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .section-head {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .section-head h2,
  .surface-card h3,
  .app-card h3,
  .policy-card h2,
  .contact-card h2,
  .support-card h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .main-nav {
    width: calc(100% + 0.2rem);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    margin-right: -0.2rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
    white-space: nowrap;
    padding: 0.6rem 0.9rem;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .button,
  .footer-links a {
    width: 100%;
    justify-content: center;
  }

  .footer-links,
  .hero-actions,
  .app-actions,
  .detail-actions,
  .detail-links {
    width: 100%;
  }

  .detail-card,
  .hero-panel,
  .surface-card,
  .policy-card,
  .contact-card,
  .app-card {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .app-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .metric-card {
    padding: 1rem;
  }

  .metric-value {
    font-size: 1.6rem;
  }

  .status-pill,
  .badge {
    font-size: 0.74rem;
  }

  .button {
    min-height: 46px;
    padding: 0.8rem 1rem;
  }

  .document-card {
    padding: 1.25rem 1.1rem;
  }

  .document-card h2:not(:first-child) {
    margin-top: 1.5rem;
  }

  .feature-list,
  .policy-card ul,
  .contact-list,
  .document-card ul {
    padding-left: 1rem;
  }

  .footer-links {
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 1rem), var(--content));
  }

  .hero,
  .page-hero {
    padding-top: 1.8rem;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .section-head h2 {
    font-size: 1.2rem;
  }

  .main-nav a {
    padding: 0.56rem 0.8rem;
    font-size: 0.88rem;
  }
}
