:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17342c; background: #f7f7f4; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; background: #f7f7f4; }
button, textarea { font: inherit; }
.app-shell { width: min(100%, 760px); min-height: 100dvh; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px 13px 14px; border-bottom: 1px solid #dfe4df; background: rgba(247,247,244,.94); backdrop-filter: blur(10px); }
body.menu-open { overflow: hidden; }
.brand-row { display: flex; align-items: center; gap: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { width: 36px; height: 36px; display: none; place-content: center; gap: 4px; padding: 0; border: 0; border-radius: 10px; color: #17342c; background: transparent; cursor: pointer; }
.menu-toggle:hover { background: rgba(23,52,44,.06); }
.menu-toggle:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
.menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 999px; background: currentColor; }
.menu-backdrop { position: fixed; inset: 0; z-index: 5; background: rgba(11,25,21,.28); backdrop-filter: blur(2px); }
.menu-backdrop[hidden] { display: none; }
.site-menu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 6; width: min(82vw, 280px); padding: 18px; border-right: 1px solid #dfe4df; background: #f7f7f4; box-shadow: 18px 0 40px rgba(23,52,44,.14); transform: translateX(-105%); transition: transform .25s ease; }
.site-menu.open { transform: translateX(0); }
.menu-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #dfe4df; }
#menu-close { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; color: #17342c; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
#menu-close:hover { background: rgba(23,52,44,.06); }
#menu-close:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
.site-menu nav { display: grid; gap: 4px; padding-top: 18px; }
.site-menu a { display: block; padding: 14px 12px; border-radius: 12px; color: #17342c; text-decoration: none; font-size: 18px; font-weight: 700; }
.site-menu a:hover { background: #fff; }
.site-menu a:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
#new-chat, .topbar #back-to-feed { display: none; min-height: 36px; align-items: center; gap: 6px; padding: 0 11px 0 8px; border: 1px solid #ccd5cf; border-radius: 11px; color: #17342c; background: rgba(255,255,255,.8); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
#new-chat:hover, .topbar #back-to-feed:hover { background: #fff; }
#new-chat:focus-visible, .topbar #back-to-feed:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
.new-chat-icon { display: grid; place-items: center; width: 20px; height: 20px; font-size: 20px; line-height: 1; }
body[data-view="generic"] .menu-toggle { display: grid; }
body[data-view="generic"] #new-chat, body[data-view="generic"] #back-to-feed, body[data-view="story-chat"] #back-to-feed { display: inline-flex; }
body[data-view="story-chat"] .menu-toggle, body[data-view="story-chat"] #new-chat { display: none; }

.empty-state { align-self: center; padding: 36px 20px 140px; text-align: center; transform: translateY(0); transition: transform .3s ease; }
.empty-state:has(.starter-questions:not([hidden])) { transform: translateY(-36px); }
.empty-state h1 { margin: 0 0 10px; font-size: clamp(30px, 7vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.headline-fixed, .rotating-topic { display: block; }
.rotating-topic { min-height: 1.08em; opacity: 1; transform: translateY(0); transition: opacity .28s ease, transform .28s ease; }
.rotating-topic.is-changing { opacity: 0; transform: translateY(8px); }
.empty-state p { color: #607069; }
.categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.categories button { border: 1px solid #ccd5cf; border-radius: 999px; padding: 10px 14px; color: #17342c; background: #fff; cursor: pointer; transform: scale(1); transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.categories button.active { color: white; background: #17342c; border-color: #17342c; animation: category-select .32s ease; }
@keyframes category-select { 0% { transform: scale(1); } 45% { transform: scale(.94); } 100% { transform: scale(1); } }
.starter-note { display: none; margin: 20px auto 0; font-size: 14px; font-weight: 600; }
.empty-state:has(.starter-questions:not([hidden])) .starter-note { display: block; }
.starter-questions { width: min(100%, 560px); margin: 10px auto 0; display: grid; gap: 8px; animation: starters-enter .28s ease both; }
.starter-questions[hidden] { display: none; }
.starter-questions button { width: 100%; padding: 12px 15px; border: 1px solid #d9dfda; border-radius: 14px; color: #17342c; background: rgba(255,255,255,.82); text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.starter-questions button:hover { border-color: #9eaca4; background: #fff; transform: translateY(-1px); }
.starter-questions button:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
.upload-numbers { display: none; width: fit-content; margin: 14px auto 0; padding: 10px 14px; border: 1px solid #17342c; border-radius: 999px; color: #17342c; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.empty-state:has(.starter-questions:not([hidden])) .upload-numbers { display: inline-flex; }
.upload-numbers:hover { color: #fff; background: #17342c; transform: translateY(-1px); }
.upload-numbers:focus-visible { outline: 2px solid #17342c; outline-offset: 3px; }
@keyframes starters-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.messages { display: none; min-height: calc(100dvh - 64px); padding: 22px 16px 40px; overflow-y: auto; scroll-padding-bottom: 120px; }
.messages.active { display: block; }
.message { max-width: 88%; margin: 0 0 18px; padding: 13px 15px; border-radius: 18px; white-space: pre-wrap; line-height: 1.5; animation: message-enter .3s ease both; }
@keyframes message-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.message:last-child { margin-bottom: 40px; }
.message.user { margin-left: auto; color: white; background: #17342c; border-bottom-right-radius: 5px; }
.message.agent { background: white; border: 1px solid #dfe4df; border-bottom-left-radius: 5px; }
.message.thinking { width: fit-content; min-width: 58px; padding: 14px 16px; }
.typing-dots { display: flex; align-items: center; gap: 5px; min-height: 10px; }
.typing-dots span { width: 7px; height: 7px; border-radius: 999px; background: #607069; opacity: .35; animation: typing-dot 1.15s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: .14s; }
.typing-dots span:nth-child(3) { animation-delay: .28s; }
@keyframes typing-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.message.has-image { padding: 8px; overflow: hidden; }
.message-image { display: block; width: min(100%, 360px); max-height: 360px; object-fit: contain; border-radius: 12px; background: #fff; cursor: zoom-in; }
.message.has-image .message-text { padding: 9px 7px 5px; }
.composer { position: sticky; left: auto; bottom: 0; z-index: 3; transform: none; width: 100%; padding: 12px max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: linear-gradient(transparent, #f7f7f4 24%); }
.composer-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; align-items: end; }
.composer textarea { width: 100%; min-height: 48px; max-height: 150px; resize: none; border: 1px solid #cfd8d2; border-radius: 18px; padding: 13px 14px; outline: none; background: white; transition: border-color .2s ease, box-shadow .2s ease; }
.composer textarea:focus { border-color: #17342c; box-shadow: 0 0 0 4px rgba(23,52,44,.10); }
.attach, #send { height: 48px; display: grid; place-items: center; border-radius: 15px; cursor: pointer; }
.attach { border: 1px solid #cfd8d2; background: white; font-size: 24px; line-height: 1; }
#send { padding: 0 17px; border: 0; color: white; background: #17342c; opacity: .58; transform: translateY(0); transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.composer:has(textarea:not(:placeholder-shown)) #send, .composer:has(.image-preview:not([hidden])) #send { opacity: 1; transform: translateY(-2px); box-shadow: 0 7px 16px rgba(23,52,44,.16); }
#send:disabled { opacity: .55; transform: translateY(0); box-shadow: none; cursor: wait; }
.image-preview { width: fit-content; max-width: 100%; margin: 0 0 8px 56px; padding: 8px; display: flex; gap: 8px; align-items: center; border: 1px solid #cfd8d2; border-radius: 14px; background: white; }
.image-preview[hidden], .brain-consent[hidden] { display: none; }
.image-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; }
.image-preview button { border: 0; padding: 8px 10px; color: #17342c; background: #eef1ee; border-radius: 10px; cursor: pointer; }
.brain-consent { margin: 0 4px 9px 56px; display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid #d9dfda; border-radius: 12px; color: #53645c; background: rgba(255,255,255,.92); font-size: 12px; line-height: 1.35; cursor: pointer; }
.brain-consent input { margin: 2px 0 0; accent-color: #17342c; }
@media (prefers-reduced-motion: reduce) { .empty-state, .rotating-topic, .categories button, .starter-questions button, .upload-numbers, .composer textarea, #send { transition: none; } .categories button.active, .starter-questions, .message { animation: none; } .typing-dots span { animation: none; opacity: .65; } }
@media (max-width: 430px) { #new-chat span:last-child { display: none; } #new-chat { width: 38px; padding: 0; justify-content: center; } .brain-consent { margin-left: 0; } .messages { padding-bottom: 32px; scroll-padding-bottom: 110px; } .empty-state { padding-bottom: 190px; } .empty-state:has(.starter-questions:not([hidden])) { transform: translateY(-24px); } .empty-state h1 { font-size: clamp(32px, 10vw, 44px); } .starter-questions button { padding: 11px 13px; font-size: 14px; } }
@media (min-width: 700px) { .message { max-width: 76%; } }
.feed[hidden], .club-issue-entry[hidden] { display: none; }
body[data-view="feed"] .composer { display: none; }
.club-issue-entry { padding: 12px 16px; border-bottom: 1px solid #dfe4df; background: #f2f7f3; }
.club-issue-entry button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border: 1px solid #aac0b0; border-radius: 12px; color: #17342c; background: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-align: left; }
.club-issue-entry button span:last-child { color: #1f7a4d; font-size: 12px; }
.club-issue-entry button:focus-visible { outline: 2px solid #17342c; outline-offset: 2px; }
.feed-hero{padding:28px 16px 22px;border-bottom:1px solid #dfe4df}.feed-hero p{margin:0 0 8px;color:#1f7a4d;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.feed-hero h1{margin:0 0 8px;color:#17342c;font-size:clamp(28px,8vw,40px);line-height:1.06;letter-spacing:-.045em}.feed-hero div{color:#607069;max-width:540px}.feed-item{padding:20px 16px;border-bottom:1px solid #dfe4df}.feed-image,.feed-video{display:block;width:100%;max-width:550px;height:min(calc((100vw - 32px)*.5625),309px);margin:16px 0;border:1px solid #dfe4df;border-radius:14px;background:#fff}.feed-image{object-fit:cover;object-position:center}.feed-video{border:0}.feed-item .tiktok-player{display:block;width:100%;max-width:550px;height:min(739px,calc((100vw - 32px)*1.7778));margin:16px 0;border:0;border-radius:14px;background:#000}.feed-item[hidden]{display:none}.feed-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#718077;font-size:13px}.feed-meta b{color:#17342c}.feed-item h2{margin:10px 0 7px;color:#17342c;font-size:23px;line-height:1.15;letter-spacing:-.025em}.feed-item>p{margin:0 0 13px;color:#52625a}.feed-item .why{border-left:2px solid #2d8b59;padding-left:10px;color:#213027;font-size:14px}.feed-item .why b{color:#1f7a4d;font-size:11px;letter-spacing:.07em;text-transform:uppercase}.feed-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:15px}.feed-actions a,.feed-actions button,.feed-ask button{min-height:42px;border:0;background:none;color:#1f7a4d;font:inherit;font-size:13px;font-weight:800;cursor:pointer;text-decoration:none}.feed-actions button,.feed-ask button{padding:0 12px;border:1px solid #aac0b0;border-radius:11px}.feed-ask{margin:0;padding:28px 16px 120px;background:#f2f7f3}.feed-ask h2{margin:0 0 7px;color:#17342c;font-size:25px;line-height:1.1}.feed-ask p{margin:0;color:#607069}.feed-ask button{margin-top:16px;background:#17342c;border-color:#17342c;color:#fff}.source-media{max-width:550px;margin:16px 0;overflow:hidden;border:1px solid #dfe4df;border-radius:14px;background:#fff}.source-media .twitter-tweet{margin:0!important;max-width:100%!important}.source-card{padding:16px}.source-card p{margin:0 0 5px;color:#17342c}.source-card a{color:#1f7a4d;font-size:14px;font-weight:800;text-decoration:none}.feed{padding-bottom:24px}.feed-ask{display:none}@media(max-width:430px){.feed-item h2{font-size:21px}}@media(max-width:340px){.feed-item h2{font-size:20px;letter-spacing:-.035em}}


/* Skool sales page */
body[data-view="sales"] { color: #17342c; }
body[data-view="sales"] .app-shell { width: min(100%, 860px); display: block; }
.sales-topbar { position: relative; padding: 16px 20px; }
.sales-topbar .brand-row strong { font-size: 18px; letter-spacing: -.02em; }
.sales-page { overflow: hidden; }
.sales-hero, .sales-section, .sales-final { padding: 54px 20px; }
.sales-hero { padding-top: 68px; text-align: center; }
.sales-hero > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.eyebrow { margin: 0 0 12px; color: #1f7a4d; font-size: 12px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.sales-hero h1 { margin: 0 auto 20px; max-width: 760px; font-size: clamp(40px, 8vw, 68px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.sales-hero p { color: #52625a; font-size: 18px; line-height: 1.6; }
.sales-hero .hero-lead { color: #17342c; font-size: clamp(20px, 3.6vw, 25px); font-weight: 720; line-height: 1.35; }
.sales-hero .trust-line { margin-top: 24px; color: #17342c; font-weight: 780; }
.primary-cta, .text-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 13px; font-weight: 850; text-decoration: none; }
.primary-cta { margin-top: 16px; padding: 0 22px; color: #fff; background: #17342c; box-shadow: 0 8px 20px rgba(23,52,44,.15); }
.primary-cta:hover { background: #245044; transform: translateY(-1px); }
.primary-cta:focus-visible, .text-cta:focus-visible { outline: 3px solid rgba(31,122,77,.3); outline-offset: 3px; }
.text-cta { color: #1f7a4d; text-decoration: underline; text-underline-offset: 4px; }
.skool-status { margin: 12px auto 0; color: #607069; font-size: 14px; }

.sales-chat { margin: 8px 16px 34px; overflow: hidden; border: 1px solid #d6ded8; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(23,52,44,.08); }
.section-heading { padding: 34px 22px 12px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p:last-child { margin: 10px 0 0; color: #607069; }
.sales-chat .empty-state { min-height: auto; padding: 22px 20px 28px; transform: none; }
.sales-chat .empty-state:has(.starter-questions:not([hidden])) { transform: none; }
.sales-chat .empty-state h3 { margin: 0 0 8px; font-size: clamp(28px, 5.6vw, 42px); line-height: 1.03; letter-spacing: -.04em; }
.sales-chat .empty-state > p:first-of-type { display: none; }
.sales-chat .categories { margin-top: 22px; }
.sales-chat .messages { min-height: auto; max-height: 620px; padding: 22px 18px 18px; }
.sales-chat .messages.active { border-top: 1px solid #edf0ed; }
.sales-chat .composer { position: relative; bottom: auto; padding: 14px 16px 18px; background: #f7f7f4; border-top: 1px solid #e2e7e3; }
.sales-chat .chat-followup { padding: 24px 22px 30px; border-top: 1px solid #e2e7e3; background: #f2f7f3; text-align: center; }
.sales-chat .chat-followup p { max-width: 650px; margin: 0 auto 9px; color: #52625a; line-height: 1.55; }
.sales-chat .chat-followup p:first-child { color: #17342c; font-weight: 800; }

.sales-section { border-top: 1px solid #dfe4df; }
.sales-section > * { max-width: 690px; margin-left: auto; margin-right: auto; }
.sales-section h2, .sales-final h2 { margin-top: 0; color: #17342c; font-size: clamp(31px, 6vw, 48px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.sales-section > p { color: #52625a; font-size: 17px; line-height: 1.65; }
.question-list { display: grid; gap: 9px; margin-top: 18px; margin-bottom: 24px; padding: 0; list-style: none; }
.question-list li { padding: 13px 15px; border: 1px solid #dfe4df; border-radius: 12px; color: #17342c; background: #fff; font-weight: 700; }
.decision-lines { margin-top: 24px; padding: 18px 20px; border-left: 3px solid #1f7a4d; background: #f2f7f3; }
.decision-lines p { margin: 6px 0; color: #17342c; font-weight: 730; }
.savings-section { background: #17342c; text-align: center; }
.savings-section h2, .savings-section p { color: #fff; }
.savings-section .short-close { font-weight: 800; }
.savings-section .primary-cta { color: #17342c; background: #fff; }

.golfer-grid, .fitting-steps, .benefit-list { display: grid; gap: 14px; margin-top: 28px; margin-bottom: 28px; }
.golfer-grid { grid-template-columns: repeat(3, 1fr); max-width: 780px; }
.golfer-grid article, .fitting-steps article, .benefit-list article { padding: 20px; border: 1px solid #dfe4df; border-radius: 15px; background: #fff; }
.golfer-grid h3, .benefit-list h3 { margin: 0 0 8px; color: #17342c; font-size: 18px; }
.golfer-grid p, .fitting-steps p, .benefit-list p { margin: 0; color: #607069; line-height: 1.55; }
.fitting-steps { grid-template-columns: repeat(3, 1fr); max-width: 780px; }
.fitting-steps span { display: inline-block; margin-bottom: 9px; color: #1f7a4d; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.benefit-list { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
.founder-section { background: #f2f7f3; }
.faq-section details { max-width: 690px; padding: 18px 0; border-bottom: 1px solid #dfe4df; }
.faq-section summary { color: #17342c; font-size: 17px; font-weight: 820; cursor: pointer; }
.faq-section details p { margin: 12px 0 0; color: #607069; line-height: 1.6; }
.sales-final { border-top: 1px solid #dfe4df; padding-top: 70px; padding-bottom: 80px; text-align: center; background: #f2f7f3; }
.sales-final p { max-width: 600px; margin: 0 auto; color: #52625a; font-size: 18px; line-height: 1.6; }

.answer-upgrade { margin-top: 14px; padding: 14px; border-radius: 12px; color: #17342c; background: #f2f7f3; font-size: 14px; line-height: 1.45; }
.answer-upgrade strong { display: block; margin-bottom: 4px; }
.answer-upgrade a { color: #1f7a4d; font-weight: 850; }

@media (max-width: 680px) {
  .sales-hero, .sales-section, .sales-final { padding: 44px 18px; }
  .sales-hero { padding-top: 50px; }
  .sales-hero h1 { font-size: clamp(39px, 12vw, 55px); }
  .sales-hero p { font-size: 16px; }
  .sales-chat { margin: 6px 10px 26px; border-radius: 19px; }
  .section-heading { padding: 28px 18px 8px; }
  .sales-chat .empty-state { padding: 18px 12px 24px; }
  .sales-chat .empty-state h3 { font-size: 31px; }
  .sales-chat .categories { gap: 7px; }
  .sales-chat .categories button { padding: 9px 11px; font-size: 13px; }
  .sales-chat .composer { padding: 12px 10px 14px; }
  .sales-chat .composer-row { grid-template-columns: 44px minmax(0,1fr) auto; gap: 6px; }
  .sales-chat .attach, .sales-chat #send { height: 46px; }
  .sales-chat .composer textarea { min-height: 46px; padding: 12px; }
  .golfer-grid, .fitting-steps, .benefit-list { grid-template-columns: 1fr; }
}
