@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #526072;
  --line: rgba(148, 163, 184, 0.22);
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --green: #059669;
  --teal: #0f766e;
  --amber: #d97706;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
}

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

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

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.topbar-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
  object-fit: cover;
}

.brand small {
  display: block;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.link-inline:hover {
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  background: rgba(59, 130, 246, 0.25);
}

.hero::after {
  bottom: -110px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: rgba(139, 92, 246, 0.16);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(147, 197, 253, 0.6);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 22px 0 14px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--indigo), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.cta-row,
.footer-links,
.legal-links,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 22px;
  color: #64748b;
  font-size: 14px;
}

.stats-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.star {
  color: #f59e0b;
}

.surface-card,
.feature-card,
.legal-card,
.download-card,
.pricing-card,
.support-card,
.side-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.hero-panel .panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-panel .panel-head img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
}

.hero-panel .panel-copy h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.hero-panel .panel-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding: 34px 0 24px;
}

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

.section-head h2,
.legal-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-head p,
.legal-hero p,
.support-summary {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-grid,
.download-grid,
.pricing-grid,
.support-grid,
.summary-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.download-card,
.pricing-card,
.support-card,
.step-card {
  padding: 28px;
}

.feature-card h3,
.download-card h3,
.pricing-card h3,
.support-card h3,
.step-card h3,
.legal-card h3,
.side-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.feature-card p,
.download-card p,
.pricing-card p,
.support-card p,
.step-card p,
.legal-card p,
.side-card p,
.list,
.legal-list li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.icon-dot {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.violet {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.amber {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.green {
  background: linear-gradient(135deg, #10b981, #22c55e);
}

.rose {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}

.sky {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

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

.download-card ul,
.pricing-card ul,
.legal-list,
.checklist {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.download-card li,
.pricing-card li,
.legal-list li,
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
}

.check {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 800;
}

.price {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price small {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.95));
  border-color: rgba(59, 130, 246, 0.28);
  transform: translateY(-8px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  color: #64748b;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-number {
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #dbe4f0;
}

.support-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  align-items: start;
}

.support-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-block {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.support-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 219, 254, 0.9);
  color: var(--blue);
  font-weight: 800;
  flex: 0 0 auto;
}

.qr-frame {
  max-width: 240px;
  margin: 18px auto 0;
  padding: 12px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.qr-frame img {
  border-radius: 22px;
}

.cta-banner {
  margin: 40px 0 30px;
  padding: 34px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5 52%, #7c3aed);
  box-shadow: 0 28px 60px rgba(79, 70, 229, 0.25);
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.cta-banner p {
  margin: 14px 0 0;
  color: rgba(224, 231, 255, 0.92);
  line-height: 1.8;
}

.footer {
  padding: 28px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
}

.footer-links a,
.legal-links a {
  color: #64748b;
}

.legal-page {
  padding: 28px 0 44px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin-top: 26px;
  align-items: start;
}

.legal-hero,
.legal-card,
.side-card {
  padding: 30px;
}

.legal-hero {
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow-blue {
  color: var(--blue);
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.eyebrow-amber {
  color: var(--amber);
  background: rgba(255, 247, 237, 0.95);
  border: 1px solid rgba(253, 186, 116, 0.7);
}

.summary-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-tile {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.summary-tile h3 {
  margin: 14px 0 8px;
}

.legal-card + .legal-card {
  margin-top: 16px;
}

.legal-card h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.legal-card p {
  margin: 16px 0 0;
}

.legal-card p:first-of-type,
.support-card p:first-of-type,
.download-card p:first-of-type {
  margin-top: 10px;
}

.side-card {
  position: sticky;
  top: 96px;
}

.side-card nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.side-card nav a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.side-card nav a:hover {
  color: var(--text);
}

.notice-banner {
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
}

.notice-banner.terms {
  background: linear-gradient(135deg, var(--teal), var(--green));
}

.notice-banner h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.notice-banner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.support-page .hero {
  padding-bottom: 46px;
}

.readme-callout {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(147, 197, 253, 0.5);
  color: #1e3a8a;
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .download-grid,
  .pricing-grid,
  .step-grid,
  .support-grid,
  .support-right,
  .summary-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .nav-links,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 62px;
  }

  .feature-card,
  .download-card,
  .pricing-card,
  .support-card,
  .step-card,
  .legal-card,
  .legal-hero,
  .side-card {
    padding: 22px;
  }

  .summary-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .support-right {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
