/* Rad Edits' pages: the main site's tokens, bar and footer, plus the app's magenta. */
@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.fontshare.com/wf/NHPGVFYUXYXE33DZ75OIT4JFGHITX5PE/PSUTMASCDJTVPERDYJZPN23BVUFUCQIF/J64QX5IPOHK56I2KYUNBQ5M2XWZEYKYX.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/NHPGVFYUXYXE33DZ75OIT4JFGHITX5PE/PSUTMASCDJTVPERDYJZPN23BVUFUCQIF/J64QX5IPOHK56I2KYUNBQ5M2XWZEYKYX.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============ Tokens (same as beachsidedreams.net) ============ */
:root {
  color-scheme: light;
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-2: #f2f2f6;
  --text: #0b0b0f;
  --text-2: #5f5f6b;
  --text-3: #9a9aa4;
  --sep: rgba(60, 60, 67, 0.14);
  --accent: #c2187a;
  --accent-soft: rgba(194, 24, 122, 0.1);
  --bar-bg: rgba(249, 249, 251, 0.8);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.045);
  --magenta: linear-gradient(135deg, #ff3ea5 0%, #a64dff 100%);
  --midnight: #0a0615;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --w: 880px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --text: #f5f5f7;
    --text-2: #a1a1aa;
    --text-3: #6e6e78;
    --sep: rgba(84, 84, 88, 0.5);
    --accent: #ff6ec4;
    --accent-soft: rgba(255, 110, 196, 0.16);
    --bar-bg: rgba(18, 18, 20, 0.78);
    --shadow-1: 0 0 0 0.5px rgba(255, 255, 255, 0.06);
  }
}

/* ============ Base ============ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; overflow-x: hidden; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:where(a, button, summary):focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.grad-text { background: linear-gradient(135deg, #ff6b35, #ff9a3c 40%, #ffcf44 60%, #ff5e7e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ico { width: 18px; height: 18px; flex: none; }
.reveal { animation: rise 0.6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============ Top bar ============ */
.bar { position: sticky; top: 0; z-index: 20; height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; background: var(--bar-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid var(--sep); }
.bar-inner { max-width: var(--w); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 4px; }
.brand { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-right: auto; white-space: nowrap; }
.bar nav { display: flex; gap: 2px; }
.bar nav a { height: 34px; padding: 0 12px; white-space: nowrap; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* ============ Layout ============ */
main { max-width: calc(var(--w) + 32px); margin: 0 auto; padding: 16px 16px 40px; }
section { scroll-margin-top: 80px; }
.sec-head { margin: 48px 2px 16px; }
.sec-head h2 { font-size: 26px; letter-spacing: -0.025em; }
.sec-head p { margin-top: 6px; color: var(--text-2); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; border-radius: 26px; padding: 28px 22px 30px; color: #fff; isolation: isolate;
  background: radial-gradient(560px 380px at 0% 0%, rgba(255, 62, 165, 0.5), transparent 65%), radial-gradient(520px 360px at 100% 110%, rgba(166, 77, 255, 0.5), transparent 60%), var(--midnight); }
.hero .icon { width: 84px; height: 84px; border-radius: 19px; display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(255, 255, 255, 0.15); }
.hero h1 { font: 900 44px/1 'Satoshi', var(--font); letter-spacing: -0.01em; margin: 18px 0 12px; }
.hero p { max-width: 40ch; font-size: 17px; line-height: 1.5; color: rgba(255, 240, 248, 0.85); }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3ea5; box-shadow: 0 0 0 4px rgba(255, 62, 165, 0.25); }

/* ============ Features ============ */
.features { display: grid; gap: 12px; }
.feature { background: var(--surface); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-1); }
.feature h3 { font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 4px; }
.feature p { color: var(--text-2); font-size: 15px; }

/* ============ FAQ ============ */
.faq { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-1); overflow: hidden; }
.faq details { border-top: 0.5px solid var(--sep); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--text-3); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(90deg); }
.faq .answer { padding: 0 20px 18px; color: var(--text-2); font-size: 15.5px; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a, .prose a, .contact a { color: var(--accent); font-weight: 600; }
.faq b { color: var(--text); font-weight: 600; }

/* ============ Contact ============ */
.contact { background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-1); }
.contact .email { display: inline-block; margin: 6px 0 10px; font-size: 20px; letter-spacing: -0.01em; word-break: break-all; }
.contact p { color: var(--text-2); }

/* ============ Policy ============ */
.prose { background: var(--surface); border-radius: 22px; padding: 26px 22px 28px; box-shadow: var(--shadow-1); }
.prose .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.prose h1 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 6px; }
.prose .updated { color: var(--text-3); font-size: 14px; margin-bottom: 8px; }
.prose .lede { font-size: 18px; color: var(--text); margin-top: 18px; }
.prose h2 { font-size: 19px; letter-spacing: -0.015em; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 8px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose b { color: var(--text); font-weight: 600; }

/* ============ Footer ============ */
footer { max-width: var(--w); margin: 56px auto 0; padding: 24px 2px 0; border-top: 0.5px solid var(--sep); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--text-3); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer nav a { color: var(--text-2); }
footer nav a:hover { color: var(--text); }

/* ============ Larger screens ============ */
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .bar { height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 32px 0; }
  .brand { font-size: 17px; }
  main { padding: 28px 32px 48px; }
  .hero { padding: 48px 52px 52px; border-radius: 28px; }
  .hero .icon { width: 104px; height: 104px; border-radius: 23px; }
  .hero h1 { font-size: 68px; margin: 24px 0 14px; }
  .hero p { font-size: 19px; }
  .sec-head { margin: 64px 2px 20px; }
  .sec-head h2 { font-size: 30px; }
  .prose { padding: 44px 52px 48px; }
  .prose h1 { font-size: 46px; }
  footer { margin-top: 72px; }
}
@media (max-width: 400px) {
  .bar nav a { padding: 0 7px; font-size: 13.5px; }
  .brand { font-size: 12.5px; letter-spacing: 0.04em; }
}
