:root {
  color-scheme: light;
  --ink: #15392f;
  --muted: #4f655b;
  --line: #cdd5c8;
  --paper: #fbfaf4;
  --forest: #123b30;
  --lime: #e2f69b;
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #df7d2d; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1224px, calc(100% - clamp(34px, 9vw, 144px))); margin-inline: auto; }
.skip { position: fixed; z-index: 1; top: -200px; left: 16px; padding: 10px 16px; background: white; color: var(--ink); }
.skip:focus { top: 8px; }
.header, .hero { background: var(--forest); color: #faf9ec; }
.header { border-bottom: 1px solid #406054; }
.header-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 20px; font-weight: 690; letter-spacing: -.055em; white-space: nowrap; }
.brand strong { color: var(--lime); font-weight: 520; }
.mark { width: 28px; height: 28px; display: inline-block; position: relative; margin-right: 5px; }
.mark i { width: 16px; height: 21px; border: 2px solid var(--lime); border-radius: 3px; position: absolute; top: 4px; left: 2px; transform: rotate(-15deg); }
.mark i + i { left: 10px; top: 2px; transform: rotate(10deg); background: var(--forest); }
nav { display: flex; gap: clamp(13px, 3vw, 38px); align-items: center; }
nav a, .foot-inner a { font-size: .89rem; font-weight: 580; text-decoration: none; }
nav a:hover, .foot-inner a:hover { text-decoration: underline; }
.hero-grid { display: grid; grid-template-columns: .97fr 1.03fr; gap: clamp(26px, 5.5vw, 78px); align-items: center; min-height: 600px; padding-block: clamp(52px, 6vw, 88px); }
.overline, .kicker { text-transform: uppercase; font: 650 .68rem/1.4 var(--mono); letter-spacing: .115em; }
.overline { display: flex; align-items: center; gap: 12px; color: var(--lime); }
.stripe { height: 2px; width: 38px; background: var(--lime); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.058em; }
h1 { margin-block: 20px; font-size: clamp(3.4rem, 5.9vw, 5.9rem); line-height: .96; }
.lede { max-width: 39ch; color: #d3e0d5; font-size: clamp(1.02rem, 1.38vw, 1.19rem); line-height: 1.63; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 40px; border: 1px solid transparent; border-radius: 7px; padding: 9px 15px; text-decoration: none; font-size: .87rem; font-weight: 650; line-height: 1.35; }
.hero-actions .button { min-height: 45px; padding-inline: 18px; }
.accent { background: var(--lime); color: var(--ink); }
.accent:hover { background: #f0ffba; }
.dark { background: var(--ink); color: white; }
.dark:hover { background: #245646; }
.quiet { border-color: #9baea0; background: transparent; color: var(--ink); }
.quiet:hover { background: #e9efdf; }
button:disabled { opacity: .5; cursor: default; }
.text-link, .doc-link { font-size: .9rem; font-weight: 600; }
.bench { background: var(--paper); color: var(--ink); border: 1px solid #e2e5d8; border-radius: 15px; padding: clamp(21px, 2.35vw, 34px); box-shadow: 0 9px 0 -4px #849c79, 0 18px 0 -9px #507966; min-width: 0; }
.bench-head, .total, .row-actions, .code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bench h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.1; margin-top: 5px; }
.kicker { color: var(--muted); }
.currency { border: 1px solid #a5b49f; border-radius: 100px; padding: 4px 9px; font: 550 .75rem var(--mono); }
.bench-tip, .bench noscript p { margin-block: 12px 15px; color: var(--muted); font-size: .87rem; }
.editor-row { padding-block: 10px; border-top: 1px solid var(--line); }
.editor-inputs { display: grid; grid-template-columns: minmax(0, 1fr) 53px 30px; gap: 7px; align-items: center; }
select, input { min-width: 0; width: 100%; border: 1px solid #aab7a6; border-radius: 5px; padding: 8px; background: #fffefa; font-size: .9rem; }
.remove { border: 0; background: transparent; font-size: 1.35rem; color: var(--muted); min-height: 34px; }
.remove:hover { color: #9c472b; }
.row-price { color: var(--muted); font: .82rem/1.5 var(--mono); overflow-wrap: anywhere; display: block; margin-top: 4px; }
.row-actions { padding: 6px 0 16px; }
.add, .code-head button { border: 0; background: transparent; color: var(--ink); padding: 6px 0; font-weight: 630; font-size: .82rem; }
.add:hover, .code-head button:hover { text-decoration: underline; }
.total { border-top: 1px solid #92a38e; padding-top: 12px; }
.summary { display: block; color: var(--muted); font-size: .8rem; }
#total { font: 560 clamp(1.7rem, 3vw, 2.4rem)/1.2 var(--display); white-space: nowrap; letter-spacing: -.05em; }
.notice:not(:empty), .status:not(:empty) { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.notice[data-error="true"], .status[data-error="true"], [data-error="true"] { color: #903f25; }
details { border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 9px; font-size: .78rem; }
details pre { max-height: 260px; overflow: auto; padding: 10px; background: #efeee5; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head > p { max-width: 38ch; font-size: .9rem; color: var(--muted); }
.section h2, .docs-section h2, .account-box h2 { font-size: clamp(2.5rem, 4.4vw, 4.3rem); line-height: 1.05; margin-top: 8px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { border: 1px solid #b7c3b2; background: #fffef7; border-radius: 12px; padding: clamp(20px, 3vw, 37px); }
.plan.pro { background: #edf2dd; border-color: #adbd9d; }
.plan h3 { font-size: 1rem; font-weight: 680; }
.price { margin-top: 9px; font: 500 3.2rem/1.25 var(--display); letter-spacing: -.05em; }
.price small { font: 400 .9rem var(--sans); letter-spacing: normal; color: var(--muted); }
.plan ul { list-style: none; padding: 15px 0; margin: 12px 0 18px; border-block: 1px solid var(--line); line-height: 1.8; }
.plan li::before { content: "✓"; color: #4c6e49; padding-right: 10px; }
label { display: block; font-size: .85rem; font-weight: 620; margin-bottom: 6px; }
.fields { display: flex; gap: 6px; }
.fields input { flex: 1; }
.marketplace { margin-top: 18px; font-size: .95rem; }
.docs-section { background: #e9ecdf; border-block: 1px solid var(--line); padding-block: clamp(48px, 6vw, 84px); }
.docs-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(24px, 6vw, 85px); align-items: center; }
.docs-grid p:not(.kicker):not(:empty) { margin-block: 14px; color: var(--muted); }
.docs-note { font-size: .86rem; overflow-wrap: anywhere; }
.codebox { min-width: 0; border-radius: 12px; background: #12392f; color: #e1f0d7; }
.code-head { padding: 11px 20px; border-bottom: 1px solid #476357; font: 600 .75rem var(--mono); }
.code-head button { color: var(--lime); font-family: var(--sans); }
.codebox pre { overflow: auto; padding: 18px 20px; margin: 0; }
code, pre { font-family: var(--mono); }
.codebox code { display: block; font-size: .8rem; line-height: 1.65; }
#copy-note:not(:empty) { color: white; padding: 0 20px 12px; font-size: .82rem; }
.foot-inner { padding-block: 25px; font-size: .91rem; }
.account-box { padding-block: 30px; }
.account-box h2 { font-size: 2rem; }
.account-box p { margin: 12px 0; }
#key-controls { max-width: 540px; }
#key-controls input { margin-bottom: 8px; font: .83rem var(--mono); }
@media(max-width: 900px) {
  .hero-grid { gap: 24px; grid-template-columns: .85fr 1.15fr; }
  .intro h1 { font-size: clamp(2.9rem, 6.2vw, 4.1rem); }
}
@media(max-width: 720px) {
  .header-inner { min-height: 60px; }
  .hero-grid, .docs-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; padding-block: 38px 44px; }
  .intro h1 { font-size: clamp(3.3rem, 9.5vw, 4.5rem); }
  .hero-actions { margin-top: 20px; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .plans { grid-template-columns: 1fr; }
  .bench { max-width: 100%; }
}
@media(max-width: 480px) {
  .brand { font-size: 1rem; gap: 4px; }
  .mark { margin-right: 2px; }
  nav { gap: 12px; }
  nav a { font-size: .8rem; }
  .fields { flex-direction: column; }
  .fields .button { align-self: start; }
  .button { padding-inline: 12px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.editor-inputs, .column-titles { display: grid; grid-template-columns: minmax(48px, .82fr) minmax(68px, 1.25fr) 53px 30px; gap: 7px; align-items: center; }
.column-titles { margin-bottom: 4px; color: var(--muted); font: 600 .8rem var(--mono); }
.row-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
#paste-panel { margin-bottom: 14px; }
textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 5px; padding: 7px; background: white; color: var(--ink); font: .83rem/1.5 var(--mono); }
#paste-note { font-size: .8rem; }
@media (max-width: 380px) {
  .editor-inputs, .column-titles { grid-template-columns: minmax(37px, .75fr) minmax(57px, 1fr) 42px 24px; gap: 4px; }
  .row-actions { align-items: end; gap: 8px; }
  .editor-inputs input { padding-inline: 5px; }
}
