:root {
  --bg: #0a0a0f;
  --surface: #0c0816;
  --surface-2: #130d20;
  --line: #241a33;
  --text: #ece8f2;
  --muted: #a99fb8;
  --pink: #ec4899;
  --violet: #9333ea;
  --indigo: #6366f1;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--pink); }

img { display: block; max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 80px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.brand svg { width: 30px; height: 30px; }

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.2px;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}

/* Buttons / pills */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet) 60%, var(--indigo));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.btn.secondary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}

.pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
}

/* Hero */
.hero {
  padding: 46px 0 30px;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.08;
  margin: 14px 0 16px;
  font-weight: 700;
}

h1 .accent {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p { color: var(--muted); margin: 0 0 22px; max-width: 46ch; }

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

.hero-portraits {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-portrait {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-portrait img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.hero-portrait:last-child { margin-top: 26px; }

/* Sections */
section { padding: 34px 0; }

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  margin: 0 0 8px;
}

.section-intro { color: var(--muted); margin: 0 0 24px; max-width: 62ch; }

/* Character cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.card-body { padding: 12px 14px 16px; }

.card-body h3 {
  margin: 0 0 2px;
  font-size: 17px;
  font-family: Georgia, "Times New Roman", serif;
}

.card-body .age { color: var(--pink); font-size: 13px; }

.card-body p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  max-width: 640px;
}

.pricing-box .price-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pricing-box .price-label strong {
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
}

.pricing-box .price-value { color: var(--muted); }

.pricing-box .caveat { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 12px;
  color: var(--pink);
  font-size: 20px;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  margin-top: 20px;
}

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

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

.footer-brand svg { width: 26px; height: 26px; }

.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }

.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }

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

/* Legal pages */
.legal { padding: 40px 0; }

.legal .shell { max-width: 780px; }

.legal h1 { font-size: 34px; }

.legal h2 { font-size: 20px; margin-top: 28px; }

.legal p { color: var(--muted); }

/* Responsive */
@media (max-width: 1099px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-portrait:last-child { margin-top: 0; }
  h1 { font-size: 34px; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-portraits { grid-template-columns: 1fr 1fr; }
  .js .nav-toggle { display: inline-block; }
  .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .js .nav:not(.open) { display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .header-inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .site-header { backdrop-filter: none; }
}

/* RTL: hide skip link vertically, never outside the horizontal scroll origin. */
html[dir="rtl"] .skip-link { left:auto; right:0; transform:translateY(-120%); }
html[dir="rtl"] .skip-link:focus { left:auto; right:0; transform:translateY(0); }
