:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --heading: #101828;
  --text: #334155;
  --muted: #667085;
  --border: #d8e0ea;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: rgba(15, 118, 110, 0.1);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
  --card-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

html[data-theme="dark"] {
  --bg: #080b12;
  --surface: #111827;
  --surface-soft: #172033;
  --heading: #f8fafc;
  --text: #cbd5e1;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.22);
  --primary: #2dd4bf;
  --primary-dark: #14b8a6;
  --primary-soft: rgba(45, 212, 191, 0.12);
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --card-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(37, 99, 235, 0.08), transparent 30%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 11, 18, 0.88);
}

.site-nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--heading);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.26);
  flex: 0 0 auto;
}

.brand-name {
  color: var(--heading);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 10px;
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.theme-toggle {
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a {
  padding: 9px 11px;
}

.nav-links a:hover {
  background: var(--surface-soft);
  color: var(--heading);
}

.theme-toggle {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

#themeIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  line-height: 1;
}

.hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0));
}

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

.hero-inner {
  min-height: 610px;
  padding: 78px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.support-shell h2 {
  margin: 0;
  color: var(--heading);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover,
.store-btn:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
}

.catalog-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .catalog-panel {
  background: rgba(17, 24, 39, 0.82);
}

.panel-topline,
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.panel-topline strong {
  color: var(--heading);
  font-size: 22px;
}

.hero-app-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-app-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  text-decoration: none;
}

.hero-app-item:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.hero-app-item img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.hero-app-item span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-app-item strong {
  color: var(--heading);
  font-size: 13.5px;
  line-height: 1.2;
}

.hero-app-item small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section {
  padding: 72px 0;
}

.trust-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.metric-grid,
.apps-grid {
  display: grid;
  gap: 18px;
}

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

.metric-card,
.app-card,
.support-shell {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.metric-card {
  padding: 24px;
  border-radius: 14px;
}

.metric-card span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: var(--heading);
  font-size: 18px;
}

.metric-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.54);
}

html[data-theme="dark"] .catalog-section {
  background: rgba(17, 24, 39, 0.38);
}

.section-head {
  margin-bottom: 28px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 28px;
}

.section-head h2,
.support-shell h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-head p,
.support-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.catalog-toolbar {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.catalog-toolbar div {
  display: grid;
  gap: 2px;
}

.catalog-toolbar strong {
  color: var(--heading);
  font-size: 17px;
}

.catalog-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.policy-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--heading);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.text-link:hover {
  text-decoration: underline;
}

.policy-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.app-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 14px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: var(--shadow);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  flex: 0 0 auto;
}

.app-info h3 {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  line-height: 1.24;
}

.app-info span {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.app-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.app-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.store-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.support-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), transparent 42%),
    var(--surface);
}

.support-shell p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-brand {
  color: var(--heading);
  font-size: 18px;
  font-weight: 900;
}

.footer-summary {
  max-width: 380px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer a {
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 850;
}

.policy-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.policy-panel {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.policy-panel h1 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
}

.policy-panel h2 {
  margin: 28px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--heading);
  font-size: 20px;
  line-height: 1.25;
}

.policy-panel p {
  margin: 0 0 14px;
  color: var(--text);
}

.policy-panel ul {
  margin: 0 0 14px 20px;
  padding: 0;
  color: var(--text);
}

.policy-panel li {
  margin-bottom: 7px;
}

.policy-panel .meta {
  margin-bottom: 22px;
  color: var(--muted);
}

.policy-panel a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.policy-panel a:hover {
  text-decoration: underline;
}
@media (max-width: 940px) {
  .hero-inner,
  .split-head,
  .support-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 58px;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .policy-panel {
    padding: 24px 18px;
  }
  .site-nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-links {
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-app-list,
  .metric-grid,
  .apps-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 54px 0;
  }

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

@media (max-width: 460px) {
  .hero-inner,
  .section,
  .site-nav,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-name {
    max-width: 230px;
  }

  .catalog-panel,
  .support-shell {
    padding: 18px;
  }
}
/* Responsive hardening */
img,
svg,
video {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.brand-name,
.hero h1,
.section-head h2,
.support-shell h2,
.app-info h3,
.footer-bottom,
.policy-panel {
  overflow-wrap: anywhere;
}

.site-nav,
.nav-actions,
.nav-links,
.app-header,
.catalog-toolbar,
.footer-bottom {
  min-width: 0;
}

.nav-links {
  max-width: 100%;
}

.store-btn,
.policy-link,
.btn {
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .hero-inner,
  .section,
  .site-nav,
  .footer-inner,
  .policy-page {
    width: min(100% - 32px, 1180px);
  }

  .hero-inner {
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    padding: 50px 0 56px;
  }

  .catalog-panel {
    max-width: 620px;
  }

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

@media (max-width: 560px) {
  .site-nav,
  .hero-inner,
  .section,
  .footer-inner,
  .policy-page {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 100%;
  }

  .brand-name {
    max-width: none;
    white-space: normal;
    line-height: 1.2;
  }

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

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    white-space: normal;
  }

  .nav-links a,
  .theme-toggle {
    justify-content: center;
    text-align: center;
  }

  .theme-toggle {
    width: 100%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-app-list {
    grid-template-columns: 1fr;
  }

  .app-header {
    align-items: flex-start;
  }

  .app-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .app-card {
    min-height: auto;
  }

  .support-shell,
  .policy-panel {
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .site-nav,
  .hero-inner,
  .section,
  .footer-inner,
  .policy-page {
    width: min(100% - 18px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .catalog-panel,
  .support-shell,
  .policy-panel,
  .app-card,
  .metric-card {
    padding: 16px;
  }

  .footer-bottom a {
    max-width: 100%;
  }
}