/* BakDumGa — shared styles */

:root {
  --bone: #F5F1E8;
  --bone-2: #EDE6D6;
  --bone-3: #E4DAC4;
  --ink: #1A1A17;
  --ink-soft: #3A3831;
  --mute: #7A7264;
  --line: #1A1A1720;
  --line-strong: #1A1A1740;
  --card: #FBF8EF;
  --accent: oklch(0.52 0.11 35);
  --accent-deep: oklch(0.38 0.1 35);
  --accent-soft: oklch(0.92 0.04 35);
  --ok: oklch(0.55 0.1 150);
  --radius: 4px;
  --radius-lg: 8px;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.mono { font-family: var(--font-mono); }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

section { padding: 64px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { section { padding: 96px 0; } }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--bone), transparent 5%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-logo-wordmark { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: none; gap: 24px; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--bone);
  padding: 9px 16px; border-radius: 99px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
}
.nav-cta:hover { color: var(--bone); background: var(--accent-deep); }

/* Hero — image backdrop */
.hero { position: relative; padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/img-hero-livestock.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      color-mix(in oklab, var(--bone), transparent 0%) 0%,
      color-mix(in oklab, var(--bone), transparent 8%) 38%,
      color-mix(in oklab, var(--bone), transparent 55%) 65%,
      color-mix(in oklab, var(--bone), transparent 20%) 100%),
    linear-gradient(180deg,
      color-mix(in oklab, var(--bone), transparent 10%) 0%,
      transparent 30%,
      transparent 70%,
      color-mix(in oklab, var(--bone), transparent 25%) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .hero .wrap { padding-top: 96px; padding-bottom: 96px; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 20px 0 16px;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero-lede {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bone);
  padding: 14px 22px;
  border-radius: 99px;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bone); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.link {
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  font-size: 14px;
}
.link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
  max-width: 480px;
}
.cd-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}
.cd-card .kicker { font-size: 10px; margin-bottom: 6px; }
.cd-units { display: flex; gap: 10px; align-items: baseline; }
.cd-unit { display: flex; flex-direction: column; align-items: flex-start; }
.cd-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}

.seal-stage {
  aspect-ratio: 4/5;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  display: flex; align-items: flex-end; justify-content: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone-2) center / cover no-repeat;
  box-shadow: 0 20px 40px -20px rgba(26,26,23,0.3);
}
.seal-stage::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(26,26,23,0.04) 38px 39px);
  pointer-events: none;
  z-index: 2;
}
.seal-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.seal-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  width: 72px; height: 72px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px;
}

/* Sections */
.section-head { margin-bottom: 48px; max-width: 860px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.section-head h2 em { font-style: italic; color: var(--accent-deep); }
.section-lede { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin-top: 20px; line-height: 1.6; }

/* Three-pillar cards */
.pillars { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 14px 0 10px;
}
.pillar p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.step { padding: 28px 0; border-top: 1px solid var(--line); }
@media (min-width: 780px) {
  .step { padding: 28px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .step:last-child { border-right: none; }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--accent-deep);
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.callout {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent), transparent 70%);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--accent-deep);
}

/* Pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* Agent ladder */
.ladder {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 32px;
  align-items: end;
}
.rung {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px 10px;
  text-align: center;
}
.rung-bar {
  height: 4px;
  background: var(--accent);
  margin: 0 auto 10px;
  border-radius: 2px;
}
.rung-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.rung-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
@media (max-width: 640px) {
  .ladder { grid-template-columns: repeat(3, 1fr); }
}

/* Service cards */
.services { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.service-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 14px;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.service p { color: var(--ink-soft); font-size: 14.5px; margin: 0; flex: 1; }
.service-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.service-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: flex-start;
}
.service-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* Prose two-col */
.prose-two {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  max-width: 980px;
}
@media (min-width: 780px) {
  .prose-two { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.prose-two p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.prose-two h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

/* About */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 720px;
}
@media (min-width: 640px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 16px 40px; }
}
.about-row .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.about-row .val { font-size: 15px; color: var(--ink); }

/* Forms */
.form-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input, .field select, .field textarea {
  background: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
}
.field textarea { min-height: 96px; resize: vertical; }
.form-note {
  font-size: 13px;
  color: var(--mute);
  margin-top: 8px;
}
.form-success {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent), transparent 70%);
  color: var(--accent-deep);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 12px;
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--ink), transparent 30%);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bone);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--line);
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 16px; }
.modal-head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 0;
  letter-spacing: -0.01em;
}
.modal-close {
  background: transparent; border: none; cursor: pointer;
  font-size: 20px; color: var(--mute); line-height: 1;
  padding: 4px 8px;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-logo-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.footer-logo-row .nav-logo-wordmark { color: var(--bone); }
.footer-tag { color: color-mix(in oklab, var(--bone), transparent 40%); font-size: 14px; max-width: 280px; margin: 8px 0 0; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bone), transparent 55%);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: color-mix(in oklab, var(--bone), transparent 20%); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  max-width: 1120px; margin: 40px auto 0; padding: 20px 20px 0;
  border-top: 1px solid color-mix(in oklab, var(--bone), transparent 85%);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: color-mix(in oklab, var(--bone), transparent 55%);
}

/* Legal page prose */
.legal { padding: 48px 0 80px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal .kicker { margin-bottom: 12px; }
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.legal-body p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 12px; }
.legal-body ul { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.draft-banner {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent), transparent 70%);
  color: var(--accent-deep);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin: 16px 0 32px;
}

/* Contact page specifics */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.map-stage {
  aspect-ratio: 4 / 3;
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-stage::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, transparent 49.5%, rgba(26,26,23,0.07) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(26,26,23,0.07) 50%, transparent 50.5%),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(26,26,23,0.03) 40px 41px),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(26,26,23,0.03) 40px 41px);
}
.map-pin {
  width: 14px; height: 14px;
  background: var(--accent);
  border: 3px solid var(--bone);
  border-radius: 99px;
  box-shadow: 0 0 0 1px var(--accent);
  position: relative;
  z-index: 1;
}

/* Brand punchline — concept illustration */
.concept {
  padding: 96px 0;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .concept-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
}
.concept h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}
.concept h2 em { font-style: italic; color: var(--accent-deep); }
.concept-lede {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.concept-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; gap: 10px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.concept-meta .dot { color: var(--accent); }
.concept-media {
  margin: 0;
  position: relative;
}
.concept-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow:
    0 30px 60px -30px rgba(26,26,23,0.35),
    0 8px 20px -12px rgba(26,26,23,0.18);
}
.concept-media figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

/* Editorial image strips — market band */
.image-band {
  position: relative;
  height: clamp(260px, 38vw, 420px);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-end;
}
.image-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,26,23,0.45) 100%);
}
.image-band-caption {
  position: relative; z-index: 1;
  padding: 24px 20px;
  max-width: 1120px; margin: 0 auto; width: 100%;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Two-col split: text + image */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-media {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(26,26,23,0.25);
}
.split.reverse .split-media { order: -1; }
@media (min-width: 900px) {
  .split.reverse .split-media { order: 0; }
  .split.reverse > :first-child { order: 2; }
}

/* App preview band */
.preview-band {
  background: var(--bone-2);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.preview-band .wrap { text-align: center; }
.preview-band h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.preview-band h2 em { font-style: italic; color: var(--accent-deep); }
.phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 720px;
  margin: 48px auto 0;
}
@media (min-width: 640px) { .phones { grid-template-columns: 1fr 1fr; } }
.phone-frame {
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(26,26,23,0.5), 0 0 0 1px rgba(0,0,0,0.8);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9/18;
  border-radius: 28px;
  background-size: cover;
  background-position: top center;
  background-color: #fff;
}
.phone-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 14px;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-mute { color: var(--mute); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent-deep);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
}
.faq-body {
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.faq-body p { margin: 0 0 12px; }
.faq-body ul { margin: 0 0 12px; padding-left: 20px; }
.faq-body a { color: var(--accent-deep); }

/* Pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

/* Rules grid */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.rule {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.rule-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.rule h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.rule p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* Price table */
.price-table {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 2fr 1.5fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 15px;
}
.price-row:last-child { border-bottom: 0; }
.price-head {
  background: var(--bone-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.price-band {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-deep);
}
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr 1fr; }
  .price-head { display: none; }
  .price-row > div::before {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    display: block;
    margin-bottom: 4px;
  }
  .price-row > div:nth-child(1)::before { content: 'Tier'; }
  .price-row > div:nth-child(2)::before { content: 'Weight'; }
  .price-row > div:nth-child(3)::before { content: 'Breed'; }
  .price-row > div:nth-child(4)::before { content: 'Price'; }
}

/* Callout */
.callout {
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.6;
}
.callout a { color: var(--accent-deep); }

/* Footer logo row */
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-tag { color: var(--mute); font-size: 14px; line-height: 1.5; max-width: 280px; }

/* Guides grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.guide-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 200ms ease, transform 200ms ease;
}
.guide-card:hover {
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.guide-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.guide-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.guide-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.guide-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.guide-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* Prose (guides) */
.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-deep); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Urdu block */
.ur-block {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  text-align: right;
  line-height: 2;
  font-size: 17px;
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone); padding: 8px 12px;
}
.skip:focus { left: 8px; top: 8px; z-index: 1000; }
