/* RT Hub — rthub.app landing site */
/* Brand: cyan #22d3ee · teal #14b8a6 · navy #0b1220→#1e293b · amber #f59e0b */

@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&f[]=jetbrains-mono@400,500&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-900: #0b1220;
  --navy-800: #111a2e;
  --navy-700: #1e293b;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --teal: #14b8a6;
  --mint: #5eead4;
  --amber: #f59e0b;
  --white: #ffffff;
  --border: rgba(148, 163, 184, 0.2);
  --border-strong: rgba(148, 163, 184, 0.4);
  --max: 1120px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
}

a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: "JetBrains Mono", "SF Mono", Menlo, monospace; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.nav-brand img { height: 32px; width: 32px; border-radius: 7px; }
.nav-brand span { font-size: 17px; color: var(--ink-900); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-700); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink-900); text-decoration: none; }
.nav-links .cta {
  background: var(--ink-900); color: var(--white);
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-links .cta:hover { background: var(--navy-700); transform: translateY(-1px); text-decoration: none; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 24px 120px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(34, 211, 238, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(20, 184, 166, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  font-size: 13px; font-weight: 500; color: var(--mint);
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2); }
h1 {
  font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 700; margin-bottom: 20px;
}
h1 .accent { color: var(--cyan); }
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--ink-300);
  margin-bottom: 32px; max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink-900);
  padding: 14px 22px; border-radius: 10px; font-weight: 600;
  transition: transform 0.15s ease;
}
.btn-appstore:hover { transform: translateY(-2px); text-decoration: none; }
.btn-appstore svg { width: 22px; height: 22px; }
.btn-appstore .btn-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-appstore .btn-small { font-size: 11px; font-weight: 500; color: var(--ink-500); }
.btn-appstore .btn-big { font-size: 17px; font-weight: 700; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-100); font-weight: 500; font-size: 15px;
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--cyan); text-decoration: none; }
.hero-meta {
  margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap;
  color: var(--ink-300); font-size: 14px;
}
.hero-meta strong { color: var(--white); font-weight: 600; }

.hero-visual { position: relative; height: 560px; }
.phone {
  position: absolute; width: 260px; height: auto;
  border-radius: 32px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-1 { top: 40px; left: 50px; transform: rotate(-4deg); z-index: 2; }
.phone-2 { top: 20px; right: 20px; transform: rotate(6deg); z-index: 1; }
.phone-1:hover { transform: rotate(-2deg) translateY(-4px); }
.phone-2:hover { transform: rotate(4deg) translateY(-4px); }

@media (max-width: 900px) {
  .hero { padding: 64px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 500px; }
  .phone-1 { left: 20%; }
  .phone-2 { right: 20%; }
}

/* ============ SECTION ============ */
section { padding: 96px 24px; }
section .inner { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--cyan-dark); margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 700; margin-bottom: 20px;
  color: var(--ink-900);
}
.section-sub {
  font-size: 18px; line-height: 1.6; color: var(--ink-700);
  max-width: 620px; margin-bottom: 56px;
}

/* ============ FEATURES ============ */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  padding: 32px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--ink-50);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--cyan); background: var(--white); box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.08); }
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  display: grid; place-items: center; margin-bottom: 20px;
  color: var(--white);
}
.feature .icon svg { width: 24px; height: 24px; stroke-width: 2; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink-900); }
.feature p { font-size: 15px; color: var(--ink-700); line-height: 1.55; }

@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* ============ SHOWCASE (screenshot bands) ============ */
.showcase { background: var(--ink-50); }
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 96px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }
.showcase-visual {
  display: grid; place-items: center;
  padding: 40px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  border-radius: 24px;
  min-height: 480px;
}
.showcase-visual img {
  max-width: 280px; height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.showcase-text h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ink-900); font-weight: 700; }
.showcase-text p { font-size: 17px; line-height: 1.6; color: var(--ink-700); margin-bottom: 20px; }
.showcase-list { list-style: none; }
.showcase-list li {
  display: flex; align-items: start; gap: 10px;
  padding: 8px 0; color: var(--ink-700); font-size: 15px;
}
.showcase-list li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); margin-top: 8px;
}
@media (max-width: 800px) {
  .showcase-row, .showcase-row.reverse .showcase-text, .showcase-row.reverse .showcase-visual {
    grid-template-columns: 1fr; order: initial;
  }
  .showcase-row { gap: 32px; margin-bottom: 64px; }
}

/* ============ FOR RTs SECTION ============ */
.for-rts {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white); text-align: center;
}
.for-rts h2 { color: var(--white); max-width: 720px; margin-left: auto; margin-right: auto; }
.for-rts .section-sub { color: var(--ink-300); margin-left: auto; margin-right: auto; }
.for-rts .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: 800px; margin: 56px auto 0;
}
.for-rts .stat .num { font-size: 40px; font-weight: 700; color: var(--cyan); letter-spacing: -0.02em; }
.for-rts .stat .label { font-size: 14px; color: var(--ink-300); margin-top: 4px; }
@media (max-width: 700px) { .for-rts .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--ink-900); color: var(--white); text-align: center;
  padding: 80px 24px;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: var(--ink-300); font-size: 18px; margin-bottom: 32px; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy-900); color: var(--ink-300);
  padding: 56px 24px 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 28px; width: 28px; border-radius: 6px; }
.footer-brand .name { color: var(--white); font-weight: 700; font-size: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 320px; color: var(--ink-500); }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-300); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--cyan); text-decoration: none; }
.footer-bottom {
  max-width: var(--max); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--ink-500);
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* ============ LEGAL PAGES ============ */
.legal-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white); padding: 64px 24px 56px;
}
.legal-hero .inner { max-width: 780px; margin: 0 auto; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.legal-hero p { color: var(--ink-300); font-size: 16px; }
.legal-body {
  max-width: 780px; margin: 0 auto; padding: 56px 24px 96px;
  color: var(--ink-900);
}
.legal-body h1 { font-size: 32px; margin: 40px 0 16px; letter-spacing: -0.02em; }
.legal-body h1:first-child { margin-top: 0; }
.legal-body h2 { font-size: 24px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-body h3 { font-size: 18px; margin: 24px 0 10px; font-weight: 700; }
.legal-body p { margin-bottom: 14px; font-size: 16px; line-height: 1.7; color: var(--ink-700); }
.legal-body ul, .legal-body ol { margin: 12px 0 18px 24px; }
.legal-body li { margin-bottom: 8px; font-size: 16px; line-height: 1.65; color: var(--ink-700); }
.legal-body strong { color: var(--ink-900); font-weight: 600; }
.legal-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal-body code {
  font-family: "JetBrains Mono", monospace; font-size: 14px;
  background: var(--ink-100); padding: 2px 6px; border-radius: 4px;
}
.legal-body blockquote {
  border-left: 3px solid var(--cyan); padding: 8px 16px;
  background: var(--ink-50); margin: 16px 0; color: var(--ink-700);
}
.legal-body a { color: var(--cyan-dark); font-weight: 500; }
.legal-body table {
  border-collapse: collapse; width: 100%; margin: 20px 0;
  font-size: 15px;
}
.legal-body table th, .legal-body table td {
  padding: 10px 14px; border: 1px solid var(--border); text-align: left;
}
.legal-body table th { background: var(--ink-100); font-weight: 600; color: var(--ink-900); }

/* Table of contents on legal pages */
.toc {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 24px; background: var(--ink-50); margin: 24px 0 40px;
}
.toc h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-500); font-weight: 600; margin-bottom: 12px;
}
.toc ol { margin-left: 20px; }
.toc li { font-size: 14.5px; margin-bottom: 6px; line-height: 1.4; }
.toc a { color: var(--ink-700); }
.toc a:hover { color: var(--cyan-dark); }

/* Coming Soon states — remove after Apple assigns App Store URL */
.cta-disabled {
  cursor: default;
  opacity: 0.85;
  pointer-events: none;
}
.btn-appstore-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}
.btn-appstore-soon:hover {
  transform: none;
}
