:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202020;
  background: #fafafa;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 2px solid #555; outline-offset: 4px; }
button { transition: background-color .15s, border-color .15s; }
[hidden] { display: none !important; }
header { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 5%; border-bottom: 1px solid #e9e9e9; }
.logo { color: #202020; font-size: 26px; font-weight: 700; letter-spacing: -1.4px; text-decoration: none; white-space: nowrap; }
.muted { color: #737373; }
nav { display: flex; gap: 24px; }
nav button { background: transparent; border: 0; color: #616161; min-height: 44px; padding: 8px; font-size: 13px; }
.new { background: #fff; border: 1px solid #dedede; color: #333; border-radius: 8px; min-height: 44px; padding: 10px 16px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
.new:hover { background: #f2f2f2; }
main { max-width: 1000px; margin: auto; padding: 64px 24px 48px; }
.intro { text-align: center; }
.eyebrow { color: #737373; font-size: 12px; line-height: 1.5; }
.dot { display: none; }
h1 { font-size: clamp(48px, 6vw, 72px); font-weight: 550; letter-spacing: -.055em; line-height: 1.06; margin: 22px 0; }
h1 span { color: #787878; }
.intro p { color: #686868; font-size: 15px; line-height: 1.7; margin: 0; }
.workspace { max-width: 700px; margin: 32px auto 0; }
.composer { background: #fff; border: 1px solid #dedede; border-radius: 18px; padding: 24px; box-shadow: 0 6px 26px #00000004; }
.composer:focus-within { border-color: #aaa; }
.composer-label { display: flex; gap: 16px; align-items: baseline; font-weight: 550; font-size: 15px; line-height: 1.5; }
#prompt { min-width: 0; }
.step { margin-left: auto; flex-shrink: 0; font-size: 11px; color: #767676; font-weight: 400; font-variant-numeric: tabular-nums; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chip { min-height: 44px; max-width: 100%; border: 1px solid #e1e1e1; background: #fff; color: #4a4a4a; border-radius: 8px; padding: 10px 14px; font-size: 13px; line-height: 1.35; text-align: left; }
.chip:hover { background: #f4f4f4; border-color: #bdbdbd; }
.chip:active { background: #eaeaea; }
.input-alternative { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; color: #767676; font-size: 12px; line-height: 1.5; }
.input-alternative::before, .input-alternative::after { content: ""; flex: 1; height: 1px; background: #ededed; }
textarea { display: block; width: 100%; min-height: 80px; max-height: 180px; resize: vertical; border: 1px solid #e7e7e7; border-radius: 10px; background: #fafafa; color: #222; padding: 14px; font-size: 16px; line-height: 1.5; }
textarea::placeholder { color: #858585; opacity: 1; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
#helper { color: #767676; font-size: 11px; line-height: 1.5; min-width: 0; }
.send { border: 0; background: #222; color: #fff; border-radius: 8px; padding: 0 20px; min-width: 76px; min-height: 44px; flex-shrink: 0; font-size: 14px; font-weight: 500; }
.send:hover, .primary:hover { background: #444; }
.free-note { text-align: center; color: #767676; font-size: 12px; line-height: 1.6; margin: 16px 0 0; }
.under { text-align: center; color: #767676; margin: 40px auto 0; font-size: 12px; }
.rule { background: #ddd; height: 1px; width: 32px; margin: 0 auto 20px; }
.under p { margin: 0 0 18px; }
.steps { display: flex; justify-content: center; gap: 28px; font-size: 11px; line-height: 1.6; }
.steps b { font-weight: 400; color: #777; margin-right: 6px; }
footer { border-top: 1px solid #e9e9e9; margin: 0 5%; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; color: #767676; font-size: 11px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
dialog { color: inherit; background: #fafafa; border: 1px solid #ddd; border-radius: 18px; width: min(740px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 48px 32px 28px; box-shadow: 0 24px 80px #00000026; }
dialog::backdrop { background: #00000050; backdrop-filter: blur(4px); }
.close { position: absolute; right: 16px; top: 8px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: #666; font-size: 12px; }
h2 { font-size: 27px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; margin: 0 0 12px; }
.badge { color: #737373; font-size: 10px; line-height: 1.5; letter-spacing: .08em; margin-bottom: 12px; }
.sub { color: #666; font-size: 14px; line-height: 1.7; margin: 12px 0; }
.plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.plan { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 24px; }
.plan.recommended { border-color: #777; }
.plan h3 { font-size: 14px; font-weight: 550; margin: 0 0 20px; }
.price { font-size: 40px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; }
.price small { color: #737373; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.billing { font-size: 12px; line-height: 1.5; color: #555; margin-top: 8px; }
.plan p { font-size: 13px; line-height: 1.6; color: #666; margin: 20px 0; }
.primary { background: #222; color: #fff; border: 1px solid #222; border-radius: 8px; padding: 12px 16px; min-height: 44px; width: 100%; font-size: 13px; font-weight: 500; line-height: 1.4; }
.plan .primary { margin-top: auto; }
.plan:first-child .primary { background: #f4f4f4; border-color: #ddd; color: #333; }
.checkout-note { font-size: 12px; line-height: 1.6; color: #737373; margin: 20px 0 0; }
.bubble { margin: 20px 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.bubble.user { margin-left: auto; background: #efefef; border: 1px solid #e5e5e5; border-radius: 12px 12px 3px 12px; padding: 10px 16px; width: fit-content; max-width: 85%; }
.bubble.assistant { color: #626262; }
.results { display: grid; gap: 10px; margin: 20px 0; }
.firm { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e1e1e1; border-radius: 12px; padding: 16px; }
.firm-icon { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; background: #f2f2f2; color: #555; border-radius: 8px; font-size: 16px; font-weight: 600; }
.firm>div:nth-child(2) { min-width: 0; }
.firm strong { font-size: 14px; font-weight: 550; }
.firm p { font-size: 12px; line-height: 1.5; color: #737373; margin: 4px 0 0; }
.firm a { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; min-height: 44px; color: #555; font-size: 12px; text-underline-offset: 3px; }
.paywall { background: #f2f2f2; border: 1px solid #dedede; border-radius: 14px; padding: 24px; margin: 24px 0; }
.paywall p { color: #666; font-size: 14px; line-height: 1.7; }
.paywall .primary { width: auto; }
.compact .intro, .compact .under { display: none; }
.compact main { padding-top: 8px; }
.compact .workspace { margin-top: 0; }
.compact #chat-form { margin-top: 12px; }
@media (max-width: 600px) {
  header { height: 64px; padding: 0 16px; gap: 10px; }
  .logo { font-size: 24px; }
  nav { margin-left: auto; gap: 0; }
  nav [data-action="how"] { display: none; }
  nav button { font-size: 13px; padding: 8px 10px; }
  .new { font-size: 12px; padding: 8px 12px; }
  main { padding: 30px 16px 28px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.08; margin: 16px 0; letter-spacing: -.05em; }
  .intro p { font-size: 14px; line-height: 1.6; max-width: 310px; margin: auto; }
  .workspace { margin-top: 24px; }
  .composer { padding: 18px; border-radius: 14px; }
  .composer-label { font-size: 14px; gap: 10px; }
  .step { font-size: 11px; }
  .choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
  .chip { font-size: 13px; padding: 10px; min-width: 0; min-height: 46px; }
  .input-alternative { font-size: 12px; margin: 18px 0 12px; gap: 8px; }
  textarea { min-height: 76px; padding: 12px; }
  #helper { font-size: 11px; max-width: 165px; }
  .send { padding: 0 18px; }
  .free-note { font-size: 11px; margin-top: 14px; }
  .under { margin-top: 30px; }
  .steps { flex-direction: column; gap: 8px; }
  footer { font-size: 11px; margin: 0 16px; padding: 20px 0; }
  footer>span:nth-child(2) { display: none; }
  dialog { padding: 52px 20px 24px; }
  h2 { font-size: 25px; }
  .plans { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .plan { padding: 20px; }
  .plan h3 { margin-bottom: 12px; }
  .plan p { margin: 16px 0; }
  .price { font-size: 36px; }
  .firm { padding: 12px; gap: 10px; }
  .firm strong { font-size: 13px; }
  .firm p { font-size: 11px; }
  .firm a { font-size: 11px; }
  .paywall { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
