@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #17372f;
  --ink-dark: #10352c;
  --green: #174c3c;
  --green-2: #2d7256;
  --mint: #c9e28f;
  --paper: #f7f6ef;
  --paper-2: #eeeee5;
  --white: #fffefa;
  --muted: #78847b;
  --line: #dfe3d9;
  --coral: #e47b58;
  --yellow: #f3d974;
  --shadow: 0 20px 60px rgba(27, 51, 41, .11);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #a5c766; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.topline { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--ink-dark); color: #e4eed1; font-size: 11px; letter-spacing: .15px; }
.topline-dot, .online-dot { width: 6px; height: 6px; display: inline-block; border-radius: 100%; background: var(--mint); }
.topline-spark { margin-inline-start: 3px; color: var(--mint); font-size: 14px; }
.site-header { width: min(1320px, calc(100% - 64px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-8deg); }
.brand-mark span { border-radius: 2px 6px 2px 2px; background: var(--green); }
.brand-mark span:nth-child(2) { background: #d5e69b; border-radius: 6px 2px 2px 2px; }
.brand-mark span:nth-child(3) { background: #e7815e; border-radius: 2px 2px 2px 6px; }
.brand-mark span:nth-child(4) { background: #234e3f; border-radius: 2px 2px 6px 2px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; font-weight: 800; letter-spacing: -.8px; }
.brand-copy small { margin-top: 5px; color: #758278; font: 600 8px/1 Arial, sans-serif; letter-spacing: 2px; direction: ltr; text-align: right; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 38px; flex: 1; }
.nav-link { color: #64736a; font-size: 13px; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link.active { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .account-button, .menu-button { border: 0; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: transparent; transition: background .2s; }
.icon-button:hover { background: var(--paper-2); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-button { min-height: 42px; padding: 0 15px 0 11px; display: flex; align-items: center; gap: 8px; border-radius: 25px; color: var(--white); background: var(--green); font-size: 12px; transition: transform .2s, background .2s; }
.account-button:hover { background: #236146; transform: translateY(-1px); }
.avatar-dot { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 13px; }
.menu-button { display: none; width: 38px; height: 38px; background: transparent; }
.menu-button span { display: block; width: 19px; height: 1.5px; margin: 5px auto; background: var(--ink); }
.counted-link { position: relative; }
.counted-link .header-count { min-width: 16px; height: 16px; position: absolute; top: 0; right: 0; display: grid; place-items: center; padding-inline: 3px; border: 2px solid var(--paper); border-radius: 10px; color: white; background: #d77b5b; font-size: 8px; line-height: 1; }
.preview-banner { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 9px 13px; border: 1px solid #dce6ca; border-radius: 8px; color: #62745e; background: #f0f4e5; font-size: 10px; }
.preview-banner span { margin-inline-end: 6px; color: #315a40; font-weight: 800; }

/* Hero */
.hero { min-height: 528px; position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; padding-top: 28px; padding-bottom: 90px; }
.hero-copy { z-index: 2; padding-bottom: 16px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #66796e; font-size: 10px; font-weight: 700; letter-spacing: .2px; }
.eyebrow-line { width: 22px; height: 1px; background: var(--green-2); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 18px 0 15px; font-size: clamp(50px, 6.2vw, 78px); font-weight: 800; letter-spacing: -4px; line-height: 1.08; }
.hero h1 em, .sell-copy h2 em, .promise-title h2 em { position: relative; color: var(--green-2); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; height: 10px; inset-inline: 4px; bottom: 4px; background: var(--mint); border-radius: 50%; transform: rotate(-2deg); opacity: .8; }
.hero-lede { max-width: 385px; margin-bottom: 22px; color: #69776d; font-size: 14px; line-height: 1.9; }
.search-box { width: min(490px, 100%); height: 58px; padding: 5px 7px 5px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid #e3e5db; border-radius: 12px; background: var(--white); box-shadow: 0 12px 34px rgba(42, 68, 51, .07); }
.search-box > svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #839087; stroke-width: 1.7; stroke-linecap: round; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #9ba49b; }
.search-box button, .primary-button { border: 0; color: var(--white); background: var(--green); font-weight: 700; transition: transform .2s, background .2s; }
.search-box button { min-width: 101px; height: 44px; padding: 0 14px; border-radius: 8px; font-size: 12px; }
.search-box button span, .primary-button span { display: inline-block; margin-inline-start: 6px; transition: transform .2s; }
.search-box button:hover, .primary-button:hover { background: #236146; transform: translateY(-1px); }
.search-box button:hover span, .primary-button:hover span { transform: translateX(-3px); }
.hero-footnote { margin-top: 15px; display: flex; align-items: center; gap: 7px; color: #78847b; font-size: 10px; }
.mini-check { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e3edcf; font-size: 10px; font-weight: 700; }
.hero-art { height: 405px; position: relative; isolation: isolate; }
.hero-orbit { position: absolute; z-index: -2; top: 48px; left: 50%; border: 1px solid #e2e6dc; border-radius: 50%; transform: translateX(-50%); }
.orbit-one { width: 390px; height: 300px; transform: translateX(-50%) rotate(-18deg); }
.orbit-two { top: 72px; width: 318px; height: 262px; transform: translateX(-50%) rotate(22deg); border-style: dashed; opacity: .7; }
.hero-sun { width: 270px; height: 270px; position: absolute; z-index: -1; top: 75px; left: 50%; border-radius: 50%; background: #e5eccf; transform: translateX(-50%); }
.hero-book { position: absolute; top: 99px; left: 50%; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 29px 18px 17px; color: #fff9df; box-shadow: 7px 18px 34px rgba(26, 52, 37, .2); transform-origin: bottom center; }
.hero-book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 13px; background: rgba(16, 39, 29, .17); border-inline-end: 1px solid rgba(255,255,255,.18); }
.hero-book i { width: 42px; height: 3px; background: var(--yellow); opacity: .85; }
.hero-book span { font-size: 19px; font-weight: 700; line-height: 1.45; }
.hero-book small { font-size: 9px; opacity: .75; }
.book-back { width: 132px; height: 240px; margin-left: -113px; border-radius: 4px 7px 7px 4px; background: #cc7259; transform: rotate(-17deg); }
.book-middle { width: 145px; height: 261px; margin-left: -52px; border-radius: 4px 7px 7px 4px; background: #326653; transform: rotate(-3deg); }
.book-front { width: 147px; height: 269px; margin-left: 41px; border-radius: 4px 7px 7px 4px; color: #245240; background: #e9cd71; transform: rotate(12deg); }
.book-front::after { background: rgba(103, 80, 27, .1); }
.book-front i { background: #e9815a; }
.book-front span { font-size: 21px; }
.hero-stamp { width: 76px; height: 76px; position: absolute; z-index: 3; top: 47px; left: calc(50% + 112px); display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); text-align: center; transform: rotate(10deg); box-shadow: 0 7px 18px rgba(37,73,51,.11); }
.hero-stamp span { font-size: 11px; font-weight: 800; line-height: 1.25; }
.hero-stamp b { position: absolute; top: 6px; left: 8px; color: #638452; font-size: 13px; }
.hero-note { position: absolute; z-index: 4; color: #68776c; font-size: 10px; }
.note-top { top: 76px; left: 1%; transform: rotate(-9deg); }
.note-top span { color: var(--coral); font-size: 20px; vertical-align: middle; }
.note-bottom { right: -1%; bottom: 40px; display: flex; align-items: center; gap: 7px; transform: rotate(-5deg); }
.note-star { color: #d77b5d; font-size: 19px; }
.hero-metrics { position: absolute; right: 0; bottom: 0; left: 0; width: min(100%, 420px); min-height: 62px; display: flex; align-items: center; gap: 20px; padding: 11px 17px; border: 1px solid #e5e6dc; border-radius: 12px; background: rgba(255,254,250,.72); }
.metric { display: grid; grid-template-columns: 28px auto; column-gap: 9px; align-items: center; }
.metric-icon { width: 26px; height: 26px; grid-row: span 2; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: #e3ebd2; font-size: 16px; }
.leaf-icon { color: #a85e47; background: #f7e4d8; }
.metric strong { font-size: 10px; line-height: 1.2; }
.metric small { color: #879189; font-size: 9px; line-height: 1.25; }
.metric-divider { width: 1px; height: 34px; background: #e1e4dc; }

/* Market */
.market { padding-top: 96px; padding-bottom: 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.section-heading h2, .centered-heading h2 { margin: 12px 0 5px; font-size: 34px; line-height: 1.28; letter-spacing: -1px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.market-controls select { min-width: 145px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: #53675b; background: transparent; font-size: 11px; cursor: pointer; }
.category-row { margin-top: 28px; display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 9px; scrollbar-width: thin; scrollbar-color: #d3ddc5 transparent; }
.category-chip { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border: 1px solid #e2e5dc; border-radius: 22px; color: #67756a; background: transparent; font-size: 11px; transition: all .2s; }
.category-chip:hover { border-color: #adc28f; }
.category-chip.selected { border-color: var(--green); color: var(--white); background: var(--green); }
.category-chip span { margin-inline-start: 5px; color: var(--mint); }
.market-meta { margin: 18px 0 14px; display: flex; justify-content: space-between; color: #829087; font-size: 10px; }
.market-meta > span:last-child { display: flex; align-items: center; gap: 7px; }
.online-dot { width: 7px; height: 7px; background: #83ad5e; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.book-card { min-width: 0; overflow: hidden; border: 1px solid #e7e8df; border-radius: 13px; background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.book-card:hover { transform: translateY(-5px); box-shadow: 0 15px 34px rgba(33,60,43,.1); }
.book-art-link { display: block; }
.book-artwork { height: 212px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e4ead4; }
.book-artwork::before { content: ""; width: 150px; height: 150px; position: absolute; top: -55px; right: -42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; box-shadow: 0 0 0 14px rgba(255,255,255,.1), 0 0 0 29px rgba(255,255,255,.09); }
.book-artwork::after { content: "✳"; position: absolute; bottom: 8px; left: 15px; color: rgba(255,255,255,.4); font-size: 35px; }
.book-artwork.palette-1 { background: #d8e4c2; }
.book-artwork.palette-2 { background: #ecd8c7; }
.book-artwork.palette-3 { background: #d5dce3; }
.book-artwork.palette-4 { background: #e8dcad; }
.book-artwork.palette-5 { background: #dfd5e2; }
.book-artwork.palette-6 { background: #c9ded8; }
.book-artwork.palette-7 { background: #e4d1ca; }
.book-artwork.palette-8 { background: #cfd4b2; }
.book-cover { width: 119px; height: 160px; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 16px 14px 12px; border-radius: 3px 6px 6px 3px; color: #f9f4df; background: var(--cover, #245c47); box-shadow: 6px 12px 20px rgba(36,51,40,.2); transform: rotate(-4deg); transition: transform .25s; }
.book-card:hover .book-cover { transform: rotate(0) scale(1.03); }
.book-cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9px; border-inline-end: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.13); }
.book-cover .cover-rule { width: 27px; height: 2px; background: var(--cover-accent, #e8cd70); }
.book-cover strong { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 15px; line-height: 1.55; }
.book-cover small { font-size: 8px; opacity: .8; }
.condition-tag { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; color: #425d43; background: rgba(255,254,250,.75); backdrop-filter: blur(5px); font-size: 9px; }
.sample-tag { position: absolute; z-index: 2; top: 12px; left: 10px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.38); border-radius: 14px; color: #fffdf2; background: rgba(18,61,50,.78); backdrop-filter: blur(5px); font-size: 8px; }
.book-card-info { padding: 14px 15px 15px; }
.book-category { color: #809087; font-size: 9px; }
.book-card-info h3 { min-height: 25px; margin: 5px 0 2px; overflow: hidden; color: #263e33; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.book-card-info h3 a:hover { color: var(--green-2); }
.book-author { overflow: hidden; color: #8b958d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.book-card-bottom { margin-top: 13px; padding-top: 11px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eff0eb; }
.book-price { color: #274638; font-size: 15px; font-weight: 800; }
.book-price small { margin-inline-start: 2px; color: #87928a; font-size: 9px; font-weight: 400; }
.buy-button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 6px; color: var(--white); background: var(--green); font-size: 10px; transition: background .2s; }
.buy-button:hover { background: #2d7256; }
.buy-button:disabled { color: #6f7e72; background: #e8ece1; cursor: default; }
.card-actions { display: flex; align-items: center; gap: 5px; }
.favorite-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #e0e7db; border-radius: 7px; color: #8b998d; background: transparent; font-size: 15px; line-height: 1; }
.favorite-button.active, .favorite-button:hover { border-color: #efc9b8; color: #d87557; background: #fff3ed; }
.empty-state { padding: 64px 20px 40px; text-align: center; }
.empty-symbol { width: 56px; height: 56px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; color: #5d725e; background: #e7ecd9; font-size: 31px; }
.empty-state h3 { margin-bottom: 5px; font-size: 17px; }
.empty-state p { color: var(--muted); font-size: 12px; }
.text-button { padding: 7px 0; border: 0; color: var(--green-2); background: transparent; font-size: 11px; font-weight: 700; }

/* Brand story and seller callout */
.promise-band { overflow: hidden; color: #f3f2e6; background: var(--ink-dark); }
.promise-inner { min-height: 286px; position: relative; display: grid; grid-template-columns: .8fr 1fr 100px; align-items: center; gap: 56px; padding-block: 55px; }
.eyebrow.light { color: #bdd1b0; }
.eyebrow.light .eyebrow-line { background: var(--mint); }
.promise-title h2 { margin: 16px 0 0; color: #f5f2df; font-size: 42px; line-height: 1.2; letter-spacing: -1.3px; }
.promise-title h2 em { color: var(--mint); }
.promise-copy { max-width: 420px; padding-top: 16px; }
.promise-copy > p { max-width: 390px; margin-bottom: 24px; color: #c2d0c4; font-size: 13px; line-height: 1.9; }
.promise-points { display: flex; flex-wrap: wrap; gap: 20px; }
.promise-points span { color: #f1f2e8; font-size: 10px; }
.promise-points b { margin-inline-end: 6px; color: var(--mint); font: 700 10px Arial, sans-serif; }
.promise-doodle { width: 98px; height: 98px; position: relative; display: grid; place-items: center; border: 1px solid rgba(209,226,184,.32); border-radius: 50%; color: var(--mint); font-size: 47px; transform: rotate(-12deg); }
.promise-doodle span { position: absolute; top: -9px; right: 7px; color: #f3d974; font-size: 25px; }
.promise-doodle i { font-style: normal; }
.sell-callout { padding-top: 94px; padding-bottom: 105px; }
.sell-card { min-height: 340px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; border: 1px solid #e6e8dd; border-radius: 18px; background: #eeeee4; }
.sell-illustration { min-height: 340px; position: relative; overflow: hidden; }
.sell-circle { width: 250px; height: 250px; position: absolute; right: 50%; bottom: -55px; border: 1px solid rgba(71,111,71,.2); border-radius: 50%; transform: translateX(50%); box-shadow: 0 0 0 22px rgba(255,255,255,.18), 0 0 0 44px rgba(255,255,255,.1); }
.sell-book { width: 137px; height: 190px; position: absolute; top: 74px; right: 50%; display: flex; align-items: center; justify-content: center; border-radius: 4px 8px 8px 4px; color: #fbf6e6; background: #31634a; box-shadow: 7px 16px 24px rgba(28,56,37,.18); transform: translateX(50%) rotate(-8deg); }
.sell-book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 11px; border-inline-end: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.13); }
.sell-book span { font-size: 19px; font-weight: 700; line-height: 1.6; }
.sell-spark { position: absolute; z-index: 2; color: #d47a5b; font-size: 32px; }
.spark-a { top: 53px; left: 22%; }
.spark-b { right: 15%; bottom: 62px; color: #708f5b; font-size: 19px; }
.sell-copy { max-width: 405px; padding: 50px 20px 50px 10px; }
.sell-copy h2 { margin: 13px 0 8px; font-size: 38px; line-height: 1.3; letter-spacing: -1px; }
.sell-copy h2 em::after { content: ""; width: 100%; height: 7px; position: absolute; right: 0; bottom: -2px; z-index: -1; border-radius: 50%; background: #d4e5a2; }
.sell-copy > p { margin-bottom: 17px; color: #758178; font-size: 12px; line-height: 1.8; }
.primary-button { min-height: 45px; padding: 0 18px; border-radius: 8px; font-size: 12px; }
.sell-copy > small { margin-top: 10px; display: block; color: #95a096; font-size: 9px; }
.how-section { padding-bottom: 104px; }
.centered-heading { display: block; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading h2 { margin-top: 10px; font-size: 29px; }
.steps-grid { margin-top: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.step-card { min-height: 205px; position: relative; padding: 25px 25px 22px; border: 1px solid #e5e7dd; border-radius: 12px; background: rgba(255,254,250,.52); }
.step-number { position: absolute; top: 20px; left: 22px; color: #b5bfb0; font: 700 10px Arial, sans-serif; }
.step-icon { width: 39px; height: 39px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 11px; color: #3d654c; background: #e4ebd6; font-size: 19px; }
.step-card:nth-child(2) .step-icon { color: #ad644f; background: #f1e2d7; }
.step-card:nth-child(3) .step-icon { color: #8a7842; background: #f0e8c8; }
.step-card h3 { margin-bottom: 4px; font-size: 14px; }
.step-card p { max-width: 275px; margin-bottom: 0; color: #829087; font-size: 10px; line-height: 1.85; }
.site-footer { color: #e3ebe1; background: #11362d; }
.footer-main { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(230,239,220,.13); }
.footer-brand .brand-copy strong { color: #f2f4e9; }
.footer-brand .brand-copy small { color: #aab9a7; }
.footer-brand .brand-mark span:nth-child(1), .footer-brand .brand-mark span:nth-child(4) { background: #bdd68a; }
.footer-main > p { margin: 0; color: #afc0b2; font-size: 11px; }
.back-top { color: #d9e4d5; font-size: 10px; }
.footer-bottom { min-height: 49px; display: flex; justify-content: space-between; align-items: center; color: #9caf9e; font-size: 9px; }
.footer-love b { color: #de8a68; }

/* Dialogs and forms */
.modal { width: min(490px, calc(100% - 28px)); max-height: min(90dvh, 860px); position: fixed; padding: 33px 34px; overflow-y: auto; border: 1px solid #e5e8de; border-radius: 18px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(18, 43, 34, .45); backdrop-filter: blur(4px); }
.modal-close { width: 32px; height: 32px; position: absolute; top: 16px; left: 16px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #67766b; background: #f0f2eb; font-size: 21px; line-height: 1; }
.modal-close:hover { color: var(--ink); background: #e3e9d8; }
.modal-mark { width: 42px; height: 42px; margin-bottom: 19px; display: grid; place-items: center; border-radius: 13px; color: #876f3c; background: #f1e8c8; font-size: 22px; }
.green-mark { color: #36634d; background: #e4ecd6; }
.modal h2 { margin: 8px 0 4px; font-size: 27px; letter-spacing: -.7px; }
.modal-lede { margin-bottom: 19px; color: #7d8980; font-size: 11px; line-height: 1.8; }
.auth-tabs { margin: 19px 0 17px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 9px; background: #f0f2eb; }
.auth-tab { min-height: 36px; border: 0; border-radius: 7px; color: #77837a; background: transparent; font-size: 11px; }
.auth-tab.active { color: var(--green); background: var(--white); box-shadow: 0 2px 6px rgba(34,60,43,.08); font-weight: 700; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; color: #475d4f; font-size: 10px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #e2e6dd; border-radius: 7px; outline: 0; color: #243c31; background: #fff; font-size: 11px; font-weight: 400; }
.form-field textarea { resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a3aca4; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #7aa06a; box-shadow: 0 0 0 3px rgba(151,188,117,.14); }
.field-optional { margin-inline-start: 3px; color: #9aa49b; font-size: 9px; font-weight: 400; }
.form-error { min-height: 0; color: #b44e42; font-size: 10px; }
.full-button { width: 100%; }
.two-column-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span-two { grid-column: 1 / -1; }
.privacy-note { margin: 0; padding: 9px 10px; border-radius: 7px; color: #68786b; background: #f1f4e9; font-size: 9px; }
.privacy-note span { margin-inline-end: 4px; color: #6d8c52; }
.account-modal { width: min(570px, calc(100% - 28px)); }
.account-head { display: flex; align-items: center; gap: 14px; padding-bottom: 19px; border-bottom: 1px solid #edf0e9; }
.account-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--green); background: #e3ebd4; font-size: 22px; font-weight: 700; }
.account-head h2 { margin: 2px 0 0; font-size: 21px; }
.account-head p { margin: 0; color: #8c978e; font-size: 10px; }
.account-actions { margin: 15px 0; display: flex; gap: 8px; }
.outline-button { min-height: 34px; padding: 0 13px; border: 1px solid #dce4d8; border-radius: 7px; color: #44624f; background: transparent; font-size: 10px; }
.outline-button:hover { border-color: #9ab482; background: #f5f7ef; }
.account-results { max-height: 300px; overflow-y: auto; }
.account-row { padding: 11px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #eff1ec; }
.account-row strong { display: block; overflow: hidden; color: #344c3c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-row small { display: block; color: #8c968e; font-size: 9px; }
.status-pill { flex: 0 0 auto; padding: 4px 8px; border-radius: 14px; color: #56724c; background: #edf3df; font-size: 9px; }
.status-pill.pending, .status-pill.new { color: #917540; background: #f5efd9; }
.status-pill.rejected, .status-pill.cancelled, .status-pill.blocked { color: #a35749; background: #f8e8e2; }
.status-pill.sold, .status-pill.completed { color: #5a6d72; background: #e9eff0; }
.account-empty { padding: 25px 10px; color: #87928a; text-align: center; font-size: 10px; }
.account-footer { margin-top: 15px; padding-top: 11px; display: flex; justify-content: space-between; border-top: 1px solid #edf0e9; }
.logout-button { padding: 7px 0; border: 0; color: #a05f52; background: transparent; font-size: 10px; }
.admin-modal { width: min(1080px, calc(100% - 28px)); }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-heading h2 { margin: 7px 0 2px; }
.admin-heading p { margin: 0; color: #859087; font-size: 10px; }
.admin-stat-grid { margin: 20px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.admin-stat { padding: 13px; border: 1px solid #e8ebe3; border-radius: 9px; background: #fbfcf7; }
.admin-stat strong { display: block; color: #274637; font-size: 21px; line-height: 1.25; }
.admin-stat span { color: #829087; font-size: 9px; }
.admin-tabs { display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid #e6e9e1; }
.admin-tab { flex: 0 0 auto; min-height: 39px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; color: #7a867d; background: transparent; font-size: 10px; }
.admin-tab.active { border-color: var(--green-2); color: var(--green); font-weight: 700; }
.admin-tab b { margin-inline-start: 4px; padding: 2px 6px; border-radius: 8px; color: #fff; background: #d27c5a; font: 700 9px Arial, sans-serif; }
.admin-content { min-height: 150px; padding-top: 13px; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: right; white-space: nowrap; }
.admin-table th { padding: 9px 8px; color: #91a096; font-size: 9px; font-weight: 500; }
.admin-table td { padding: 10px 8px; border-top: 1px solid #edf0e9; color: #56675a; font-size: 10px; }
.admin-table td strong { color: #344b3d; font-size: 10px; }
.admin-table small { display: block; color: #929c94; font-size: 8px; }
.admin-actions { display: flex; align-items: center; gap: 5px; }
.admin-actions button { min-height: 27px; padding: 0 8px; border: 1px solid #dfe7d9; border-radius: 5px; color: #4d704f; background: #f7f9f2; font-size: 9px; }
.admin-actions button.danger { border-color: #f0ded6; color: #a15d4b; background: #fff9f6; }
.inline-price { width: 70px; height: 28px; padding: 3px 5px; border: 1px solid #e1e7dc; border-radius: 5px; font-size: 10px; }
.admin-select { max-width: 118px; height: 29px; padding: 3px 7px; border: 1px solid #e2e7de; border-radius: 5px; color: #5e7063; background: #fff; font-size: 9px; }
.success-modal { width: min(390px, calc(100% - 28px)); text-align: center; }
.success-modal .eyebrow { justify-content: center; }
.success-check { width: 57px; height: 57px; margin: 3px auto 16px; display: grid; place-items: center; border-radius: 50%; color: #37634a; background: #e1ecd1; font-size: 25px; }
.success-modal h2 { margin-top: 10px; }
.success-modal .primary-button { margin-top: 6px; }
.toast { max-width: min(450px, calc(100% - 32px)); position: fixed; z-index: 99; right: 50%; bottom: max(22px, env(safe-area-inset-bottom)); padding: 12px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: #f7faee; background: #1c4939; box-shadow: 0 8px 30px rgba(17,45,34,.22); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(50%, 16px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(50%, 0); }
.loading-cards { min-height: 150px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.loading-card { height: 320px; border-radius: 13px; background: linear-gradient(100deg, #eeefe8 30%, #f7f8f2 48%, #eeefe8 66%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position-x: -200%; } }

/* Standalone, unlinked admin route */
.admin-screen { min-height: 100vh; background: #f3f4ec; }
.admin-topbar { min-height: 75px; padding: 0 max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e4e8dd; background: rgba(255,254,250,.88); }
.admin-topbar-actions { display: flex; align-items: center; gap: 9px; }
.admin-area-label { margin-inline-end: 8px; color: #6b7c70; font-size: 11px; font-weight: 700; }
.admin-page-main { width: min(1180px, calc(100% - 56px)); min-height: calc(100vh - 75px); margin: 0 auto; padding: 42px 0 80px; }
.admin-auth-panel, .admin-forbidden-panel { min-height: calc(100vh - 160px); display: grid; place-items: center; }
.admin-login-card, .admin-forbidden-card { width: min(430px, 100%); padding: 34px; border: 1px solid #e1e6db; border-radius: 16px; background: var(--white); box-shadow: 0 18px 50px rgba(23,55,47,.08); }
.admin-login-card h1, .admin-forbidden-card h1 { margin: 8px 0; font-size: 27px; letter-spacing: -.5px; }
.admin-intro, .admin-forbidden-card p { margin-bottom: 20px; color: #7b887e; font-size: 11px; line-height: 1.8; }
.admin-login-hint { margin: 14px 0 0; color: #87938a; font-size: 10px; line-height: 1.7; }
.admin-page-heading { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.admin-page-heading h1 { margin: 8px 0 3px; font-size: 32px; letter-spacing: -.7px; }
.admin-page-heading p { margin: 0; color: #829087; font-size: 11px; }
.admin-welcome { color: #849187; font-size: 10px; }
.admin-welcome strong { color: var(--green); }
.admin-dashboard-card { overflow: hidden; border: 1px solid #e2e7dd; border-radius: 12px; background: var(--white); }
.admin-dashboard-card .admin-tabs { padding-inline: 12px; }
.admin-dashboard-card .admin-content { min-height: 250px; padding: 12px 16px 18px; }
.admin-forbidden-card { text-align: center; }
.admin-forbidden-card .modal-mark { margin-inline: auto; }
.admin-forbidden-card #adminForbiddenName { display: block; margin: -10px 0 18px; color: #89948d; font-size: 10px; }
.admin-forbidden-card .account-actions { justify-content: center; }
.admin-forbidden-card .primary-button { display: inline-flex; align-items: center; text-decoration: none; }

/* Book details, cart, and checkout */
.subpage-header { width: min(1180px, calc(100% - 56px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e7e9e1; }
.subpage-header .subpage-actions { display: flex; align-items: center; gap: 12px; }
.subpage-link { color: #66796e; font-size: 11px; }
.subpage-main { width: min(1100px, calc(100% - 56px)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 42px 0 75px; }
.subpage-title { margin-bottom: 25px; }
.subpage-title .eyebrow { margin-bottom: 8px; }
.subpage-title h1 { margin: 0; font-size: 31px; letter-spacing: -.8px; }
.subpage-title p { margin: 5px 0 0; color: #829087; font-size: 11px; }
.book-detail-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 48px; align-items: center; }
.book-detail-art { min-height: 425px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #e4ead4; }
.book-detail-art .book-cover { width: 205px; height: 292px; padding: 25px 22px 19px; transform: rotate(-3deg); }
.book-detail-art .book-cover strong { font-size: 24px; }
.book-detail-art .book-cover small { font-size: 10px; }
.book-detail-art .condition-tag { top: 18px; right: 18px; }
.book-detail-art .sample-tag { top: 18px; left: 18px; }
.book-detail-copy h1 { margin: 11px 0 3px; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; letter-spacing: -1.2px; }
.book-detail-author { color: #87938a; font-size: 13px; }
.book-detail-price { margin: 22px 0 16px; color: var(--green); font-size: 28px; font-weight: 800; }
.book-detail-price small { margin-inline-start: 4px; color: #8a968d; font-size: 12px; font-weight: 400; }
.book-detail-description { padding: 19px 0; border-top: 1px solid #e4e8de; border-bottom: 1px solid #e4e8de; color: #718077; font-size: 12px; line-height: 2; white-space: pre-line; }
.book-facts { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-fact { padding: 11px 12px; border-radius: 8px; background: #eff1e8; }
.book-fact small { display: block; color: #87938a; font-size: 9px; }
.book-fact strong { display: block; margin-top: 3px; color: #3e5a49; font-size: 11px; }
.book-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.book-detail-actions .primary-button { min-width: 170px; }
.book-detail-actions .favorite-button { width: 46px; height: 45px; font-size: 20px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr); align-items: start; gap: 24px; }
.cart-tabs { margin-bottom: 14px; padding: 4px; display: inline-flex; gap: 4px; border-radius: 9px; background: #ecefe5; }
.cart-tab { min-height: 35px; padding: 0 14px; border: 0; border-radius: 6px; color: #758278; background: transparent; font-size: 10px; }
.cart-tab.active { color: var(--green); background: white; box-shadow: 0 2px 6px rgba(34,60,43,.08); font-weight: 700; }
.cart-items-card, .summary-card, .checkout-card { padding: 20px; border: 1px solid #e3e7dd; border-radius: 12px; background: var(--white); }
.cart-row { padding: 13px 0; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid #edf0e9; }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 52px; height: 66px; display: grid; place-items: center; padding: 6px; border-radius: 3px 6px 6px 3px; color: #fff7dd; background: var(--cover,#285c48); box-shadow: 3px 5px 10px rgba(30,55,39,.15); font-size: 8px; font-weight: 700; text-align: center; line-height: 1.4; }
.cart-row-info strong { display: block; color: #304a3a; font-size: 11px; }
.cart-row-info small { display: block; color: #87938a; font-size: 9px; }
.cart-row-price { display: flex; align-items: center; gap: 10px; color: #31503f; font-size: 11px; font-weight: 700; white-space: nowrap; }
.remove-item { border: 0; color: #a16a5b; background: transparent; font-size: 9px; }
.summary-card { position: sticky; top: 18px; }
.summary-card h2 { margin: 0 0 14px; font-size: 17px; }
.summary-line { margin: 9px 0; display: flex; justify-content: space-between; gap: 12px; color: #849087; font-size: 10px; }
.summary-line strong { color: #405a49; font-size: 11px; }
.summary-total { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e8ece3; }
.summary-card .primary-button { width: 100%; margin-top: 15px; text-align: center; }
.summary-note { margin: 10px 0 0; color: #9aa39b; font-size: 9px; line-height: 1.7; }
.cart-empty { padding: 44px 15px; color: #87938a; text-align: center; font-size: 11px; }
.cart-empty strong { display: block; margin-bottom: 6px; color: #425b4a; font-size: 15px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); align-items: start; gap: 23px; }
.checkout-card { margin-bottom: 13px; }
.checkout-card h2 { margin: 0 0 15px; font-size: 16px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-grid .span-two { grid-column: 1 / -1; }
.saved-addresses { margin-bottom: 14px; }
.saved-addresses select { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #e2e6dd; border-radius: 7px; color: #425c4c; background: white; font: inherit; font-size: 10px; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.delivery-option { min-height: 72px; padding: 12px; display: flex; align-items: flex-start; gap: 8px; border: 1px solid #e2e6dd; border-radius: 8px; cursor: pointer; }
.delivery-option:has(input:checked) { border-color: #8bab73; background: #f5f8ef; }
.delivery-option input { accent-color: var(--green); }
.delivery-option strong { display: block; color: #395342; font-size: 10px; }
.delivery-option small { display: block; color: #8b968e; font-size: 8px; line-height: 1.6; }
.save-address-row { margin-top: 11px; display: flex; align-items: center; gap: 7px; color: #718077; font-size: 9px; }
.save-address-row input { accent-color: var(--green); }
.checkout-auth { max-width: 460px; margin: 0 auto; padding: 24px; border: 1px solid #e2e7dd; border-radius: 12px; background: white; }
.checkout-auth .auth-tabs { width: 100%; }
.checkout-success { max-width: 500px; margin: 50px auto; padding: 33px; border: 1px solid #e1e7dc; border-radius: 13px; background: white; text-align: center; }
.checkout-success .success-check { margin-inline: auto; }
.form-error:not(:empty) { margin-top: 5px; }

@media (max-width: 900px) {
  .section-wrap { width: min(100% - 44px, 740px); }
  .site-header { width: calc(100% - 44px); height: 72px; }
  .main-nav { gap: 22px; }
  .hero { min-height: 490px; grid-template-columns: 1.05fr .95fr; padding-bottom: 90px; }
  .hero-art { transform: scale(.87); transform-origin: center; margin-inline: -25px; }
  .hero h1 { font-size: clamp(52px, 7vw, 69px); }
  .book-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .promise-inner { gap: 25px; grid-template-columns: .8fr 1fr 70px; }
  .promise-title h2 { font-size: 35px; }
  .promise-doodle { width: 70px; height: 70px; font-size: 36px; }
  .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
  .counted-link { width: 30px; height: 34px; }
  .subpage-header { width: calc(100% - 28px); min-height: 62px; }
  .subpage-header .subpage-actions { gap: 5px; }
  .subpage-link { font-size: 9px; }
  .subpage-main { width: calc(100% - 28px); padding-top: 26px; }
  .subpage-title h1 { font-size: 25px; }
  .book-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .book-detail-art { min-height: 320px; }
  .book-detail-art .book-cover { width: 165px; height: 235px; }
  .book-detail-art .book-cover strong { font-size: 19px; }
  .book-detail-copy h1 { font-size: 30px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .cart-items-card, .summary-card, .checkout-card { padding: 15px; }
  .cart-row { grid-template-columns: 45px minmax(0,1fr) auto; gap: 8px; }
  .cart-thumb { width: 41px; height: 55px; }
  .cart-row-price { flex-direction: column; align-items: flex-end; gap: 3px; font-size: 10px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-grid .span-two { grid-column: auto; }
  .delivery-options { grid-template-columns: 1fr; }
  .admin-topbar { min-height: 64px; padding-inline: 16px; }
  .admin-topbar-actions { gap: 6px; }
  .admin-area-label { display: none; }
  .admin-topbar .outline-button { min-height: 31px; padding-inline: 8px; font-size: 9px; }
  .admin-page-main { width: calc(100% - 28px); padding-top: 25px; }
  .admin-page-heading { align-items: flex-start; }
  .admin-page-heading h1 { font-size: 26px; }
  .admin-welcome { padding-top: 8px; text-align: left; }
  .admin-login-card, .admin-forbidden-card { padding: 27px 21px; }
  .admin-dashboard-card .admin-content { padding-inline: 10px; }
  html { scroll-padding-top: 68px; }
  .section-wrap { width: calc(100% - 36px); }
  .topline { min-height: 30px; font-size: 9px; }
  .site-header { width: calc(100% - 32px); height: 66px; gap: 10px; }
  .preview-banner { width: calc(100% - 32px); font-size: 9px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .main-nav { position: absolute; z-index: 10; top: 96px; right: 16px; left: 16px; display: none; padding: 15px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-link { padding: 9px; }
  .header-actions { gap: 2px; }
  .icon-button { width: 36px; height: 36px; }
  .account-button { min-height: 36px; padding: 0 10px 0 8px; gap: 6px; font-size: 10px; }
  .avatar-dot { width: 18px; height: 18px; font-size: 11px; }
  .menu-button { display: block; width: 31px; }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: 34px; padding-bottom: 86px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 14px; font-size: clamp(51px, 13vw, 70px); letter-spacing: -3px; }
  .hero-lede { max-width: 380px; margin-bottom: 18px; font-size: 12px; }
  .search-box { height: 54px; gap: 7px; }
  .search-box button { min-width: 86px; height: 42px; padding-inline: 9px; font-size: 10px; }
  .search-box input { font-size: 10px; }
  .hero-art { width: 100%; height: 320px; margin: 8px 0 -2px; transform: scale(.79); transform-origin: center; }
  .hero-book { top: 55px; }
  .book-back { height: 215px; }
  .book-middle { height: 235px; }
  .book-front { height: 240px; }
  .hero-sun { top: 50px; }
  .hero-orbit { top: 24px; }
  .orbit-two { top: 50px; }
  .hero-stamp { top: 22px; }
  .note-top { top: 49px; left: -1%; }
  .note-bottom { bottom: 19px; right: -2%; }
  .hero-metrics { width: 100%; bottom: 0; min-height: 60px; gap: 10px; padding: 9px 11px; }
  .metric { grid-template-columns: 23px auto; column-gap: 7px; }
  .metric-icon { width: 22px; height: 22px; font-size: 13px; }
  .metric strong { font-size: 9px; }
  .metric small { font-size: 8px; }
  .metric-divider { height: 30px; }
  .market { padding-top: 70px; padding-bottom: 74px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { max-width: 280px; font-size: 10px; }
  .market-heading { flex-direction: column; gap: 12px; }
  .market-controls { align-self: flex-start; }
  .market-controls select { min-width: 132px; padding: 8px 11px; font-size: 10px; }
  .category-row { margin-top: 21px; margin-inline: -18px; padding-inline: 18px; }
  .category-chip { min-height: 33px; padding-inline: 12px; font-size: 10px; }
  .market-meta { margin-top: 13px; font-size: 9px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .book-artwork { height: 165px; }
  .book-cover { width: 95px; height: 128px; padding: 13px 11px 10px; }
  .book-cover strong { font-size: 12px; }
  .condition-tag { top: 8px; right: 8px; padding: 3px 6px; font-size: 8px; }
  .book-card-info { padding: 11px 10px 10px; }
  .book-card-info h3 { margin-top: 4px; font-size: 11px; }
  .book-author { font-size: 9px; }
  .book-card-bottom { margin-top: 10px; padding-top: 8px; }
  .book-price { font-size: 13px; }
  .buy-button { min-height: 29px; padding-inline: 8px; font-size: 9px; }
  .promise-inner { min-height: 0; display: grid; grid-template-columns: 1fr 62px; gap: 10px; padding-block: 43px; }
  .promise-title { grid-column: 1; }
  .promise-title h2 { margin-top: 10px; font-size: 34px; }
  .promise-doodle { width: 60px; height: 60px; grid-column: 2; grid-row: 1; }
  .promise-copy { grid-column: 1 / -1; padding-top: 8px; }
  .promise-copy > p { margin-bottom: 17px; font-size: 11px; }
  .promise-points { gap: 9px 15px; }
  .promise-points span { font-size: 9px; }
  .sell-callout { padding-top: 60px; padding-bottom: 68px; }
  .sell-card { display: flex; flex-direction: column; align-items: stretch; }
  .sell-illustration { min-height: 235px; order: 2; }
  .sell-circle { width: 220px; height: 220px; }
  .sell-book { width: 112px; height: 154px; top: 42px; }
  .sell-book span { font-size: 16px; }
  .sell-copy { max-width: none; padding: 30px 22px 7px; }
  .sell-copy h2 { font-size: 31px; }
  .sell-copy > p { max-width: 330px; font-size: 10px; }
  .how-section { padding-bottom: 69px; }
  .centered-heading h2 { font-size: 24px; }
  .steps-grid { margin-top: 23px; grid-template-columns: 1fr; gap: 9px; }
  .step-card { min-height: 133px; padding: 18px 19px 15px 15px; }
  .step-icon { width: 33px; height: 33px; margin-bottom: 8px; font-size: 16px; }
  .step-card h3 { font-size: 12px; }
  .step-card p { max-width: 290px; font-size: 9px; }
  .step-number { top: 16px; left: 17px; }
  .footer-main { min-height: 82px; }
  .footer-main > p { display: none; }
  .back-top { font-size: 9px; }
  .footer-bottom { min-height: 62px; flex-wrap: wrap; gap: 2px 15px; justify-content: space-between; padding-block: 11px; font-size: 8px; }
  .footer-love { width: 100%; }
  .modal { padding: 29px 22px 23px; border-radius: 14px; }
  .modal h2 { font-size: 23px; }
  .modal-mark { width: 38px; height: 38px; margin-bottom: 15px; }
  .two-column-form { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .two-column-form .span-two { grid-column: auto; }
  .admin-modal { padding-inline: 15px; }
  .admin-heading { align-items: flex-start; }
  .admin-heading .outline-button { min-height: 30px; padding-inline: 8px; font-size: 9px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); margin-block: 15px; }
  .admin-stat { padding: 10px; }
  .admin-stat strong { font-size: 17px; }
  .admin-stat span { font-size: 8px; }
  .admin-table th, .admin-table td { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
