/* Figgwick site styles. Tokens first; see docs/BRAND.md for the rules behind them. */
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap; src: url('/fonts/Fraunces-SemiBold.woff2') format('woff2'); }
@font-face { font-family: Bricolage; font-weight: 400; font-display: swap; src: url('/fonts/BricolageGrotesque-Regular.woff2') format('woff2'); }
@font-face { font-family: Bricolage; font-weight: 700; font-display: swap; src: url('/fonts/BricolageGrotesque-Bold.woff2') format('woff2'); }
:root {
  --paper: #FBF6EC; --card: #FFFFFF; --tint: #F4EADB; --blush: #F7E4E0; --line: #DCCDB8;
  --ink: #2A1A3A; --muted: #5E5266; --berry: #B5234F; --berry-dark: #8C1A3D; --leaf: #2E6A4E; --sun: #F2B63C; --fur: #C96F33; --fur-dark: #A4521F; --wing: #2A1A3A; --wing-hi: #4B3566; --glow: #FBE3A1; --night: #221A3B; --night-2: #2E2350;
  --display: Fraunces, Georgia, 'Times New Roman', serif; --text: Bricolage, 'Helvetica Neue', Arial, sans-serif;
  --r: 14px; --r-sm: 8px; --wrap: 1120px; --pad: clamp(18px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(42,26,58,.08), 0 10px 28px rgba(42,26,58,.10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

.modebar { background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251,246,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topin { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand svg { height: 34px; width: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; padding: 10px 0; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--berry); text-decoration-thickness: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--berry); background: var(--berry); color: #fff; font: 700 17px/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, transform .15s; }
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.alt { background: var(--ink); border-color: var(--ink); }
.btn.alt:hover { background: #170d22; border-color: #170d22; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 44px; padding: 8px 18px; font-size: 15.5px; }
.textlink { font-weight: 700; }

/* type */
.kicker { font: 700 13px/1.3 var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--berry); margin-bottom: 12px; }
.h { font: 600 clamp(30px, 4.4vw, 46px)/1.08 var(--display); letter-spacing: -.015em; max-width: 20ch; }
.sub { font-size: clamp(17px, 1.6vw, 19px); max-width: 62ch; margin-top: 16px; color: var(--ink); }
.fine { font-size: 14.5px; color: var(--muted); margin-top: 14px; max-width: 60ch; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.first { padding-top: clamp(36px, 5vw, 64px); min-height: 60vh; }
.sec.tint { background: var(--tint); }

/* night: Figgwick's side of the day. Used for the hero and the closing band only. */
.night { position: relative; background: var(--night); color: #fff; overflow: hidden; --wing: #3A2A58; --wing-hi: #6A5490; }
.night .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.night .wrap { position: relative; }
.night .kicker { color: var(--sun); }
.night .btn.ghost { color: #fff; border-color: #fff; } .night .btn.ghost:hover { background: #fff; color: var(--night); }
.night :focus-visible { outline-color: #fff; }
.night .fine { color: #CFC4E0; } .night .sub { color: #F1EAF4; }

/* hero */
.hero { padding: 0 0 clamp(40px, 6vw, 72px); }
.heroin { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.herotext { padding-top: clamp(32px, 5vw, 68px); }
.hero h1 { font: 600 clamp(32px, 4.3vw, 52px)/1.06 var(--display); letter-spacing: -.02em; }
.lede { font-size: clamp(18px, 1.7vw, 20.5px); line-height: 1.5; margin-top: 20px; max-width: 54ch; color: #F1EAF4; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.format { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 15px; color: #F1EAF4; }
.format li { display: flex; align-items: center; gap: 6px; white-space: nowrap; } .format .tick { color: var(--sun); margin: 0; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 30px; border-top: 2px solid rgba(255,255,255,.35); max-width: 460px; }
.facts li { padding: 12px 0 0; }
.facts b { display: block; font: 600 19px/1.2 var(--display); white-space: nowrap; }
.facts span { font-size: 13.5px; color: #CFC4E0; }
.heroart { position: relative; aspect-ratio: 1 / 1.3; max-width: 520px; width: 100%; justify-self: center; }
.heroart .moon { position: absolute; left: 11%; top: 9%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 18px rgba(242,182,60,.12), 0 0 0 44px rgba(242,182,60,.06); }
.heroart .branch { position: absolute; left: 22%; right: 16%; top: 0; height: 7px; border-radius: 0 0 6px 6px; background: #120C22; }
.heroart .figg { position: absolute; left: 29%; top: 2px; width: 46%; height: auto; z-index: 2; --wing: #2A1A3A; --wing-hi: #4B3566; }
.heroart .pg { position: absolute; width: 39%; border-radius: 3px; background: #fff; box-shadow: 0 14px 34px rgba(8,4,20,.5); }
.heroart .p1 { left: 1%; bottom: 5%; transform: rotate(-8deg); }
.heroart .p2 { right: 1%; bottom: 1%; transform: rotate(6deg); width: 43%; }

/* story */
.story { list-style: none; padding: 0; margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 32px); }
.story li { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 22px 24px 26px; }
.story li:nth-child(2) { background: var(--night); color: #fff; --wing: #3A2A58; --wing-hi: #6A5490; }
.story .storyart { height: 168px; width: auto; margin: 0 auto 14px; }
.story h3 { font: 600 24px/1.2 var(--display); } .story li:nth-child(2) h3 { color: var(--sun); }
.story p { font-size: 16px; margin-top: 8px; }
.motto { margin-top: 32px; max-width: 70ch; color: var(--muted); }
.motto span { display: block; font: 600 clamp(21px, 2.4vw, 27px)/1.25 var(--display); color: var(--ink); margin-bottom: 6px; }

/* closing band */
.closing { padding: 0 0 clamp(48px, 7vw, 88px); }
.closein { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 64px); align-items: center; }
.closing .figg { width: clamp(120px, 16vw, 190px); height: auto; }
.closing .closein > div { padding-top: clamp(40px, 6vw, 72px); }

/* at a glance */
.band { background: var(--sun); color: var(--ink); padding: clamp(32px, 4vw, 48px) 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); }
.three h2 { font: 600 22px/1.2 var(--display); margin-bottom: 8px; }
.three p { font-size: 16px; line-height: 1.55; }

/* how it works */
.steps { list-style: none; padding: 0; counter-reset: s; margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 18px; }
.steps h3 { font: 600 21px/1.2 var(--display); display: flex; gap: 12px; align-items: baseline; }
.steps h3::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--berry); color: #fff; font: 600 18px/34px var(--display); text-align: center; }
.steps p { font-size: 16px; margin-top: 8px; }
.stepart { height: 104px; display: flex; align-items: center; } .stepart svg { height: 96px; width: auto; }
.steps li { flex-direction: column; }

/* gallery */
.gallery { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr 1fr 1.94fr; gap: 20px; align-items: end; }
.alsoin { margin-top: 36px; max-width: 76ch; } .alsoin h3 { font: 600 21px/1.2 var(--display); margin-bottom: 8px; }
.gallery a { display: block; text-decoration: none; color: var(--ink); }
.gallery img { border-radius: 3px; background: #fff; border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery .cap { display: block; font: 600 17px/1.3 var(--display); margin-top: 10px; }
.gallery em { display: inline-block; font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--sun); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.inkrow { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.inkrow > div:first-child { display: flex; gap: 14px; }
.inkrow img { width: 170px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.inkrow h3, .cmp, .after h3, .next h2 { font: 600 24px/1.2 var(--display); }
.inkrow p { margin-top: 10px; max-width: 54ch; }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 96vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(28,16,40,.82); }
.lightbox figure { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.lightbox img { max-height: calc(96vh - 110px); width: auto; margin: 0 auto; }
.lightbox figcaption { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; font-size: 15px; border-top: 1px solid var(--line); }
.lightbox figcaption span { flex: 1; }
.lightbox button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 15px var(--text); cursor: pointer; padding: 0 14px; }
.lightbox button:hover { background: var(--ink); color: #fff; }

/* sample */
.sample { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); margin-top: 36px; align-items: start; }
.samplepage img { border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.samplework h3 { font: 600 28px/1.15 var(--display); margin-bottom: 10px; }
.symline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.symlab { font: 700 12px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.sym { border: 2px solid var(--ink); border-radius: 8px; padding: 5px 12px; font: 600 19px var(--display); background: #fff; white-space: nowrap; }
.sym i { font-style: normal; font-family: 'Segoe UI Symbol', 'Apple Symbols', sans-serif; }
.answerform, .helpform { margin-top: 24px; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
input[type=email], input:not([type]) { font: 400 18px var(--text); color: var(--ink); min-height: 54px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; flex: 1 1 220px; min-width: 0; }
#code { flex: 0 0 132px; width: 132px; font: 600 26px var(--display); letter-spacing: .18em; text-align: center; }
.status { min-height: 1.6em; margin-top: 10px; font-weight: 700; }
.status.ok { color: var(--leaf); } .status.no { color: var(--berry-dark); }
details.hint { border-top: 1px solid var(--line); padding: 2px 0; }
details.hint:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; }
details.hint p { padding: 0 0 14px; }
.dl { margin-top: 20px; font-size: 16px; }
.next { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.next p { margin: 10px 0 20px; max-width: 56ch; }

/* kits */
.kits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); margin-top: 36px; align-items: stretch; }
.kit { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.kit.feature { box-shadow: 8px 8px 0 var(--sun); position: relative; }
.flag { position: absolute; top: -15px; left: 24px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 700 12.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; }

.kit h3 { font: 600 30px/1.1 var(--display); }
.kitline { color: var(--muted); margin-top: 6px; }
.pricebox { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r-sm); background: var(--tint); display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 2px 16px; }
.pricebox.lit { background: var(--night); color: #fff; }
.plabel { grid-column: 1 / -1; font: 700 12.5px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pricebox.lit .plabel { color: var(--sun); }
.price .amt { font: 600 46px/1 var(--display); letter-spacing: -.01em; }
.planned { font-size: 15px; line-height: 1.3; padding-bottom: 5px; color: var(--muted); }
.pricebox.lit .planned { color: #E4DCF0; } .planned b { font: 600 20px/1 var(--display); color: inherit; white-space: nowrap; } .pricebox.lit .planned b { color: #fff; }
.only5 { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 14px 8px 10px; border-radius: var(--r-sm); background: var(--sun); color: var(--ink); font-size: 16px; line-height: 1.25; }
.only5 svg { width: 34px; height: auto; flex: none; } .only5 b { font-weight: 700; }
.incl { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; font-size: 16px; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.tick { width: 20px; height: 20px; color: var(--leaf); margin-top: 2px; } .nope { width: 20px; height: 20px; color: #9A8FA3; }
.fit { margin: 20px 0 22px; font-size: 15.5px; background: var(--tint); border-radius: var(--r-sm); padding: 12px 14px; }
.kit form, .kit .closed { margin-top: auto; }
.kit .btn { width: 100%; }
.closed { border: 2px solid var(--line); border-radius: var(--r); text-align: center; padding: 14px 16px; background: var(--paper); }
.closed b { display: block; font: 600 20px/1.2 var(--display); } .closed span { font-size: 15px; color: var(--muted); }
.undernote { font-size: 15px; color: var(--muted); margin-top: 20px; max-width: 80ch; }
.cmp { margin-top: 56px; }
.tablewrap { overflow-x: auto; margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.compare { border-collapse: collapse; width: 100%; font-size: 16px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 17px/1.2 var(--display); vertical-align: bottom; }
.compare thead small { display: block; font: 400 14px var(--text); color: var(--muted); margin-top: 2px; }
.compare tbody th { font-weight: 400; }
.compare td { width: 23%; } .compare td svg { margin: 0; }
.after { margin-top: 56px; }
.after ol { margin-top: 14px; padding: 0; list-style: none; counter-reset: a; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.after li { counter-increment: a; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-size: 16px; }
.after li::before { content: counter(a); display: block; font: 600 22px var(--display); color: var(--berry); margin-bottom: 4px; }

/* faq */
.faq { margin-top: 28px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 20px/1.3 var(--display); padding: 18px 36px 18px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 28px/1 var(--text); color: var(--berry); }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 20px; max-width: 66ch; }
.more { margin-top: 24px; }

/* order pages */
.orderpage .orderart { width: 96px; margin-bottom: 18px; }
.orderpage > p { margin-top: 20px; }
.orderpage .btn { margin: 6px 8px 0 0; }
.files { list-style: none; padding: 0; margin-top: 28px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--card); overflow: hidden; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.files li:last-child { border: 0; }
.files b { display: block; font: 600 19px/1.2 var(--display); }
.files span { font-size: 14.5px; color: var(--muted); }
.files .btn { margin: 0; flex: none; }
.panel { margin-top: 28px; background: var(--tint); border-radius: var(--r); padding: 22px 24px; }
.panel.plain { background: transparent; border: 1px solid var(--line); }
.panel h2 { font: 600 21px/1.2 var(--display); margin-bottom: 8px; }
.panel ol, .panel ul { padding-left: 22px; display: grid; gap: 6px; }
.panel p + p { margin-top: 8px; }
.notice { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-sm); border: 2px solid var(--ink); background: #fff; }
.notice.ok { border-color: var(--leaf); } .notice.bad { border-color: var(--berry); } .notice.draft { background: var(--tint); border-color: var(--line); margin-bottom: 8px; }
.retry { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; }
.retry b { display: block; font: 600 20px var(--display); } .retry span { font-size: 14.5px; color: var(--muted); }
.retry .btn { margin: 0; }
.spinner { width: 44px; height: 44px; margin: 28px 0; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--berry); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prose h2 { font: 600 22px/1.25 var(--display); margin: 32px 0 8px; }
.prose p, .prose ul { max-width: 68ch; } .prose p + p { margin-top: 10px; } .prose ul { padding-left: 22px; display: grid; gap: 8px; }
.tbc { background: #FFF4D6; color: #5C4200; padding: 1px 5px; border-radius: 4px; }

/* footer */
.foot { background: var(--ink); color: #EDE6F0; padding: 52px 0 28px; font-size: 15.5px; }
.footin { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.foot h2 { font: 700 12.5px var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.foot a { color: #fff; } .foot nav a { display: block; padding: 5px 0; text-decoration: none; } .foot nav a:hover { text-decoration: underline; }
.footbrand svg { height: 40px; width: auto; margin-bottom: 14px; }
.footbrand p { max-width: 30ch; }
.foot :focus-visible { outline-color: #fff; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: #CFC4D6; }

/* sticky buy bar (mobile) */
.stickybuy { display: none; }

@media (max-width: 980px) {
  .top nav { display: none; } .top .btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; } .gallery .wide { grid-column: 1 / -1; }
  .footin { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .heroin { grid-template-columns: 1fr; }
  .herotext { padding-top: 28px; }
  .heroart { max-width: 360px; margin-top: 8px; }
  .story { grid-template-columns: minmax(0, 1fr); } .story .storyart { height: 140px; }
  .closein { grid-template-columns: minmax(0, 1fr); } .closing .figg { margin: 0 auto -16px 12px; width: 110px; }
  .facts { gap: 0 16px; } .facts b { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
  .three, .kits, .sample, .inkrow, .after ol { grid-template-columns: minmax(0, 1fr); }
  .samplepage { max-width: 380px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 16px 12px; } .gallery .wide { grid-column: 1 / -1; } .gallery li:nth-child(3) { grid-column: 1 / -1; max-width: 62%; }
  .inkrow img { width: calc(50% - 7px); max-width: 170px; }
  .kit.feature { box-shadow: 5px 5px 0 var(--sun); }
  .compare { font-size: 14.5px; } .compare th, .compare td { padding: 11px 10px; }
  .files li { flex-wrap: wrap; }
  .field .btn { flex: 1 1 100%; } #code { flex: 1 1 100%; }
  .stickybuy:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--ink); font-size: 14px; line-height: 1.3; }
  .stickybuy .btn { flex: none; }
  body:has(.stickybuy) .foot { padding-bottom: 96px; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .footin { grid-template-columns: 1fr; }
  .brand svg { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .spinner { border-top-color: var(--line); }
}
@media print { .top, .foot, .stickybuy, .modebar { display: none; } }
