@font-face {
  font-family: Inter;
  src: url("../fonts/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 Inter, system-ui, sans-serif; color: #191919; background: #fafafa; -webkit-font-smoothing: antialiased; }
header { background: white; border-bottom: 1px solid #e5e5e5; }
nav { max-width: 1000px; margin: auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
a { color: #2452a2; text-decoration: none; }
nav a { font-size: 14px; color: #565656; }
.brand { display: flex; gap: 8px; align-items: center; color: #171717; font-size: 16px; font-weight: 600; }
main { width: min(100% - 36px, 548px); margin: clamp(32px,6vw,72px) auto 64px; }
h1 { font-size: clamp(34px,5vw,48px); font-weight: 580; line-height: 1.06; letter-spacing: -.047em; margin: 0; }
.intro { color: #595959; margin: 16px 0 24px; }
.panel { background: white; border: 1px solid #dfdfdf; border-radius: 16px; padding: clamp(16px,4vw,26px); margin-bottom: 20px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend, .brand { letter-spacing: -.015em; }
legend { font-size: 14px; font-weight: 550; margin-bottom: 8px; padding: 0; }
.choices { display: flex; gap: 8px; }
.choices label { flex: 1; position: relative; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #ddd; padding: 10px 4px; border-radius: 9px; font-weight: 500; cursor: pointer; }
.choices input:checked + span { border-color: #171717; box-shadow: inset 0 0 0 1px #171717; background: #f6f6f6; }
:focus-visible, .choices input:focus-visible + span { outline: 3px solid #3159af; outline-offset: 3px; }
button { width: 100%; border: 0; border-radius: 9px; background: #151515; color: white; font: inherit; font-weight: 550; padding: 12px; cursor: pointer; }
button:hover { background: #373737; }
details { border-bottom: 1px solid #ddd; font-size: 14px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 500; }
details p, details > a { margin: 0 0 14px; }
details > a { display: inline-block; }
#preview { margin-top: 20px; border-top: 1px solid #eee; color: #494949; font-size: 14px; }
#preview h2 { margin: 16px 0 8px; font-size: 14px; font-weight: 600; color: #171717; }
#preview p { margin: 6px 0; overflow-wrap: anywhere; }
#source { width: 100%; border: 1px solid #ccc; border-radius: 8px; padding: 10px; font: inherit; background: #fafafa; color: #171717; }
#payment-link { font: 13px/1.5 ui-monospace, monospace; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
#language { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid #ddd; border-radius: 7px; background: white; max-width: 108px; }
#source-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
#source-suggestions button { width: auto; text-align: start; font-size: 13px; font-weight: 400; padding: 5px 9px; color: #444; background: #f5f5f5; border: 1px solid #ddd; border-radius: 12px; }
@media(max-width: 400px) { nav { padding: 0 12px; } .nav-actions { gap: 6px; } #language { max-width: 80px; } }
code, .command { overflow-wrap: anywhere; }
#copy-status { margin: 8px 0 0; font-size: 14px; }
#copy-status:empty { display: none; }

.picker .choices { flex-wrap: wrap; gap: 6px; }
.picker .choices label { flex: 0 0 auto; }
.picker .choices span { gap: 5px; border-radius: 99px; padding: 6px 10px; font-size: 14px; }
.picker .choices img { border-radius: 50%; }
.picker .choices input:checked + span { box-shadow: none; }
@media (max-width: 420px) {
  .picker .choices { gap: 4px; }
  .picker .choices span { padding: 6px; font-size: 13px; gap: 3px; }
  .picker .choices img { width: 15px; height: 15px; }
}

.prompt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.prompt-heading h2 { margin: 0 !important; }
#copy-prompt { width: auto; font-size: 13px; padding: 6px 12px; }
#prompt-editor { display: block; width: 100%; margin: 12px 0 0; padding: 0; background: transparent; border: 0; color: inherit; font: inherit; overflow-wrap: anywhere; overflow: hidden; resize: none; }

.setup-step { margin: 0 0 14px; padding: 18px; background: white; border: 1px solid #dfdfdf; border-radius: 12px; }
.setup-step h2, .step-heading { font-size: 18px; margin: 0 0 8px; }
.setup-step p { margin: 8px 0; font-size: 14px; color: #595959; }
.setup-step a { display: inline-block; margin: 4px 12px 4px 0; font-size: 14px; }
.setup-step .command { background: #f4f4f4; padding: 10px; border-radius: 6px; font-family: ui-monospace, monospace; }
#language { max-width: none; width: auto; min-width: 112px; }
@media (max-width: 480px) { nav { height: auto; min-height: 60px; flex-wrap: wrap; gap: 8px; padding: 10px 12px; } .nav-actions { flex-wrap: wrap; } }
