/* The starter pack page. Same palette and type as the home page. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FCFAF7; color: #2E1E3D; font: 17px/1.6 'Public Sans', system-ui, sans-serif; }
a { color: #2E1E3D; }
a:hover { color: #6A3FA8; }
h1, h2, h3 { margin: 0; font-family: Gabarito, 'Public Sans', sans-serif; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid #6A3FA8; outline-offset: 3px; }
code { font: inherit; font-weight: 600; background: #ECE4F6; color: #41276B; padding: 2px 8px; border-radius: 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; width: 100%; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 7px; background: #2E1E3D; color: #F6F0E4; }
.skip-link:focus { top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: none; font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .18s, transform .18s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: #2E1E3D; color: #F6F0E4 !important; }
.btn-gold:hover { background: #41276B; }
.btn-dark { background: #ECE4F6; color: #41276B !important; }
.btn-dark:hover { background: #D8C8EC; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.lnk { display: inline-block; margin-top: 12px; font-size: 15px; color: #45395A; text-underline-offset: 4px; }

.top { background: #FCFAF7; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 12px; }
.logo { display: block; height: 28px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 20px; }
.top-link { font-size: 15px; text-decoration: none; }

.hero { padding: 56px 0 24px; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86601F; }
h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; margin-bottom: 20px; }
.lead { margin: 0; max-width: 60ch; font-size: 19px; line-height: 1.55; color: #45395A; }
.lead-note { margin: 14px 0 0; max-width: 60ch; color: #574A6B; font-size: 15px; }

.sec { padding: 56px 0; }
.sec-tint { background: #F6F0E4; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; margin-bottom: 20px; scroll-margin-top: 16px; }
h3 { font-size: 24px; line-height: 1.25; }
.sub { margin: 40px 0 14px; }
.p { margin: 0 0 20px; max-width: 70ch; color: #45395A; }
.note { margin-top: 24px; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 14px; background: #F6F0E4; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card p { margin: 0; color: #45395A; }
.card-k { font-family: Gabarito, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .08em; color: #86601F; }
.card .lnk { margin-top: 0; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.panel { padding: 28px; border-radius: 14px; background: #FFFFFF; }
.sec:not(.sec-tint) .panel { background: #F6F0E4; }
.panel h3 { margin-bottom: 12px; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0 10px 24px; border-bottom: 1px solid #EFE4D2; position: relative; color: #45395A; }
.list li:last-child { border-bottom: none; }
.list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 999px; background: #6A3FA8; }
.list.no li::before { background: #C99A45; }
.steps { margin: 0; padding-left: 22px; color: #45395A; }
.steps li { padding: 6px 0; }

.tbl { width: 100%; table-layout: fixed; border-collapse: collapse; background: #FFFFFF; border-radius: 14px; overflow: hidden; }
.tbl th, .tbl td { overflow-wrap: anywhere; }
.tbl code { overflow-wrap: normal; word-break: normal; }
.mod .tbl th { width: 34%; }
.mod .tbl td:last-child { width: 22%; }
.sec:not(.sec-tint) .tbl { background: #F6F0E4; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid #EFE4D2; font-size: 16px; }
.tbl th { width: 34%; font-weight: 600; color: #2E1E3D; }
.tbl td { color: #45395A; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }

.mod { margin-top: 24px; }
.mod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.mod-head span { font-size: 15px; color: #574A6B; }

/* Each question is a grid, which stops the browser's own list counter, so the number is kept by hand: the <ol> resets counter q to its start minus one. */
.q { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.q li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 16px 20px; border-radius: 10px; background: #F6F0E4; color: #2E1E3D; counter-increment: q; }
.q li::before { content: counter(q); font-family: Gabarito, sans-serif; font-weight: 600; color: #86601F; }

.pre-wrap { position: relative; }
.copy { position: absolute; right: 16px; top: 16px; }
pre { margin: 0; padding: 72px 24px 24px; border-radius: 14px; background: #FFFFFF; color: #2E1E3D; font: 14px/1.6 ui-monospace, Consolas, 'Liberation Mono', monospace; overflow-x: auto; white-space: pre; }

.cta { background: #2E1E3D; color: #FCFAF7; }
.cta-in { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: #FCFAF7; margin: 0; }
.cta p { margin: 0; max-width: 56ch; color: #F6F0E4; }
.cta .btn-gold { background: #DCB264; color: #2E1E3D !important; }
.cta .btn-gold:hover { background: #E5C27E; }

.foot { background: #F6F0E4; padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 4fr repeat(3, minmax(0, 2fr)); gap: 32px; font-size: 16px; line-height: 1.7; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 34ch; }
.foot-brand img { height: 32px; width: auto; align-self: flex-start; }
.foot-brand p { margin: 0; color: #45395A; }
.foot-col { display: flex; flex-direction: column; }
.foot-col span { font-weight: 600; }
.foot-col a { color: #45395A; text-decoration: none; }
.foot-col a:hover { color: #6A3FA8; }
.disc { margin-top: 56px; padding: 28px; border-radius: 14px; background: #EFE4D2; }
.disc-t { margin: 0 0 10px; font-family: Gabarito, sans-serif; font-weight: 600; font-size: 17px; }
.disc p:last-child { margin: 0; max-width: 110ch; font-size: 14px; line-height: 1.6; color: #45395A; }
.legal { margin: 56px 0 0; padding-top: 24px; font-size: 13px; color: #45395A; }

@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .top-link { display: none; }
  .hero { padding-top: 32px; }
  .sec { padding: 44px 0; }
  .tbl th { width: 40%; }
  .mod .tbl th { width: 33%; }
  .mod .tbl td:last-child { width: 25%; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .tbl th, .tbl td { padding: 12px 14px; font-size: 15px; }
  .q li { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; }
  .card .btn, .cta .btn { width: 100%; }
  .copy { position: static; margin-bottom: 12px; }
  pre { padding: 20px 16px; }
}
