:root {
  color-scheme: light;
  --ink:#172f29; --muted:#50645a; --paper:#f8f9f3; --green:#1d3931;
  --lime:#d8e98b; --rule:#d7ddd2;
  font: 16px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
  color:var(--ink); background:var(--paper); -webkit-text-size-adjust:100%;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; }
h1,h2,h3,p { margin:0; }
a { color:inherit; text-underline-offset:.2em; }
button,select { font:inherit; color:inherit; }
button,a.primary { cursor:pointer; }
button:disabled,select:disabled { opacity:.55; cursor:wait; }
:focus-visible { outline:3px solid #4e74a1; outline-offset:4px; }
.shell { width:min(1176px,100%); margin:0 auto; padding:0 clamp(20px,4.7vw,65px); display:flex; flex-direction:column; min-height:100svh; }
main { flex:1; }
.site-header, footer { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.site-header { min-height:91px; border-bottom:1px solid var(--rule); }
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-size:24px; font-weight:750; letter-spacing:-1.35px; }
.brand img { border-radius:13px; }
nav,footer div { display:flex; gap:clamp(16px,3vw,36px); align-items:center; }
nav a,footer a { color:var(--muted); font-size:14px; text-decoration:none; }
nav a:hover,footer a:hover { text-decoration:underline; color:var(--ink); }
.hero { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); align-items:center; gap:clamp(28px,5vw,80px); padding:clamp(46px,7vw,95px) 0; }
.intro h1 { font-size:clamp(45px,4.8vw,69px); font-weight:650; line-height:1.01; letter-spacing:-.065em; }
.max-word { isolation:isolate; position:relative; }
.max-word::after { content:""; position:absolute; z-index:-1; left:-1%; right:-2%; bottom:.07em; height:.14em; background:var(--lime); transform:rotate(-2deg); }
.lede { max-width:435px; margin-top:30px; color:var(--muted); font-size:clamp(17px,1.6vw,21px); line-height:1.5; }
.access { min-height:45px; display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-top:36px; }
.status { display:inline-flex; gap:10px; align-items:center; max-width:100%; color:#43564c; font-size:14px; }
.status::before { content:""; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#769441; box-shadow:0 0 0 4px #e9efd9; }
.examples { scroll-margin:26px; position:relative; padding:clamp(23px,3vw,38px); border-radius:28px; background:var(--green); color:white; box-shadow:0 14px 32px -25px #17312870; }
.examples h2 { color:#f5f7ef; font-weight:560; font-size:clamp(20px,2.1vw,27px); letter-spacing:-.045em; }
.choices { display:flex; gap:6px; flex-wrap:wrap; margin:15px 0 23px; }
.choices button { padding:6px 12px; background:transparent; color:#dce9de; border:1px solid #72867a; border-radius:999px; font-size:14px; }
.choices button[aria-pressed=true] { color:var(--ink); background:var(--lime); border-color:var(--lime); font-weight:650; }
.choices button:hover { border-color:var(--lime); }
.prompt { position:relative; min-height:163px; padding:21px 23px 23px 51px; background:#f4f6e9; color:var(--ink); border-radius:18px 18px 18px 5px; }
.quote { position:absolute; top:5px; left:17px; font:65px/1 Georgia,serif; color:#718b4f; }
.prompt p { font-size:clamp(18px,2.1vw,25px); letter-spacing:-.035em; line-height:1.35; }
.copy { display:inline-flex; align-items:center; gap:11px; min-height:38px; margin:13px 0 -7px; padding:3px 1px; border:none; background:transparent; color:#e2edcf; font-size:14px; }
.copy:hover { color:#fff; }
.copy-icon { position:relative; display:inline-block; width:12px; height:14px; margin-left:3px; border:1.4px solid currentColor; border-radius:2px; }
.copy-icon::before { content:""; position:absolute; width:8px; height:10px; left:-5px; top:-5px; border:1.4px solid currentColor; border-right:0; border-bottom:0; border-radius:2px 0 0 0; }
.features { padding:36px 0 clamp(42px,6vw,76px); border-top:1px solid var(--rule); }
.features h2,.setting h2,.quota-card h2,dialog h2 { font-size:clamp(23px,2.6vw,34px); font-weight:620; letter-spacing:-.05em; line-height:1.15; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,60px); margin-top:29px; }
.feature-grid article + article { border-left:1px solid var(--rule); padding-left:clamp(20px,3vw,44px); }
.command { display:inline-block; font:13px/1.3 "IBM Plex Mono",monospace; color:#475a3e; background:#e7eeda; border-radius:6px; padding:5px 8px; }
.feature-grid h3 { font-size:20px; line-height:1.15; letter-spacing:-.05em; margin:14px 0 8px; }
.feature-grid p,.setting p,dialog p { color:var(--muted); line-height:1.55; }
footer { padding:24px 0; border-top:1px solid var(--rule); font-size:14px; color:var(--muted); }
footer>span { font-weight:650; }
.primary,.secondary,.destructive,.subtle { display:inline-flex; justify-content:center; align-items:center; border-radius:11px; border:1px solid transparent; padding:10px 16px; font-weight:600; text-decoration:none; gap:14px; }
.primary { color:var(--ink); background:var(--lime); }
.secondary { background:#fff; border-color:#b6c3b6; }
.subtle { background:transparent; border-color:var(--rule); }
.danger { color:#873f3a; }
.destructive { background:#893e37; color:#fff; }
.primary:hover,.secondary:hover,.subtle:hover,.destructive:hover { filter:brightness(.96); }
.account { max-width:680px; padding:44px 0 64px; margin:0 auto; }
.account h1 { font-size:clamp(40px,6vw,64px); letter-spacing:-.065em; line-height:1.05; }
#account-status { margin:16px 0; color:var(--muted); }
#account-status:empty { display:none; }
.quota-card { background:var(--green); color:white; padding:clamp(21px,4vw,34px); border-radius:24px; margin:27px 0; }
.quota-card h2,.setting h2,dialog h2 { font-size:24px; }
.quota-value { margin:11px 0; font-size:22px; color:#dbe4d7; }
.quota-value strong { color:var(--lime); font-size:56px; letter-spacing:-.06em; line-height:1; }
progress { width:100%; height:8px; border:0; border-radius:9px; overflow:hidden; accent-color:var(--lime); background:#496052; }
progress::-webkit-progress-bar { background:#496052; } progress::-webkit-progress-value { background:var(--lime); }
progress::-moz-progress-bar { background:var(--lime); }
.quota-card p { margin-top:9px; color:#dbe4d7; font-size:14px; }
.setting { padding:22px 0; border-top:1px solid var(--rule); }
.setting p,dialog p { margin:8px 0 13px; }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.setting-row p { max-width:385px; margin-bottom:0; }
.setting-row button { flex-shrink:0; }
select { width:100%; padding:12px; border:1px solid #b6c3b6; border-radius:10px; background:white; }
dialog { width:min(430px,calc(100vw - 35px)); border:1px solid var(--rule); border-radius:20px; padding:25px; background:var(--paper); color:var(--ink); }
dialog::backdrop { background:#10281f90; }
.dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
@media(max-width:760px) {
  .site-header { min-height:73px; }
  .brand { font-size:22px; } .brand img { width:37px; height:37px; border-radius:11px; }
  .hero { grid-template-columns:1fr; gap:30px; padding:42px 0 34px; }
  .intro h1 { font-size:clamp(47px,9.4vw,67px); }
  .lede { margin-top:19px; max-width:470px; }
  .access { margin-top:18px; min-height:32px; }
  .prompt { min-height:127px; }
  .examples { border-radius:22px; }
  .feature-grid { grid-template-columns:1fr; gap:20px; }
  .feature-grid article + article { border-left:none; border-top:1px solid var(--rule); padding:19px 0 0; }
  .feature-grid article { display:grid; grid-template-columns:96px 1fr; gap:6px 12px; align-items:start; }
  .feature-grid .command { justify-self:start; grid-row:span 2; } .feature-grid h3 { margin:1px 0 0; }
  .feature-grid p { font-size:15px; }
  .setting-row { align-items:start; flex-direction:column; gap:13px; }
}
@media(max-width:380px) {
  .shell { padding:0 15px; } .examples { padding:18px; }
  .intro h1 { font-size:clamp(42px,13vw,47px); }
  .choices button { padding:6px 9px; } nav,footer div { gap:11px; }
  .prompt { padding:15px 15px 15px 40px; } .quote { font-size:49px; left:12px; }
}
