/* ForgeCart storefront — original stylesheet. Colours come from --brand / --accent (set in admin). */
:root {
  --brand: #0f5c4d;
  --accent: #e8a33d;
  --ink: #17201d;
  --ink-2: #4b5551;
  --muted: #6d7672;
  --line: #e4e0d8;
  --bg: #faf8f4;
  --card: #ffffff;
  --tint: color-mix(in srgb, var(--brand) 7%, var(--bg));
  --ok: #1f7a4d;
  --warn: #9a5b00;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .05), 0 8px 24px rgba(20, 30, 25, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 750; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow-wrap { max-width: 760px; }
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section > .wrap > :last-child { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: color-mix(in srgb, var(--brand) 85%, black); }
.btn.ghost { background: transparent; border-color: color-mix(in srgb, var(--brand) 40%, transparent); color: var(--brand); }
.btn.light { background: #fff; color: var(--brand); border-color: #fff; }
.btn.big { padding: .9em 1.6em; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }
.link.danger, .error-text { color: var(--err); }

/* Header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; }
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo img { max-height: 40px; width: auto; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.search input { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: inherit; background: var(--card); width: 160px; }
.cart-link { position: relative; color: var(--ink); display: flex; padding: 8px; }
.cart-count { position: absolute; top: 0; right: -4px; background: var(--accent); color: var(--ink); font-size: .72rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 6px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .search input { width: 100%; margin-top: 8px; }
  .cart-link { margin-left: 0; }
}

/* Alerts */
.flashes { padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: 10px; background: #f1efe9; margin: 0 0 12px; border: 1px solid var(--line); }
.alert.success { background: #e9f6ef; border-color: #b6e0c8; color: #14532d; }
.alert.error { background: #fdecea; border-color: #f5c2bd; color: #7a1a12; }
.alert.info { background: #eef4fb; border-color: #c7dbf0; color: #173a5e; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 38ch; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 5px 12px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); }
.hero-art { position: relative; aspect-ratio: 4 / 3.4; }
.hero-art span { position: absolute; border-radius: 28px; }
.hero-art span:nth-child(1) { inset: 6% 22% 30% 4%; background: var(--brand); transform: rotate(-6deg); }
.hero-art span:nth-child(2) { inset: 30% 4% 4% 34%; background: var(--accent); border-radius: 50%; mix-blend-mode: multiply; }
.hero-art span:nth-child(3) { inset: 18% 30% 46% 40%; background: var(--card); box-shadow: var(--shadow); transform: rotate(4deg); }
.hero-art.small { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { max-width: 360px; } }

/* Sections */
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.style-tint { background: var(--tint); }
.style-dark { background: var(--ink); color: #eef1ef; }
.style-dark .muted, .style-dark .lead, .style-dark p { color: #c4cbc8; }
.style-dark .feature, .style-dark .plan, .style-dark details { background: #222c28; border-color: #2f3a36; color: #eef1ef; }
.grid { display: grid; gap: 22px; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.features { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink); font-weight: 800; font-size: .85rem; margin-bottom: 14px; }
.feature p { color: var(--ink-2); margin: 0; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.product-card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 1; background: #f0ede6; }
.card-img.wide { aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--card); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { margin-bottom: 4px; }
.card-body p { margin: 0 0 8px; font-size: .92rem; }
.price { margin: 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: .9em; }
.price.big { font-size: 1.6rem; margin: 6px 0 14px; }
.price small { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* Pricing table */
.pricing { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 30px 26px; }
.plan-featured { border-color: var(--brand); box-shadow: 0 18px 40px color-mix(in srgb, var(--brand) 18%, transparent); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan-price { margin: 10px 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: 2.4rem; letter-spacing: -0.03em; }
.plan-price s { color: var(--muted); }
.plan-price small { width: 100%; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.ticks li { padding: 7px 0 7px 28px; position: relative; border-top: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

/* FAQ, steps, trust, quotes, compare */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { color: var(--ink-2); }
.trust-strip { border-block: 1px solid var(--line); background: var(--card); }
.trust-strip ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-weight: 650; color: var(--ink-2); font-size: .95rem; }
.trust-strip li::before { content: "✓"; color: var(--brand); margin-right: 8px; font-weight: 800; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--tint); font-size: .95rem; }
.compare td.us { font-weight: 650; color: var(--brand); }
.image-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.image-text.flip .it-media { order: 2; }
.it-media img { border-radius: 20px; }
@media (max-width: 860px) { .image-text { grid-template-columns: 1fr; } .image-text.flip .it-media { order: 0; } }
.cta { background: var(--brand); color: #fff; padding: clamp(40px, 6vw, 70px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; opacity: .9; }

/* Shop */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.sort { display: flex; align-items: center; gap: 8px; }
select, input, textarea { font: inherit; color: inherit; }
.sort select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chips a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 40px 0; color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 26px; } }
.gallery-main { border-radius: 20px; overflow: hidden; background: #f0ede6; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 72px; height: 72px; cursor: pointer; background: none; }
.thumbs button.active, .thumbs button:hover { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.facts li::before { content: "•"; color: var(--accent); margin-right: 8px; font-weight: 900; }
.facts .warn { color: var(--warn); font-weight: 650; }
.buy-form { display: grid; gap: 16px; }
.addon { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; background: var(--card); }
.addon legend { font-weight: 700; padding: 0 6px; margin-left: -6px; }
.addon .help { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.addon-price { font-weight: 600; color: var(--brand); margin-left: 6px; font-size: .9rem; }
.req { color: var(--err); }
.addon input[type=text], .addon input[type=date], .addon textarea, .addon select, .addon input[type=file] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.check .muted { margin-left: auto; font-size: .9rem; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.slots button { padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-weight: 600; }
.slots button[aria-pressed=true] { border-color: var(--brand); background: var(--brand); color: #fff; }
.slots button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; gap: 12px; align-items: stretch; }
.qty { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.qty input { width: 76px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 1rem; text-align: center; }
.grow { flex: 1; }
.product-desc { max-width: 780px; margin-top: 48px; }

/* Prose */
.prose { color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose.narrow, .narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-head { max-width: 760px; margin: 0 auto 24px; }
.page-img { border-radius: 20px; margin: 0 auto 28px; max-width: 980px; width: 100%; }

/* Cart & checkout */
.cart-layout, .checkout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .cart-layout, .checkout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 14px 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: 12px; object-fit: cover; width: 88px; height: 88px; }
.cl-info p { margin: 2px 0; font-size: .92rem; }
.cart-line .remove { grid-column: 2; justify-self: start; font-size: .88rem; }
.addon-line { font-size: .9rem; color: var(--ink-2); }
.addon-line span:first-child { color: var(--muted); }
.cart-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.summary h2 { font-size: 1.2rem; }
.coupon { display: flex; gap: 8px; margin-bottom: 10px; }
.coupon input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); }
.totals { margin: 16px 0; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; gap: 12px; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 1.2rem; }
.totals .discount dd { color: var(--ok); }
.hint { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.15rem; }
.checkout label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .92rem; }
.checkout label.check, .checkout label.choice, .checkout label.pay-option { flex-direction: row; }
.checkout input:not([type=radio]):not([type=checkbox]), .checkout select, .checkout textarea, .panel textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 400; width: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .span2 { grid-column: span 2; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } .grid2 .span2 { grid-column: auto; } }
.choice-row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.choice { gap: 10px; align-items: center; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; flex: 1; }
.choice:has(input:checked), .pay-option:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, white); }
.pay-options { display: grid; gap: 10px; }
.pay-option { gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.pay-option input { margin-top: 4px; accent-color: var(--brand); }
.pay-option small { display: block; color: var(--muted); font-weight: 400; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 6px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-lines small { display: block; color: var(--muted); }

/* Order */
.order-hero { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); margin-bottom: 20px; }
.order-hero.ok { background: #e9f6ef; border-color: #b6e0c8; }
.order-hero.pending { background: #fff7e6; border-color: #f2d9a6; }
.order-hero h1 { font-size: 1.7rem; margin: 0 0 4px; }
.order-hero p { margin: 0; }
.tick { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font-size: 1.5rem; font-weight: 800; color: var(--ok); }
.row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.status { font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #eee; }
.status-processing, .status-completed, .status-shipped, .status-ready { background: #e9f6ef; color: var(--ok); }
.status-pending { background: #fff3d6; color: var(--warn); }
.items { width: 100%; border-collapse: collapse; }
.items td, .items th { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.items .num, .num { text-align: right; white-space: nowrap; }
.downloads { list-style: none; padding: 0; display: grid; gap: 10px; }
.downloads li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-instructions { background: #fffaf0; border-color: #f2d9a6; }
.payway-form #payway-credit-card { min-height: 260px; margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--ink); color: #c8cfcc; margin-top: 40px; padding-top: 56px; font-size: .94rem; }
.site-footer a { color: #e7ece9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.15rem; }
.footer-head { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.social { display: flex; gap: 14px; margin-top: 10px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #2c3632; padding: 18px 20px 26px; font-size: .85rem; color: #98a29e; }

/* Invoice / misc pages */
.invoice-page { background: #fff; }
.invoice { max-width: 820px; margin: 40px auto; padding: 0 24px; }
.invoice .right { text-align: right; }
.invoice table { margin: 24px 0; }
.invoice th { font-size: .85rem; color: var(--muted); }
@media print { .noprint { display: none; } .invoice { margin: 0; } }
.inactive-page main { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.error-page { min-height: 50vh; }

/* Accounts */
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; }
.auth-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .92rem; }
.auth-form label.check { flex-direction: row; font-weight: 500; }
.account-nav { margin: 6px 0 22px; align-items: center; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 800px) { .cols-2 { grid-template-columns: 1fr; } }
.danger-btn { color: var(--err); border-color: #f0c4bf; }
.account-link { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.key-box { width: 100%; font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: #fbfbf8; word-break: break-all; }
.release-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.release-row:first-of-type { border-top: 0; }
