:root {
  --teal-deep: #0b5e63;
  --teal-seed: #0e8388;
  --teal-bright: #16b5a3;
  --ink: #0e1b26;
  --accent: #f2a65a;
  --surface: #e8edf2;
  --surface-card: #ffffff;
  --text-muted: #5a6878;
  --outline: #c5ced8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(14, 27, 38, 0.08);
  --max-width: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #f4f7fa 0%, var(--surface) 40%, #eef3f7 100%);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-bright);
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 250, 0.85);
  border-bottom: 1px solid rgba(197, 206, 216, 0.6);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-seed));
  color: white;
  box-shadow: 0 8px 24px rgba(11, 94, 99, 0.25);
}

.btn-primary:hover {
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--teal-deep);
  border-color: var(--outline);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.hero-card {
  background: var(--surface-card);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(197, 206, 216, 0.5);
}

.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 60ch;
}

.app-card {
  display: grid;
  gap: 1.5rem;
  background: var(--surface-card);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(197, 206, 216, 0.5);
}

@media (min-width: 700px) {
  .app-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(14, 27, 38, 0.12);
}

.app-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.app-card .tagline {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(197, 206, 216, 0.6);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--teal-deep);
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--outline);
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--outline);
}

.compare-table th {
  background: #f7fafc;
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--teal-bright);
  font-weight: 700;
}

.muted {
  color: var(--text-muted);
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

.panel {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.panel h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.store-badge:hover {
  color: white;
  opacity: 0.92;
}

.store-badge.disabled {
  background: #94a3b8;
  pointer-events: none;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--outline);
}

.update-item:first-child {
  padding-top: 0;
}

.update-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.version-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 94, 99, 0.1);
  color: var(--teal-deep);
}

.update-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--outline);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-deep);
}

.code-input {
  width: 100%;
  max-width: 280px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(22, 181, 163, 0.1);
  border: 1px solid rgba(22, 181, 163, 0.25);
  color: var(--ink);
  font-size: 0.92rem;
}

.prose h2 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose > h2:first-of-type {
  margin-top: 0;
}

.prose ul {
  margin: 0.25rem 0 1rem;
  padding-left: 1.2rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}
