/* AevumIQ main website, checkout and admin.
   Boutique standard: cream paper, deep maroon, gold details, Cormorant Garamond headlines with italic accents,
   Outfit for everything else, Caveat for handwritten notes. */

:root {
  --ink: #2A1418;
  --ink-2: #4A3438;
  --muted: #6E5A5E;
  --paper: #FDF8F3;
  --sand: #F8ECE8;
  --white: #FFFFFF;
  --line: #EEDFD8;
  --line-strong: #DCC6BD;
  --night: #160A0D;
  --night-2: #2E171C;
  --on-night: #FBF3EE;
  --on-night-muted: #CDB8B2;
  --accent: #9C1C38;
  --accent-dark: #7A1530;
  --gold: #C49A5A;
  --blush: #FBEFEF;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Caveat, "Comic Sans MS", cursive;
  --radius: 22px;
  --shadow: 0 2px 6px rgba(60, 20, 30, .05), 0 18px 40px -18px rgba(60, 20, 30, .22);
  --shadow-lg: 0 4px 10px rgba(60, 20, 30, .06), 0 30px 70px -24px rgba(60, 20, 30, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 120px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-bottom { padding-bottom: clamp(80px, 10vw, 120px); }
.section-border { border-top: 1px solid var(--line); }
.band { background: var(--sand); }
.dark { background: var(--night); color: var(--on-night); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Type ---------- */
.kicker { margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 8vw, 112px); line-height: .98; letter-spacing: -.02em; max-width: 1050px; }
.display-cta { font-size: clamp(48px, 7vw, 96px); max-width: 820px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.01em; }
.h2-small { font-size: clamp(40px, 5vw, 60px); margin-bottom: 48px; }
.display em, .h2 em { font-style: italic; color: var(--accent); }
.dark .h2 em, .cta .display em, .dark .display em { color: var(--gold); }
.accent { color: var(--accent); }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.fine { margin-top: 40px; font-size: 15px; color: var(--ink-2); }
.muted-on-dark { color: var(--on-night-muted); }
.hand { font-family: var(--hand); font-size: 24px; line-height: 1.1; }
.hand-small { font-size: 16px; color: #6B6559; margin-top: 4px; }
.hand-on-dark { color: #FFF8EC; }
.tilt-left { display: inline-block; transform: rotate(-2.5deg); }
.link { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--sans); cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(156, 28, 56, .6); letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header & footer ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.wordmark { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); }
.wordmark em { color: var(--accent); }
.wordmark-light { color: var(--on-night); font-size: 34px; }
.wordmark-light em { color: var(--on-night); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

.site-footer { background: var(--night); color: var(--on-night-muted); }
.footer-inner { padding: 72px 0 40px; display: grid; gap: 56px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: grid; gap: 12px; max-width: 320px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 15px; }
.footer-cols div { display: grid; gap: 12px; align-content: start; }
.footer-cols h2 { font: 600 15px/1.4 var(--sans); color: var(--on-night); }
.footer-cols a { color: var(--on-night-muted); }
.footer-cols a:hover { color: var(--on-night); }
.footer-bottom { border-top: 1px solid var(--night-2); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }

/* ---------- Home: hero & proof ---------- */
.hero { padding: clamp(80px, 11vw, 120px) 0 96px; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 48px; }
.hero-aside { margin-top: 40px; font-size: 15px; color: var(--ink-2); }
.proof { border-block: 1px solid var(--line); }
.proof-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: 15px; color: var(--ink-2); }
.proof-row strong { color: var(--ink); }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.section-head > div:first-child { max-width: 720px; }
.section-head-aside { max-width: 380px; display: grid; gap: 10px; font-size: 17px; color: var(--ink-2); }
.dark .section-head-aside { color: var(--on-night-muted); }

/* ---------- Skills ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.skill-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.skill-visual { position: relative; height: 300px; overflow: hidden; }
.skill-visual > svg { width: 100%; height: 100%; display: block; }
.visual-image { background: #E8D5BF; }
.visual-video { background: #1B1A17; }
.visual-social { background: #DCE2DD; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 14px; }
.visual-prompt { background: var(--sand); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.fill-accent { fill: var(--accent); }
.stroke-accent { stroke: var(--accent); }

.chip { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .88); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.sticky-note { position: absolute; left: 18px; bottom: 18px; width: 210px; background: #FFF4C2; padding: 12px 14px; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); display: grid; }
.sticky-note .hand { font-size: 20px; color: #2B2A26; }

.dolly { animation: dolly 8s ease-in-out infinite alternate; transform-origin: 62% 55%; }
@keyframes dolly { from { transform: scale(1); } to { transform: scale(1.12); } }
.video-note { position: absolute; top: 16px; left: 18px; font-size: 22px; }
.player { position: absolute; inset: auto 0 0 0; background: rgba(17, 17, 17, .55); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.play { width: 44px; height: 44px; flex: none; border-radius: 999px; background: #fff; display: grid; place-items: center; }
.track { flex: 1; height: 4px; background: rgba(255, 255, 255, .3); border-radius: 999px; overflow: hidden; }
.progress { display: block; height: 100%; width: 40%; background: #fff; border-radius: 999px; animation: progress 8s linear infinite; }
@keyframes progress { from { width: 8%; } to { width: 92%; } }
.time { font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .dolly, .progress { animation: none; } }

.phone { width: 140px; height: 256px; flex: none; margin-top: 56px; border: 6px solid var(--ink); border-radius: 26px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.phone > svg { width: 100%; display: block; }
.phone-top { display: flex; align-items: center; gap: 6px; padding: 10px 10px 8px; font-size: 10px; font-weight: 600; }
.avatar { width: 18px; height: 18px; border-radius: 999px; background: var(--accent); }
.phone-icons { display: flex; gap: 8px; padding: 8px 10px; }
.phone-lines { padding: 0 10px; display: grid; gap: 5px; }
.phone-lines span { height: 5px; background: #DDD7CB; border-radius: 3px; }
.phone-lines span:first-child { width: 90%; }
.phone-lines span:last-child { width: 65%; }
.hook { width: 152px; flex: none; display: grid; gap: 6px; }
.hook-card { background: #fff; padding: 14px; border-radius: 4px; transform: rotate(2deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .1); font-size: 14px; line-height: 1.45; font-weight: 500; }

.bubble { padding: 12px 14px; display: grid; gap: 4px; font-size: 14px; }
.bubble-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bubble-before { align-self: flex-start; max-width: 78%; background: #fff; border: 1px solid #DDD7CB; border-radius: 16px 16px 16px 4px; color: var(--ink-2); }
.bubble-before .bubble-label { color: #6B6559; }
.bubble-after { align-self: flex-end; max-width: 86%; background: var(--ink); border-radius: 16px 16px 4px 16px; }
.bubble-after .bubble-label { color: var(--on-night-muted); }
.bubble-after code { font-size: 12.5px; line-height: 1.55; color: var(--on-night); }
.prompt-note { position: absolute; left: 24px; bottom: 18px; }

.skill-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.skill-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.num { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.skill-body h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.05; }
.skill-promise { font-size: 17px; color: var(--ink-2); }
.skill-body ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.75; }
.tools { font-size: 14px; color: var(--muted); }
.skill-body .link { margin-top: auto; align-self: flex-start; }

/* ---------- Columns ---------- */
.columns-4, .columns-3 { display: grid; gap: 32px; }
.columns-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.columns-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.ruled { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.ruled h3 { font-size: 20px; font-weight: 600; }
.ruled p { color: var(--ink-2); }
.steps { list-style: none; margin: 64px 0 0; padding: 0; }
.steps h3 { font-size: 24px; }
.step-no { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Showcase & library ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.showcase-card { margin: 0; border: 1px solid var(--night-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.showcase-card img, .showcase-card video, .showcase-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase-empty { display: grid; place-items: center; background: var(--night-2); }
.showcase-empty span { font-family: var(--serif); font-style: italic; font-size: 40px; color: #6E685D; }
.showcase-card figcaption { padding: 24px; display: grid; gap: 10px; }
.showcase-kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8C867A; }
.showcase-card code { font-size: 14px; line-height: 1.6; color: #E8E3D8; white-space: normal; }
.library { margin-top: 64px; padding: 40px; border: 1px solid var(--night-2); border-radius: var(--radius); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.library h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin-bottom: 8px; }
.library-form { display: flex; flex-wrap: wrap; gap: 12px; }
.library-form input[type=email] { min-height: 52px; min-width: min(100%, 300px); padding: 0 20px; border-radius: 999px; border: 1px solid var(--night-2); background: #161614; color: var(--on-night); font: 400 16px var(--sans); }
.notice { padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.notice-error { background: #3A1A12; color: #FFD9CC; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.industry-tile { aspect-ratio: 4 / 5; border-radius: 16px; display: flex; align-items: flex-end; padding: 24px; font-size: 20px; font-weight: 600; transition: transform .2s ease; }
.industry-tile:hover { transform: translateY(-3px); color: var(--ink); }
.tile-1 { background: #E4DDCF; }
.tile-2 { background: #DCE2DD; }
.tile-3 { background: #E9DCD8; }
.tile-4 { background: #DAD9E2; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.price-card h3 { font-size: 20px; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--serif); font-size: 56px; line-height: 1; }
.price-note { font-size: 14px; color: var(--muted); }
.price-card ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 2; color: var(--ink-2); }
.price-card .btn { margin-top: auto; }
.price-card-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card-dark .price-note { color: var(--on-night-muted); }
.price-card-dark ul { color: #D9D4C9; }
.badge { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 999px; }

/* ---------- Testimonials, FAQ, CTA ---------- */
.quote-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.quote-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 36px; display: grid; gap: 24px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.quote-card figcaption { font-size: 14px; color: var(--muted); }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px; }
.faq dl { margin: 0; }
.faq dl div { border-top: 1px solid var(--line); padding: 24px 0; }
.faq dl div:first-child { border-top-color: var(--ink); }
.faq dl div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--ink-2); }

.cta { background: var(--accent); color: #fff; }
.cta-inner { padding: clamp(80px, 10vw, 120px) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }

/* ---------- Templates gallery ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filter { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.template-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.template-thumb { aspect-ratio: 16 / 11; background: var(--c-bg); padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; border-bottom: 1px solid var(--line); }
.template-thumb-name { font-family: var(--f-head); font-size: 34px; line-height: 1.05; color: var(--c-text); }
.template-thumb-bar { height: 8px; width: 70%; border-radius: 4px; background: var(--c-muted); opacity: .35; }
.template-thumb-bar.short { width: 45%; }
.template-thumb-btn { margin-top: 8px; width: 120px; height: 34px; border-radius: 999px; background: var(--c-primary); }
.template-body { padding: 28px; display: grid; gap: 10px; }
.template-body h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.template-body p { color: var(--ink-2); }
.template-industry { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.template-industry { display: flex; justify-content: space-between; gap: 8px; }
.template-pages { letter-spacing: .02em; text-transform: none; font-weight: 500; color: var(--muted); }
.template-body .btn-row { margin-top: 8px; }
.empty { padding: 48px 0; color: var(--ink-2); }

/* ---------- Forms (wizard, checkout, admin) ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field > label:first-child { font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 13px; }
.input, .field input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=color]), .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  font: 400 16px/1.4 var(--sans); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-error { color: #A12C14; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.form-stack { display: grid; gap: 20px; }
.alert { padding: 14px 16px; border-radius: 12px; background: #FBE9E7; color: #8A1C0F; }
.success { padding: 14px 16px; border-radius: 12px; background: #E6F2EA; color: #1E5631; }

/* ---------- Wizard ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding: 56px 0 120px; }
@media (max-width: 960px) { .wizard { grid-template-columns: 1fr; } }
.wizard-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 40px; list-style: none; padding: 0; }
.wizard-steps li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); }
.wizard-steps li.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wizard-steps li.is-done { color: var(--ink); border-color: var(--ink); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 24px; }
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.panel h3 { font-size: 18px; }
.panel-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.summary { position: sticky; top: 100px; display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0; font-weight: 600; }
.list-item { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 16px; background: var(--paper); }
.list-item-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; }
.image-field { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.image-field img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.subdomain-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); overflow: hidden; }
.subdomain-input input { border: 0 !important; border-radius: 0 !important; }
.subdomain-input span { padding: 0 14px; color: var(--muted); white-space: nowrap; font-size: 15px; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.plan-option { border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 16px; display: grid; gap: 4px; cursor: pointer; }
.plan-option.is-selected { border-color: var(--ink); background: var(--paper); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option strong { font-size: 16px; }
.plan-option span { font-size: 14px; color: var(--muted); }

/* ---------- Checkout & login (centered card pages) ---------- */
.narrow { width: min(560px, 100% - 48px); margin: 0 auto; padding: 72px 0 120px; display: grid; gap: 24px; }
.narrow h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 56px); line-height: 1.02; }
.receipt { display: grid; gap: 10px; margin: 0; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--night); color: var(--on-night); padding: 28px 20px; display: flex; flex-direction: column; gap: 32px; position: sticky; top: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--night-2) transparent; }
.admin-side .admin-nav { flex: 1 0 auto; }
.admin-side .wordmark { color: var(--on-night); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { color: var(--on-night-muted); padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.admin-nav a:hover { color: var(--on-night); background: var(--night-2); }
.admin-nav a.active { color: var(--on-night); background: var(--night-2); }
.admin-logout { margin-top: auto; }
.admin-logout .btn { color: var(--on-night-muted); border-color: var(--night-2); }
.admin-main { padding: 40px clamp(20px, 4vw, 48px) 80px; display: grid; gap: 28px; align-content: start; }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
  .admin-nav { display: flex; flex-wrap: wrap; }
  .admin-logout { margin: 0; }
}
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.admin-head h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.stat strong { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.table tr:last-child td { border-bottom: 0; }
.table .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sand); }
.pill-good { background: #E6F2EA; color: #1E5631; }
.pill-warn { background: #FFF1D6; color: #7A4B00; }
.pill-bad { background: #FBE9E7; color: #8A1C0F; }
.section-list { display: grid; gap: 8px; }
.section-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
@media (max-width: 860px) { .section-row { grid-template-columns: 1fr 1fr; } }
.section-row--page { grid-template-columns: 1fr 1fr 1fr 1.6fr auto auto; }
.section-row--page .page-count { font-size: 13px; white-space: nowrap; }
.slug-field { display: flex; align-items: center; gap: 4px; }
.slug-field input { flex: 1; min-width: 0; }
@media (max-width: 860px) { .section-row--page { grid-template-columns: 1fr 1fr; } }
.icon-btn { min-width: 40px; min-height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; font: 600 14px var(--sans); }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field input[type=color] { width: 48px; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px; background: var(--white); }
.code-area { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: 13px !important; min-height: 260px !important; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.muted { color: var(--muted); }
pre.json { margin: 0; max-height: 420px; overflow: auto; background: var(--night); color: var(--on-night); padding: 20px; border-radius: 16px; font-size: 13px; }

/* ---------- Customer account ---------- */
.account-main { padding: 48px 0 120px; display: grid; gap: 24px; align-content: start; }
.account-head { display: grid; gap: 12px; margin-bottom: 8px; }
.account-head .h2 em { font-style: italic; }
.nav-links-account a.active { color: var(--accent-dark); }
.nav-links-account form { margin: 0; }
.account-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.account-site { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; align-content: start; }
.account-site-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.account-site h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 6px; }
.account-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 15px; }
.account-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.account-facts dd { margin: 2px 0 0; }
.notice-warn { padding: 12px 16px; border-radius: 12px; background: #FFF1D6; color: #5E3A00; }
.domain-row, .renew-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.domain-row:last-child, .renew-row:last-of-type { border-bottom: 0; }
.renew-row form { margin: 0; }
.enquiry-list { display: grid; gap: 16px; }
.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; display: grid; gap: 12px; }
.enquiry.is-new { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.enquiry-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Invoice (screen + print) ---------- */
.invoice-actions { width: min(820px, 100% - 32px); margin: 32px auto 0; display: flex; justify-content: space-between; align-items: center; }
.invoice { width: min(820px, 100% - 32px); margin: 16px auto 64px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 5vw, 56px); display: grid; gap: 32px; font-size: 15px; }
.invoice p { margin: 2px 0; }
.invoice .pre { white-space: pre-line; color: var(--ink-2); }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.invoice-head .wordmark { display: inline-block; margin-bottom: 12px; }
.invoice-title h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin-bottom: 12px; }
.invoice-title dl { margin: 0; display: grid; gap: 6px; }
.invoice-title dl div { display: flex; justify-content: space-between; gap: 24px; }
.invoice-title dt { color: var(--muted); }
.invoice-title dd { margin: 0; font-weight: 600; }
.invoice-bill h2 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 10px 0; }
.invoice-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.invoice-table .num { text-align: right; white-space: nowrap; }
.invoice-table tfoot td { border-bottom: 0; padding: 6px 0; color: var(--ink-2); }
.invoice-total td { font-size: 18px; font-weight: 600; color: var(--ink) !important; border-top: 1px solid var(--ink); padding-top: 12px !important; }
.invoice-words { font-style: italic; }
.invoice-foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

@media print {
  body { background: #fff; }
  .no-print, .site-header, .site-footer { display: none !important; }
  .invoice { border: 0; margin: 0; width: 100%; padding: 0; }
  a { color: inherit; }
}

/* ---------- AI ---------- */
.finder { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; max-width: 760px; }
.finder input { flex: 1 1 320px; min-height: 52px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font: 400 16px var(--sans); }
.finder input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ai-panel { border-color: var(--accent); }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ai-btn {
  align-self: flex-start; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px dashed var(--accent); background: transparent; color: var(--accent-dark);
  font: 600 13px/1 var(--sans); cursor: pointer;
}
.ai-btn:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.ai-btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Learn: courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.course-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease; }
.course-card:hover { transform: translateY(-3px); color: var(--ink); }
.course-card-top { min-height: 180px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.course-card-title { font-family: var(--serif); font-size: 36px; line-height: 1.05; }
.course-skill { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.course-skill-dark { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.skill-image { background: #E8D5BF; }
.skill-video { background: #2A2925; color: var(--on-night); }
.skill-social { background: #DCE2DD; }
.skill-prompt { background: var(--sand); }
.skill-business { background: #DAD9E2; }
.course-card-body { padding: 24px 28px 28px; display: grid; gap: 10px; }
.course-card-body p { color: var(--ink-2); }
.course-meta { font-size: 14px; color: var(--muted) !important; }
.course-price strong { font-size: 18px; color: var(--ink); }

.course-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding: 56px 0 64px; }
@media (max-width: 960px) { .course-hero { grid-template-columns: 1fr; } }
.course-hero-copy { display: grid; gap: 20px; align-content: start; }
.display-course { font-size: clamp(48px, 7vw, 88px); }
.buy-box { position: sticky; top: 100px; gap: 16px; }
.buy-box .price { font-size: 52px; }
.buy-box-title { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.fine-print { font-size: 13px; }

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.course-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 72px; }
.outcomes { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.outcomes li { position: relative; padding-left: 32px; font-size: 18px; }
.outcomes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.prose { display: grid; gap: 16px; margin-top: 24px; font-size: 17px; color: var(--ink-2); max-width: 64ch; }
.curriculum { margin-top: 32px; display: grid; gap: 28px; }
.curriculum-module h3 { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.curriculum-module ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.curriculum-module li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.curriculum-module li .muted { white-space: nowrap; display: flex; gap: 8px; align-items: center; }

/* ---------- Learn: workshops ---------- */
.workshop-list { display: grid; gap: 16px; }
.workshop-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.workshop-row:hover { color: var(--ink); border-color: var(--ink); }
.workshop-row.is-past { opacity: .65; }
.workshop-date { display: grid; justify-items: center; padding: 12px 0; border-radius: 14px; background: var(--sand); }
.workshop-day { font-family: var(--serif); font-size: 40px; line-height: 1; }
.workshop-month { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.workshop-info { display: grid; gap: 6px; }
.workshop-info h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.workshop-info p { color: var(--ink-2); }
.workshop-side { display: grid; gap: 8px; justify-items: end; text-align: right; }
@media (max-width: 700px) {
  .workshop-row { grid-template-columns: 72px minmax(0, 1fr); }
  .workshop-side { grid-column: 1 / -1; justify-items: start; text-align: left; }
}
.workshop-facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.workshop-facts div { border-top: 1px solid var(--ink); padding-top: 12px; }
.workshop-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.workshop-facts dd { margin: 4px 0 0; font-weight: 600; }

/* ---------- Learn: prompt library ---------- */
.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.prompt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.prompt-card img, .prompt-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prompt-card-body { padding: 28px; display: grid; gap: 14px; }
.prompt-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prompt-category { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prompt-card h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.prompt-text { margin: 0; padding: 16px 18px; background: var(--night); color: #E8E3D8; border-radius: 12px; font: 400 14px/1.6 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.prompt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; }
.prompt-tip { font-size: 15px; color: var(--ink-2); }
.prompt-tip .hand { font-size: 22px; margin-right: 4px; }
.library-light { margin-top: 64px; border-color: var(--line); background: var(--white); }
.library-light h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 8px; }
.link-light { color: var(--on-night); }
.link-light:hover { color: #fff; }

/* ---------- Learner area ---------- */
.progress-bar { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.player { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .player { grid-template-columns: 1fr; } .player-side { position: static !important; max-height: none !important; } }
.player-side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; display: grid; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.player-side h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.player-side h3 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px; }
.player-side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.player-side li a { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.player-side li a:hover { background: var(--paper); }
.player-side li a.is-current { background: var(--sand); font-weight: 600; }
.player-side li a.is-done .tick { color: #1E5631; font-weight: 700; }
.player-main { display: grid; gap: 24px; align-content: start; }
.player-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.player-actions { margin-top: 16px; align-items: center; }

.admin-nav-group { margin: 14px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6E685D; }
.lesson-list { display: grid; gap: 16px; }

/* Multi-page sites: page headings between section forms in the wizard and the site editor */
.page-divider { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 36px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-size: 20px; }
.page-divider .mono { font-size: 13px; font-weight: 500; color: var(--muted, #6b6b6b); text-decoration: none; }

/* Short lists with a tick, used on account pages */
.tick-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.tick-list li { position: relative; padding-left: 26px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent); }

/* WhatsApp admin: message previews look like a chat bubble */
.wa-bubble { white-space: pre-line; max-width: 46ch; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #E7F6EC; color: #10301C; font-size: 14px; line-height: 1.5; }
.wa-meta { font-size: 13px; color: var(--muted); }
.check-inline { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 400; color: var(--muted); }
.check-inline input { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.template-stack { display: grid; gap: 14px; }
.wa-template { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.wa-template h3 { margin: 0 0 6px; font-size: 15px; }
.wa-template .wa-meta { margin: 0 0 6px; }
.wa-body { white-space: pre-wrap; min-height: 0; margin: 0 0 8px; font-size: 13px; }
@media (max-width: 960px) { .wa-template { grid-template-columns: 1fr; } }

/* Template quality check */
.findings { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 6px; }
.finding { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.finding__tag { flex: none; min-width: 64px; text-align: center; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sand); }
.finding--problem .finding__tag { background: #FBE9E7; color: #8A1C0F; }
.finding--warning .finding__tag { background: #FFF1D6; color: #7A4B00; }
.check-notes { margin: 12px 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.score { display: inline-grid; place-items: center; min-width: 38px; height: 28px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.score--good { background: #E6F2EA; color: #1E5631; }
.score--ok { background: #FFF1D6; color: #7A4B00; }
.score--bad { background: #FBE9E7; color: #8A1C0F; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-items: start; }
.shot { display: grid; gap: 6px; text-decoration: none; font-size: 13px; color: var(--muted); }
.shot img { width: 100%; height: 260px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.shot--mobile img { width: 60%; justify-self: center; }
.template-thumb--shot { padding: 0; overflow: hidden; }
.template-thumb--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.link-plain { text-decoration: none; }

/* INR / USD switch above the pricing cards */
.section-head-aside p { margin: 0; }
.currency-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; width: max-content; font-size: 14px; font-weight: 600; }
.currency-switch a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: inherit; }
.currency-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.form-grid .field--wide, .section-row .field--wide { grid-column: 1 / -1; }

/* Customer insights (Visitors page) */
.range-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 12px 0 0; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 600; }
.range-switch a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: inherit; }
.range-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.insight-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 20px; }
.insight-stat { display: grid; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.insight-stat strong { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; }
.insight-stat span { color: var(--muted); font-size: 14px; }
.insight-stat em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.insight-stat em.up { color: #1E5631; }
.insight-stat em.down { color: #8A1C0F; }
@media (max-width: 860px) { .insight-stats { grid-template-columns: repeat(2, 1fr); } }
.visit-chart { margin: 0; }
.visit-chart svg { width: 100%; height: 180px; display: block; }
.visit-chart rect { fill: var(--accent); }
.visit-chart rect:hover { fill: var(--accent-dark); }
.visit-chart__base { stroke: var(--line-strong); stroke-width: .3; vector-effect: non-scaling-stroke; }
.visit-chart figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.insight-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .insight-lists { grid-template-columns: 1fr; } }
.bar-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.bar-list li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; overflow: hidden; font-size: 14px; }
.bar-list li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--share); background: color-mix(in srgb, var(--accent) 14%, transparent); z-index: 0; }
.bar-list li > * { position: relative; z-index: 1; }
.plan-change-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 20px; }

/* All invoices for a year: one per printed page */
.invoice-actions { flex-wrap: wrap; gap: 12px; }
.year-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; font-size: 14px; font-weight: 600; }
.year-switch a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: inherit; border: 1px solid var(--line-strong); }
.year-switch a[aria-current="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.statement-note { width: min(820px, 100% - 32px); margin: 12px auto 0; color: var(--muted); font-size: 14px; }
@media print {
  .invoice + .invoice { break-before: page; }
  .invoice { break-inside: avoid; }
}

/* Google Business Profile helper */
.gbp-progress { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; margin: 16px 0 6px; max-width: 420px; }
.gbp-progress span { display: block; height: 100%; background: var(--accent); transition: width .3s ease; }
.gbp-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; counter-reset: gbp; }
.gbp-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); counter-increment: gbp; }
.gbp-step h2 { margin: 0 0 6px; font-size: 18px; }
.gbp-step h2::before { content: counter(gbp) ". "; color: var(--muted); }
.gbp-step p { margin: 0 0 10px; }
.gbp-step.is-done { background: var(--paper); }
.gbp-step.is-done h2 { color: var(--muted); }
.gbp-check input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); }
.gbp-text { padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); white-space: pre-line; margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.copy-row code { padding: 8px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); word-break: break-all; }
.copy-row .input { flex: 1; min-width: 220px; }
.gbp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; }
.gbp-facts { margin: 0 0 8px; }
.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; }

/* Content pages, guides and showcase */
.prose-page { max-width: 760px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: 80px; }
.prose-head { display: grid; gap: 10px; margin-bottom: 32px; }
.prose-head h1 { margin: 0; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 40px 0 12px; line-height: 1.15; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin: 0 0 6px; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--paper); font-size: 16px; }
.prose a { color: var(--accent-dark); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--paper); }
.prose-cover { width: 100%; border-radius: 16px; margin: 0 0 32px; }
.post-cta { margin-top: 48px; }
.contact-form { margin-top: 40px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter-row a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: inherit; font-size: 14px; font-weight: 600; }
.filter-row a[aria-current="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-row--dark a { border-color: rgba(255,255,255,.25); }
.filter-row--dark a[aria-current="true"] { background: var(--white); color: var(--night); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.post-card__link { display: grid; text-decoration: none; color: inherit; height: 100%; }
.post-card img, .post-card__plain { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__plain { display: grid; place-items: center; background: var(--sand); font-family: var(--serif); font-size: 28px; color: var(--accent-dark); }
.post-card__body { padding: 20px; display: grid; gap: 6px; align-content: start; }
.post-card__body h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.post-card__body p { margin: 0; color: var(--ink-2); }
.post-card:hover { border-color: var(--line-strong); }
.btn-on-dark { color: var(--on-night); border-color: rgba(255,255,255,.3); justify-self: start; margin-top: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
/* Admin content editors */
.cms-layout { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .cms-layout { grid-template-columns: 1fr; } }
.table tr.is-selected td { background: var(--paper); }
.md-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
@media (max-width: 1100px) { .md-editor { grid-template-columns: 1fr; } }
.md-editor__input { min-height: 460px; font-size: 14px; line-height: 1.55; }
.md-editor__preview { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); max-height: 560px; overflow: auto; }
.md-editor__preview .prose { font-size: 16px; }
.md-editor__tag { position: sticky; top: 0; float: right; font-size: 12px; font-weight: 600; color: var(--muted); }
.showcase-admin-item { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; }

/* Wizard: coupon, live preview, finish later */
.coupon-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; }
.coupon-row .field { flex: 1; max-width: 260px; }
.preview-panel { margin-top: 20px; }
.preview-frame { position: relative; width: 100%; aspect-ratio: 16 / 11; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.preview-frame iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; }
@media (max-width: 760px) { .preview-frame { aspect-ratio: 9 / 14; } .preview-frame iframe { width: 100%; height: 100%; transform: none; } }
.finish-later { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.finish-later h4 { margin: 0; font-size: 15px; }
.finish-later p { margin: 0; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* Printable QR poster (A4) */
.poster { width: min(794px, 100% - 32px); min-height: 1050px; margin: 16px auto 64px; padding: 64px 56px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; align-content: start; justify-items: center; text-align: center; gap: 12px; border-top: 14px solid var(--poster-accent); }
.poster__kicker { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--poster-accent); }
.poster__name { margin: 8px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 68px); line-height: 1.05; }
.poster__tagline { margin: 0; font-size: 22px; color: var(--ink-2); max-width: 30ch; }
.poster__codes { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin: 40px 0 24px; }
.poster__codes figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.poster__qr svg { width: 240px; height: 240px; display: block; }
.poster__codes figure:not(:first-child) .poster__qr svg { width: 170px; height: 170px; }
.poster__codes figcaption { display: grid; gap: 2px; font-size: 18px; }
.poster__codes figcaption span { color: var(--muted); font-size: 15px; }
.poster__foot { margin-top: auto; color: var(--muted); font-size: 15px; }
@media print {
  @page { size: A4; margin: 0; }
  .poster { border: 0; border-top: 14px solid var(--poster-accent); border-radius: 0; margin: 0 auto; width: 100%; min-height: 100vh; }
}
.history { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.history summary { cursor: pointer; font-weight: 600; }
.history ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.history li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.recovery-codes { white-space: pre; min-height: 0; font-size: 15px; letter-spacing: .05em; }
.setup-steps { display: grid; gap: 16px; padding-left: 20px; }
.totp-qr svg { width: 200px; height: 200px; display: block; margin: 10px 0; }
.role-legend { display: grid; gap: 4px; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.role-legend p { margin: 0; }
.partner-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; background: var(--paper); }
.partner-banner p { margin: 0 0 4px; }
.apply-hero { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .apply-hero { grid-template-columns: 1fr; } }
.review-row { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.review-row:first-of-type { border-top: 0; }
.domain-results { margin-top: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checkbox-row input { width: 18px; height: 18px; }
/* Style picker (customer Edit content, admin template editor) */
.style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.style-option { position: relative; display: grid; gap: 4px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--white); }
.style-option.is-on { border-color: var(--ink, #111); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.style-option input { position: absolute; opacity: 0; }
.style-option small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.style-swatch { display: block; height: 64px; border-radius: 10px; margin-bottom: 6px; border: 1px solid var(--line); }
.style-swatch--aurora { background: radial-gradient(60% 80% at 20% 20%, #7C5CFF 0, transparent 60%), radial-gradient(60% 80% at 90% 80%, #22D3EE 0, transparent 60%), #05060A; }
.style-swatch--studio { background: linear-gradient(135deg, #FAFAF7 55%, #0C0C0E 55%); }
.style-swatch--classic { background: linear-gradient(135deg, #F6EFE6 60%, #B4471F 60%); }
/* Live preview in the template editor */
.preview-frame { margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: width .3s ease; }
.preview-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.preview-frame--desktop { width: 100%; }
.preview-frame--tablet { width: min(100%, 820px); }
.preview-frame--phone { width: min(100%, 390px); }
.dev-panel { margin-top: 24px; border: 2px dashed #C9A227; background: #FFFBEB; }
.dev-panel p { margin: 0 0 12px; }
.help-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.help-card { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.help-card:hover { border-color: var(--ink); }
.help-card span { color: var(--muted); }
.faq-list .faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-list summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.faq-list p { margin: 0 0 12px; }

/* =====================================================================================
   Main website in the boutique standard
   ===================================================================================== */
.m-topbar { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 13px; font-weight: 500; }
.m-topbar__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 10px 0; }
.m-topbar a { color: #fff; }
@media (max-width: 900px) { .m-topbar__row { justify-content: center; } .m-topbar__row > :nth-child(n+2) { display: none; } }

.site-header { background: #fff; border-bottom: 0; box-shadow: 0 6px 24px -18px rgba(60, 20, 30, .35); }
.nav { padding: 16px 0; }
.wordmark { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 32px; color: var(--ink); line-height: 1; }
.wordmark em { color: var(--accent); font-style: italic; }
.wordmark small { display: block; margin-top: 5px; font: 600 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.wordmark-light { color: var(--on-night); }
.wordmark-light em { color: var(--gold); }
.nav-links { gap: 26px; }
.nav-links a:not(.btn) { position: relative; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links a:not(.btn):hover::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -8px; height: 3px; border-radius: 3px; background: var(--accent); }
.btn-outline { border-color: color-mix(in srgb, var(--gold) 70%, transparent); color: var(--ink); background: #fff; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.btn-outline:hover { background: var(--blush); }
.kicker { color: var(--gold); letter-spacing: .26em; }

/* Hero */
.m-hero { position: relative; padding-bottom: 80px; background: radial-gradient(60% 80% at 0% 0%, var(--blush), transparent 70%), var(--paper); }
.m-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(800px, 90vh); }
.m-hero__copy { align-self: center; padding: 64px 40px 110px max(24px, calc((100vw - 1200px) / 2)); }
.m-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.m-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.m-pill--gold { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold); }
.m-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.m-hero__title { margin: 0; font-family: var(--serif); line-height: .95; letter-spacing: -.02em; }
.m-line { display: block; }
.m-line--1 { font-weight: 700; font-size: clamp(56px, 7.4vw, 112px); text-transform: uppercase; }
.m-line--2 { font-weight: 600; font-style: italic; font-size: clamp(58px, 7.6vw, 116px); color: var(--accent); }
.m-line--3 { font-weight: 600; font-style: italic; font-size: clamp(54px, 7.2vw, 108px); color: var(--gold); }
.m-hero__lead { margin-top: 32px; max-width: 34em; font-size: 19px; line-height: 1.75; color: var(--ink); }
.m-hero__lead em { font-style: normal; font-weight: 600; color: var(--accent); }
.m-hero__actions { margin-top: 38px; gap: 16px; }
.m-hero__media { position: relative; min-height: 520px; background: linear-gradient(135deg, #5A1426, #160A0D); clip-path: ellipse(100% 130% at 100% 50%); }
.m-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 10, 13, .35), transparent 40%); }
.m-hero__note { position: absolute; z-index: 2; top: 8%; left: 14%; margin: 0; max-width: 240px; font-family: var(--hand); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.m-hero__note span { display: block; }
.m-seal { position: absolute; z-index: 2; top: 6%; right: 18%; width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .8), var(--shadow-lg); }
.m-seal::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 50%; }
.m-seal span { font-family: var(--serif); font-style: italic; font-size: 20px; text-transform: uppercase; }
.m-seal strong { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.05; }
.m-seal i { font-style: normal; font-size: 10px; color: var(--gold); letter-spacing: .3em; }
.m-hero__cards { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1260px) / 2)); top: 32%; display: grid; gap: 16px; width: 260px; margin: 0; padding: 0; list-style: none; }
.m-float { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lg); }
.m-float__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--accent); }
.m-float strong { display: block; font-size: 15px; }
.m-float small { display: block; font-size: 13px; color: var(--muted); }
.m-quick { position: relative; z-index: 3; margin-top: -64px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.m-quick__item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; color: var(--ink); border-right: 1px solid var(--line); }
.m-quick__item:last-child { border-right: 0; }
.m-quick__item:hover { background: var(--blush); color: var(--ink); }
.m-quick__icon { flex: none; font-size: 24px; color: var(--accent); }
.m-quick__item > span:nth-child(2) { flex: 1; display: grid; }
.m-quick__item strong { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.m-quick__item small { font-size: 13px; color: var(--muted); }
.m-quick__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--accent); font-size: 13px; }
@media (max-width: 1000px) {
  .m-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .m-hero__copy { padding: 48px 24px 40px; }
  .m-hero__media { min-height: 440px; margin: 0 16px; border-radius: 28px; clip-path: none; overflow: hidden; }
  .m-hero__media { min-height: 520px; }
  .m-hero__cards { position: absolute; right: 14px; left: 14px; top: auto; bottom: 14px; width: auto; gap: 8px; }
  .m-float { padding: 10px 14px; }
  .m-float__icon { width: 36px; height: 36px; }
  .m-seal { width: 96px; height: 96px; top: 14px; right: 14px; }
  .m-seal strong { font-size: 24px; } .m-seal span { font-size: 15px; }
  .m-hero__note { display: none; }
  .m-quick { margin-top: 24px; grid-template-columns: 1fr 1fr; }
  .m-quick__item { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .m-quick { grid-template-columns: 1fr; } .m-quick__item { border-right: 0; } }

/* Moving band */
.m-band { overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); color: #fff; }
.m-band__track { display: flex; width: max-content; animation: m-band 40s linear infinite; }
.m-band span { display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.m-band i { font-style: normal; margin: 0 34px; color: #E6C27A; }
@keyframes m-band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .m-band__track { animation: none; } }

/* Promises */
.m-promises { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.m-promises article { position: relative; display: grid; justify-items: center; gap: 12px; padding: 0 22px; }
.m-promises article + article::before { content: "✦"; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; display: grid; align-items: center; text-indent: -5px; font-size: 12px; color: var(--gold);
  background: linear-gradient(transparent, color-mix(in srgb, var(--gold) 60%, transparent), transparent); }
.m-promise__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--blush); color: var(--accent); font-size: 26px; box-shadow: var(--shadow); }
.m-promises h2 { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: .1em; text-transform: uppercase; }
.m-promises p { font-family: var(--serif); font-size: 18px; color: var(--muted); }
@media (max-width: 860px) { .m-promises { grid-template-columns: 1fr 1fr; row-gap: 40px; } .m-promises article::before { display: none; } }

/* Section polish across the main site */
.band { background: var(--blush); }
.dark { background: radial-gradient(70% 90% at 100% 0%, rgba(156, 28, 56, .45), transparent 60%), var(--night); }
.cta { background: radial-gradient(80% 120% at 100% 0%, rgba(196, 154, 90, .25), transparent 60%), linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.price-card, .template-card, .panel { border-radius: var(--radius); }
.price-card, .template-card { box-shadow: var(--shadow); border-color: transparent; }

/* Rich footer */
.m-footer { color: var(--on-night-muted); background: radial-gradient(60% 70% at 100% 100%, rgba(156, 28, 56, .45), transparent 70%), var(--night); }
.m-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding-top: clamp(64px, 8vw, 96px); }
.m-footer__grid > * { padding: 0 28px; }
.m-footer__grid > * + * { border-left: 1px solid rgba(255, 255, 255, .08); }
.m-footer__grid > :first-child { padding-left: 0; }
.m-footer__brand p { margin: 16px 0 24px; line-height: 1.7; }
.m-footer__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; text-align: center; font-size: 12px; }
.m-footer__badges span { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); color: #F5A3B4; font-size: 18px; }
.m-footer__col h2 { position: relative; margin: 0 0 26px; padding-bottom: 14px; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.m-footer__col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); }
.m-footer__col > a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-night-muted); }
.m-footer__col > a:hover { color: #fff; }
.m-footer__col > a span { opacity: .5; }
.m-footer__card { padding: 18px; margin-bottom: 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.m-footer__card p { margin: 0 0 14px; line-height: 1.6; }
.m-footer__contact { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 14px; border: 0 !important; }
.m-footer__contact strong { display: block; color: #fff; }
.m-footer__contact small { display: block; font-size: 13px; opacity: .7; }
.m-footer__join { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 56px; padding: 26px 30px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.m-footer__join > div { flex: 1; min-width: 220px; }
.m-footer__join strong { display: block; color: #fff; font-size: 20px; }
.m-footer__join small { display: block; opacity: .8; }
.m-footer__join-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #FCE9EC; color: var(--accent); font-size: 22px; }
.m-footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); }
.m-footer__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; font-size: 14px; }
@media (max-width: 960px) {
  .m-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .m-footer__grid > * { padding: 0 !important; border: 0 !important; }
}
@media (max-width: 600px) { .m-footer__grid { grid-template-columns: 1fr; } }
/* Template editor: per-section design panel */
.design-panel { grid-column: 1 / -1; margin-top: 4px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--white); }
.design-panel summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 12px 0; }
.design-panel textarea { width: 100%; font-size: 13px; }
/* Design blocks admin */
.blocks-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.blocks-list { display: grid; gap: 4px; padding: 10px; position: sticky; top: 16px; }
.blocks-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.blocks-item:hover, .blocks-item.is-on { background: var(--blush); }
.code-area { width: 100%; font-size: 13px; line-height: 1.5; tab-size: 2; background: #1A1215; color: #F6EEEA; border-radius: 12px; padding: 14px; border: 0; }
.cheat { white-space: pre-wrap; font-size: 12.5px; line-height: 1.6; margin: 10px 0 0; }
@media (max-width: 900px) { .blocks-layout { grid-template-columns: 1fr; } .blocks-list { position: static; } }
