:root {
  --page-width: 1160px;
  --ink: #303936;
  --muted: #59635e;
  --purple: #655b7f;
  --sage: #a0c1b8;
  --paper: #f8f8f5;
  --line: #dce2dc;
  --hs-button-min-height: 48px;
  --hs-button-padding-y: 13px;
  --hs-button-padding-x: 22px;
  --hs-button-font-size: 14px;
  --hs-button-font-weight: 550;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.hs-public { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; }
.hs-public .hs-shell, .hs-public .hs-workspace { display: block; min-height: 0; width: 100%; padding: 0; margin: 0; }
.page-width { width: min(var(--page-width), calc(100% - 96px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; padding: 12px; z-index: 1100; }
.skip-link:focus { top: 8px; }
.preview-note { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 30px; background: #e9eee9; color: #4e5d55; font-size: 11px; }
.preview-note span { color: #59635e; }
.hs-public .site-header { position: sticky; inset-block-start: 0; z-index: 1010; height: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: none; }
.site-header .navbar { min-height: 86px; padding-block: 10px; }
.brand { padding: 0; }
.brand img { display: block; width: 177px; height: auto; }
.navbar-nav { gap: 26px; }
.site-header .nav-link { padding: 10px 0; color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 26px; margin-left: 34px; }
.sign-in { font-size: 14px; text-decoration: none; font-weight: 500; }
.hs-public .btn { box-shadow: none; }
.hs-public .btn-primary { background: var(--purple); border-color: var(--purple); color: white; }
.hs-public .btn-primary:hover { background: #554b6b; border-color: #554b6b; }
h1, h2, h3 { color: var(--ink); font-family: Inter, sans-serif; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding-block: 62px 50px; }
.hero h1 { max-width: 11ch; margin: 0 0 28px; font-size: clamp(44px, 4.8vw, 64px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.hero-lead { max-width: 440px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: #b8b3c0; }
.text-link:hover, .activity-link:hover { color: var(--purple); text-decoration-color: var(--purple); }
.hero-footnote { max-width: 410px; margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.hero-preview { width: 100%; max-width: 470px; justify-self: end; margin: 0; }
.activity-window { overflow: hidden; background: #fffefd; border: 1px solid #cdd4ce; border-radius: 10px; }
.window-top { display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-bottom: 1px solid #e1e6df; background: #f0f3ee; color: #4f5c53; font-size: 13px; font-weight: 500; }
.sample-heading { padding: 22px 20px 18px; text-align: center; }
.sample-heading h2 { margin: 0 0 6px; font-size: 25px; font-weight: 500; letter-spacing: -.025em; }
.sample-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.sock-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 21px 18px; padding: 14px; border: 1px solid #cfc6b6; border-radius: 8px; background: #eae4d9; }
.sock-tile { display: grid; min-width: 0; justify-items: center; padding: 7px 7px 9px; border: 1px solid #d1c8b9; border-radius: 6px; background: #fffdf7; color: #4b4c46; font-size: 11px; }
.sock-art { display: block; width: 100%; aspect-ratio: 1; background: url('../images/sock-match-medium-v4.png') 0 0 / 400% 200% no-repeat; }
.yellow-sock { background-position: 0 0; }
.blue-sock { background-position: 33.3333% 0; }
.red-sock { background-position: 66.6667% 0; }
.window-bottom { padding: 0 21px 18px; color: var(--muted); font-size: 12px; }
.hero-preview figcaption { padding-top: 12px; color: #68736b; font-size: 11px; line-height: 1.6; }
.care-strip { border-block: 1px solid var(--line); }
.care-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 25px; }
.care-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.care-strip strong { color: var(--ink); font-weight: 500; }
.care-strip ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.section-space { padding-block: 80px; }
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 80px; margin-bottom: 38px; }
.section-intro h2, .considered-heading h2, .faq-section h2 { max-width: 20ch; margin: 0; font-size: clamp(30px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.section-intro > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.activity-card { min-width: 0; }
.game-art { position: relative; height: 230px; min-height: 230px; overflow: hidden; border-radius: 5px; }
.sock-composition { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 18px 55px; background: #e8eeeb; }
.sock-composition .sock-art { width: 170px; max-width: 44%; }
.button-composition { display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; padding: 20px 30px; background: #eee8de; }
.button-art { display: block; aspect-ratio: 1; background: url('../images/button-sort-atlas-v2.png') 0 0 / 400% 300% no-repeat; }
.blue-button { background-position: 33.3333% 0; }
.yellow-button { background-position: 66.6667% 0; }
.green-button { background-position: 100% 0; }
.word-composition { display: grid; place-items: center; background: #f0ede6; }
.word-grid { display: grid; grid-template-columns: repeat(6, 33px); grid-auto-rows: 33px; text-align: center; color: #6b645c; font-size: 16px; }
.word-grid span { align-content: center; }
.word-grid span:nth-child(-n+6) { background: #d4ccdf; color: #4b415f; }
.word-grid span:first-child { border-radius: 16px 0 0 16px; }
.word-grid span:nth-child(6) { border-radius: 0 16px 16px 0; }
.connection-composition { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 20px; background: #f0ebe3; }
.coffee-photo { flex-shrink: 0; width: 145px; aspect-ratio: 1; border-radius: 4px; background: url('../images/connections-easy-v1.png') 0 0 / 400% 300% no-repeat; }
.connection-word { display: grid; gap: 12px; }
.connection-word > span { color: #6e685d; font-size: 13px; }
.connection-word strong { display: block; padding: 12px; border: 1px solid #cfc5b9; border-radius: 5px; background: #fffcf5; font-size: 16px; font-weight: 500; white-space: nowrap; }
.connection-word strong span { margin-inline: 5px; color: var(--purple); }
.activity-copy { padding-top: 20px; }
.activity-copy h3 { margin: 0 0 10px; font-size: 25px; font-weight: 500; letter-spacing: -.025em; }
.activity-copy p { max-width: 45ch; margin: 0 0 9px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.activity-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--purple); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b8b3c0; }
.section-caption { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.how-section { background: #edf2ec; }
.how-section > .page-width { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.how-section .section-intro { display: block; margin: 0; }
.how-section .section-intro > p { margin-top: 24px; }
.steps-grid { margin: 0; padding: 0; list-style: none; }
.steps-grid li { display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; margin-bottom: 30px; }
.steps-grid li:last-child { margin-bottom: 0; }
.step-number { grid-column: 1; grid-row: 1 / span 2; color: var(--purple); font-size: 18px; line-height: 1.6; }
.steps-grid h3 { grid-column: 2; margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.steps-grid p { grid-column: 2; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.considered-section { border-bottom: 1px solid var(--line); }
.considered-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 80px; }
.considered-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.considered-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.considered-list h3 { margin: 0 0 10px; font-size: 19px; font-weight: 500; }
.considered-list p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.faq-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; }
.faq-section h2 { max-width: 12ch; font-size: 32px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex-shrink: 0; color: var(--purple); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { margin: 0; padding: 0 24px 20px 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.contact-section { padding-bottom: 40px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 40px; border-top: 1px solid var(--line); }
.contact-panel h2 { max-width: 24ch; margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.contact-panel p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.contact-panel .btn { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 40px; padding-block: 32px; border-top: 1px solid var(--line); }
.site-footer img { height: auto; }
.site-footer p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; font-size: 13px; }
.footer-links a { min-height: 44px; align-content: center; text-decoration: none; }
.footer-links > span { width: 100%; margin-top: -12px; color: var(--muted); font-size: 11px; text-align: right; }
.modal-content { border: 1px solid var(--line); border-radius: 10px; background: #fffefd; color: var(--ink); }
.modal-header { justify-content: flex-end; padding: 20px 24px 0; border: 0; }
.modal-footer { padding: 20px 28px; border-color: var(--line); }
.modal-body { padding: 14px 28px 25px; }
.modal-body h2 { margin: 0 0 20px; font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.modal-body p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.draft-message, .activity-detail { margin-block: 24px; padding: 18px; border-radius: 5px; background: #edf2ec; }
.draft-message strong { font-size: 15px; font-weight: 550; }
.draft-message p, .activity-detail p { margin: 7px 0 0; font-size: 15px; }
.activity-detail h3 { font-size: 18px; font-weight: 500; }
@media (max-width: 1100px) {
  .navbar-nav { gap: 18px; }
  .nav-actions { margin-left: 24px; gap: 20px; }
  .hero { gap: 45px; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { gap: 20px; }
  .care-strip ul { gap: 20px; font-size: 13px; }
}
@media (max-width: 991px) {
  .page-width { width: calc(100% - 56px); }
  .site-header .navbar { min-height: 80px; }
  .site-header .navbar-collapse { padding: 16px 0; }
  .navbar-nav { gap: 0; }
  .site-header .nav-link { min-height: 44px; font-size: 16px; }
  .nav-actions { margin: 14px 0 0; justify-content: space-between; }
  .hero { gap: 28px; padding-block: 44px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .wide-break { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
  .hero-footnote { margin-top: 16px; font-size: 12px; }
  .sock-board { gap: 6px; margin-inline: 14px; padding: 9px; }
  .sock-tile { padding: 5px; font-size: 9px; }
  .window-top { padding: 12px 16px; }
  .sample-heading { padding: 18px 14px; }
  .sample-heading h2 { font-size: 23px; }
  .sample-heading p, .window-bottom { font-size: 12px; }
  .window-bottom { padding-inline: 15px; }
  .care-strip-inner { align-items: flex-start; }
  .care-strip ul { flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
  .section-space { padding-block: 65px; }
  .section-intro, .considered-heading { gap: 40px; }
  .activity-grid { gap: 35px 30px; }
  .game-art { height: 210px; min-height: 210px; }
  .sock-composition { padding-inline: 30px; }
  .button-composition { padding-inline: 18px; }
  .connection-composition { gap: 12px; padding-inline: 16px; }
  .coffee-photo { width: 110px; }
  .connection-word > span { font-size: 11px; }
  .connection-word strong { padding: 9px; font-size: 13px; }
  .connection-word strong span { margin-inline: 3px; }
  .how-section > .page-width, .faq-section { gap: 50px; }
  .considered-list { gap: 30px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 90px; }
  .page-width { width: calc(100% - 40px); }
  .preview-note { gap: 9px; min-height: 30px; font-size: 10px; }
  .preview-note span { font-size: 10px; }
  .site-header .navbar { min-height: 73px; }
  .brand img { width: 149px; }
  .navbar-toggler { min-height: 44px; padding: 9px 12px; border-color: #cdd4ce; color: var(--ink); font-size: 19px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 35px; }
  .hero h1 { max-width: 12ch; margin-bottom: 24px; font-size: clamp(39px, 10.8vw, 52px); letter-spacing: -.04em; }
  .hero-lead { max-width: 400px; font-size: 17px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 21px; margin-top: 25px; }
  .hero-footnote { margin-top: 18px; font-size: 13px; }
  .hero-preview { max-width: 470px; margin-inline: auto; }
  .sock-board { gap: 8px; margin-inline: 16px; padding: 10px; }
  .sock-tile { padding: 6px; font-size: 10px; }
  .sample-heading { padding-block: 22px 17px; }
  .window-bottom { padding-inline: 16px; }
  .hero-preview figcaption { font-size: 11px; }
  .care-strip-inner { display: block; padding-block: 22px; }
  .care-strip p { font-size: 14px; }
  .care-strip p br { display: none; }
  .care-strip p strong { margin-left: 3px; }
  .care-strip ul { justify-content: flex-start; gap: 6px 20px; margin-top: 12px; font-size: 13px; }
  .section-space { padding-block: 50px; }
  .section-intro, .considered-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-intro h2, .considered-heading h2, .faq-section h2 { max-width: 20ch; font-size: 30px; }
  .section-intro > p { max-width: 100%; }
  .activity-grid { grid-template-columns: 1fr; gap: 35px; }
  .game-art { height: 210px; min-height: 210px; }
  .activity-copy { padding-top: 17px; }
  .activity-copy h3 { font-size: 25px; }
  .activity-copy p { font-size: 16px; }
  .sock-composition .sock-art { width: 150px; }
  .connection-composition { gap: 20px; }
  .coffee-photo { width: 125px; }
  .connection-word > span { font-size: 12px; }
  .connection-word strong { padding: 11px; font-size: 15px; }
  .how-section > .page-width, .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .how-section .section-intro > p { margin-top: 20px; }
  .steps-grid li { column-gap: 14px; margin-bottom: 25px; }
  .steps-grid h3 { font-size: 20px; }
  .considered-heading { margin-bottom: 0; }
  .considered-list { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .considered-list h3 { font-size: 20px; }
  .faq-section h2 { max-width: none; }
  .faq-list summary { padding-block: 19px; }
  .contact-section { padding-bottom: 25px; }
  .contact-panel { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 30px; }
  .contact-panel h2 { font-size: 30px; }
  .site-footer { flex-direction: column; gap: 20px; padding-block: 30px; }
  .footer-links { gap: 18px; }
  .footer-links > span { margin-top: 0; text-align: left; }
  .modal-body h2 { font-size: 28px; }
}
@media (max-width: 360px) {
  .hero-actions { flex-wrap: wrap; gap: 6px 20px; }
  .coffee-photo { width: 100px; }
  .connection-composition { gap: 12px; }
  .connection-word > span { font-size: 11px; }
  .connection-word strong { padding: 9px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

#beta-form .form-label, #beta-form .form-check-label { font-size: 1rem; }
#beta-form .form-control, #beta-form .form-select { min-height: 44px; font-size: 1rem; }
#beta-form .form-label span { color: var(--muted); font-size: .875rem; }
.beta-data-use { font-size: .875rem !important; line-height: 1.6 !important; }
.beta-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#beta-status:not(:empty) { padding: 12px; border-left: 3px solid var(--purple); background: #edf2ec; }
