/* Shared look for /faq and /learn/* pages. Same tokens and type as /support. */
:root {
  --cream: #faf5e8;
  --cream-low: #f3ecd9;
  --card: #ffffff;
  --red: #91001b;
  --red-hi: #cf001d;
  --red-lip: #6e0014;
  --gold: #ffbc00;
  --gold-pale: #ffdf9e;
  --gold-deep: #785900;
  --ink: #1b1d0e;
  --sub: #464646;
  --faint: #6f6c58;
  --hairline: rgba(27,29,14,0.10);
  --display: 'Baloo Tamma 2', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --kn: 'Noto Sans Kannada', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(circle, rgba(27,29,14,0.05) 1.2px, transparent 1.5px);
  background-size: 24px 24px;
  overflow-wrap: break-word;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 56px 28px 96px; }

.brand img { display: block; height: 60px; width: auto; }
.eyebrow { margin-top: 34px; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--red); }
.eyebrow a { color: inherit; text-decoration: none; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(31px, 8.5vw, 50px); line-height: 1.1; letter-spacing: -0.8px; margin: 14px 0 0; }
.effective { font-size: 14px; color: var(--faint); font-weight: 600; margin-top: 14px; }
.lede { font-size: 17.5px; line-height: 1.62; color: var(--sub); margin: 22px 0 0; max-width: 62ch; }

/* short-answer card */
.answer {
  margin: 32px 0 8px; background: var(--card); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 22px 24px; box-shadow: 0 5px 0 rgba(27,29,14,0.10);
}
.answer h2 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0 0 8px; }
.answer p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }

section { margin-top: 40px; }
h2 { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.3; letter-spacing: -0.4px; margin: 0 0 4px; }
h3 { font-family: var(--display); font-weight: 700; font-size: 18.5px; line-height: 1.35; margin: 26px 0 0; }
section p { font-size: 16px; line-height: 1.62; color: var(--sub); margin: 10px 0 0; max-width: 64ch; }
section ul, section ol { margin: 12px 0 0; padding-left: 22px; max-width: 64ch; }
section li { font-size: 16px; line-height: 1.55; color: var(--sub); margin-top: 8px; }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.kn { font-family: var(--kn); font-size: 1.05em; line-height: 1.5; color: var(--ink); }

/* phrase table */
.table-wrap { overflow-x: auto; margin-top: 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); color: var(--sub); }
table.data th { background: var(--cream-low); color: var(--ink); font-weight: 700; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.say { color: var(--ink); font-weight: 600; }

/* app card */
.cta { margin-top: 44px; background: linear-gradient(135deg, var(--red) 0%, var(--red-hi) 100%); color: #fff; border-radius: 18px; padding: 26px 26px 24px; box-shadow: 0 6px 0 var(--red-lip); }
.cta h2 { color: #fff; font-size: 22px; margin: 0; }
.cta p { color: rgba(255,255,255,0.9); font-size: 16px; line-height: 1.55; margin: 10px 0 0; max-width: 56ch; }
.cta .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.cta a { color: var(--gold); font-weight: 700; }

/* FAQ list */
.faq dt { font-family: var(--display); font-weight: 700; font-size: 18.5px; line-height: 1.35; color: var(--ink); margin-top: 26px; }
.faq dd { margin: 6px 0 0; font-size: 16px; line-height: 1.62; color: var(--sub); max-width: 64ch; }

.more { margin-top: 44px; }
.more ul { list-style: none; padding: 0; }

.foot { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .copy { font-size: 13px; color: var(--faint); }
.legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.legal a, .legal button { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--sub); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); text-decoration: none;
  border: 2px solid #b8956a; border-radius: 14px; padding: 11px 18px; font-family: var(--display);
  font-weight: 700; font-size: 15px; box-shadow: 0 4px 0 #7e6440; min-height: 44px;
}

@media (max-width: 560px) {
  .wrap { padding: 40px 20px 72px; }
  .brand img { height: 50px; }
  .lede { font-size: 16.5px; }
  h2 { font-size: 21px; }
  section p, section li, .faq dd { font-size: 15.5px; }
  table.data { font-size: 14px; }
  table.data th, table.data td { padding: 8px 9px; }
  .cta { padding: 22px 20px; border-radius: 16px; }
  .foot { flex-direction: column-reverse; align-items: flex-start; }
  .back-btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) { .wrap { padding: 34px 16px 64px; } }
