/* Paddle Forge — landing palette from Theme.swift */
:root {
  --vermillion: #E8384F;
  --imperial-gold: #F5C842;
  --ink-black: #12121A;
  --rice-paper: #FFF6EB;
  --jade-green: #1EC98B;
  --ball-orange: #FF8C42;
  --mist-gray: #9BA3B0;
  --lotus-pink: #FF6B9D;
  --sky-cyan: #3DD5F3;
  --plum-violet: #8B5CF6;
  --bamboo: #4ADE80;
  --bronze: #E8A04C;
  --card-dark: #2A3040;
  --text-secondary: #5C6470;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-accent: 'Noto Sans SC', sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-black);
  background: var(--rice-paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vermillion); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ball-orange); }

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

.container { width: var(--container); margin-inline: auto; }

/* Ambient glow */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb--vermillion {
  width: 420px; height: 420px;
  background: var(--vermillion);
  top: -120px; right: -80px;
}

.orb--jade {
  width: 360px; height: 360px;
  background: var(--jade-green);
  bottom: 20%; left: -100px;
  opacity: 0.22;
}

.orb--gold {
  width: 300px; height: 300px;
  background: var(--imperial-gold);
  top: 45%; right: 10%;
  opacity: 0.18;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 246, 235, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo:hover { color: var(--ink-black); }

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vermillion), var(--ball-orange), var(--imperial-gold));
  color: var(--rice-paper);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232, 56, 79, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--ink-black); }

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ink-black);
  color: var(--rice-paper) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--vermillion);
  color: var(--rice-paper) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-black);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(
    145deg,
    rgba(245, 200, 66, 0.12) 0%,
    var(--rice-paper) 35%,
    rgba(30, 201, 139, 0.08) 70%,
    rgba(255, 107, 157, 0.06) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jade-green);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 201, 139, 0.3);
  background: rgba(30, 201, 139, 0.08);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--vermillion), var(--ball-orange), var(--imperial-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--vermillion), var(--ball-orange));
  color: var(--rice-paper);
  box-shadow: 0 8px 28px rgba(232, 56, 79, 0.35);
}

.btn-primary:hover {
  color: var(--rice-paper);
  box-shadow: 0 12px 36px rgba(232, 56, 79, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-black);
  border: 1px solid rgba(245, 200, 66, 0.35);
}

.btn-ghost:hover { color: var(--ink-black); background: #fff; }

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-black);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--mist-gray);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.hero-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--vermillion),
    var(--imperial-gold),
    var(--jade-green),
    var(--sky-cyan),
    var(--vermillion)
  );
  opacity: 0.55;
  animation: spin 12s linear infinite;
}

.hero-ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--rice-paper);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-card {
  position: relative;
  width: min(100%, 300px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(245, 200, 66, 0.25);
  box-shadow:
    0 20px 50px rgba(18, 18, 26, 0.1),
    0 0 40px rgba(232, 56, 79, 0.08);
}

.hero-card-bar {
  position: absolute;
  top: 1.25rem; left: 0;
  width: 4px; height: 48px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--vermillion), var(--imperial-gold), var(--jade-green));
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jade-green);
  margin-bottom: 0.35rem;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-card-meta {
  font-size: 0.85rem;
  color: var(--mist-gray);
  margin-bottom: 1.25rem;
}

.hero-card-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-card-score span {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--vermillion);
}

.hero-card-score em {
  font-style: normal;
  font-size: 1.5rem;
  color: var(--mist-gray);
}

.hero-card-foot {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(18, 18, 26, 0.06);
}

/* Sections shared */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermillion);
  margin-bottom: 0.75rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 28ch;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 3rem;
}

/* Features */
.features {
  background: linear-gradient(180deg, var(--rice-paper) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(245, 200, 66, 0.22);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(232, 56, 79, 0.3);
  box-shadow: 0 12px 40px rgba(232, 56, 79, 0.1);
  transform: translateY(-3px);
}

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--imperial-gold);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About */
.about {
  background: var(--ink-black);
  color: var(--rice-paper);
}

.about .section-label { color: var(--imperial-gold); }

.about h2 { color: var(--rice-paper); max-width: none; }

.about-copy p {
  color: rgba(255, 246, 235, 0.78);
  margin-bottom: 1rem;
  max-width: 58ch;
}

.about-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--imperial-gold) !important;
  margin-top: 1.5rem !important;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.disclaimer-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(42, 48, 64, 0.8);
  border: 1px solid rgba(245, 200, 66, 0.2);
}

.disclaimer-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--imperial-gold);
  margin-bottom: 0.75rem;
}

.disclaimer-card p {
  font-size: 0.9rem;
  color: rgba(255, 246, 235, 0.7);
  line-height: 1.65;
}

/* Privacy */
.privacy {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    var(--rice-paper) 100%
  );
}

.privacy-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 0.75rem;
}

.privacy-meta {
  font-size: 0.9rem;
  color: var(--mist-gray);
  margin-bottom: 0.5rem;
  max-width: 70ch;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.policy-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(245, 200, 66, 0.2);
}

.policy-card--wide {
  grid-column: 1 / -1;
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--ink-black);
}

.policy-card p,
.policy-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.policy-card ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.policy-card li { margin-bottom: 0.35rem; }

/* Contact */
.contact {
  background: linear-gradient(
    135deg,
    rgba(232, 56, 79, 0.06) 0%,
    rgba(30, 201, 139, 0.06) 50%,
    rgba(245, 200, 66, 0.08) 100%
  );
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  max-width: 40ch;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--mist-gray);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(245, 200, 66, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
  border-color: rgba(30, 201, 139, 0.4);
  box-shadow: 0 8px 28px rgba(30, 201, 139, 0.12);
  transform: translateY(-2px);
  color: var(--ink-black);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mist-gray);
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-black);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid rgba(245, 200, 66, 0.15);
  background: var(--ink-black);
  color: rgba(255, 246, 235, 0.55);
  font-size: 0.85rem;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 246, 235, 0.65);
}

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

/* Mobile nav open state */
body.nav-open { overflow: hidden; }

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 300px;
  }

  .about-aside { order: -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(255, 246, 235, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 200, 66, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(18, 18, 26, 0.06);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    border: none !important;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats { gap: 1.25rem; }

  section { padding: 3.5rem 0; }
}
