/* ============================================================
   Chokro AI — Design tokens
   Palette: ink navy / warm parchment / muted brass / ledger forest & rust
   Type: Fraunces (display) + IBM Plex Sans (body) + IBM Plex Mono (data)
   ============================================================ */
:root {
  --ink:        #1B2430;
  --ink-soft:   #2A3644;
  --parchment:  #F6F2E9;
  --paper:      #FBF8F2;
  --rule:       #DDD5C2;
  --brass:      #B08D46;
  --brass-deep: #8C6D2F;
  --forest:     #2F4A3E;
  --rust:       #A24B3D;
  --ink-text:   #232A33;
  --muted:      #6B6459;

  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 6px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.section-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 500; letter-spacing: -0.01em; }
.section-lede { font-size: 1.05rem; color: var(--muted); margin-top: 10px; max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 4px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { box-shadow: 0 6px 20px rgba(176,141,70,0.35); }
.btn-ink { background: var(--ink); color: var(--paper); width: 100%; }
.btn-ink:hover { box-shadow: 0 8px 24px rgba(27,36,48,0.25); }

/* ============ HERO ============ */
.hero {
  background: radial-gradient(ellipse at top left, #22303F 0%, var(--ink) 55%);
  color: var(--parchment);
  padding: 88px 24px 0;
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.hero-headline { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.015em; }
.hero-sub { font-size: 1.15rem; color: #C9D0D8; max-width: 600px; margin: 22px auto 0; }
.hero-cta-row { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-cta-note { font-size: 0.85rem; color: #9AA5B1; font-family: var(--mono); }

/* Signature element: the ledger */
.ledger {
  max-width: 620px; margin: 56px auto 0; background: var(--paper); color: var(--ink-text);
  border-radius: 8px 8px 0 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  padding: 22px 26px 26px; position: relative; top: 40px;
}
.ledger-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ledger-title { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.ledger-live { font-family: var(--mono); font-size: 0.72rem; color: var(--forest); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); display: inline-block; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.ledger-cols {
  display: grid; grid-template-columns: 1fr 90px 130px; font-family: var(--mono);
  font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.ledger-rows { border-bottom: 1px solid var(--rule); }
.ledger-rows li {
  display: grid; grid-template-columns: 1fr 90px 130px; align-items: center;
  padding: 13px 0; border-bottom: 1px dashed var(--rule); font-size: 0.9rem;
}
.ledger-rows li:last-child { border-bottom: none; }
.ltime { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.lstatus {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 3px; justify-self: start; text-transform: uppercase;
  transform: rotate(-2deg); border: 1.5px solid currentColor;
}
.status-missed { color: var(--rust); }
.status-followed { color: var(--brass-deep); }
.status-booked { color: var(--forest); }
.ledger-caption { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* ============ FEATURES ============ */
.features { padding: 150px 0 90px; background: var(--paper); }
.feature-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.feature-card { background: var(--paper); padding: 34px 30px; }
.feature-mark {
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brass-deep); display: block; margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ============ TRUST BLOCK ============ */
.trust-block { background: var(--ink); color: var(--parchment); padding: 90px 0; }
.trust-title { color: var(--parchment); }
.badge-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.badge { border-top: 2px solid var(--brass); padding-top: 16px; }
.badge-icon { font-size: 1.4rem; }
.badge h4 { font-size: 1rem; font-weight: 500; margin: 10px 0 8px; font-family: var(--body); }
.badge p { color: #B7BFC9; font-size: 0.88rem; }

/* ============ PRICING ============ */
.pricing { padding: 100px 0; background: var(--parchment); }
.pricing-inner { text-align: center; }
.pricing .section-lede { margin-left: auto; margin-right: auto; }
.price-card {
  max-width: 480px; margin: 44px auto 0; background: var(--paper);
  border: 1px solid var(--rule); border-top: 4px solid var(--brass);
  border-radius: 6px; padding: 40px 36px; text-align: left;
  box-shadow: 0 24px 50px -30px rgba(27,36,48,0.35);
}
.price-card-name { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.price-old { font-family: var(--mono); font-size: 1.1rem; color: var(--rust); text-decoration: line-through; }
.price-new { font-family: var(--display); font-size: 2.8rem; font-weight: 500; color: var(--ink); }
.price-unit { color: var(--muted); font-size: 0.95rem; }
.price-founding { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--brass-deep); font-family: var(--mono); }
.price-features { margin: 28px 0 30px; border-top: 1px solid var(--rule); padding-top: 24px; }
.price-features li { padding: 9px 0; font-size: 0.94rem; padding-left: 22px; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 600; }
.price-cta { margin-top: 4px; }
.price-fineprint { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.soft-cta { margin-top: 30px; font-size: 0.95rem; color: var(--muted); }
.soft-cta a { color: var(--brass-deep); font-weight: 600; text-decoration: underline; }

/* ============ FAQ ============ */
.faq { padding: 100px 0; background: var(--paper); }
.faq-list { margin-top: 40px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 500; color: var(--ink-text);
}
.faq-toggle { font-family: var(--mono); color: var(--brass-deep); font-size: 1.2rem; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 0 20px; color: var(--muted); font-size: 0.94rem; max-width: 640px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: #8D97A3; padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { font-family: var(--display); color: var(--parchment); font-size: 1.1rem; }
.footer-meta { font-size: 0.8rem; }
.footer-meta a { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
  .ledger-cols, .ledger-rows li { grid-template-columns: 1fr 70px 100px; font-size: 0.8rem; }
  .lname { font-size: 0.85rem; }
  .price-card { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
