/* ============================================================
   Boongon — Inner pages + FAQ + shared section pieces
   ============================================================ */

/* ── Auth (sign in / create account) ─────────────── */
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}
.auth-panel {
  background: #0E0F0E;
  color: #E7E9E4;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
}
.auth-panel .brand-name { color: #fff; }
.auth-panel .auth-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  color: #fff;
  margin: 28px 0 0;
}
.auth-panel .auth-tag { color: #fff; font-weight: 600; font-size: 19px; margin-top: 28px; }
.auth-panel .auth-sub { color: #9DA199; margin-top: 14px; max-width: 42ch; line-height: 1.6; }
.auth-checklist { margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.auth-checklist li { list-style: none; display: flex; gap: 12px; align-items: center; color: #C9CCC6; font-size: 16px; }
.auth-checklist svg { width: 20px; height: 20px; color: #36B27D; flex: none; }
.auth-secure { margin-top: auto; padding-top: 32px; color: #6E726C; font-size: 14px; }

.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 32px;
  background: var(--bg);
}
.auth-form { width: 100%; max-width: 400px; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 4px; margin-bottom: 32px;
}
.auth-tab {
  height: 40px; border-radius: var(--r-xs);
  font-weight: 500; font-size: 15px; color: var(--ink-3);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.auth-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); }
.auth-h { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.auth-hsub { color: var(--ink-3); margin-top: 4px; }
.auth-oauth { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.auth-oauth .btn { width: 100%; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-4); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin: 22px 0;
}
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--hairline); flex: 1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); }
.auth-form .btn-primary { width: 100%; margin-top: 6px; }
.auth-alt { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 18px; }
.auth-alt a { color: var(--green-ink); font-weight: 500; }
.auth-mini { color: var(--ink-4); font-size: 12px; margin-top: 18px; text-align: center; line-height: 1.5; }
.pane[hidden] { display: none; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-panel { display: none; }
}

/* ── Contact ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--hairline); border-radius: var(--r); background: var(--surface); }
.contact-card .itile { flex: none; }
.contact-card b { font-family: var(--font-display); font-weight: 600; display: block; }
.contact-card span { color: var(--ink-3); font-size: 14px; }
.contact-card a { color: var(--green-ink); font-weight: 500; }
.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea {
  width: 100%; min-height: 120px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px;
}
.field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .form-row { grid-template-columns: 1fr; } }

/* ── Roadmap ─────────────────────────────────────── */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rm-col h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 16px; display: flex; align-items: center; gap: 9px;
}
.rm-col h3 .d { width: 9px; height: 9px; border-radius: 50%; }
.rm-shipped .d { background: var(--green); }
.rm-building .d { background: var(--violet); }
.rm-next .d { background: var(--ink-4); }
.rm-item { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.rm-item b { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: block; }
.rm-item p { color: var(--ink-3); font-size: 14px; margin-top: 6px; line-height: 1.5; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ── Status ──────────────────────────────────────── */
.status-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-050); border: 1px solid var(--green-100); color: var(--green-ink);
  border-radius: var(--r); padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 18px;
}
.status-banner .d { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-100); }
.status-list { margin-top: 24px; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-faint); }
.status-row:last-child { border-bottom: none; }
.status-row span:first-child { font-weight: 500; }
.status-up { display: inline-flex; align-items: center; gap: 8px; color: var(--green-ink); font-size: 14px; font-weight: 500; }
.status-up::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status-meta { color: var(--ink-4); font-size: 13px; }

/* ── Blog / Guides ───────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 26px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.post-card:hover { border-color: var(--line); transform: translateY(-3px); }
.post-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--green-ink); background: var(--green-050); border: 1px solid var(--green-100);
  border-radius: var(--r-pill); padding: 4px 11px; margin-bottom: 16px;
}
.post-card h3 { font-size: 20px; line-height: 1.2; }
.post-card p { color: var(--ink-3); font-size: 14px; margin-top: 10px; line-height: 1.55; flex: 1; }
.post-meta { color: var(--ink-4); font-size: 13px; margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.post-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.post-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden;
}
.post-featured .pf-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.post-featured h3 { font-size: clamp(24px, 3vw, 34px); }
.post-featured p { font-size: 16px; flex: none; }
.post-featured .pf-art {
  background: #0E0F0E; display: flex; align-items: center; justify-content: center; padding: 40px;
}
.post-featured .pf-art img { width: 120px; height: 120px; opacity: 0.95; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } .post-featured { grid-template-columns: 1fr; } .post-featured .pf-art { display: none; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Article ─────────────────────────────────────── */
.article { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; gap: 10px; align-items: center; color: var(--ink-4); font-size: 14px; margin-top: 18px; }
.article-meta .post-tag { margin: 0; }
.article-body { margin-top: 40px; }
.article-body p { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 22px; }
.article-body h2 { font-size: 28px; letter-spacing: -0.02em; margin: 44px 0 16px; }
.article-body h3 { font-size: 21px; margin: 32px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 4px; display: flex; flex-direction: column; gap: 12px; }
.article-body li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.article-body li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; margin-top: 11px; }
.article-body ol { counter-reset: step; }
.article-body ol li { counter-increment: step; }
.article-body ol li::before {
  content: counter(step); width: 24px; height: 24px; border-radius: 50%; margin-top: 0;
  background: var(--green-050); color: var(--green-ink); border: 1px solid var(--green-100);
  font-size: 13px; font-weight: 600; font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body .callout {
  border: 1px solid var(--green-100); background: var(--green-050);
  border-radius: var(--r); padding: 20px 22px; margin: 0 0 28px;
}
.article-body .callout p { font-size: 16px; margin: 0; color: var(--green-ink); }
.article-disclaimer { color: var(--ink-4); font-size: 14px; font-style: italic; border-top: 1px solid var(--hairline); padding-top: 20px; margin-top: 12px; }
.article-cta { margin-top: 44px; padding: 30px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--bg-soft); text-align: center; }
.article-cta h3 { font-size: 22px; }
.article-cta p { color: var(--ink-3); margin: 8px 0 18px; font-size: 15px; }
.article-back { display: inline-flex; align-items: center; gap: 7px; color: var(--green-ink); font-weight: 500; font-size: 15px; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; color: var(--ink);
  transition: color 160ms var(--ease);
}
.faq-q:hover { color: var(--green-ink); }
.faq-ic { position: relative; width: 16px; height: 16px; flex: none; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; background: var(--ink-3);
  transition: transform var(--dur) var(--ease), background 160ms var(--ease);
}
.faq-ic::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq-ic::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq-item.is-open .faq-ic::after { transform: scaleY(0); }
.faq-item.is-open .faq-ic::before { background: var(--green); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
  max-width: 68ch; padding-right: 12px;
  transition: padding var(--dur) var(--ease);
}
.faq-item.is-open .faq-a > p { padding-bottom: 24px; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.035em;
  margin-top: 18px;
  max-width: 18ch;
}
.page-hero .lede { margin-top: 20px; }
.page-hero-center { text-align: center; }
.page-hero-center .lede { margin-inline: auto; }
.page-hero-center .eyebrow { justify-content: center; }

/* ============================================================
   Feature module detail rows
   ============================================================ */
.fmod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--hairline);
}
.fmod:nth-child(even) .fmod-media { order: -1; }
.fmod-body .itile { margin-bottom: 18px; }
.fmod-body h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; }
.fmod-body p { color: var(--ink-2); font-size: 17px; margin-top: 14px; max-width: 52ch; }
.fmod-points { margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fmod-points li { list-style: none; display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.fmod-points svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }

.fmod-media {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-pop);
}
.mock-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline); margin-bottom: 14px;
}
.mock-head .mt { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.mock-head .code { margin-left: auto; }
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-faint);
  font-size: 14px;
}
.mock-row:last-child { border-bottom: none; }
.mock-row .msku { font-family: var(--font-mono); font-size: 12px; color: var(--green-ink); }
.mock-row .mamt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 500; font-family: var(--font-display); }
.mock-bar { height: 6px; border-radius: 3px; background: var(--green-050); overflow: hidden; flex: 1; max-width: 120px; margin-left: auto; }
.mock-bar > span { display: block; height: 100%; background: var(--green); border-radius: 3px; }

@media (max-width: 820px) {
  .fmod { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .fmod:nth-child(even) .fmod-media { order: 0; }
}

/* ============================================================
   Pricing
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column;
}
.tier-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-pop);
  position: relative;
}
.tier-flag {
  position: absolute; top: -12px; left: 30px;
  background: var(--green); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.tier-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.tier-tagline { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.tier-price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; }
.tier-cur { font-size: 22px; font-weight: 600; font-family: var(--font-display); color: var(--ink-2); }
.tier-amt { font-family: var(--font-display); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.tier-per { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.tier .btn { margin-top: 24px; width: 100%; }
.tier-feats { margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 13px; }
.tier-feats li { list-style: none; display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.tier-feats svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.tier-feats .muted-feat { color: var(--ink-4); }
.tier-feats .muted-feat svg { color: var(--ink-4); }

.price-note {
  text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 28px;
}
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* comparison strip */
.price-compare { margin-top: 64px; }
.pc-table { width: 100%; border-collapse: collapse; }
.pc-table th, .pc-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.pc-table thead th { font-family: var(--font-display); font-weight: 600; }
.pc-table th.c, .pc-table td.c { text-align: center; }
.pc-table .yes { color: var(--green); }
.pc-table .no { color: var(--ink-4); }
.pc-feat-col { color: var(--ink-2); }

/* ============================================================
   Compliance page
   ============================================================ */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comp-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px;
}
.comp-card .itile { margin-bottom: 16px; }
.comp-card h3 { font-size: 18px; }
.comp-card p { color: var(--ink-3); font-size: 14px; margin-top: 8px; line-height: 1.55; }
.comp-card .forms { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.comp-card .forms .code { font-size: 12px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .comp-grid { grid-template-columns: 1fr; } }

.rails {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.rail {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.rail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

/* ============================================================
   About
   ============================================================ */
.about-lede { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); max-width: 24ch; }
.about-body { max-width: 62ch; }
.about-body p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin-top: 20px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.about-stat { padding: 24px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); }
.about-stat b { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; display: block; }
.about-stat span { color: var(--ink-3); font-size: 14px; }
@media (max-width: 720px) { .about-stats { grid-template-columns: 1fr; } }

/* values list */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 8px; }
.value h3 { font-size: 18px; }
.value p { color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.6; }
.value { padding-left: 16px; border-left: 2px solid var(--green); }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

/* ── Mobile refinements ──────────────────────────── */
@media (max-width: 680px) {
  .price-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pc-table { min-width: 520px; }
  .auth-form-wrap { padding: 36px 20px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 52px 0 40px; }
  .article-body p { font-size: 16px; line-height: 1.65; }
  .article-body li { font-size: 15px; }
  .article-body h2 { font-size: 23px; margin: 36px 0 14px; }
  .article-body h3 { font-size: 19px; }
  .article-cta { padding: 24px; }
  .status-row { flex-wrap: wrap; gap: 6px 12px; }
  .tier { padding: 26px 22px; }
}
