:root{--brand:#5865d9;--brand-dark:#3948b6;--ink:#202844;--muted:#748099;--line:#e5e9f2;--paper:#fff;--bg:#f5f7fc;--soft:#eef0ff;--radius:18px;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--brand);text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9ea8ff;outline-offset:3px}[hidden]{display:none!important}
.topbar{height:80px;max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:10px;font-weight:750;color:var(--ink);font-size:15px}.brand-mark{background:var(--brand);color:white;border-radius:12px;width:34px;height:34px;display:grid;place-items:center;font-size:20px}.header-link{font-size:13px}.shell{max-width:1040px;margin:20px auto 0;padding:0 28px 120px}.intro{margin-bottom:28px}.eyebrow{color:var(--brand);font-size:12px;letter-spacing:.13em;font-weight:700;margin:0 0 10px}h1{font-size:32px;letter-spacing:-1px;line-height:1.35;margin:0 0 10px}h2{font-size:19px;line-height:1.4;margin:0 0 18px}h3{font-size:16px;margin:0 0 8px}p{margin:8px 0}.muted,.hint{color:var(--muted);font-size:13px}.lead{color:var(--muted);margin:0;font-size:15px}.home-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.8fr);gap:24px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 5px 18px #29366404}.scene-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:26px}.scene{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:white;padding:16px;color:var(--ink)}.scene[aria-pressed=true]{border-color:var(--brand);background:var(--soft);color:var(--brand-dark)}.scene strong{display:block;font-size:16px}.scene small{display:block;font-size:11px;color:var(--muted)}.icon{width:22px;height:22px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.scene .icon{width:26px;height:26px}.field{display:block;margin-bottom:20px}.field-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.field-label small{font-weight:400;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #dce1ee;border-radius:10px;background:white;padding:11px 13px;color:var(--ink);font-size:14px}textarea{min-height:110px;resize:vertical}input::placeholder,textarea::placeholder{color:#9aa3b6}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.chip{border:1px solid var(--line);border-radius:9px;background:white;padding:7px 12px;color:#59647d;font-size:13px}.chip[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:white}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--brand);border-radius:10px;min-height:46px;padding:10px 20px;background:var(--brand);color:white;font-size:14px;font-weight:600}.btn:hover{background:var(--brand-dark)}.btn.secondary{background:white;color:var(--brand)}.btn.secondary:hover{background:var(--soft)}.btn.full{width:100%}.btn.text{border:0;background:transparent;color:var(--muted);padding:8px}.billing{text-align:center;font-size:12px;color:var(--muted);margin-top:10px}.side-note{background:#eff2fc;border:0;box-shadow:none}.side-note .step{display:flex;align-items:flex-start;gap:12px;margin:20px 0}.step-number{width:25px;height:25px;flex-shrink:0;border-radius:50%;background:white;color:var(--brand);display:grid;place-items:center;font-size:12px;font-weight:bold}.step p{margin:0;font-size:14px}.side-note details{border-top:1px solid #dce3f5;margin-top:24px;padding-top:18px}summary{cursor:pointer;font-size:14px;font-weight:600}.example{font-size:13px;color:#616c85;background:white;padding:14px;border-radius:12px;margin-top:12px}.notice{padding:12px 16px;background:#fff5e7;color:#8a5b20;border-radius:10px;font-size:13px;margin-bottom:18px}.notice.error{background:#fff0f0;color:#a43737}.status{padding:12px 0;font-size:14px;color:var(--brand)}.status:empty{display:none}.footer-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffffff5;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(12px)}.nav-inner{max-width:580px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr)}.nav-item{display:flex;align-items:center;flex-direction:column;gap:3px;padding:12px 8px 10px;font-size:11px;color:var(--muted)}.nav-item[aria-current=page]{color:var(--brand);font-weight:700}.nav-item .icon{width:21px;height:21px}.page-narrow{max-width:700px;margin:auto}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.badge{background:#ecf8f0;color:#328858;padding:4px 10px;border-radius:20px;font-size:12px}.result-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9;color:#39425a;margin:0}.result-main{max-height:470px;overflow:auto;padding-right:8px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 10px}.actions .btn{flex:1}.result-part{border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:12px}.result-part .result-text{margin-top:12px;font-size:14px}.empty{text-align:center;padding:44px 20px;color:var(--muted)}.empty .icon{width:36px;height:36px;margin-bottom:12px}.record-list{display:grid;gap:12px}.record{display:flex;gap:15px;align-items:center;width:100%;text-align:left;border:1px solid var(--line);border-radius:14px;padding:19px;background:white;color:var(--ink)}.record-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--soft);color:var(--brand);flex-shrink:0}.record-copy{min-width:0;flex:1}.record strong{display:block;font-size:15px;overflow-wrap:anywhere}.record small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.record .arrow{font-size:18px;color:var(--muted)}.profile-heading{display:flex;align-items:center;gap:16px;margin-bottom:25px}.avatar{width:58px;height:58px;background:var(--soft);color:var(--brand);border-radius:50%;display:grid;place-items:center}.avatar .icon{width:30px;height:30px}.balance-card{background:var(--soft);border:1px solid #daddfb;box-shadow:none;margin-bottom:20px}.balance-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.balance{font-size:44px;line-height:1.4;color:var(--brand);font-weight:700}.balance small{font-size:14px;font-weight:400}.menu{padding:0;overflow:hidden}.menu-link{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:19px 22px;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);font-size:14px}.menu-link:last-child{border-bottom:0}.menu-link .arrow{margin-left:auto;color:var(--muted)}.menu-link.featured{color:var(--brand);background:#fafaff}.legal{text-align:center;color:var(--muted);font-size:12px;margin-top:26px}.legal a{color:inherit}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.reward-stat{text-align:center;padding:16px 8px;background:var(--soft);border-radius:12px}.reward-stat strong{display:block;color:var(--brand);font-size:24px}.reward-stat span{font-size:11px;color:var(--muted)}.rules{padding-left:20px;font-size:14px;color:#59647d}.rules li{margin:12px 0}.invite-output{margin:18px 0}.invite-output input{font-size:12px}.section-space{margin-top:24px}.toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#202844ed;color:white;border-radius:12px;font-size:13px;z-index:100;max-width:90vw;text-align:center}.help details{border-bottom:1px solid var(--line);padding:18px 0}.help details:last-child{border:0}.help p{color:#59647d;font-size:14px}.spinner{display:inline-block;width:14px;height:14px;border:2px solid #d7dcff;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:900px){.footer-nav{left:50%;right:auto;bottom:20px;transform:translateX(-50%);width:420px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #24305b12}.topbar{border-bottom:1px solid var(--line)}}
@media(max-width:650px){.topbar{height:64px;padding:0 20px}.brand{font-size:13px}.brand-mark{width:29px;height:29px;border-radius:9px}.shell{padding:0 18px 110px;margin-top:18px}.intro{margin-bottom:22px}h1{font-size:25px}.lead{font-size:13px}.home-layout{display:flex;flex-direction:column;gap:18px}.home-layout>*{width:100%}.card{padding:20px}.scene{padding:13px 11px;gap:8px}.scene strong{font-size:15px}.scene small{font-size:10px}.scene-tabs{margin-bottom:22px}.side-note{padding:18px 20px}.side-note .step{margin:12px 0}.side-note h2{font-size:16px;margin-bottom:12px}.side-note details{margin-top:16px;padding-top:14px}.field{margin-bottom:17px}.result-text{font-size:14px}.result-main{max-height:430px}.balance{font-size:38px}.menu-link{padding:18px}.record{padding:15px}.record strong{font-size:14px}.actions{gap:8px}.actions .btn{min-width:130px}.reward-stat strong{font-size:21px}.header-link{font-size:12px}}

/* Mobile layout: comfortable touch targets, one page scroll, safe-area spacing. */
@media(max-width:650px){
  html{scroll-padding-bottom:110px}
  .topbar{height:58px;padding:0 16px;gap:12px}
  .brand{min-width:0;gap:8px;font-size:12px}
  .brand-mark{flex-shrink:0;width:28px;height:28px}
  .header-link{flex-shrink:0;display:flex;align-items:center;min-height:44px;font-size:12px}
  .shell{margin-top:12px;padding:0 14px calc(94px + env(safe-area-inset-bottom))}
  .intro{margin-bottom:18px}
  .eyebrow{display:none}
  h1{font-size:24px;letter-spacing:-.5px;margin-bottom:7px;overflow-wrap:anywhere}
  .lead{font-size:13px;line-height:1.7}
  .card{border-radius:16px;padding:16px}
  .scene-tabs{gap:8px;margin-bottom:18px}
  .scene{min-height:68px;padding:11px 10px;gap:8px;border-radius:12px}
  .scene .icon{width:23px;height:23px}
  .scene strong{font-size:15px}
  .scene small{font-size:10px;line-height:1.5;margin-top:3px}
  .field{margin-bottom:14px;min-width:0}
  .field-label{font-size:14px;margin-bottom:7px}
  input,select,textarea,.invite-output input{font-size:16px;min-width:0;min-height:46px;padding:10px 12px}
  textarea{min-height:90px;line-height:1.6}
  .field-row{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  #topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
  .chip{min-height:44px;padding:8px 10px}
  .btn{min-height:48px;padding:11px 14px;font-size:15px}
  .hint,.muted,.billing{color:#626e86}
  #generator>.hint{font-size:11px;margin:8px 0 12px}
  .billing{font-size:12px;margin:8px 0 0}
  .side-note{padding:16px;background:#eef1fa}
  .side-note h2{font-size:15px;margin-bottom:10px}
  .side-note .step{margin:10px 0;gap:9px}
  .step p{font-size:13px}
  .side-note details{margin-top:12px;padding-top:12px}
  .nav-item{min-height:62px;padding:9px 8px 8px;gap:4px;font-size:12px}
  .nav-item[aria-current=page] .icon{background:var(--soft);border-radius:7px;box-shadow:0 0 0 5px var(--soft)}
  .nav-item .icon{width:20px;height:20px}
  .result-header{gap:10px;margin-bottom:10px;align-items:flex-start}
  .result-header .btn{min-height:44px;font-size:13px;flex-shrink:0}
  .badge{margin-top:8px;text-align:right;font-size:11px;white-space:normal}
  .result-text{font-size:15px;line-height:1.85;font-family:inherit}
  .result-main{max-height:none;overflow:visible;padding-right:0}
  .actions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:9;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;background:#f5f7fcf5;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px #2028440d;margin:14px 0 10px}
  .actions .btn{min-width:0;padding:10px 6px;font-size:14px;gap:6px}
  .actions .icon{width:18px;height:18px}
  .result-part{padding:14px}
  .record-list{gap:10px}
  .record{gap:10px;padding:14px;min-width:0}
  .record strong{font-size:14px;line-height:1.6}
  .record-icon{width:36px;height:36px;border-radius:10px}
  .record small{font-size:12px;line-height:1.6}
  .profile-heading{gap:12px;margin-bottom:18px;min-width:0}
  .profile-heading>div{min-width:0;overflow-wrap:anywhere}
  .avatar{width:48px;height:48px;flex-shrink:0}
  .balance-row{flex-wrap:wrap;gap:12px}
  .balance{font-size:36px;overflow-wrap:anywhere}
  .menu{padding:0}
  .menu-link{min-height:60px;padding:16px;gap:10px}
  .reward-grid{gap:7px;margin:16px 0}
  .reward-stat{min-width:0;padding:14px 5px}
  .reward-stat strong{font-size:22px;overflow-wrap:anywhere}
  .reward-stat span{font-size:11px;line-height:1.5;display:block;margin-top:4px}
  .page-narrow .hint{overflow-wrap:anywhere}
  .section-space{margin-top:18px}
  .toast{bottom:calc(142px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 32px)}
  summary{min-height:44px;align-content:center;line-height:1.7}
}
@media(max-width:359px){
  .shell{padding-left:10px;padding-right:10px}
  .topbar{padding:0 12px}
  h1{font-size:22px}
  .card{padding:14px}
  .menu{padding:0}
  .scene{gap:6px;padding:10px 8px}
  .scene .icon{width:20px;height:20px}
  .scene strong{font-size:14px}
  .actions .btn{font-size:13px}
}

/* Keep optional practice separate from the main prompt workflow. */
.daily-practice h2{margin:14px 0 12px}
.daily-practice p,.daily-progress p{line-height:1.8;overflow-wrap:anywhere}
.daily-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.daily-message{color:var(--brand-dark);font-size:14px}
.daily-message:empty{display:none}
.daily-progress>.btn{margin-top:10px}
.daily-progress button:disabled{opacity:.65;cursor:default}
@media(min-width:900px){.nav-item[href="daily.html"]{margin-top:18px;border-top:1px solid var(--line);border-radius:0 0 12px 12px}}
@media(max-width:899px){.nav-inner{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-item{font-size:11px;padding-left:2px;padding-right:2px}}
@media(max-width:650px){.daily-buttons{display:grid;grid-template-columns:minmax(0,1fr)}.daily-buttons .btn{width:100%}.daily-progress>.btn{width:100%}.daily-progress{padding:16px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}

/* Desktop workspace: persistent side navigation and unobstructed content. */
@media(min-width:900px){
  body{padding-left:192px}
  .topbar{position:fixed;top:0;left:192px;right:0;z-index:20;height:76px;max-width:none;padding:0 36px;background:#fffffff2;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
  .brand{font-size:15px}
  .header-link{padding:8px 16px;border:1px solid var(--line);border-radius:10px;background:white}
  .header-link:hover{background:var(--soft)}
  .footer-nav{top:0;bottom:0;left:0;right:auto;width:192px;transform:none;border:0;border-right:1px solid var(--line);border-radius:0;padding:100px 16px 24px;background:#fff;box-shadow:none;backdrop-filter:none}
  .footer-nav::before{content:'工作台';position:absolute;top:28px;left:30px;font-size:17px;letter-spacing:1px;font-weight:700;color:var(--ink)}
  .nav-inner{display:flex;flex-direction:column;gap:10px;max-width:none}
  .nav-item{flex-direction:row;justify-content:flex-start;gap:12px;padding:14px 16px;min-height:52px;font-size:14px;border-radius:12px}
  .nav-item:hover{background:var(--bg);color:var(--brand)}
  .nav-item[aria-current=page]{background:var(--soft);color:var(--brand-dark)}
  .nav-item .icon{width:21px;height:21px}
  .shell{max-width:1192px;margin:112px auto 0;padding:0 36px 56px}
  .intro{margin-bottom:28px}
  .eyebrow{font-size:11px;letter-spacing:2px;margin-bottom:8px}
  h1{font-size:30px;letter-spacing:-.6px;overflow-wrap:anywhere}
  .lead{font-size:14px;line-height:1.8}
  .home-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px}
  .card{border-radius:18px;padding:28px;box-shadow:0 6px 24px #20284404}
  .scene-tabs{gap:12px;margin-bottom:24px}
  .scene{padding:15px 14px;min-height:78px;transition:background .15s,border-color .15s}
  .scene:hover{border-color:#a0a8ed}
  .scene small{font-size:11px;line-height:1.6}
  .field{margin-bottom:18px}
  input,select,textarea{min-height:46px;background:#fdfdff}
  input:hover,select:hover,textarea:hover{border-color:#b4bce0}
  textarea{min-height:104px;line-height:1.7}
  .chip{min-height:40px;padding:8px 14px}
  .btn{min-height:46px;transition:background .15s,box-shadow .15s}
  #generate{box-shadow:0 4px 12px #5865d929}
  .side-note{position:sticky;top:100px;background:#edf0fb;box-shadow:none;padding:26px}
  .side-note h2{font-size:18px;line-height:1.6}
  .side-note .step{margin:22px 0}
  .side-note .hint{line-height:1.8}
  .page-narrow{max-width:860px}
  .result-header{margin-bottom:14px}
  .result-text{font-family:inherit;font-size:16px;line-height:2}
  .result-main{max-height:none;overflow:visible;padding-right:0}
  .actions{position:sticky;bottom:20px;z-index:9;padding:12px;background:#fffffff5;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 28px #20284412;max-width:560px;margin:20px auto}
  .actions .btn{min-height:48px}
  .record-list{gap:14px}
  #recordList{grid-template-columns:repeat(2,minmax(0,1fr))}
  .record{min-height:102px;transition:background .15s,border-color .15s;min-width:0}
  button.record:hover{background:#fafaff;border-color:#a0a8ed}
  .record strong{line-height:1.6}
  .record small{line-height:1.7}
  .menu{padding:0}
  .menu-link{padding:22px 26px;transition:background .15s}
  .menu-link:hover{background:var(--soft)}
  .balance-card{padding:28px 32px}
  .balance{font-size:48px}
  .reward-grid{gap:16px;margin:24px 0}
  .reward-stat{padding:24px 12px;border:1px solid #e0e4f7}
  .reward-stat strong{font-size:32px;overflow-wrap:anywhere}
  .reward-stat span{font-size:13px}
  .page-narrow .hint{overflow-wrap:anywhere}
  .toast{left:calc(50% + 96px);bottom:110px}
}
@media(min-width:900px) and (max-width:1149px){
  body{padding-left:168px}
  .topbar{left:168px;padding:0 26px}
  .footer-nav{width:168px;padding-left:12px;padding-right:12px}
  .shell{padding-left:26px;padding-right:26px}
  .home-layout{grid-template-columns:minmax(0,1fr)}
  .side-note{position:static}
  .toast{left:calc(50% + 84px)}
  #recordList{grid-template-columns:minmax(0,1fr)}
}
.exam-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.exam-roles .chip{min-height:44px;padding:8px 5px}.role-hint{margin:10px 0 18px;line-height:1.7}
@media(max-width:359px){.exam-roles{gap:5px}.exam-roles .chip{font-size:12px}}
.session-dialog{width:calc(100% - 32px);max-width:420px;border:1px solid var(--line);border-radius:18px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #20284433}.session-dialog::backdrop{background:#17203980;backdrop-filter:blur(3px)}.session-dialog p{font-size:15px;line-height:1.8}.session-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}

/* Sales journey: in-flow actions never cover the examples, inputs or generated text. */
html{scroll-padding-top:100px;scroll-behavior:smooth}
:where(button,a,summary):focus-visible{outline:3px solid #3d49b5;outline-offset:4px}
.sales-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:36px;align-items:center;padding:30px 0 36px;border-bottom:1px solid var(--line)}
.sales-hero h1{font-size:36px;line-height:1.45;letter-spacing:-1px;margin:10px 0 18px}
.sales-hero .lead{font-size:16px;line-height:1.9}
.hero-note{background:#edf0fb;border:1px solid #dce1f4;border-radius:20px;padding:26px}
.hero-note h2{margin:18px 0 12px;font-size:20px;line-height:1.6}
.hero-note p{font-size:14px;color:#535f79;line-height:1.8}
.hero-note a{display:inline-block;margin-top:10px;font-size:14px}
.sales-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;align-items:center}
.sales-actions .btn{min-height:46px;text-align:center}
.sales-section{margin-top:38px;scroll-margin-top:14px}
.sales-section>h2,.section-heading h2{font-size:23px;line-height:1.6;margin:0 0 10px}
.sales-section>.muted,.section-heading .muted{font-size:14px;line-height:1.8;margin:0 0 20px}
.example-selector{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 16px}
.example-selector .chip{min-height:44px;min-width:100px}
.example-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.example-heading h3{font-size:21px;margin:0}
.example-question{border-left:3px solid #8b95e3;padding:2px 0 2px 16px;margin-bottom:24px}
.example-question p{margin:8px 0;line-height:1.8}
.example-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}
.example-columns>section{min-width:0}
.example-columns h4{margin:0 0 12px;font-size:16px}
.example-columns .result-text{font-family:inherit;font-size:14px;line-height:1.95}
.example-output{background:#f5f7fc;border-radius:14px;padding:20px}
.example-output .hint{margin-top:0}
.example-usage{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;font-size:14px;line-height:1.9}
.value-section{padding:26px 0}
.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:20px 0}
.value-grid h3{font-size:17px;margin:0 0 12px}
.value-grid p{font-size:14px;line-height:1.9;color:#59647d;margin:0}
.offer-card{background:#eef1fb;border-color:#dce1f4}
.offer-card h2{line-height:1.6;margin-bottom:16px}
.offer-card p{font-size:14px;line-height:1.9;color:#535f79}
.offer-card .offer-name{margin-bottom:4px}
.offer-card .offer-price{margin:0;color:var(--brand)}
.offer-price strong{font-size:38px;letter-spacing:-1px}.offer-price span{font-size:18px}
.offer-card details{padding-top:16px;margin-top:16px;border-top:1px solid #d4dcef}
.offer-card .eyebrow{color:var(--brand)}
.actions{position:static;bottom:auto;max-width:none;box-shadow:none}
#formError:has([data-buy]){margin-bottom:18px}
#formError .section-space{margin-top:0}
@media(max-width:1149px){.sales-hero{grid-template-columns:minmax(0,1fr)}.hero-note{display:none}}
@media(max-width:650px){
  html{scroll-padding-top:18px}
  .sales-hero{padding:14px 4px 24px;gap:20px}
  .sales-hero h1{font-size:27px;line-height:1.5;letter-spacing:-.5px;margin-top:0}
  .sales-hero .lead{font-size:14px}
  .sales-hero .lead br{display:none}
  .sales-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:18px}
  .sales-hero .sales-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sales-actions .btn{width:100%;min-width:0;font-size:14px}
  .sales-section{margin-top:28px}
  .sales-section>h2,.section-heading h2{font-size:20px}
  .example-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .example-selector .chip{min-width:0;padding:8px 4px}
  .example-heading{gap:8px}.example-heading h3{font-size:19px}
  .example-columns,.value-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .example-output{padding:16px}
  .example-columns .result-text{font-size:14px;line-height:1.9}
  .value-section{padding:10px 4px}
  .offer-price strong{font-size:34px}
}
.example-output .is-streaming::after{content:'▌';margin-left:2px;color:var(--brand);animation:streamCaret 1s steps(1,end) infinite}
.ai-run-output.is-streaming::after{content:'▌';margin-left:2px;color:var(--brand);animation:streamCaret 1s steps(1,end) infinite}
.md-body{font-size:15px;line-height:1.9;color:#39425a;overflow-wrap:anywhere;word-break:break-word}
.md-body.plain-fallback{white-space:pre-wrap;font-family:inherit}
.restored-cases .card{padding:22px;min-width:0}
.restored-cases h3{margin-top:0;font-size:18px}
.restored-cases p,.home-value p,.purchase-value p{line-height:1.85}
.restored-cases a{color:var(--brand)}
.purchase-value{margin:20px 0;padding:18px;border-radius:12px;background:var(--soft)}
.purchase-value h3{margin:0 0 10px;font-size:17px}
.purchase-value ul{padding-left:22px;line-height:1.9}
.md-body h1,.md-body h2,.md-body h3,.md-body h4,.md-body h5{margin:18px 0 10px;color:var(--ink);line-height:1.4}
.md-body h1{font-size:20px}.md-body h2{font-size:18px}.md-body h3{font-size:16px}.md-body h4,.md-body h5{font-size:15px}
.md-body p{margin:10px 0}
.md-body ul,.md-body ol{margin:10px 0;padding-left:24px}
.md-body li{margin:6px 0}
.md-body code{background:#eef1f8;border-radius:6px;padding:2px 6px;font-size:13px;font-family:ui-monospace,Consolas,monospace}
.md-body pre{background:#f5f7fc;border:1px solid var(--line);border-radius:10px;padding:14px;overflow-x:auto;margin:12px 0}
.md-body pre code{background:none;padding:0}
.md-body blockquote{border-left:3px solid var(--brand);margin:12px 0;padding:4px 14px;color:#59647d;background:var(--soft);border-radius:0 10px 10px 0}
.md-body table{border-collapse:collapse;margin:12px 0;width:100%;font-size:14px}
.md-body th,.md-body td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.md-body th{background:var(--soft)}
.md-body hr{border:0;border-top:1px solid var(--line);margin:16px 0}
.md-body a{color:var(--brand)}
.md-body .katex{font-size:1.06em}
.md-body .katex-display{margin:12px 0;overflow-x:auto;overflow-y:hidden;padding:4px 0}
.example-prompt{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}
.example-prompt .result-text{margin-top:12px}
.outcome-list{margin:14px 0}
.outcome-list dt{font-size:14px;font-weight:700;color:var(--brand);margin-top:14px}
.outcome-list dd{font-size:14px;line-height:1.8;color:#59647d;margin:4px 0 0}
.more-examples>summary{color:var(--brand);padding:16px;border:1px solid var(--line);border-radius:12px;background:white}
body[data-page=effects] .sales-hero{background:linear-gradient(135deg,#eef1ff,#f6faf8);border:1px solid #e1e5f4;border-radius:24px;padding:32px}
@media(max-width:650px){
  body[data-page=effects] .sales-hero{padding:22px 18px;border-radius:18px}
}
@keyframes streamCaret{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.example-output .is-streaming::after,.ai-run-output.is-streaming::after{animation:none}}
.offer-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.offer-package{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:12px;padding:12px 8px;background:white;text-align:center}
.offer-package.is-main{border-color:var(--brand);background:var(--soft)}
.offer-package strong{font-size:13px;color:var(--ink)}
.offer-package b{font-size:20px;color:var(--brand)}
.offer-package small{font-size:11px;color:var(--muted)}
.offer-first{font-size:11px;color:#a43737}
.offer-nudge p{margin:6px 0 0}
.showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.showcase-item{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white;text-decoration:none}
.showcase-item img{width:100%;height:auto;display:block;max-height:420px;object-fit:cover;object-position:top}
.showcase-item span{display:block;padding:10px 12px;font-size:12px;color:var(--muted)}
.showcase-wide{grid-column:1/-1}
.showcase-wide img{max-height:560px}
.daily-card{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:center}
.daily-challenge h3{margin:10px 0 8px}
.daily-challenge p{color:#59647d;font-size:14px;line-height:1.8;margin:6px 0}
.daily-checkin{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px dashed #daddfb;border-radius:12px;text-align:center}
.daily-checkin p{margin:0;color:#59647d;font-size:13px}
.daily-checkin strong{color:var(--ink)}
@media(max-width:650px){.offer-packages{grid-template-columns:1fr}.showcase-grid{grid-template-columns:1fr}.daily-card{grid-template-columns:1fr;gap:16px}.showcase-item img{max-height:none}}

/* The public examples and the generator have separate, linked pages. */
.nav-item:focus-visible,.usage-example-link:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(max-width:899px){.nav-inner{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-item{min-width:0;white-space:nowrap}}
body[data-page=home] #start{margin-top:0}
.usage-example-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;font-size:14px}
.usage-purchase{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:white;color:var(--muted);font-size:14px}
.usage-purchase .btn{flex-shrink:0}
@media(max-width:650px){
  body[data-page=home] .section-heading .muted{margin-bottom:14px}
  body[data-page=home] .side-note{background:#f0f3fa}
  .usage-purchase{margin-top:18px;padding:14px;gap:10px;flex-wrap:wrap}
  .usage-purchase .btn{font-size:14px}
  body[data-page=effects] .showcase-item img{max-height:300px;object-fit:contain;background:#f2f4fa}
  body[data-page=effects] .sales-hero h1{font-size:25px;overflow-wrap:anywhere}
  body[data-page=effects] .example-output{padding:14px}
  body[data-page=effects] .example-heading{margin-bottom:14px}
  body[data-page=effects] .example-question{margin-bottom:18px}
}
@media(max-width:359px){
  body[data-page=effects] .sales-hero{padding:18px 14px}
  body[data-page=effects] .sales-hero h1{font-size:23px}
  .usage-purchase{align-items:stretch;flex-direction:column}
}

.checkin-calendar{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.checkin-calendar summary{cursor:pointer;font-weight:600;min-height:28px}.checkin-month{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.checkin-month .btn{padding:8px 12px;min-height:44px}.checkin-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.checkin-week{text-align:center;font-size:12px;padding:6px 0;color:var(--muted)}.checkin-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;border-radius:6px;background:#f3f4f6;font-size:14px}.checkin-day small{font-size:10px;color:#59647d}.checkin-day.is-signed{background:#dcfce7;color:#166534}.checkin-day.is-signed small{color:#166534}.checkin-day.is-today{outline:2px solid var(--brand);outline-offset:-2px}

.result-usage-guide{margin:20px 0 24px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f7f8fc}
.result-usage-guide summary{cursor:pointer;font-weight:700;line-height:1.7;min-height:32px}
.result-usage-guide summary small{margin-left:12px;font-size:12px;font-weight:400;color:var(--muted)}
.result-usage-guide summary:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:4px}
.result-usage-paths{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.result-usage-path{padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.result-usage-label{font-size:12px;color:var(--brand);font-weight:600}
.result-usage-path h3{margin:8px 0 12px;font-size:16px}
.result-usage-path ol{margin:0;padding-left:20px;color:#47536d;font-size:13px;line-height:1.8}
.result-usage-path li+li{margin-top:8px}
.result-usage-path p,.result-usage-footnote{font-size:12px;color:var(--muted);line-height:1.7;margin:14px 0 0}
.result-usage-path p{padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:650px){.result-usage-guide{padding:14px}.result-usage-paths{grid-template-columns:1fr;gap:10px}.result-usage-guide summary small{display:block;margin-left:18px}.result-usage-path{padding:16px}}
.exam-part-description{display:block;font-size:12px;font-weight:400;line-height:1.75;color:var(--muted);margin:7px 0 12px}
.result-part summary .exam-part-description{margin:7px 0 0;padding-left:18px}
.result-part .actions{margin-top:16px;flex-wrap:wrap}
.exam-part-result{padding-top:18px;border-top:1px solid var(--line)}
.exam-part-result h3{font-size:16px;margin:0 0 10px}
@media(max-width:650px){.result-part .actions{grid-template-columns:minmax(0,1fr)}.result-part .actions .btn{flex:1 1 100%;min-width:0;white-space:normal;line-height:1.6}.result-part summary .exam-part-description{padding-left:0}}
.section-switch{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid #dce5e6;background:#fff}.section-switch a{padding:10px 16px;border-radius:10px;color:#28564e;text-decoration:none}.section-switch a[aria-current]{background:#e5f3ed;font-weight:700}
@media(min-width:900px){.section-switch{margin-top:76px}.section-switch+.shell{margin-top:36px}}
@media(max-width:899px){.nav-inner{grid-template-columns:repeat(6,minmax(0,1fr))}.nav-item{font-size:10px}}
.section-switch a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0}.section-switch strong{font-size:15px;line-height:1.5}.section-switch small{font-size:12px;font-weight:400;line-height:1.5;color:#61726e}
@media(max-width:650px){.section-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 14px}.section-switch a{padding:10px 4px}.section-switch small{font-size:11px}}
