/* ============================================================
   NUMRO ANKA — Chaldean Numerology
   Design system: warm cream paper, ink text, terracotta + teal
   ============================================================ */
:root {
  --bg: #faf6ef;
  --surface: #fffdf8;
  --surface-2: #f4eee2;
  --border: rgba(31, 27, 22, 0.12);
  --text: #221c14;
  --text-dim: #6f6455;
  --accent: #b4502a;        /* terracotta */
  --accent-dim: #f7e5dc;
  --teal: #2c6e63;          /* deep teal */
  --teal-dim: #e0ece9;
  --gold: #a8811f;          /* ochre gold */
  --gold-dim: #f5ecd2;
  --danger: #a03030;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", "Courier New", monospace;
  --shadow-sm: 0 1px 3px rgba(34, 28, 20, 0.07);
  --shadow-md: 0 8px 28px rgba(34, 28, 20, 0.10);
  --shadow-lg: 0 18px 50px rgba(34, 28, 20, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  background-image:
    radial-gradient(1100px 500px at 85% -100px, rgba(176, 80, 42, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(44, 110, 99, 0.05), transparent 55%);
  background-repeat: no-repeat;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent-dim); }

/* ---------- Layout ---------- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 239, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none !important; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 50%; align-self: center;
  background: var(--text); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 20px; font-style: italic;
}
.brand .name { font-family: var(--font-display); font-size: 1.45rem; color: var(--text); font-weight: 600; }
.brand .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--text-dim); text-transform: uppercase; }
nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a {
  color: var(--text); padding: 9px 14px; border-radius: 10px; font-size: 0.95rem; font-weight: 500;
}
nav.main a:hover { background: var(--surface-2); text-decoration: none; }
nav.main a.active { background: var(--accent-dim); color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-burger { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #96401f; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #225747; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }
.card .num-badge {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px;
  background: var(--accent-dim); color: var(--accent);
}
.card.t .num-badge { background: var(--teal-dim); color: var(--teal); }
.card.g .num-badge { background: var(--gold-dim); color: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px; display: inline-block;
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; background: var(--surface);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .sub { margin: 22px 0 32px; font-size: 1.18rem; color: var(--text-dim); max-width: 50ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.86rem; color: var(--text-dim); font-family: var(--font-mono); }

/* ---------- Number medallion ---------- */
.medallion {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.65), transparent 55%),
    linear-gradient(150deg, var(--accent) 0%, #8a3a1d 100%);
  color: #fff; box-shadow: var(--shadow-lg); position: relative;
}
.medallion::before, .medallion::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(176, 80, 42, 0.35);
}
.medallion::before { inset: 10px; border-style: dashed; }
.medallion::after { inset: 22px; border-color: rgba(255,255,255,0.28); }
.medallion .big { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; z-index: 1; }
.medallion .cap { position: absolute; bottom: 14%; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; z-index: 1; }
.orbit { position: relative; display: grid; place-items: center; }
.orbit .sat {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 1.25rem; color: var(--teal);
}
.orbit .sat.s1 { top: -6px; left: 50%; transform: translateX(-50%); }
.orbit .sat.s2 { bottom: 8%; left: -8px; }
.orbit .sat.s3 { bottom: 8%; right: -8px; }
.orbit-wrap { width: min(380px, 82vw); margin: 0 auto; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text); transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 5px; }
.form-error { display: none; color: var(--danger); font-size: 0.85rem; margin-top: 10px; }

/* ---------- Results ---------- */
.result-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.result-hero .medallion { width: 150px; }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 26px 0; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 10px; text-align: center;
}
.stat .v { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1.1; }
.stat .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pill.warm { background: var(--accent-dim); color: var(--accent); }
.pill.cool { background: var(--teal-dim); color: var(--teal); }
.pill.sunny { background: var(--gold-dim); color: var(--gold); }
.pill.hot { background: var(--accent); color: #fff; letter-spacing: .02em; }

/* ---- India top-search strip ---- */
.top-search { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border); font-size: .92rem; }
.top-search strong { color: var(--text); font-weight: 700; }
.top-search a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.top-search a:hover { text-decoration: underline; }
.swatch { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--border); vertical-align: -2px; margin-right: 6px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.nice { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
table.nice th, table.nice td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.nice thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); background: var(--surface-2); position: sticky; top: 0; }
table.nice tbody tr:nth-child(even) { background: rgba(244, 238, 226, 0.4); }
table.nice tbody tr:hover { background: var(--accent-dim); }
table.nice td.num { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); font-style: italic;
}
.step::after { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 1px; background: var(--border); }
.step h3 { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 22px; margin-bottom: 12px; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .ans { padding: 0 0 20px; color: var(--text-dim); }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price { font-family: var(--font-display); font-size: 2.7rem; margin: 8px 0 4px; }
.price-card .price small { font-size: 1rem; color: var(--text-dim); font-family: var(--font-body); }
.price-card .per { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.price-card ul { list-style: none; margin: 20px 0 26px; flex-grow: 1; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; display: flex; gap: 10px; align-items: baseline; }
.price-card ul li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-card .flag {
  position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}

/* ---------- Modal ---------- */
.modal-back { display: none; position: fixed; inset: 0; background: rgba(24, 19, 13, 0.55); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; }
.modal { background: var(--surface); border-radius: 22px; max-width: 520px; width: 100%; padding: 36px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; position: relative; }
.modal .close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dim); }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.pay-methods label { cursor: pointer; }
.pay-methods input { display: none; }
.pay-methods .opt { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 8px; text-align: center; font-size: 0.82rem; font-weight: 600; transition: all .15s; }
.pay-methods input:checked + .opt { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
.demo-note { background: var(--gold-dim); border: 1px solid rgba(168, 129, 31, 0.3); border-radius: 12px; padding: 12px 16px; font-size: 0.82rem; color: #7a5c10; margin-top: 16px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--text); color: #cfc6b8; margin-top: 40px; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
footer a { color: #cfc6b8; display: block; padding: 4px 0; font-size: 0.94rem; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: #8f8474; }
.footer-brand .logo { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--text); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 22px; margin-bottom: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .sub { color: var(--text-dim); font-size: 1.13rem; max-width: 60ch; margin-top: 16px; }

/* ---------- Compatibility ---------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; margin: 30px 0; }
.versus .side { text-align: center; padding: 26px 18px; }
.versus .vs { display: grid; place-items: center; font-family: var(--font-mono); color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.2em; }
.versus .side .medallion { width: 110px; margin: 0 auto 14px; }
.score-ring { position: relative; width: 190px; height: 190px; margin: 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; }
.score-ring .val .n { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; }
.score-ring .val .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Daily ---------- */
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.today-card { background: linear-gradient(150deg, var(--text) 0%, #3a3226 100%); color: #f0e9dd; border-radius: 22px; padding: 34px; border: none; }
.today-card .section-label { color: #e8b98f; }
.today-card .section-label::before { background: #e8b98f; }
.today-card h3 { color: #fff; font-size: 1.6rem; margin: 6px 0 2px; }
.today-card .date { font-family: var(--font-mono); font-size: 0.85rem; color: #bfb49e; }
.lucky-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.lucky-strip .cell { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 14px 10px; text-align: center; }
.lucky-strip .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #b3a78f; }
.lucky-strip .v { font-weight: 700; margin-top: 5px; font-size: 0.95rem; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); margin: 26px 0; }
.quote-card { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; padding: 22px 26px; box-shadow: var(--shadow-sm); }
.quote-card .who { margin-top: 12px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); }
.cta-band { background: var(--text); color: var(--bg); border-radius: 26px; padding: 54px; display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc6b8; }
.fade-in { animation: fadeUp .7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: fadeUp .6s ease both; }
.stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* collapse the top nav to a burger before 8 items overflow */
  nav.main {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 14px 20px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  nav.main.open { display: flex; }
  .nav-burger { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .daily-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 38px; }
  .result-hero { grid-template-columns: 1fr; text-align: center; }
  .result-hero .medallion { margin: 0 auto; }
}
@media (max-width: 720px) {
  nav.main {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 14px 20px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  nav.main.open { display: flex; }
  .nav-burger { display: block; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .versus .vs { padding: 4px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .brand .tag { display: none; }
}

/* ---- Cross-sell next steps (rule 4) ---- */
.next-steps { margin-top: 16px; border-top: 1px dashed var(--border); padding-top: 14px; }
.next-steps h3 { font-size: .95rem; margin: 0 0 4px; }
.ns-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ns-link { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--accent); background: #fff; text-decoration: none; }
.ns-link:hover { border-color: var(--accent); }
.ns-note { font-size: .78rem; color: var(--text-dim); margin-top: 10px; }
.ns-note a { color: var(--accent); font-weight: 600; }
