/* Inspirasi Nama Bayi — boxed layout design language:
   gray page, ONE big white rounded box containing everything,
   thin-ring sub-panels per section, lime accent, pill buttons. */
:root {
  --page-bg: #f5f5f5;
  --box-bg: #ffffff;
  --panel-soft: #fafafa;
  --ink: #171717;
  --ink-soft: #525252;
  --muted: #737373;
  --ring: #e5e7eb;
  --lime: #a3e635;
  --lime-dark: #84cc16;
  --lime-ink: #4d7c0f;
  --lime-soft: #ecfccb;
  --star: #84cc16;
  --dark: #0a0a0a;
  --dark-soft: #262626;
  --boy: #0369a1;
  --boy-soft: #e0f2fe;
  --girl: #be185d;
  --girl-soft: #fce7f3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #d9f99d; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ THE BOX ============ */
.shell { max-width: 1152px; margin: 0 auto; padding: 16px; }
.box {
  background: var(--box-bg);
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--ring),
    0 1px 0 #e5e7eb,
    0 40px 80px -20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ============ header (inside the box) ============ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--ring);
  border-radius: 9999px; padding: 8px 16px 8px 8px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow .15s ease;
}
.brand:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.brand-logo { border-radius: 9999px; display: inline-block; }
.nav nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav nav > a.nav-link {
  padding: 8px 14px; border-radius: 9999px;
  font-weight: 500; font-size: 14px; color: var(--ink-soft);
  transition: background .12s ease, color .12s ease;
}
.nav nav > a.nav-link:hover { background: var(--panel-soft); color: var(--ink); }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff;
  border: none; border-radius: 9999px; padding: 10px 20px;
  font-weight: 500; font-size: 14px; cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { background: #000; box-shadow: 0 3px 8px rgba(0,0,0,0.25); }
.btn .arr { transform: translateY(-0.5px); }
.btn-ghost {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ring), 0 1px 2px rgba(0,0,0,0.05);
}
.btn-ghost:hover { background: var(--panel-soft);
  box-shadow: inset 0 0 0 1px var(--ring), 0 1px 2px rgba(0,0,0,0.05); }
.btn-lime {
  background: linear-gradient(to bottom, var(--lime), var(--lime-dark));
  color: #1a2e05; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(132,204,22,.4), 0 1px 3px rgba(0,0,0,0.15);
}
.btn-lime:hover { background: var(--lime-dark); }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn.full { width: 100%; }

/* ============ sections inside the box ============ */
.section { padding: 0 16px 40px; }
.panel {
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--ring);
  padding: 24px;
}
.panel-soft { background: var(--panel-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.2;
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 15.5px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime-soft); color: var(--lime-ink);
  border-radius: 9999px; padding: 5px 13px;
  font-size: 12.5px; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.25);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 9999px;
  background: var(--lime-dark);
}

/* ============ chips ============ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 9999px; padding: 3px 11px;
  font-size: 12px; font-weight: 600;
}
.chip-green { background: var(--lime); color: #1a2e05; }
.chip-soft { background: var(--lime-soft); color: var(--lime-ink); }
.chip-amber { background: #fef3c7; color: #92400e; }
.chip-boy { background: var(--boy-soft); color: var(--boy); }
.chip-girl { background: var(--girl-soft); color: var(--girl); }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; padding: 8px 16px 40px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.03em; margin: 22px 0 16px;
}
.hero .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 480px; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-note { color: var(--muted); font-size: 13.5px; }
.hero-img {
  border-radius: 24px; width: 100%; object-fit: cover; aspect-ratio: 1 / 1;
  box-shadow: inset 0 0 0 1px var(--ring),
    0 40px 80px -24px rgba(15, 25, 40, 0.18);
}

/* ============ live name search (lime search box) ============ */
.name-check { max-width: 620px; text-align: left; position: relative; }
.nc-box {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border-radius: 9999px; padding: 8px 12px 8px 22px;
  box-shadow: inset 0 0 0 2px var(--lime),
    0 10px 26px -12px rgba(101,163,13,0.45);
  transition: box-shadow .15s ease;
}
.nc-box:focus-within {
  box-shadow: inset 0 0 0 2px var(--lime-dark),
    0 10px 26px -8px rgba(101,163,13,0.5);
}
.nc-icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.nc-box input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 10px 10px 10px 0;
}
.nc-box input::placeholder { color: var(--muted); font-weight: 400; }
.nc-results {
  position: absolute; left: 0; right: 0; z-index: 40;
  margin-top: 10px; background: #fff; border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--ring), 0 10px 24px rgba(15,25,40,0.12);
  padding: 6px; text-align: left; max-height: 340px; overflow: auto;
}
.nc-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 14px; border-radius: 11px; font-size: 14px;
}
.nc-row:hover { background: var(--panel-soft); }
.nc-row + .nc-row { border-top: 1px solid var(--ring); border-radius: 0; }
.nc-name { font-weight: 600; color: var(--ink); }
.nc-meaning {
  flex: 1; min-width: 0; color: var(--muted); font-size: 12.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nc-empty { padding: 12px 14px; color: var(--muted); font-size: 13.5px; }

/* ============ stat band ============ */
.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 640px; margin: 26px auto 0;
  background: var(--panel-soft); border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--ring);
  overflow: hidden;
}
.stat-cell { padding: 18px 10px; text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid var(--ring); }
.stat-cell b { display: block; font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--lime-ink); }
.stat-cell span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ============ letter grid ============ */
.letter-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}
.letter-tile {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff; border-radius: 12px; padding: 12px 6px;
  box-shadow: inset 0 0 0 1px var(--ring);
  transition: box-shadow .15s ease, transform .15s ease;
}
.letter-tile:hover {
  box-shadow: inset 0 0 0 2px var(--lime-dark), 0 8px 18px rgba(15,25,40,0.08);
  transform: translateY(-2px);
}
.letter-tile b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.letter-tile span { font-size: 11px; color: var(--muted); font-weight: 600; }
.letter-tile.off { opacity: 0.35; pointer-events: none; }

/* ============ model cards (names / origins) ============ */
.model-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.model-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border-radius: 14px; padding: 20px 22px;
  box-shadow: inset 0 0 0 1px var(--ring);
  transition: box-shadow .15s ease, transform .15s ease;
}
.model-card:hover {
  box-shadow: inset 0 0 0 2px var(--lime-dark),
    0 10px 22px rgba(15,25,40,0.08);
  transform: translateY(-2px);
}
.model-card h3 { font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); }
.model-card p { font-size: 13px; color: var(--ink-soft);
  line-height: 1.55; flex: 1; }
.model-card .mc-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.model-more { font-size: 13px; font-weight: 700; color: var(--lime-ink); }
.mc-count { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ============ marquee ============ */
.origin-marquee {
  overflow: hidden; display: grid; gap: 12px; padding: 4px 0; margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent,
    #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent,
    #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 10px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse;
  animation-duration: 44s; }
.origin-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a, .marquee-track span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--ring);
  border-radius: 9999px; padding: 10px 20px; white-space: nowrap;
  color: var(--ink-soft); font-weight: 600; font-size: 14px;
}
.marquee-track a::before, .marquee-track span::before {
  content: ""; width: 7px; height: 7px; border-radius: 9999px;
  background: var(--lime); box-shadow: 0 0 0 1px rgba(132,204,22,0.4);
}
.marquee-track a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ teaser cards with chip clouds ============ */
.help-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 900px; margin: 34px auto 0;
}
.ht-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: 16px; padding: 24px 26px;
  box-shadow: inset 0 0 0 1px var(--ring),
    0 12px 28px -18px rgba(15,25,40,0.25);
}
.ht-head p { font-size: 13.5px; color: var(--muted); margin-top: 12px;
  line-height: 1.55; }
.ht-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ht-chips a {
  background: var(--panel-soft); border-radius: 9999px; padding: 9px 16px;
  box-shadow: inset 0 0 0 1px var(--ring);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: box-shadow .15s ease, color .15s ease, background .15s ease;
}
.ht-chips a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  background: #fff; color: var(--ink); }
.ht-all {
  margin-top: auto; align-self: flex-start;
  font-size: 13px; font-weight: 700; color: var(--lime-ink);
}
.ht-all:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .help-teaser { grid-template-columns: 1fr; }
  .ht-card { padding: 20px 18px; align-items: center; text-align: center; }
  .ht-chips { justify-content: center; }
  .ht-all { align-self: center; }
}

/* ============ split feature panel ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; }
.split h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 600;
  letter-spacing: -0.02em; margin: 14px 0 12px; }
.split .desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.split img { border-radius: 16px;
  box-shadow: 0 0 0 1px var(--ring),
    0 20px 40px -20px rgba(0,0,0,0.25); }
.check-list { list-style: none; }
.check-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 7px 0; font-size: 14.5px; color: var(--ink-soft);
}
.check-list .tick {
  width: 20px; height: 20px; border-radius: 9999px; flex-shrink: 0;
  background: var(--lime-soft); color: var(--lime-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; margin-top: 2px;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.25);
}

/* ============ steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  border-radius: 12px; padding: 24px;
  box-shadow: inset 0 0 0 1px var(--ring);
  background: #fff;
}
.step-num {
  width: 36px; height: 36px; border-radius: 9999px;
  background: linear-gradient(to bottom, var(--lime), var(--lime-dark));
  color: #1a2e05;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.step-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 7px;
  letter-spacing: -0.01em; }
.step-card p { color: var(--ink-soft); font-size: 14px; }

/* ============ article / long-form content ============ */
.article { max-width: 760px; margin: 0 auto; }
.article h2 {
  font-size: clamp(20px, 2.6vw, 25px); font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); margin: 30px 0 12px;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); margin: 24px 0 10px;
}
.article p { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft);
  margin-bottom: 12px; }
.article ul { list-style: none; margin: 4px 0 14px; }
.article ul li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.article ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 9999px;
  background: var(--lime-dark);
}
.article strong { color: var(--ink); }
.article a {
  color: var(--lime-ink); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(101, 163, 13, 0.4);
}
.article a:hover { text-decoration-color: var(--lime-dark); }
.article .tip {
  font-size: 14.5px; color: var(--ink); font-weight: 500; line-height: 1.7;
  background: var(--lime-soft); border-radius: 12px; padding: 14px 18px;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.25);
  margin: 16px 0;
}

/* ============ quote / meaning highlight ============ */
.quote-panel {
  background: var(--lime-soft); border-radius: 16px; padding: 26px 28px;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.25);
}
.quote-panel p {
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; line-height: 1.6;
  color: var(--ink); font-style: italic;
}

/* ============ FAQ ============ */
.faq { max-width: 680px; margin: 0 auto; }
.faq details {
  background: #fff; box-shadow: inset 0 0 0 1px var(--ring);
  border-radius: 12px; padding: 16px 22px; margin-bottom: 10px;
}
.faq summary {
  font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 19px;
  flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }

/* ============ big CTA ============ */
.big-cta {
  position: relative; overflow: hidden;
  background: #171717; color: #fff;
  border-radius: 16px; padding: 48px 32px; text-align: center;
}
.big-cta::before {
  content: ""; position: absolute; inset: -8px; opacity: 0.2;
  background:
    radial-gradient(600px circle at 20% 20%, #84cc16, transparent 40%),
    radial-gradient(600px circle at 80% 80%, #22c55e, transparent 45%);
  pointer-events: none;
}
.big-cta > * { position: relative; }
.big-cta h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 600;
  letter-spacing: -0.02em; }
.big-cta p { color: #a3a3a3; margin: 10px 0 24px; font-size: 15px; }
.big-cta .btn-ghost { background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1px #404040; }
.big-cta .btn-ghost:hover { background: #262626; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ breadcrumbs / page heads ============ */
.crumbs {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.crumbs a { color: var(--ink-soft); font-weight: 600; }
.crumbs a:hover { color: var(--lime-ink); }
.page-hero {
  max-width: 760px; margin: 0 auto; padding: 16px 16px 36px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.028em; margin: 18px 0 14px;
}
.page-hero .lead {
  font-size: 16px; color: var(--ink-soft); line-height: 1.65;
}
.page-hero .hero-cta { justify-content: center; }
.page-meta { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ============ name table (listing) ============ */
.name-table {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ring);
  font-size: 14px;
}
.nt-row {
  display: grid; grid-template-columns: 1.1fr 0.6fr 0.8fr 1.6fr;
  gap: 14px; padding: 13px 18px; align-items: center;
  transition: background .12s ease;
}
.nt-row + .nt-row { border-top: 1px solid var(--ring); }
a.nt-row:hover { background: var(--panel-soft); }
.nt-head {
  background: var(--panel-soft); font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.nt-name { font-weight: 700; color: var(--ink); }
.nt-origin { font-weight: 600; color: var(--lime-ink); font-size: 13px; }
.nt-meaning { color: var(--ink-soft);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .nt-head { display: none; }
  .nt-row { grid-template-columns: 1fr auto; gap: 3px 10px;
    padding: 14px 16px; }
  .nt-meaning { grid-column: 1 / -1; white-space: normal; font-size: 13px; }
  .nt-origin { text-align: right; }
}

/* ============ filter pills ============ */
.filter-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 18px;
}
.filter-row a {
  background: #fff; border-radius: 9999px; padding: 8px 14px;
  box-shadow: inset 0 0 0 1px var(--ring);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: box-shadow .15s ease, color .15s ease, background .15s ease;
}
.filter-row a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }
.filter-row a.on {
  background: linear-gradient(to bottom, var(--lime), var(--lime-dark));
  color: #1a2e05; box-shadow: inset 0 0 0 1px rgba(132,204,22,.4);
}
.filter-row.letters a { min-width: 36px; text-align: center; padding: 8px 0; }

/* ============ pagination ============ */
.pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px; margin-top: 22px; font-size: 13.5px;
}
.pagination a, .pagination span {
  min-width: 36px; padding: 8px 12px; text-align: center;
  background: #fff; border-radius: 9999px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink-soft);
}
.pagination a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }
.pagination .current {
  background: linear-gradient(to bottom, var(--lime), var(--lime-dark));
  color: #1a2e05; box-shadow: inset 0 0 0 1px rgba(132,204,22,.4);
}
.pagination .gap { box-shadow: none; background: transparent; }

/* ============ name page ============ */
.name-hero { text-align: center; max-width: 720px; margin: 0 auto;
  padding: 16px 16px 36px; }
.name-hero h1 {
  font-size: clamp(34px, 5vw, 54px); font-weight: 600;
  line-height: 1.06; letter-spacing: -0.03em; margin: 18px 0 14px;
}
.name-hero .lead { font-size: 16.5px; color: var(--ink-soft);
  line-height: 1.65; }
.name-hero .hero-chips {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 18px;
}
.share-row {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 20px; font-size: 12.5px; color: var(--muted);
}
.share-row a {
  width: 34px; height: 34px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--ring);
  color: var(--ink-soft); transition: box-shadow .15s ease;
}
.share-row a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }
.share-row svg { width: 15px; height: 15px; fill: currentColor; }

.name-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 20px;
  align-items: start; padding: 0 16px 40px;
}
.name-main { min-width: 0; display: grid; gap: 20px; }
.name-side { display: grid; gap: 20px; position: sticky; top: 16px; }

.content-card {
  border-radius: 16px; box-shadow: 0 0 0 1px var(--ring);
  padding: 24px; background: #fff;
}
.content-card > h2 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.content-card p { font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.7; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  background: var(--panel-soft); border-radius: 9999px; padding: 8px 15px;
  box-shadow: inset 0 0 0 1px var(--ring);
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  transition: box-shadow .15s ease, color .15s ease;
}
.toc a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }

/* trait bars */
.trait-bars { display: grid; gap: 12px; margin-top: 6px; }
.trait-bar { display: grid; grid-template-columns: 130px 1fr 44px;
  align-items: center; gap: 12px; font-size: 13.5px; }
.trait-bar .tb-label { font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trait-bar .tb-track { height: 8px; border-radius: 9999px;
  background: var(--panel-soft);
  box-shadow: inset 0 0 0 1px var(--ring); overflow: hidden; }
.trait-bar .tb-fill { display: block; height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime)); }
.trait-bar .tb-val { font-weight: 700; color: var(--lime-ink);
  text-align: right; }

/* numerology */
.numer { display: flex; gap: 22px; align-items: flex-start; }
.numer-badge {
  flex: 0 0 84px; height: 84px; border-radius: 9999px;
  background: linear-gradient(to bottom, var(--lime), var(--lime-dark));
  color: #1a2e05; display: grid; place-items: center;
  font-size: 38px; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(132,204,22,.4);
}
@media (max-width: 560px) { .numer { flex-direction: column;
  align-items: center; text-align: center; } }

/* two-up mini cards inside content */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo-card {
  background: var(--panel-soft); border-radius: 12px; padding: 16px 18px;
  box-shadow: inset 0 0 0 1px var(--ring);
}
.duo-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.duo-card p { font-size: 13.5px; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-cloud span, .pill-cloud a {
  background: #fff; border-radius: 9999px; padding: 7px 14px;
  box-shadow: inset 0 0 0 1px var(--ring);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.pill-cloud a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }
.arabic-line { font-size: 26px; text-align: right; line-height: 1.9;
  color: var(--ink); }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }

/* numbered fact list */
.fact-list { display: grid; gap: 12px; list-style: none;
  counter-reset: fct; }
.fact-list li {
  counter-increment: fct; position: relative; padding-left: 42px;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.65;
}
.fact-list li::before {
  content: counter(fct); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--lime-soft); color: var(--lime-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(132,204,22,0.25);
}

/* sidebar name list */
.side-list { display: grid; gap: 6px; }
.side-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 12px; border-radius: 11px; font-size: 14px;
  transition: background .12s ease;
}
.side-list a:hover { background: var(--panel-soft); }
.side-list .sl-name { font-weight: 600; color: var(--ink); }
.side-list .sl-sub { font-size: 12px; color: var(--muted); }
.side-list .sl-arr { color: var(--muted); }

/* affiliate card */
.aff-card img { border-radius: 12px; }
.aff-card .aff-title { display: block; margin-top: 12px; font-weight: 600;
  font-size: 14.5px; color: var(--ink); }
.aff-card .aff-sub { display: block; margin-top: 4px; font-size: 13px;
  color: var(--ink-soft); }
.aff-card .aff-note { margin-top: 10px; font-size: 11.5px;
  color: var(--muted); }

/* ============ weton calculator ============ */
.weton-card { max-width: 640px; margin: 0 auto; }
.weton-card label { display: block; margin: 14px 0 7px; font-weight: 600;
  font-size: 13.5px; }
.weton-card select, .weton-card input[type="number"],
.weton-card input[type="text"] {
  width: 100%; padding: 12px 18px; border-radius: 9999px;
  border: 1px solid var(--ring); background: var(--panel-soft);
  color: var(--ink); font-size: 14.5px; font-family: inherit;
  outline: none; appearance: auto;
}
.weton-card select:focus, .weton-card input:focus {
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px var(--lime-soft);
}
.weton-grid3 { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; }
@media (max-width: 560px) { .weton-grid3 { grid-template-columns: 1fr; } }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 10px; }
.result-cell {
  background: var(--panel-soft); border-radius: 12px; padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--ring);
}
.result-cell h3 { font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.result-cell p { font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } }

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--ring);
  background: rgba(250, 250, 250, 0.5);
  padding: 28px 32px;
}
.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: 8px;
  font-weight: 600; font-size: 14px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer .muted { font-size: 12px; }
.footer-letters { display: flex; flex-wrap: wrap; gap: 6px; width: 100%;
  padding-top: 14px; border-top: 1px solid var(--ring); }
.footer-letters a {
  min-width: 28px; padding: 5px 0; text-align: center;
  background: #fff; border-radius: 8px; font-size: 12px; font-weight: 600;
  color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--ring);
}
.footer-letters a:hover { box-shadow: inset 0 0 0 2px var(--lime-dark);
  color: var(--ink); }

hr { border: none; border-top: 1px solid var(--ring); margin: 22px 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }

/* back to top */
.back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 44px; height: 44px; border-radius: 9999px; border: 0;
  background: var(--ink); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; }

/* ============ responsive ============ */
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .hero-img { max-width: 440px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .name-layout { grid-template-columns: 1fr; }
  .name-side { position: static; }
}
@media (max-width: 640px) {
  .shell { padding: 8px; }
  .nav { padding: 12px; }
  .section { padding: 0 12px 28px; }
  .panel { padding: 18px 16px; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-cell + .stat-cell { border-left: none;
    border-top: 1px solid var(--ring); }
}
