/* weldonpc.us, WeldonPC.us Signatures. Own front end: "stationery" - ivory paper, ink navy, royal ink blue, gilt.
   Cormorant Garamond (display) + Lexend (text) + Victor Mono (code); all OFL, self-hosted. No outside requests. */
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Victor Mono"; src: url("/assets/fonts/victor-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f6f3ec; --paper-2: #efe9dd; --sheet: #ffffff; --ink: #14233a; --ink-2: #33415a; --mute: #5c6676;
  --royal: #2340a8; --royal-d: #1a3088; --gilt: #b8893a; --gilt-l: #e9d6ae; --blush: #f1e4d6; --rule: #ddd5c6;
  --ok: #24704a; --note: #8a5a00; --bad: #b3261e;
  --display: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --text: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Victor Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px; --r: 14px; --shadow: 0 1px 2px rgba(20,35,58,.06), 0 12px 32px -12px rgba(20,35,58,.22);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16.5px/1.65 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--royal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--royal-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 2px; }
b, strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: .05em .35em; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--royal); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.fine { font-size: .86rem; color: var(--mute); }
.kicker { font: 500 .78rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt); margin: 0 0 14px; }
.kicker-light { color: var(--gilt-l); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 46em; }
.tag { display: inline-block; font: 500 .74rem/1 var(--text); letter-spacing: .04em; background: var(--gilt-l); color: #5b4114; padding: 5px 9px; border-radius: 999px; vertical-align: middle; }

/* ---------- header */
.top { background: rgba(246,243,236,.92); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(8px); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-nib { width: 34px; height: 34px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 600 1.05rem/1 var(--text); letter-spacing: -.01em; }
.brand-tld { color: var(--gilt); }
.brand-sub { font: italic 500 1.22rem/1 var(--display); color: var(--royal); margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 400; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-weight: 500; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-left: 6px; vertical-align: 2px; }
.stamp { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.stamp-in { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 54px; background: #fff;
  border: 2px dashed var(--gilt); outline: 3px solid #fff; box-shadow: 0 0 0 4px var(--rule); border-radius: 3px; transform: rotate(-3deg); transition: transform .2s; }
.stamp:hover .stamp-in { transform: rotate(0); }
.stamp-v { font: 600 1.15rem/1 var(--display); color: var(--royal); }
.stamp-k { white-space: nowrap; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.stamp-note { font-size: .74rem; font-weight: 500; color: #5b4114; max-width: 6.5em; line-height: 1.2; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 .95rem/1 var(--text); padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--royal); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--rule); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-gilt { background: var(--gilt); color: #fff; }
.btn-gilt:hover { background: #9c7230; color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger-line { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn-small { padding: 9px 14px; font-size: .86rem; }
.btn-small:not(.btn-quiet):not(.btn-danger-line) { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* ---------- hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: .98; margin-bottom: 24px; }
.hero-fine { font-size: .88rem; color: var(--mute); margin-top: 16px; }
.hero-art { position: relative; padding: 30px 0 30px 30px; }
.envelope { position: absolute; inset: 0 10% 18% 0; background: var(--blush); border-radius: 10px; transform: rotate(-4deg);
  background-image: linear-gradient(155deg, transparent 49.6%, rgba(20,35,58,.08) 50%, transparent 50.6%), linear-gradient(25deg, transparent 49.6%, rgba(20,35,58,.08) 50%, transparent 50.6%); }
.envelope-stamp { position: absolute; top: 18px; right: 22px; width: 52px; height: 62px; background: var(--royal); border: 4px solid #fff; outline: 2px dashed var(--gilt-l); outline-offset: -9px; }
.mailwin { position: relative; margin: 0; background: var(--sheet); border-radius: var(--r); box-shadow: var(--shadow), 0 30px 60px -30px rgba(20,35,58,.35); overflow: hidden; }
.mailwin-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f3f1ec; border-bottom: 1px solid #e7e2d8; }
.mailwin-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d9d3c7; }
.mailwin-bar b { margin-left: 10px; font-size: .82rem; font-weight: 500; color: var(--mute); }
.mailwin-head { display: grid; grid-template-columns: auto 1fr; margin: 0; padding: 4px 22px; border-bottom: 1px solid #eee9df; font-size: .88rem; }
.mailwin-head dt { color: var(--mute); padding: 8px 14px 8px 0; }
.mailwin-head dd { margin: 0; padding: 8px 0; border-left: 0; }
.mailwin-head dd + dt, .mailwin-head dd + dt + dd { border-top: 1px solid #eee9df; }
.mailwin-body { padding: 22px 26px 26px; font: 400 15px/1.6 Arial, Helvetica, sans-serif; color: #22262b; }
.mailwin-body p { margin: 0 0 12px; }
.mailwin figcaption { font-size: .76rem; color: var(--mute); padding: 10px 26px 14px; border-top: 1px solid #eee9df; background: #fbfaf7; }
.sig-render { overflow-x: auto; max-width: 100%; }
.sig-render table { max-width: none; }

.works { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.works-in { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.works-in p { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.works-in ul { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 0; font: 600 1.35rem/1.1 var(--display); color: var(--ink-2); }
.works-in small { font: 300 .78rem var(--text); color: var(--mute); }

.sect-h { font-size: clamp(2rem, 3.6vw, 3rem); }
.sect-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.sect-row p { max-width: 30em; color: var(--ink-2); margin: 0 0 .6em; }

.steps { padding: 96px 0 72px; }
.steps-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps-list li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps-list .num { font: italic 500 2.6rem/1 var(--display); color: var(--gilt); display: block; margin-bottom: 10px; }
.steps-list h3 { font-size: 1.7rem; margin-bottom: .35em; }
.steps-list p { color: var(--ink-2); margin: 0; }

.gallery { padding: 72px 0; background: var(--paper-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.slip { margin: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 24px 26px; min-width: 0; }
.slip figcaption { font: italic 500 1.25rem/1 var(--display); color: var(--royal); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee9df; }

.proof { padding: 96px 0; }
.proof-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.proof-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.pk { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 16px 22px; border-bottom: 1px solid #eee9df; }
.pk:last-child { border-bottom: 0; }
.pk-id { grid-row: span 2; font: 500 .75rem/1 var(--mono); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; }
.pk-ok .pk-id { color: var(--ok); }
.pk-note .pk-id { color: var(--note); }
.pk-warn .pk-id { color: var(--bad); background: #fbeceb; }
.pk b { font-weight: 600; }
.pk span:last-child { font-size: .9rem; color: var(--ink-2); }
.proof-list-tight .pk { padding: 12px 18px; }

.teamband { background: var(--ink); color: #e9edf4; padding: 88px 0; }
.teamband h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.teamband p { color: #c9d1de; max-width: 32em; }
.teamband-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.teamband-csv { margin: 0; background: #0c1626; border: 1px solid #2a3a55; border-radius: var(--r); padding: 26px; font: 400 .86rem/1.9 var(--mono); color: #e9d6ae; overflow-x: auto; white-space: pre; }

.price-sect { padding: 96px 0; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; margin-top: 28px; }
.plan { position: relative; background: #fff; border-radius: var(--r); padding: 34px 36px; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.plan h3 { font-size: 2rem; }
.plan-price { font-size: 1rem; color: var(--ink-2); margin: 0 0 18px; }
.plan-price span { font: 600 2.6rem/1 var(--display); color: var(--ink); }
.plan-price em { font-family: var(--display); font-size: 1.3rem; color: var(--mute); padding: 0 4px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid #eee9df; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan-pass { background: linear-gradient(180deg, #fffdf8, #fff); border: 1.5px solid var(--gilt); }
.plan-pass .plan-price span { color: var(--royal); }
.seal { position: absolute; top: -22px; right: 28px; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d0a55a, var(--gilt) 55%, #8d6526);
  color: #fff8e8; font: italic 600 1.6rem/58px var(--display); text-align: center; box-shadow: 0 6px 14px -6px rgba(141,101,38,.7); }
.plan-preview { margin: 18px 0 0; padding: 14px 16px; background: var(--paper); border-radius: 10px; font-size: .9rem; color: var(--ink-2); }

.faq { padding: 24px 0 96px; }
.faq-in { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; font: 600 1.4rem/1.3 var(--display); padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 300 1.6rem var(--text); color: var(--gilt); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 44em; }

/* ---------- inner pages */
.pagehead { padding: 56px 0 28px; }
.pagehead h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.pagehead h1 a { color: var(--royal); }
.prose { padding: 8px 0 80px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose p { color: var(--ink-2); }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; padding-bottom: 88px; }
.builder-out { position: sticky; top: 92px; display: grid; gap: 20px; }
fieldset { border: 0; margin: 0 0 18px; padding: 24px 26px 10px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(20,35,58,.06); }
legend { float: left; width: 100%; font: 600 1.45rem/1 var(--display); padding: 0 0 16px; display: flex; align-items: center; gap: 10px; }
legend span { font: 500 .75rem/1 var(--mono); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; }
legend + * { clear: both; }
.fs-note { margin: 0 0 12px; font-size: .86rem; color: var(--mute); clear: both; }
.fld { margin: 0 0 14px; min-width: 0; }
.fld label { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-2); margin-bottom: 5px; }
input, select, textarea { font: 400 .98rem/1.3 var(--text); color: var(--ink); width: 100%; padding: 11px 13px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fdfcf9; }
input:focus, select:focus, textarea:focus { border-color: var(--royal); outline: 3px solid rgba(35,64,168,.16); outline-offset: 0; background: #fff; }
input[type="color"] { height: 46px; padding: 4px; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: auto; }
textarea { resize: vertical; }
.fld-hint { font-size: .8rem; color: var(--mute); margin: 5px 0 0; }
.fld-err { font-size: .82rem; color: var(--bad); font-weight: 500; margin: 5px 0 0; }
.fld-bad input { border-color: var(--bad); background: #fff7f6; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.layouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.lay { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; text-align: center; cursor: pointer; position: relative; }
.lay input { position: absolute; opacity: 0; }
.lay-pic { height: 58px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fdfcf9; display: grid; gap: 5px; padding: 10px; align-content: center; }
.lay-pic i { display: block; height: 5px; border-radius: 3px; background: #cfc6b6; }
.lay-pic i:first-child { width: 60%; background: var(--royal); height: 7px; }
.lay-pic i:nth-child(2) { width: 85%; }
.lay-pic i:nth-child(3) { width: 70%; }
.lay-side { grid-template-columns: 18px 1fr; grid-template-rows: repeat(3, auto); column-gap: 8px; }
.lay-side i:first-child { grid-row: 1 / span 3; width: 18px; height: 34px; border-radius: 4px; }
.lay-letterhead i:nth-child(3) { background: var(--royal); height: 3px; width: 100%; }
.lay-compact { align-content: center; }
.lay-compact i:nth-child(3) { display: none; }
.lay-plain i:first-child { background: #8c8c8c; }
.lay input:checked + .lay-pic { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(35,64,168,.15); background: #fff; }
.lay input:focus-visible + .lay-pic { outline: 3px solid var(--gilt); }
.form-go { position: sticky; bottom: 12px; z-index: 2; }
.form-go .btn { width: 100%; box-shadow: 0 10px 24px -10px rgba(20,35,58,.6); }

.letter { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 24px 22px; border-top: 5px solid var(--ink); }
.letter-k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }
.letter-paper { background: #fff; border: 1px solid #ebe6dc; border-radius: 10px; padding: 18px 20px; min-width: 0; }
.letter-body { font: 400 15px/1.5 Arial, Helvetica, sans-serif; color: #22262b; margin: 0 0 12px; }
.ghost { display: grid; gap: 8px; margin: 0; }
.ghost span { height: 10px; border-radius: 5px; background: #eee9df; }
.ghost span:first-child { width: 45%; height: 14px; }
.ghost span:nth-child(2) { width: 70%; }
.ghost span:nth-child(3) { width: 55%; }
.copybar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.copy-status { min-height: 1.2em; margin: 8px 0 0; font-size: .86rem; color: var(--ok); font-weight: 500; }
.proofcard { background: transparent; }
.proofcard h2 { font-size: 1.6rem; margin-bottom: .4em; }
.passbox { background: var(--blush); border-radius: var(--r); padding: 18px 22px; border: 1px dashed var(--gilt); }
.passbox-h { margin: 0 0 6px; }
.dl-row, .save-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.source { background: #fff; border-radius: var(--r); padding: 14px 20px; }
.source summary { cursor: pointer; font-weight: 500; }
.source label { display: block; font-size: .82rem; color: var(--mute); margin: 12px 0 4px; }
.code { font: 400 .8rem/1.55 var(--mono); background: #0c1626; color: #e9d6ae; border-color: #0c1626; }
.alert { padding: 14px 18px; border-radius: 10px; background: var(--paper-2); margin: 0 0 18px; }
.alert-bad { background: #fbeceb; color: #7d1a14; border-left: 4px solid var(--bad); }
.alert-ok { background: #e7f3ec; color: #174d32; border-left: 4px solid var(--ok); }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

.team { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding-bottom: 88px; }
.team-form .passbox { margin-top: 18px; }
.team-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.team-head h2 { font-size: 1.8rem; margin: 0; }
.member { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: 16px; min-width: 0; }
.member .letter-paper { border: 0; padding: 8px 6px 14px; }
.member-k { font-size: .82rem; color: var(--mute); margin: 0 0 8px; padding: 0 6px; }
.member-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid #eee9df; padding-top: 12px; }
.member-bar b { margin-right: auto; font-weight: 500; }
.member-bar form { margin: 0; }

.book { padding-bottom: 88px; }
.book-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.book-head p { margin: 0; }
.book-admin { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.book-admin form { margin: 0; }
.keybox { background: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); max-width: 820px; }
.keybox-new { border: 2px solid var(--gilt); }
.keybox label { font-weight: 500; font-size: .92rem; }
.keybox-row { display: flex; gap: 10px; margin-top: 8px; }
.keybox-row input { font-family: var(--mono); font-size: .82rem; }
.empty { color: var(--mute); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form label { width: 100%; font-size: .86rem; font-weight: 500; }
.inline-form input { width: auto; flex: 1 1 220px; }
.stack-form { display: grid; gap: 10px; max-width: 560px; }
.stack-form label { font-weight: 500; font-size: .9rem; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 400 !important; }
.book-start { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 26px; margin-top: 24px; }

.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-bottom: 88px; }
.guide { background: #fff; border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow); }
.guide h2 { font-size: 1.7rem; }
.guide ol { padding-left: 20px; margin: 0 0 10px; }
.guide li { margin-bottom: 6px; }
.guide-tip { background: var(--ink); color: #dfe5ee; }
.guide-tip h2 { color: #fff; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-bottom: 88px; }
.rule { position: relative; background: #fff; border-radius: var(--r); padding: 26px 30px 26px 92px; box-shadow: var(--shadow); }
.rule-id { position: absolute; left: 26px; top: 26px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--royal); color: var(--royal); display: grid; place-items: center; font: 500 .85rem var(--mono); }
.rule h2 { font-size: 1.6rem; }
.rule p { margin: 0; color: var(--ink-2); }
.rule-wide { grid-column: 1 / -1; padding-left: 30px; background: var(--paper-2); box-shadow: none; }
.price-page { padding-bottom: 88px; }
.price-page .prose { padding-top: 40px; }

/* ---------- footer */
.foot { background: #0f1b2d; color: #b7c1d1; padding: 64px 0 28px; font-size: .92rem; }
.foot a { color: #e3e8f0; text-decoration: none; }
.foot a:hover { color: var(--gilt-l); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.foot-name { font: 600 1.4rem/1 var(--text); color: #fff; margin: 0 0 14px; }
.foot-name span { color: var(--gilt); }
.foot-name i { font: italic 500 1.6rem var(--display); color: var(--gilt-l); }
.foot-about p:last-child { max-width: 34em; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot-h { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8392a9; margin: 0 0 6px; }
.foot-base { display: flex; justify-content: space-between; border-top: 1px solid #23324b; margin-top: 40px; padding-top: 20px; }
.foot-base p { margin: 0; }
.power a { color: var(--gilt-l); font-weight: 500; }
.ver { color: #6f7e95; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .top-in { flex-wrap: wrap; gap: 10px 20px; }
  .nav { order: 3; width: 100%; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .stamp { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-grid, .proof-grid, .teamband-grid, .builder, .team { grid-template-columns: minmax(0, 1fr); }
  .builder-out { position: static; }
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid, .guides, .rules, .plans { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .sect-row { flex-direction: column; align-items: start; gap: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .top-in { padding-left: 18px; padding-right: 18px; }
  .top { position: static; }
  .stamp-note { font-size: .66rem; max-width: 5.2em; line-height: 1.15; }
  .stamp-in { width: 64px; height: 50px; }
  .stamp-k { font-size: .56rem; letter-spacing: .04em; }
  .nav { flex-wrap: wrap; overflow: visible; gap: 2px; margin: 0 -10px; }
  .nav a { padding: 7px 10px; font-size: .9rem; }
  .hero { padding-top: 40px; }
  .hero-art { padding: 16px 0 16px 8px; }
  .mailwin-body { padding: 18px 16px 20px; }
  .mailwin-head { padding: 2px 16px; }
  .mailwin figcaption { padding: 10px 16px 12px; }
  .steps, .proof, .price-sect { padding: 64px 0; }
  .gallery, .teamband { padding: 56px 0; }
  .slip { padding: 14px 16px 20px; }
  fieldset { padding: 20px 16px 6px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .layouts { grid-template-columns: repeat(2, 1fr); }
  .plan { padding: 28px 22px; }
  .rule { padding: 84px 20px 22px; }
  .rule-id { left: 20px; top: 22px; }
  .guide { padding: 22px 20px; }
  .letter { padding: 16px 14px 18px; }
  .letter-paper { padding: 14px 12px; }
  .keybox-row { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; gap: 6px; }
  .works-in ul { font-size: 1.15rem; gap: 6px 20px; }
}

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer on /checks, /install and /pricing (the controllers opt in).
   The label and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill, the
   label, the reserved space and the margin go with it. 110px = 16px label + 4px gap + 90px banner; 270px on phones
   (300x250). Those pages end on 88px of padding and the dark footer has no top margin, so the space below sits on the
   <ins>. display stays in this file and is never !important. */
.ae-slot { padding: 0 20px; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 0 auto clamp(40px, 6vw, 56px); text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 500 11px/16px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; } }
@media print { .ae-slot { display: none; } }
