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

:root {
  --bg: #0A0A0B;
  --bg-raised: #111214;
  --surface: #17181B;
  --surface-border: #26282C;
  --text: #F2F3F4;
  --text-muted: #8B8E93;
  --text-faint: #55585D;
  --mint: #6AD9A8;
  --mint-dim: #3B7A5E;
  --amber: #FF8447;
  --gold: #FED338;
  --gold-dim: #A88C2B;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- NAV ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-nav.scrolled {
  border-bottom-color: var(--surface-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-links .btn { color: var(--bg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #1A1502;
  box-shadow: 0 0 0 0 rgba(254, 211, 56, 0);
}
.btn-gold:hover { box-shadow: 0 8px 24px -8px rgba(254, 211, 56, 0.55); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--surface-border);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  padding: 84px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  letter-spacing: -0.015em;
  margin-top: 14px;
}

.hero-copy .accent { color: var(--gold); }

.hero-copy p.lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13.5px;
  color: var(--text-faint);
}

.hero-book-credit {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-faint);
}

.hero-book-credit .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-faint);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 260px;
  border-radius: 34px;
  overflow: hidden;
  border: 6px solid #1D1E21;
  background: #000;
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04);
}

.phone-frame img { width: 100%; display: block; }

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(254,211,56,0.14), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ---------- SECTION SHELL ---------- */
section {
  padding: 88px 0;
  border-top: 1px solid var(--surface-border);
}

.hero { border-top: none; }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--text-muted);
}

/* ---------- ROTATION / SIGNATURE ---------- */
.rotation-section .wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.wheel-shell {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #232529 0deg 72deg,
    #1C1E21 72deg 144deg,
    #232529 144deg 216deg,
    #1C1E21 216deg 288deg,
    var(--gold) 288deg 360deg
  );
  mask: radial-gradient(circle, transparent 58%, black 59%);
  -webkit-mask: radial-gradient(circle, transparent 58%, black 59%);
}

.wheel-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.wheel-center .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--text);
}

.wheel-center .label {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 140px;
}

.wheel-label {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 108px;
}

.wheel-label .day {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.wheel-label .move {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.wheel-label.is-today .day { color: #4A3B08; font-weight: 800; }
.wheel-label.is-today .move { color: #1A1502; }

.wheel-label.is-today .move::after {
  content: "★";
  color: #4A3B08;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

.rotation-copy .rf-callout {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 14px;
}

.rf-callout .rf-badge {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(254,211,56,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.rf-callout p { font-size: 14.5px; color: var(--text-muted); }
.rf-callout strong { color: var(--text); font-weight: 600; }

.rotation-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.rotation-copy li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  align-items: flex-start;
}

.rotation-copy li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--mint);
}

.rotation-copy li strong { color: var(--text); font-weight: 600; }

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: #35383D;
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.mint { background: rgba(106, 217, 168, 0.12); color: var(--mint); }
.feature-icon.amber { background: rgba(255, 132, 71, 0.12); color: var(--amber); }
.feature-icon.gold { background: rgba(254, 211, 56, 0.12); color: var(--gold); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.005em;
}

.feature-card p {
  margin-top: 9px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- SCREENSHOTS ---------- */
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.screen-item { text-align: center; }

.screen-item .phone-frame {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 18px;
}

.screen-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.screen-item p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  text-align: center;
}

.manifesto .wrap { max-width: 760px; }

.manifesto p.big {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.manifesto .tags {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--surface-border);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.final-cta p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 16px;
}

.final-cta .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-muted);
}

.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- SIMPLE PAGES (privacy / contact) ---------- */
.page-hero {
  padding: 56px 0 20px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
}

.page-hero p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15.5px;
}

.legal {
  padding: 30px 0 100px;
}

.legal .wrap { max-width: 760px; }

.legal h2 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.legal h2:first-child { margin-top: 0; }

.legal p, .legal li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }

.legal strong { color: var(--text); font-weight: 600; }

.legal .updated {
  font-size: 13.5px;
  color: var(--text-faint);
  margin-bottom: 6px;
}

/* ---------- CONTACT ---------- */
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding-bottom: 100px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

.contact-side h2 { font-size: 24px; }
.contact-side p { color: var(--text-muted); margin-top: 14px; font-size: 15px; line-height: 1.7; }

.contact-side .side-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--surface-border);
}

.contact-side .side-block h3 {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .phone-frame { width: 220px; }
  .rotation-section .wrap { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 40px; }
  .contact-shell { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links span.nav-text { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 44px; }
  .wheel-label { width: 82px; }
  .wheel-label .move { font-size: 12px; }
  .nav-inner { padding: 14px 20px; }
  .nav-brand { font-size: 14px; gap: 8px; }
  .nav-brand img { width: 28px; height: 28px; }
  .nav-links { gap: 12px; }
  .nav-links .btn { padding: 9px 16px; font-size: 14px; }
}

@media (max-width: 400px) {
  .nav-brand { font-size: 0; }
  .nav-brand img { width: 30px; height: 30px; }
}
