/* BodyType AI brand + support site (editorial fashion tone) */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700&family=Manrope:wght@400;500;600;700&display=swap');

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

:root {
  --ink: #10100e;
  --ink-soft: #242320;
  --text: #181715;
  --text-muted: #5f5b54;
  --ivory: #f7f2ea;
  --paper: #fffdf8;
  --sand: #ddd0be;
  --gold: #a38454;
  --ruby: #8b1f2a;
  --forest: #3d4f46;
  --line: rgba(24, 23, 21, 0.12);
  --shadow: 0 18px 40px rgba(16, 16, 14, 0.12);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(163, 132, 84, 0.08), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(139, 31, 42, 0.07), transparent 35%),
    var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.page-shell {
  padding: 32px 0 56px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 234, 0.82);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.mail-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
}

.hero {
  margin-top: 34px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.95), rgba(221, 208, 190, 0.33));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 46px;
}

.kicker {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 22px;
}

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

.btn {
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--ink), var(--ink-soft));
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 16, 14, 0.22);
}

.btn-outline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.editorial-card {
  background:
    linear-gradient(170deg, rgba(16, 16, 14, 0.9), rgba(36, 35, 32, 0.8));
  color: #f4efe8;
  border-radius: 22px;
  padding: 22px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.editorial-card::after {
  content: '';
  position: absolute;
  inset: auto -30px -30px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(163, 132, 84, 0.35), transparent 70%);
}

.editorial-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.editorial-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(244, 239, 232, 0.92);
}

.editorial-list li::before {
  content: '•';
  color: var(--gold);
  margin-right: 8px;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-ruby {
  background: rgba(139, 31, 42, 0.14);
  color: #f5d6db;
}

.badge-gold {
  background: rgba(163, 132, 84, 0.2);
  color: #f4e8d4;
}

.metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.metric {
  padding: 18px 8px 4px;
}

.metric-value {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.6rem;
  color: var(--ink);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  margin-top: 38px;
}

.section h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.88);
  padding: 18px;
}

.feature-card h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.support-banner {
  margin-top: 34px;
  border-radius: 20px;
  border: 1px solid rgba(163, 132, 84, 0.28);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.95), rgba(163, 132, 84, 0.08));
  padding: 22px;
}

.support-banner h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.inline-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  background: rgba(16, 16, 14, 0.06);
  border: 1px solid rgba(16, 16, 14, 0.09);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  display: inline-block;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.8);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-card {
  margin-top: 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(16, 16, 14, 0.93), rgba(61, 79, 70, 0.88));
  color: #f1ece4;
  padding: 24px;
}

.contact-card h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8dfb1;
}

.legal-page {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.9);
  padding: 30px;
}

.legal-page h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.legal-updated {
  margin-top: 6px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-page h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.3rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-page ul {
  padding-left: 22px;
}

.legal-contact {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(163, 132, 84, 0.08);
  border: 1px solid rgba(163, 132, 84, 0.2);
}

.footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.8s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .container,
  .nav-inner,
  .footer {
    width: calc(100% - 28px);
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero-grid {
    padding: 26px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

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

  .page-shell {
    padding-top: 20px;
  }
}
