@font-face {
  font-family: Nunito;
  src: url('/assets/Nunito-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/assets/Nunito-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/assets/Nunito-ExtraBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Nunito, sans-serif;
  color: #100f26;
  background: #fff;
  line-height: 1.6;
  --purple: #4f48bd;
  --purple-dark: #443ea3;
  --lavender: #bfbcf4;
  --light-purple: #ecebff;
  --ink: #100f26;
  --grey: #403f4f;
  --footer: #1b1940;
  --border: #d5d3ea;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --page-width: 70rem;
  --reading-width: 44rem;
  --section-space: clamp(3rem, 6vw, 6rem);
  --text-small: .875rem;
  --text-body: 1.125rem;
  --text-lead: clamp(1.125rem, 2vw, 1.25rem);
  --text-h1: clamp(2.25rem, 4vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --text-h3: 1.25rem;
  --radius: 1.25rem;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: var(--text-body); }
a { color: var(--purple); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
p, ul, ol { margin-block: 0 var(--space-3); }
ul, ol { padding-inline-start: 1.5em; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -.025em; margin: 0 0 var(--space-3); }
h2 { font-size: var(--text-h2); font-weight: 700; letter-spacing: -.015em; margin: 0 0 var(--space-3); }
h3, h4 { font-size: var(--text-h3); font-weight: 700; line-height: 1.4; margin: 0 0 var(--space-1); }
/* Imported articles sometimes wrap headings in strong; the heading owns its weight. */
:is(h1, h2, h3, h4) :is(strong, b) { font-weight: inherit; }
.container { width: min(var(--page-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-title { max-width: 28ch; text-align: center; margin: 0 auto var(--space-5); }
.navbar { background: #fff; }
.home .navbar { background: var(--lavender); }
.navbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 104px; padding-block: var(--space-2); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; }
.navbar .brand img { width: 152px; height: auto; }
.navbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); font-size: 1rem; font-weight: 700; }
.navbar nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.navbar nav a:hover, .navbar nav a[aria-current='page'] { color: var(--purple-dark); text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: var(--text-small); font-weight: 700; margin: 0 0 var(--space-2); }
.intro { font-size: var(--text-lead); line-height: 1.6; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; max-width: 100%; padding: 12px clamp(1rem, 3vw, 2rem); overflow-wrap: anywhere; border-radius: 1rem; background: var(--purple); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.button:hover { background: var(--purple-dark); text-decoration: underline; }
button.button { border: 0; font-family: inherit; cursor: pointer; }
.signup-notice { position: fixed; inset: 0; width: min(480px, calc(100% - 40px)); max-height: calc(100% - 40px); margin: auto; padding: var(--space-4); overflow-y: auto; border: 0; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 16px 48px #100f2633; }
.signup-notice::backdrop { background: #100f2680; }
.signup-notice h2 { font-size: 1.75rem; }
.signup-notice p { color: var(--grey); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--lavender); padding-block: var(--space-5) var(--section-space); }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-6); }
.hero-copy { max-width: 32rem; }
.hero h1 { max-width: 16ch; line-height: 1.1; }
.hero .intro { max-width: 38ch; margin-bottom: var(--space-5); }
.hero-member-prompt { font-size: 1rem; margin-bottom: var(--space-2); }
.hero-art { display: flex; justify-content: center; align-items: center; gap: var(--space-2); min-width: 0; }
.app-preview { width: 320px; height: auto; min-width: 0; }
.hero-awards { width: 88px; flex-shrink: 0; }
.hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape { position: absolute; }
.shape-yellow { width: 120px; top: 12%; left: -60px; }
.shape-pink { width: 150px; top: 0; right: -75px; transform: rotate(-25deg); }
.shape-blue { width: 100px; bottom: 8%; left: -48px; }
.shape-turquoise { display: none; }
.shape-turquoise-bottom { width: 106px; bottom: 20px; right: -24px; transform: rotate(10deg); }
.press-strip { background: #f7f7f7; padding-block: var(--space-4); }
.press-logos { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; gap: var(--space-3) var(--space-5); }
.press-logos img { max-width: 140px; max-height: 40px; object-fit: contain; }
.resource-list { max-width: 50rem; margin-inline: auto; display: grid; gap: var(--space-4); }
.resource { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: var(--space-4); }
.resource + .resource { padding-top: var(--space-4); border-top: 1px solid var(--border); }
.resource p { color: var(--grey); margin-bottom: var(--space-2); }
.resource p:last-child { margin-bottom: 0; }
.resource a { overflow-wrap: anywhere; }
.membership-benefits, .membership-plans { background: var(--light-purple); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); list-style: none; margin: 0; padding: 0; text-align: center; }
.benefit-grid img { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 auto var(--space-2); }
.benefit-grid h3 { max-width: 24ch; margin: 0 auto; font-size: var(--text-body); }
.section-note { text-align: center; font-size: var(--text-small); margin: var(--space-5) 0 0; color: var(--grey); }
.building-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .8fr) minmax(0, 1fr); gap: var(--space-5) var(--space-4); align-items: center; }
.building-step { align-self: start; }
.building-step p { color: var(--grey); margin-bottom: 0; }
.building-step:nth-child(1) { grid-area: 1 / 1; }
.building-step:nth-child(2) { grid-area: 1 / 3; }
.building-step:nth-child(4) { grid-area: 2 / 1; }
.building-step:nth-child(5) { grid-area: 2 / 3; }
.credit-gauge { grid-area: 1 / 2 / 3 / 3; width: 100%; }
.section-action { text-align: center; margin-top: var(--space-5); }
.plan-card { max-width: 50rem; margin-inline: auto; padding: clamp(24px, 4vw, 48px); overflow-wrap: anywhere; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.plan-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); }
.plan-heading h3, .plan-heading p { margin-bottom: 0; }
.plan-price { font-size: var(--text-h2); line-height: 1.2; font-weight: 800; }
.plan-period { display: inline-block; color: var(--grey); font-size: var(--text-small); font-weight: 700; vertical-align: middle; margin-left: var(--space-1); }
.plan-features { list-style: none; padding: var(--space-4) 0; margin: var(--space-4) 0 var(--space-3); border-block: 1px solid var(--border); }
.plan-features li { position: relative; padding-left: 28px; }
.plan-features li + li { margin-top: var(--space-2); }
.plan-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--purple); font-weight: 800; }
.plan-disclosure { font-size: var(--text-small); color: var(--grey); margin-bottom: 0; }
.app-downloads { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2); margin-top: var(--space-4); }
.app-downloads a { display: inline-flex; align-items: center; width: min(180px, calc((100% - var(--space-2)) / 2)); min-height: 44px; color: #fff; }
.app-downloads img { display: block; width: 100%; height: auto; }
.hero .app-downloads { justify-content: flex-start; margin-top: 0; }
.hero .app-downloads a { color: var(--ink); }
.faq-list { max-width: 50rem; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { padding: var(--space-3) var(--space-2); font-weight: 700; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.faq-list summary:hover, .faq-list details[open] > summary { color: var(--purple); }
.faq-list summary::marker { color: var(--purple); }
.faq-answer { padding: 0 var(--space-2) var(--space-3); color: var(--grey); overflow-wrap: anywhere; }
.faq-answer li { margin-bottom: var(--space-1); }
.faq-answer > :last-child { margin-bottom: 0; }
.footer { background: var(--footer); color: #fff; padding-block: var(--space-6) var(--space-4); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-5); padding-bottom: var(--space-5); }
.footer .brand { align-self: start; justify-self: start; }
.footer-group { display: flex; flex-direction: column; align-items: start; gap: var(--space-1); font-size: 1rem; }
.footer-group h2 { color: inherit; font-size: var(--text-body); margin: 0 0 var(--space-1); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-group a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal { border-top: 1px solid #77758f; padding-top: var(--space-4); color: #e1e1e5; font-size: var(--text-small); }
.footer-legal p { max-width: 100ch; }
.footer-legal p:last-child { margin-bottom: 0; }
.page-heading { text-align: center; margin-bottom: var(--space-5); }
.page-heading .intro { color: var(--grey); max-width: 56ch; margin-inline: auto; margin-bottom: 0; }
.library-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.library-topics { display: grid; gap: var(--space-1); }
.library-topics a { font-size: var(--text-body); font-weight: 700; padding: var(--space-3); border-radius: var(--radius); text-decoration: none; overflow-wrap: anywhere; }
.library-topics a:hover, .library-topics a:focus-visible, .library-topics a[aria-selected='true'] { background: var(--light-purple); }
.library-panel { scroll-margin-top: var(--space-3); }
.library-panel + .library-panel { margin-top: var(--space-4); }
.library-panel[role='tabpanel'] { margin-top: 0; }
.library-panel:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.library-panel h2 { font-size: var(--text-h3); }
.library-questions { width: 100%; background: var(--light-purple); border-radius: var(--radius); padding: var(--space-1) var(--space-3); }
.library-questions details:first-child { border-top: 0; }
.library-questions details:last-child { border-bottom: 0; }
.article-heading { padding-top: var(--section-space); }
/* Long-form titles and prose share one measure, independent of the marketing grid. */
.article-heading .container, .article-body { width: min(var(--reading-width), calc(100% - 2 * var(--page-gutter))); }
.article-heading h1 { margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
.article-body { margin: var(--space-5) auto var(--section-space); color: var(--grey); overflow-wrap: anywhere; line-height: 1.75; }
.article-body h2 { margin-top: var(--space-5); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.article-body h3, .article-body h4 { margin-top: var(--space-4); margin-bottom: var(--space-2); }
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body li { margin-bottom: var(--space-1); }
.article-body img { display: block; margin-inline: auto; }
figure { margin: var(--space-4) 0; }
figcaption { font-size: var(--text-small); margin-top: var(--space-2); }
blockquote { margin: var(--space-4) 0; padding-left: var(--space-3); border-left: 3px solid var(--purple); }
blockquote > :last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .hero-layout { gap: var(--space-4); }
  .hero-awards { width: 64px; }
  .building-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .building-layout .building-step { grid-area: auto; }
  .building-layout .credit-gauge { grid-area: 2 / 1 / 3 / -1; width: 240px; justify-self: center; }
}
@media (max-width: 700px) {
  .navbar-inner { min-height: 88px; gap: var(--space-2); }
  .navbar .brand img { width: 120px; }
  .navbar nav { gap: var(--space-2); font-size: var(--text-small); }
  .hero { padding-block: var(--space-4) var(--space-5); }
  .hero-layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-copy { max-width: 32rem; width: 100%; margin-inline: auto; }
  .hero .intro { margin-bottom: var(--space-4); }
  .app-preview { width: 240px; }
  .hero-awards { width: 64px; }
  .hero-art { gap: 12px; }
  .press-logos { justify-content: center; gap: var(--space-3); }
  .press-logos img { max-width: 90px; max-height: 28px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .benefit-grid h3 { font-size: 1rem; }
  .building-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .building-layout .building-step, .building-layout .credit-gauge { grid-area: auto; }
  .credit-gauge { width: 220px; justify-self: center; }
  .shape-pink { top: auto; bottom: 220px; right: -85px; width: 130px; }
  .shape-yellow { top: 48%; left: -70px; width: 95px; }
  .shape-turquoise { display: block; top: 12px; right: -36px; width: 60px; transform: rotate(-65deg); }
  .shape-turquoise-bottom { width: 80px; bottom: 30px; right: -40px; }
  .shape-blue { width: 80px; bottom: 8%; left: -48px; }
  .resource { grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: var(--space-2); }
  .resource > div { display: contents; }
  .resource h3 { margin: 0; }
  .resource p { grid-column: 1 / -1; margin: 0; }
  .section-title { margin-bottom: var(--space-4); }
  .footer { padding-block: var(--space-5) var(--space-4); }
  .footer-top { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: var(--space-4); padding-bottom: var(--space-4); }
  .footer .brand { grid-column: 1 / -1; }
  .library-layout { grid-template-columns: 1fr; gap: var(--space-3); }
  .library-topics a { padding: 12px var(--space-2); font-size: 1rem; border-radius: 1rem; }
  .library-questions { padding: var(--space-1) var(--space-2); }
  .article-body { margin-top: var(--space-4); }
}
@media (max-width: 380px) {
  .navbar .brand img { width: 104px; }
  .navbar nav { gap: 12px; }
  .hero-awards { width: 48px; }
}
