/* Radial's site. No scripts, no web fonts, no third-party requests. */
:root {
  --bg: #15112c;
  --bg-raised: #1e1940;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f1ff;
  --muted: #b4aed4;
  --accent: #9c8cff;
  --radius: 20px;
  --page: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }
p { margin: 0; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-header nav { display: flex; gap: 22px; font-size: 0.95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: #fff; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 88px; }
.hero .lede { font-size: 1.25rem; color: var(--muted); margin-top: 20px; max-width: 30em; }
.hero .promise { margin-top: 14px; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.button {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: #15112c; font-weight: 600; text-decoration: none;
}
.button:hover { background: #fff; color: #15112c; }
.note { color: var(--muted); font-size: 0.92rem; }

/* Phone illustration */
.phone {
  position: relative; aspect-ratio: 9 / 19.5; width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 36px; border: 6px solid #0b0919; overflow: hidden;
  background: var(--bg-raised) center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
}
/* The demo plays over a still of the open dial, which is what shows when motion is reduced. */
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .phone.loop video { display: none; } }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); margin-top: 14px; max-width: 38em; font-size: 1.08rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding: 0; list-style: none; counter-reset: step; }
.steps li, .card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 50%; background: rgba(156, 140, 255, 0.16); color: var(--accent); font-weight: 600;
}
.steps p, .card p, .card li { color: var(--muted); margin-top: 8px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }

.walkthrough { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.themes .phone { border-radius: 22px; border-width: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--line); }
.themes figure { margin: 0; }
.themes figcaption { text-align: center; margin-top: 12px; font-size: 0.95rem; }
.themes figcaption span { display: block; color: var(--muted); font-size: 0.82rem; }

/* Free and Pro */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.tiers ul { margin: 14px 0 0; padding-left: 1.1em; }
.tiers li { margin-top: 6px; }
.tiers .pro { border-color: rgba(156, 140, 255, 0.5); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(156, 140, 255, 0.16); color: var(--accent); margin-bottom: 12px; }

/* Privacy summary and call to action */
.private { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cta { text-align: center; }
.cta .section-intro { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Long-form pages (privacy policy) */
.prose { max-width: 720px; padding-top: 32px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 44px; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 14px; color: #d9d5ee; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-top: 8px; }
.prose strong { color: var(--text); }
.prose .updated { color: var(--muted); font-size: 0.95rem; }
.prose .summary { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 420px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 64px; gap: 40px; }
  .walkthrough { grid-template-columns: 1fr; gap: 40px; }
  .steps, .private { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .features, .tiers { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .site-header nav a.optional { display: none; }
  section { padding: 56px 0; }
}
