/* Content pages (About, FAQ, skills, articles). Same brand tokens as the
   homepage, without the scroll scenes. */

:root {
  --cream: #F4ECD9;
  --ink: #263741;
  --ink-deep: #1E2D36;
  --teal: #019FAD;
  --teal-text: #006A73;
  --sun: #FEBC34;
  --coral: #F15941;
  --white: #FEFEFE;
  --muted: rgba(38,55,65,.78);
  --line: rgba(38,55,65,.12);
  --display: 'Fredoka', sans-serif;
  --body: 'Nunito Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased }
a { color: var(--teal-text) }
a:hover { color: var(--ink) }
::selection { background: var(--sun); color: var(--ink) }
img { max-width: 100%; height: auto }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244,236,217,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.top__inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px }
.top__logo img { height: 28px; display: block }
.top__links { display: flex; gap: clamp(14px, 2vw, 28px); font-weight: 700; font-size: 15px }
.top__links a { color: var(--ink); text-decoration: none }
.top__links a:hover, .top__links a[aria-current="page"] { color: var(--teal-text) }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, color .2s, transform .2s }
.btn:hover { background: var(--ink); color: var(--sun); transform: translateY(-2px) }

/* Layout */
.page { max-width: 1180px; margin: 0 auto; padding: 40px 24px 80px }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px }
.crumbs a { color: var(--muted); text-decoration: none }
.crumbs a:hover { color: var(--teal-text) }
.hero { padding: 28px 0 40px; display: flex; flex-direction: column; gap: 16px; max-width: 820px }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-text) }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance }
h1 { font-size: clamp(36px, 5vw, 60px) }
h2 { font-size: clamp(26px, 3vw, 36px) }
h3 { font-size: 22px }
.lede { margin: 0; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: var(--muted); max-width: 70ch }
.meta { font-size: 14px; font-weight: 700; color: var(--muted) }

.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px }
.prose p { margin: 0 }
.prose h2 { margin-top: 22px }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px }
.prose li::marker { color: var(--teal) }
.prose strong { font-weight: 800 }
.prose blockquote { margin: 0; padding: 18px 22px; border-radius: 18px; background: var(--white); border-left: 5px solid var(--sun); font-family: var(--display); font-size: 21px; line-height: 1.4 }
.note { padding: 18px 22px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); font-size: 16px }
.sources { font-size: 15px; color: var(--muted) }
.sources ol { gap: 6px }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(32px, 5vw, 72px); align-items: start }
.aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--white); border: 1.5px solid var(--line) }
.aside h2 { font-size: 22px }
.aside p { margin: 0; font-size: 16px; color: var(--muted) }
.aside ul { margin: 0; padding-left: 18px; font-size: 16px; display: flex; flex-direction: column; gap: 6px }

/* Example question, mirroring the homepage "Try it" cards */
.try { padding: 22px; border-radius: 22px; background: var(--white); border: 2px solid var(--ink); display: flex; flex-direction: column; gap: 10px }
.try__label { font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
.try__q { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25 }
.try__a { font-size: 16px }

/* Cards (skills, team, articles) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px }
.card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s }
a.card:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--ink) }
.card__dot { width: 14px; height: 14px; border-radius: 50% }
.card__kicker { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.card h3 { font-size: 22px }
.card p { margin: 0; font-size: 16px; color: var(--muted) }
.card__more { margin-top: auto; font-weight: 800; font-size: 15px; color: var(--teal-text) }

.person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line) }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--teal) }
.person h3 { font-size: 20px }
.person__role { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); margin: 2px 0 6px }
.person p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted) }
.person a { font-weight: 800; font-size: 14px }

.block { display: flex; flex-direction: column; gap: 20px; margin-top: 56px }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px }
.faq details { border: 2px solid var(--line); border-radius: 20px; background: var(--white); padding: 0 22px }
.faq details[open] { border-color: var(--teal) }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-size: 20px; transition: transform .25s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { margin: 0; padding: 0 0 20px; font-size: 17px; color: var(--muted) }

/* Closing call to action */
.cta { margin-top: 72px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--ink); color: var(--cream); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px }
.cta h2 { font-size: clamp(26px, 3vw, 38px) }
.cta p { margin: 8px 0 0; color: rgba(244,236,217,.85); font-size: 17px }

/* Footer */
.footer { background: var(--ink-deep); color: var(--cream); padding: 48px 24px 36px }
.footer__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap }
.footer__top img { height: 36px }
.footer__cols { display: flex; gap: 48px; flex-wrap: wrap }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px }
.footer__col strong { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,236,217,.6) }
.footer a { color: var(--cream); text-decoration: none; font-weight: 700 }
.footer a:hover { color: var(--sun) }
.footer__bottom { padding-top: 20px; border-top: 1px solid rgba(244,236,217,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(244,236,217,.75) }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr }
  .aside { position: static }
}
@media (max-width: 640px) {
  body { font-size: 17px }
  .top__links { display: none }
  .top__inner { padding: 10px 16px }
  .page { padding: 24px 16px 64px }
  .btn { padding: 11px 18px; font-size: 15px }
  .footer { padding: 40px 16px 32px }
  .footer__cols { gap: 28px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
