/* Ganiva - "First Letter" design system. See DESIGN.md. */
:root {
  --white: #ffffff;
  --paper: #fff8f2;
  --ink: #1b1d22;
  --muted: #66676e;
  --orange: #f26b1d;
  --orange-deep: #c9500c;
  --orange-soft: #ffe8d9;
  --haldi: #ffb84d;
  --haldi-soft: #fff3d6;
  --line: #e9e3db;
  --error: #d2321f;
  --radius: 12px;
  --radius-inset: 10px;
  --radius-slate: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.03em;
  font-weight: 600;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
}
.skip:focus { left: 8px; z-index: 20; }

/* ---------- Element kit ---------- */

/* Copybook: kept as a spacing hook. Ruling is no longer drawn; the trunk curve carries the mark. */
.copybook {
  padding: 0;
  margin-bottom: 4px;
}

/* The curve: trunk stroke under one key phrase, curling at the tip. */
.swoosh {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.swoosh::after {
  content: "";
  position: absolute;
  left: -1%;
  right: 2%;
  bottom: -0.02em;
  height: 0.2em;
  background: url(../img/arc.svg) no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Chalk note: a short whisper. Smaller, less rotated. */
.chalk {
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--orange);
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-2deg);
}
.chalk-haldi { color: var(--haldi); }

/* Ears: a pair of stroke ellipses, never a filled blob. */
.has-ear { position: relative; }
.ear {
  position: absolute;
  width: 140px;
  height: 176px;
  border-radius: 50%;
  border: 1.4px solid var(--orange);
  background: transparent;
  top: -48px;
  right: -28px;
  z-index: 0;
  transform: rotate(-18deg);
  opacity: 0.45;
  pointer-events: none;
}
.ear::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 82%;
  border: 1.4px solid var(--orange);
  border-radius: 50%;
  right: -46%;
  top: 8%;
  transform: rotate(38deg);
}
.has-ear > *:not(.ear):not(.motif-ghost) { position: relative; z-index: 1; }

/* Motif: one trunk curl, same gesture as the mark. Never a figure. */
.motif {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 0 6px 36px;
  opacity: 0.7;
}
.motif-ghost {
  position: absolute;
  width: 260px;
  height: auto;
  left: -12px;
  bottom: -56px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* Tusk ticks. */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  background: url(../img/tusk-check.svg) no-repeat center / contain;
}
.check-list.haldi li::before { background-image: url(../img/tusk-check-haldi.svg); }

/* Modak dots: round numerals. */
.num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--orange);
  border: 1.4px solid var(--orange);
  font-weight: 600;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* Skill dots (1-5). */
.dots { display: inline-flex; gap: 5px; vertical-align: middle; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--orange); }
.dots.haldi i.on { background: var(--haldi); }

/* ---------- Chrome ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
/* The mark: orange trunk-G with an ink bindu. */
.mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--white) url(../favicon.svg) center / cover no-repeat;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.nav .btn-primary { padding: 7px 14px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-disabled, .btn[disabled] {
  background: var(--paper);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

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

.hero {
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  hyphens: none;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 6px;
  background: url(../img/arc.svg) no-repeat center / 100% 100%;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 0;
}
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.benefit-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  max-width: 36rem;
}
.benefit-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--ink);
  font-weight: 500;
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  background: url(../img/tusk-check.svg) no-repeat center / contain;
}
.lead, .hero-copy p { font-size: 1.02rem; color: var(--muted); max-width: 36rem; }
.hero .lead { margin: 1.15em 0 0; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 16px; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}
.price-chip {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-side { position: relative; }
.hero-side .chalk {
  display: block;
  text-align: left;
  margin: 0 0 10px 40px;
  transform: rotate(-2deg);
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-slate);
  padding: 22px 22px 8px;
}
.plan-card h2 {
  font-size: 1.45rem;
  margin: 0 0 4px;
}
.plan-lede {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.plan-block {
  background: var(--paper);
  border-radius: var(--radius-inset);
  padding: 12px 14px;
  margin: 0 0 12px;
}
.plan-block strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.plan-block p, .plan-block li {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}
.plan-block ol {
  margin: 0;
  padding-left: 18px;
}
.plan-block ol li { margin: 4px 0; }
.plan-block.last { margin-top: 8px; }
.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
}
.plan-row.nurture { color: var(--ink); }
.flow {
  display: grid;
  gap: 0;
}
.flow-wide { max-width: 720px; }
.flow-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}
.flow-item:last-child { border-bottom: none; }
.flow-item p { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }
.note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

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

main > section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
main > section:last-of-type { padding-bottom: 112px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; font-size: 1.65rem; }
.section-head p { color: var(--muted); margin-top: 0.6em; }
.section-head .kicker { margin-bottom: 10px; }

.case {
  border-top: 1px solid var(--line);
  padding: 28px 0 8px;
  margin-bottom: 28px;
  max-width: 760px;
}
.case h3 { font-size: 1.45rem; margin: 0 0 12px; }
.case-quote {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 40rem;
}
.case-note { color: var(--muted); font-size: 0.92rem; margin: 0; }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
}
.quote {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
}
.quote p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
  display: block;
}
.grid-3, .grid-2 {
  display: grid;
  gap: 36px 48px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0 0;
}
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); margin: 0; }
/* Tusk tick before card titles. */
.card.ticked h3 {
  padding-left: 26px;
  position: relative;
}
.card.ticked h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  background: url(../img/tusk-check.svg) no-repeat center / contain;
}

/* The slate: one dark panel per page. */
.pricing-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-slate);
  padding: 28px 32px;
  overflow: hidden;
  margin: 0;
}
.pricing-panel::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: -64px;
  width: 240px;
  height: 300px;
  background: url(../img/trunk-spiral.svg) no-repeat left bottom / contain;
  opacity: 0.22;
  pointer-events: none;
}
.pricing-panel > * { position: relative; z-index: 1; }
.pricing-panel h2, .pricing-panel p { color: inherit; }
.pricing-panel p { opacity: 0.82; }
.pricing-panel .check-list li::before { background-image: url(../img/tusk-check-haldi.svg); }
.pricing-panel .ear {
  border-color: rgba(255, 255, 255, 0.28);
  opacity: 0.5;
}
.pricing-panel .ear::after { border-color: rgba(255, 255, 255, 0.28); }
.amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.amount span { font-size: 1rem; opacity: 0.7; }
.pricing-panel .chalk { margin: 2px 0 8px; }

.faq details {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0;
  margin-bottom: 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 4px; }

/* ---------- Inner pages ---------- */

.page-hero {
  padding: 40px 0 8px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 0;
}
.page-hero .lead { margin-top: 0.35em; }
.policy {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 40px;
  margin: 12px 0 24px;
}
.policy h2 { font-size: 1.15rem; margin-top: 1.5em; }
.policy p, .policy li { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.88rem; }

.checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 12px 0 56px;
}
.checkout .card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.84rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.field input:disabled, .field select:disabled { background: var(--paper); color: var(--muted); }
.banner {
  background: var(--haldi-soft);
  border: 1px solid #f3d99a;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: var(--radius-inset);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.92rem;
}
.error { color: var(--error); }
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.pill {
  border: 1px dotted var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-variant-numeric: tabular-nums;
}
.total {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card a { text-decoration: none; color: var(--orange-deep); font-weight: 700; font-size: 1.05rem; }
.contact-card p { margin: 10px 0 0; color: var(--muted); }

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

.site-footer {
  margin-top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 32px 0 20px;
}
.site-footer .brand { color: var(--white); }
.site-footer p { opacity: 0.82; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: var(--white); text-decoration: none; opacity: 0.86; }
.site-footer a:hover { opacity: 1; }
.site-footer h4 { font-size: 0.82rem; margin-bottom: 10px; font-family: "Outfit", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.legal-name { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.82rem; opacity: 0.8; }
.footer-links { display: grid; gap: 6px; font-size: 0.9rem; }

@media (max-width: 880px) {
  .hero, .grid-3, .grid-2, .pricing-panel, .checkout, .contact-grid, .footer-grid, .quotes {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 20px;
    left: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
  }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 40px 0 56px; gap: 40px; }
  main > section { padding: 56px 0; }
  main > section:last-of-type { padding-bottom: 72px; }
  .ear { width: 110px; height: 140px; top: -36px; right: -20px; }
  .motif { width: 112px; margin-left: 36px; }
  .motif-ghost { width: 160px; right: -16px; }
}
