/* SmileMaxer.com — glass design, Claude-orange hue */

:root {
  /* Claude-inspired orange palette */
  --orange-50:  #FFF8F3;
  --orange-100: #FFEEDF;
  --orange-200: #FFDCC0;
  --orange-300: #FFC29A;
  --orange-400: #F0A07A;
  --orange-500: #D97757;  /* primary — Claude clay */
  --orange-600: #C2603F;
  --orange-700: #A04A2E;
  --orange-800: #7A3620;

  /* Cool accents so the blue app pops */
  --app-blue:   #1E6ED2;
  --app-blue-2: #3C8CE6;

  /* Neutrals (warm) */
  --cream:      #FFFDF9;
  --white:      #FFFFFF;
  --ink:        #2B1810;
  --ink-soft:   #6B4A38;
  --ink-faint:  #9C7A64;

  /* Glass surfaces */
  --glass-bg:       rgba(255, 255, 255, 0.55);
  --glass-bg-hi:    rgba(255, 255, 255, 0.70);
  --glass-border:   rgba(255, 255, 255, 0.85);
  --glass-border-2: rgba(217, 119, 87, 0.22);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(217, 119, 87, 0.08), 0 1px 2px rgba(43, 24, 16, 0.04);
  --shadow-md: 0 10px 30px rgba(217, 119, 87, 0.12), 0 4px 12px rgba(43, 24, 16, 0.05);
  --shadow-lg: 0 30px 80px rgba(217, 119, 87, 0.18), 0 10px 24px rgba(43, 24, 16, 0.08);

  /* Radius + type */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --font-display: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1120px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient warm orange gradient + animated soft blobs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 760px at 15% 45%,  rgba(255, 220, 192, 0.55) 0%, transparent 65%),
    radial-gradient(900px 720px at 105% 65%,  rgba(240, 160, 122, 0.32) 0%, transparent 60%),
    radial-gradient(800px 600px at 50% 115%,  var(--orange-100) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--orange-50) 50%, var(--cream) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(2px 2px at 22% 30%, rgba(217, 119, 87, 0.18) 0, transparent 50%),
    radial-gradient(2px 2px at 78% 70%, rgba(217, 119, 87, 0.14) 0, transparent 50%),
    radial-gradient(1px 1px at 45% 85%, rgba(217, 119, 87, 0.22) 0, transparent 50%);
  background-size: 400px 400px;
  opacity: 0.6;
  pointer-events: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: var(--orange-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange-700); }

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

::selection { background: var(--orange-300); color: var(--ink); }

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 12px 24px 0;
  margin-top: 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.35);
  color: white;
  font-size: 16px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}

.nav-links a:hover {
  background: rgba(217, 119, 87, 0.1);
  color: var(--ink);
}

.nav-links a.active {
  background: rgba(217, 119, 87, 0.15);
  color: var(--orange-700);
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%) !important;
  color: white !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(217, 119, 87, 0.4);
}

.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-width: var(--container);
  margin: 10px auto 0;
  padding: 14px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.nav-drawer a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink);
}

.nav-drawer a:hover { background: rgba(217, 119, 87, 0.1); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-inner.open + .nav-drawer { display: flex; }
}

/* ---------- Glass primitives ---------- */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.glass-strong {
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border-2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.25);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: white;
  box-shadow: 0 10px 28px rgba(217, 119, 87, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(217, 119, 87, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  color: white;
}

.btn-glass {
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-copy .chip { margin-bottom: 20px; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  background: linear-gradient(180deg, var(--ink) 0%, var(--orange-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* App showcase on hero (blue phone pops against orange) */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(60, 140, 230, 0.35) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  width: 300px;
  max-width: 80%;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1e 100%);
  box-shadow:
    0 40px 120px rgba(30, 110, 210, 0.4),
    0 20px 60px rgba(43, 24, 16, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  z-index: 1;
  transform: rotate(-2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  position: relative;
  display: grid;
  place-items: center;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.hero-float-card {
  position: absolute;
  padding: 14px 18px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}

.hero-float-card.fc-1 { top: 12%; left: -4%; }
.hero-float-card.fc-2 { bottom: 14%; right: -2%; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(30, 110, 210, 0.12);
  color: var(--app-blue);
  font-size: 16px;
}

.fc-icon.orange {
  background: rgba(217, 119, 87, 0.15);
  color: var(--orange-600);
}

/* ---------- Sections ---------- */

section { padding: 56px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head .chip { margin-bottom: 14px; }

.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Feature grid ---------- */

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

@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  color: white;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(217, 119, 87, 0.35);
}

.feature-icon.blue {
  background: linear-gradient(135deg, var(--app-blue-2) 0%, var(--app-blue) 100%);
  box-shadow: 0 8px 20px rgba(30, 110, 210, 0.35);
}

.feature h3 { margin-bottom: 8px; }
.feature p  { margin: 0; font-size: 0.95rem; }

/* ---------- Screenshot strip ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }

.shot {
  position: relative;
  padding: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 20px 50px rgba(30, 110, 210, 0.25);
}

.shot-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 420px; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-featured {
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 237, 221, 0.85) 100%);
  border: 1.5px solid rgba(217, 119, 87, 0.45);
  box-shadow:
    0 20px 50px rgba(217, 119, 87, 0.25),
    0 8px 20px rgba(43, 24, 16, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-8px);
}

.plan-featured:hover {
  transform: translateY(-12px);
}

@media (max-width: 900px) {
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-3px); }
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(217, 119, 87, 0.4);
}

.plan-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 14px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  color: var(--orange-600);
}

.plan-amount {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--orange-600) 0%, var(--orange-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-cents {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--orange-600);
  margin-bottom: 4px;
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 6px;
  margin-bottom: 6px;
}

.plan-effective {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.plan-effective strong {
  color: var(--orange-700);
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.plan-perks li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 1px dashed rgba(217, 119, 87, 0.18);
}

.plan-perks li:last-child { border-bottom: 0; }

.plan-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.35);
}

.plan-perks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 8px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.plan-cta {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ---------- CTA block ---------- */

.cta-block {
  position: relative;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 119, 87, 0.25) 0%, transparent 70%),
    var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.35) 0%, transparent 70%);
  filter: blur(30px);
}

.cta-block h2 { margin-bottom: 12px; }
.cta-block p  { max-width: 560px; margin: 0 auto 24px; }
.cta-block .hero-ctas { justify-content: center; }

/* ---------- Legal (markdown) pages ---------- */

.legal-wrap {
  padding: 40px 0 80px;
}

.legal-header {
  text-align: center;
  padding: 32px 24px 40px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(180deg, var(--ink) 0%, var(--orange-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-header p {
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.legal {
  padding: 48px clamp(24px, 5vw, 64px);
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.legal h1, .legal h2, .legal h3 {
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.legal h1 { font-size: 2rem; margin-top: 0; }
.legal h2 { font-size: 1.45rem; color: var(--orange-700); }
.legal h3 { font-size: 1.15rem; color: var(--ink); }

.legal p,
.legal li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.legal ul, .legal ol {
  padding-left: 1.4em;
  margin: 0.6em 0 1.2em;
}

.legal li { margin-bottom: 0.4em; }

.legal strong { color: var(--ink); font-weight: 700; }

.legal hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-300), transparent);
  margin: 2.4em 0;
}

.legal blockquote {
  margin: 1.2em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--orange-500);
  background: rgba(217, 119, 87, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.legal code {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(217, 119, 87, 0.1);
  border-radius: 6px;
  color: var(--orange-700);
}

.legal a {
  color: var(--orange-600);
  border-bottom: 1px solid rgba(217, 119, 87, 0.35);
  transition: border-color .18s, color .18s;
}

.legal a:hover {
  color: var(--orange-700);
  border-color: var(--orange-600);
}

.legal-loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-faint);
}

.toc {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(255, 248, 243, 0.7);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-md);
}

.toc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 24px;
}

@media (max-width: 600px) { .toc ol { columns: 1; } }

.toc li {
  font-size: 0.9rem;
  margin-bottom: 4px;
  break-inside: avoid;
}

.toc a {
  color: var(--ink-soft);
  border: 0;
}

.toc a:hover { color: var(--orange-700); }

/* ---------- About page ---------- */

.about-hero {
  padding: 48px 0 24px;
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  box-shadow: 0 16px 40px rgba(217, 119, 87, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
  border: 4px solid white;
}

.about-bio {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 40px;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
}

.about-bio p { color: var(--ink); }

.about-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.social:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
  color: var(--orange-700);
}

.social svg {
  width: 20px;
  height: 20px;
}

.interests {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 32px auto 0;
}

@media (max-width: 720px) { .interests { grid-template-columns: repeat(2, 1fr); } }

.interest {
  text-align: center;
  padding: 20px 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.interest .emoji { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */

.footer {
  margin-top: 80px;
  padding: 40px 0 32px;
  border-top: 1px solid rgba(217, 119, 87, 0.15);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.footer-meta {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 20px;
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
