/* Florida Brand: shared look for the studio hub and every app site.
   Each app can override --accent / --accent-2 on <body> to get its own colours. */
:root {
  color-scheme: dark;
  --bg: #070a1c;
  --bg-2: #0c1130;
  --surface: rgba(22, 28, 66, 0.62);
  --surface-solid: #141a40;
  --line: rgba(160, 150, 255, 0.16);
  --text: #eef0ff;
  --text-dim: #a4a9d6;
  --accent: #a855f7;
  --accent-2: #22d3ee;
  --glow: rgba(168, 85, 247, 0.45);
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 15% -10%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(900px 500px at 95% 5%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 10, 28, 0.66);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; letter-spacing: -0.01em; font-family: var(--font-round); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px var(--glow); font-size: 15px; color: #fff; font-weight: 800;
}
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--text-dim); padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 11px; font-size: 15px; }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--font-round); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 820; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 780; }
h3 { font-size: 20px; font-weight: 720; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-dim); max-width: 660px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.gradient-text { background: linear-gradient(92deg, #fff 10%, #d8b4fe 45%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--text-dim); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- sections ---- */
section { padding: 84px 0; }
.section-head { margin-bottom: 40px; }
.hero { padding: 88px 0 56px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), rgba(168, 85, 247, 0.4), var(--line), transparent); border: 0; margin: 0; }

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 680; font-size: 16px; border: 1px solid var(--line); color: var(--text);
  background: rgba(255, 255, 255, 0.05); transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: rgba(255, 255, 255, 0.09); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #7c3aed 55%, var(--accent-2)); border-color: transparent; box-shadow: 0 8px 30px var(--glow); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 40px var(--glow); background: linear-gradient(135deg, var(--accent), #7c3aed 55%, var(--accent-2)); }
.btn[aria-disabled="true"] { cursor: default; }

/* ---- cards ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(34, 211, 238, 0.2)); border: 1px solid var(--line);
  font-size: 22px;
}
.card.hover { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card.hover:hover { transform: translateY(-3px); border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 10px 40px rgba(124, 58, 237, 0.25); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); background: rgba(255, 255, 255, 0.04); }
.pill.live { color: #86efac; border-color: rgba(134, 239, 172, 0.35); }
.pill.soon { color: #fcd34d; border-color: rgba(252, 211, 77, 0.35); }

/* ---- screenshots ---- */
.shot { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.shot img { width: 100%; height: auto; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--text-dim); margin-top: 10px; }

/* ---- prose (legal pages) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text-dim); font-weight: 650; }
.prose .note { border-left: 3px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.table-scroll { overflow-x: auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 650; padding: 12px 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--accent-2); font-weight: 700; }
details[open] summary::after { content: "–"; }
details > :not(summary) { color: var(--text-dim); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--text-dim); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 26px 48px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--text); }
.fine { font-size: 13px; color: var(--text-dim); opacity: 0.85; max-width: 560px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card.hover { transition: none; }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 36px; }
  .wrap { padding: 0 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: rgba(7, 10, 28, 0.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .card { padding: 22px; }
}
