/* prayukta.com — inner pages (yukta, enterprise, contact, legal)
   Builds on home.css; only adds the components those pages need. */

/* ── Header breadcrumb ─────────────────────────────── */

.logo-sep {
  margin: 0 10px;
  font-weight: 400;
  color: var(--text-muted);
}

.logo-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

a.logo-sub:hover {
  color: var(--gold-text);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  font-family: var(--font-mono);
}

/* ── Page head ─────────────────────────────────────── */

.page-head {
  padding: 96px 0 88px;
}

.page-head > .container > * + * {
  margin-top: 24px;
}

.page-head h1 {
  max-width: 20em;
}

.page-head .lead {
  max-width: 38em;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--gold-text);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.eyebrow [lang] {
  font-family: var(--font-deva);
  font-size: 15px;
  margin-right: 8px;
  color: var(--ink);
}

.aside-quote {
  font-family: var(--font-mono);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  max-width: 36em;
}

.fineprint {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.definition-note {
  margin-top: 18px;
  padding-top: 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}

/* ── Section head ──────────────────────────────────── */

.section-head {
  margin-bottom: 44px;
}

.section-head > * + * {
  margin-top: 12px;
}

.title {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-transform: none;
  max-width: 26em;
  text-wrap: balance;
}

.section-head p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42em;
  text-wrap: pretty;
}

/* ── Prose ─────────────────────────────────────────── */

.prose {
  max-width: 42em;
}

.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 18px;
}

.prose .prose-lead {
  color: var(--text);
}

.callout {
  margin-top: 28px;
  padding: 2px 0 2px 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  max-width: 40em;
}

.prose .callout {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Feature grid (magnum's bulleted grid) ─────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px 32px;
}

.feature-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px 24px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
}

.feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

.feature--lead::before {
  background: var(--rust);
}

.feature h3,
.feature h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.feature .tags {
  margin-top: 6px;
}

/* ── Steps ─────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 12px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.step-index {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text);
}

.step p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.step .step-example {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* ── Compare ───────────────────────────────────────── */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-col {
  padding: 22px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.compare-col--good {
  border-color: var(--gold);
}

.compare-col h3,
.compare-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.compare-col--good h3,
.compare-col--good h4 {
  color: var(--gold-text);
}

.compare-col ul {
  margin-top: 16px;
}

.compare-col li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  border-top: 1px solid var(--line);
}

.compare-col li:first-child {
  border-top: 0;
  padding-top: 0;
}

.compare-col li:last-child {
  padding-bottom: 0;
}

.compare-col li::before {
  content: '−';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.compare-col--good li {
  color: var(--text);
}

.compare-col--good li::before {
  content: '+';
  color: var(--gold-text);
}

/* ── Split (text + visual) ─────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.split-stack > * + * {
  margin-top: 32px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Cards ─────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.card-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: lowercase;
}

.card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.quote {
  position: relative;
  padding: 24px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quote::before {
  content: '“';
  display: block;
  height: 22px;
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
}

.quote blockquote {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}

/* ── Mockup (terminal-style panel) ─────────────────── */

.mock-body {
  padding: 18px 16px 16px;
}

.mock-title {
  color: var(--ink);
}

.mock-lines {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.9;
}

.mock-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}

.mock-result-head {
  font-size: 12px;
  color: var(--gold-text);
}

.mock-task {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.mock-task:first-of-type {
  margin-top: 8px;
}

.mock-task .tag {
  font-size: 10.5px;
  padding: 2px 6px;
}

/* ── Stats ─────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.stats--head {
  margin-top: 56px !important;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 640px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat dd {
  order: -1;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat dt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  text-transform: lowercase;
}

.subhead {
  margin: 72px 0 32px;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-transform: lowercase;
  border-top: 1px solid var(--line);
}

/* ── Pricing ───────────────────────────────────────── */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.plan--featured {
  background: var(--code-bg);
  border-color: var(--gold);
}

.plan-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--bg);
  background: var(--gold-text);
  border-radius: 3px;
  text-transform: lowercase;
}

.plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 20px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-transform: lowercase;
}

.plan-price {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-price span {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
}

.plan-note {
  margin-top: 8px;
  min-height: 2.9em;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.billing {
  display: inline-flex;
  margin: -6px 0;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.billing button {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.billing button:hover {
  color: var(--ink);
}

.billing button[aria-pressed='true'] {
  color: var(--bg);
  background: var(--ink);
}

.billing small {
  font-size: 10.5px;
  opacity: 0.75;
}

.checklist {
  flex: 1;
  margin: 20px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.checklist li + li {
  margin-top: 9px;
}

.checklist li::before {
  content: '+';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-text);
}

.checklist strong {
  font-weight: 500;
  color: var(--text);
}

.btn--block {
  justify-content: center;
  width: 100%;
}

.btn--quiet {
  background: transparent;
  border-color: var(--line-strong);
}

.btn--quiet:hover {
  border-color: var(--gold);
}

.section-foot {
  margin-top: 28px;
}

/* ── FAQ ───────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.15s ease;
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item summary {
  position: relative;
  padding: 15px 20px 15px 44px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-item summary::before {
  content: '+';
  position: absolute;
  left: 20px;
  color: var(--gold-text);
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  padding: 0 20px 18px 44px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ── Closing CTA ───────────────────────────────────── */

.closing > .container > * + * {
  margin-top: 16px;
}

.closing .intro-actions {
  margin-top: 32px;
}

.closing p:not(.fineprint) {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Forms ─────────────────────────────────────────── */

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-text);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #4a4c4d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form button.btn {
  cursor: pointer;
  padding: 13px 16px;
}

.form-message {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.form-message:empty {
  display: none;
}

.form-message[data-state='success'] {
  color: var(--gold-text);
}

.info-list {
  display: flex;
  flex-direction: column;
}

.info {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info:first-child {
  padding-top: 0;
  border-top: 0;
}

.info dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: lowercase;
}

.info dd {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.info dd a {
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.info dd a:hover {
  color: var(--gold-text);
  border-color: var(--gold);
}

.info dd span {
  display: block;
  color: var(--text-secondary);
}

.note-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.note-box p {
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ── Legal ─────────────────────────────────────────── */

.legal {
  max-width: 720px;
}

.legal > section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal h2 {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.4;
  text-transform: none;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 14px;
}

.legal ul:not(.checklist) li {
  position: relative;
  padding-left: 20px;
}

.legal ul:not(.checklist) li + li {
  margin-top: 6px;
}

.legal ul:not(.checklist) li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 1px;
}

.legal strong {
  font-weight: 500;
  color: var(--text);
}

.legal a {
  color: var(--gold-text);
  border-bottom: 1px solid var(--gold);
  transition: color 0.15s ease;
}

.legal a:hover {
  color: var(--rust);
}

.legal > section.legal-summary {
  margin-top: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.legal-summary .checklist {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-summary .checklist li {
  font-size: 15px;
  color: var(--text);
}

.legal-summary .checklist + p {
  margin-top: 20px;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-text);
  border-top: 1px solid var(--line);
}

.legal-back {
  margin-top: 40px;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 960px) {
  .card-grid,
  .pricing {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .plan-note {
    min-height: 0;
  }

  .split {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-head {
    padding: 56px 0 56px;
  }

  .page-head > .container > * + * {
    margin-top: 20px;
  }

  .nav-optional {
    display: none;
  }

  .logo-sep {
    margin: 0 7px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .title {
    font-size: 19px;
  }

  .prose p,
  .closing p:not(.fineprint) {
    font-size: 15px;
  }

  .steps,
  .compare,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    gap: 36px;
  }

  .step {
    padding: 24px 0;
  }

  .feature-grid,
  .feature-grid--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat dd {
    font-size: 24px;
  }

  .subhead {
    margin: 52px 0 28px;
    padding-top: 28px;
  }

  .form {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .info {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-sub {
    font-size: 13px;
  }

  .faq-item summary {
    padding: 14px 16px 14px 36px;
  }

  .faq-item summary::before {
    left: 16px;
  }

  .faq-item p {
    padding: 0 16px 16px 36px;
  }

  .compare-col,
  .card,
  .quote,
  .plan {
    padding-left: 20px;
    padding-right: 20px;
  }
}
