:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --brand: #4f46e5;
  --brand-2: #db2777;
  --brand-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  color-scheme: light;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.01em; }
a { color: var(--brand); }
code { background: #eef2ff; padding: .1em .35em; border-radius: 6px; font-size: .9em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow-page { padding: 5rem 0; text-align: center; }

/* ---- App chrome ---- */
.app-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.app-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.app-logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.app-logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 1rem; flex: none; }
.app-logo-text { display: grid; line-height: 1.1; }
.app-logo-text small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.app-nav { display: flex; gap: 1.5rem; }
.app-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.app-nav a:hover { color: var(--brand); }
.app-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; text-align: center; margin-top: 4rem; }

/* ---- Buttons & badges ---- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 999px; padding: .7rem 1.3rem; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgb(79 70 229 / .25); }
.button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgb(79 70 229 / .45); outline-offset: 2px; }
.button-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.button-sm { padding: .45rem .95rem; font-size: .85rem; }
.button-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-outline:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.button-light { background: #fff; color: var(--ink); }
.button-ghost { background: rgb(255 255 255 / .14); color: inherit; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.button-ghost:hover { background: rgb(255 255 255 / .24); box-shadow: none; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: #f1f5f9; color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.badge-top { background: #fef3c7; color: #92400e; }
.badge-on { background: #dcfce7; color: #166534; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow-light { color: inherit; opacity: .85; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---- Landing ---- */
.hero-app { background: radial-gradient(ellipse at top left, #eef2ff, transparent 60%), radial-gradient(ellipse at bottom right, #fce7f3, transparent 55%); padding: clamp(3rem, 8vw, 6rem) 0 3rem; }
.hero-app-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero-app h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
.grad-text { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 2rem; }
.hero-collage { position: relative; height: 340px; }
.collage-card { position: absolute; border-radius: 22px; box-shadow: 0 20px 50px rgb(15 23 42 / .18); display: flex; align-items: flex-end; padding: 1rem; color: #fff; font-weight: 800; }
.collage-card span { background: rgb(0 0 0 / .25); padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; }
.c1 { inset: 0 30% 25% 0; background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.c2 { width: 130px; height: 130px; right: 8%; top: 0; background: #0f172a; border-radius: 50%; justify-content: center; align-items: center; }
.c3 { width: 46%; aspect-ratio: 1; right: 0; bottom: 0; background: linear-gradient(135deg, #f43f5e, #f59e0b); transform: rotate(4deg); }
.c4 { left: 8%; bottom: 0; width: 48%; height: 70px; background: linear-gradient(90deg, #10b981, #3b82f6); transform: rotate(-3deg); }
.how { margin-top: -1rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; display: grid; gap: .25rem; }
.steps span { color: var(--muted); font-size: .95rem; }

/* ---- Form ---- */
.form-section { padding: 3rem 0 1rem; scroll-margin-top: 80px; }
.brand-form { display: grid; gap: 1.25rem; }
fieldset.panel { margin: 0; min-width: 0; }
legend, .details-panel summary { font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: 1rem; float: left; width: 100%; }
legend + * { clear: both; }
.details-panel summary { float: none; cursor: pointer; list-style: none; margin: 0; }
.details-panel summary::-webkit-details-marker { display: none; }
.details-panel summary::after { content: "＋"; margin-left: auto; color: var(--muted); }
.details-panel[open] summary { margin-bottom: 1rem; }
.details-panel[open] summary::after { content: "－"; }
.step-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; flex: none; }
.req { color: #dc2626; }
.opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.hint { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea, .field .select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s ease; }
.field input:focus, .field textarea:focus, .field .select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgb(79 70 229 / .12); }
.field input.input-validation-error, .input-invalid input { border-color: #dc2626; }
.field-error, .field-validation-error { color: #dc2626; font-size: .85rem; font-weight: 600; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); display: flex; color: var(--muted); }
.input-icon input { padding-left: 2.5rem; }
.alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: var(--radius); padding: 1rem 1.25rem; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions .hint { margin: 0; }

.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; }
.industry-card { position: relative; display: grid; gap: .2rem; padding: 1rem 1rem .9rem; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.industry-card:hover { border-color: #c7d2fe; transform: translateY(-2px); }
.industry-card input { position: absolute; opacity: 0; pointer-events: none; }
.industry-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(79 70 229 / .12); background: #fafaff; }
.industry-card:has(input:checked)::after { content: "✓"; position: absolute; top: .6rem; right: .7rem; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; }
.industry-card:has(input:focus-visible) { outline: 3px solid rgb(79 70 229 / .45); outline-offset: 2px; }
.industry-icon { font-size: 1.6rem; }
.industry-name { font-weight: 800; }
.industry-summary { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.industry-swatches { display: flex; gap: 4px; margin-top: .4rem; }
.industry-swatches i { width: 18px; height: 6px; border-radius: 3px; }

/* ---- Kit page ---- */
.kit-hero { background: linear-gradient(135deg, var(--b-primary), var(--b-secondary)); color: var(--b-on-primary); padding-top: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.kit-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgb(255 255 255 / .2), transparent 40%); pointer-events: none; }
.kit-hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.kit-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .25rem; overflow-wrap: anywhere; }
.kit-tagline { font-size: 1.2rem; opacity: .9; margin: 0 0 1rem; }
.kit-socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.kit-socials a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; background: rgb(255 255 255 / .16); color: inherit; text-decoration: none; font-size: .85rem; font-weight: 600; }
.kit-hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.kit-tabs { position: relative; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.kit-tabs a { color: inherit; text-decoration: none; font-weight: 700; font-size: .92rem; padding: .8rem 1rem; border-radius: 12px 12px 0 0; opacity: .85; white-space: nowrap; }
.kit-tabs a:hover { background: rgb(255 255 255 / .15); opacity: 1; }
.kit-section { padding-top: 3.5rem; scroll-margin-top: 70px; }
.section-head { margin-bottom: 1.5rem; max-width: 70ch; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }
.tick { color: var(--brand); font-weight: 800; }

.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.style-grid h3 { font-size: 1rem; margin-bottom: 1rem; }
.palette-list, .font-list { display: grid; gap: .6rem; }
.palette-option, .font-option { display: grid; gap: .4rem; padding: .8rem; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.palette-option:hover, .font-option:hover { border-color: #c7d2fe; }
.palette-option.is-selected, .font-option.is-selected { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(79 70 229 / .1); }
.swatches { display: flex; height: 36px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.swatches i { flex: 1; }
.palette-name, .font-meta { font-weight: 700; font-size: .88rem; }
.font-meta { color: var(--muted); font-weight: 600; }
.font-sample-heading { font-size: 1.7rem; line-height: 1.1; overflow-wrap: anywhere; }
.font-sample-body { color: var(--ink-2); }
.hex-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin: 1rem 0 0; }
.hex-list div { display: grid; gap: .2rem; }
.hex-list dt { display: flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--muted); font-weight: 700; }
.hex-list dt i { width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.hex-list dd { margin: 0; }
.hex { font: 600 .82rem ui-monospace, SFMono-Regular, Menlo, monospace; border: 0; background: #f1f5f9; border-radius: 8px; padding: .3rem .45rem; cursor: pointer; color: var(--ink); }
.hex:hover { background: #e0e7ff; }

.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.site-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.site-card.is-top { border-color: #fcd34d; box-shadow: 0 0 0 3px #fef3c7, var(--shadow); }
.site-preview { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.site-preview iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 1088px; border: 0; transform-origin: 0 0; pointer-events: none; }
.site-body { padding: 1.1rem 1.25rem 1.25rem; display: grid; gap: .5rem; flex: 1; align-content: start; }
.site-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.site-title h3 { margin: 0; font-size: 1.15rem; }
.site-style, .site-why { margin: 0; font-size: .9rem; color: var(--ink-2); }
.site-why { color: var(--muted); }
.site-body .actions { margin-top: .4rem; }

.group-title { font-size: 1.05rem; color: var(--ink-2); margin: 2rem 0 1rem; }
.group-title:first-of-type { margin-top: 0; }
.graphic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; grid-auto-flow: dense; }
.graphic-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.graphic-card.is-wide { grid-column: span 2; }
.graphic-card.is-tall .graphic-frame svg { max-height: 420px; width: auto; }
.graphic-card.is-highlight { border-color: #86efac; }
.graphic-frame { background: #f1f5f9; display: grid; place-items: center; padding: 1rem; flex: 1; }
.graphic-frame svg { display: block; width: 100%; height: auto; max-height: 340px; border-radius: 6px; box-shadow: 0 4px 14px rgb(15 23 42 / .12); }
.graphic-frame.is-checker { background-color: #fff; background-image: conic-gradient(#f1f5f9 25%, transparent 0 50%, #f1f5f9 0 75%, transparent 0); background-size: 20px 20px; }
.graphic-frame.is-checker svg { box-shadow: none; }
.graphic-frame.is-round svg { border-radius: 50%; }
.graphic-body { padding: .9rem 1.1rem 1.1rem; display: grid; gap: .35rem; }
.graphic-title { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.graphic-title h4 { margin: 0; font-size: 1rem; }
.graphic-meta { margin: 0 0 .3rem; color: var(--muted); font-size: .82rem; }

.caption-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.caption-card { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.caption-card h3 { font-size: 1.1rem; margin: 0; }
.caption-text { white-space: pre-line; color: var(--ink-2); font-size: .93rem; margin: 0; flex: 1; }

.platform-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.platform-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; }
.platform-item p { margin: .2rem 0 0; color: var(--ink-2); font-size: .92rem; }
.platform-item.is-missing { background: #fffbeb; border-color: #fde68a; }
.platform-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.icon-instagram.platform-icon { background: linear-gradient(45deg, #f59e0b, #e11d48, #9333ea); }
.icon-facebook.platform-icon { background: #1877f2; }
.icon-x.platform-icon { background: #000; }
.icon-linkedin.platform-icon { background: #0a66c2; }
.icon-tiktok.platform-icon { background: #111; }
.icon-youtube.platform-icon { background: #ff0000; }

.kit-cta { padding-top: 3.5rem; }
.kit-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, #eef2ff, #fdf2f8); padding: 2rem; }
.kit-cta-inner h2 { font-size: 1.6rem; }
.kit-cta-inner p { margin: 0; color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px rgb(0 0 0 / .25); z-index: 100; }

/* ---- Post composer ---- */
.composer-head { background: linear-gradient(135deg, #eef2ff, #fdf2f8); padding: 2rem 0 1.5rem; }
.composer-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: .5rem 0 .25rem; }
.composer-head p { color: var(--ink-2); margin: 0; }
.back-link { font-weight: 700; text-decoration: none; font-size: .9rem; }
.composer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; padding-top: 1.5rem; }
.composer-form { display: grid; gap: 1.15rem; }
.composer .label, .composer .field > label { font-weight: 700; font-size: .9rem; }
.composer textarea { resize: vertical; line-height: 1.45; }
.field .hint, .composer .hint { margin: 0; font-size: .8rem; }
.count { float: right; color: var(--muted); font-weight: 500; font-size: .78rem; }
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.choice { position: relative; display: grid; gap: .15rem; justify-items: center; align-content: start; text-align: center; padding: .7rem .4rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s ease; }
.choice:hover { border-color: #c7d2fe; }
.choice input, .pill-choice input, .swatch-choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(79 70 229 / .12); background: #fafaff; }
.choice:has(input:focus-visible), .pill-choice:has(input:focus-visible) span, .swatch-choice:has(input:focus-visible) i { outline: 3px solid rgb(79 70 229 / .45); outline-offset: 2px; }
.choice-icon { font-size: 1.4rem; }
.choice strong { font-size: .88rem; }
.choice small { color: var(--muted); font-size: .7rem; line-height: 1.25; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-choice { position: relative; cursor: pointer; }
.pill-choice span { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-weight: 600; font-size: .88rem; background: #fff; }
.pill-choice small { color: var(--muted); font-weight: 500; }
.pill-choice:has(input:checked) span { border-color: var(--brand); background: #eef2ff; color: var(--brand); }
.ratio { display: inline-block; height: 18px; border: 2px solid currentColor; border-radius: 3px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.swatch-choice { position: relative; display: grid; justify-items: center; gap: .25rem; cursor: pointer; }
.swatch-choice i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; outline: 1.5px solid var(--line); }
.swatch-choice:has(input:checked) i { outline: 2.5px solid var(--brand); }
.swatch-choice small { font-size: .72rem; color: var(--muted); }
.photo-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
#c-photo-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
#c-logo-thumb { height: 52px; max-width: 160px; object-fit: contain; border-radius: 10px; padding: 4px; background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 12px 12px; border: 1px solid var(--line); }
#c-logo-options .check { padding: .3rem 0; }
.check { display: flex; gap: .5rem; align-items: center; font-weight: 600; padding: .6rem 0; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.composer-preview { position: sticky; top: 80px; display: grid; gap: 1rem; }
.preview-stage { background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 20px 20px; border-radius: 12px; display: grid; place-items: center; padding: 1rem; min-height: 300px; }
.preview-stage svg { display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh; border-radius: 6px; box-shadow: 0 10px 30px rgb(15 23 42 / .18); }
.preview-actions { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.preview-status { margin-right: auto; color: var(--muted); font-size: .85rem; }
.caption-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.caption-editor textarea { width: 100%; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem; resize: vertical; margin-bottom: .75rem; }
.caption-editor .hint { margin-top: .75rem; }
.graphics-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: linear-gradient(135deg, #eef2ff, #fdf2f8); border: 1px solid #e0e7ff; border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; }
.graphics-cta p { margin: 0; color: var(--ink-2); }

/* ---- Header account links ---- */
.app-nav { align-items: center; }
.nav-account { display: inline-flex; align-items: center; gap: .45rem; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef2ff; color: var(--brand); font-weight: 800; font-size: .8rem; }
.nav-logout { margin: 0; }
.link-button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.link-button:hover { color: var(--brand); }
.app-nav .button-sm, .app-nav .button-sm:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin-top: .75rem; }
.footer-links a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--brand); }
.footer-links span { color: var(--muted); }
.company-line { font-size: .8rem; color: var(--muted); margin: .75rem auto 0; max-width: 820px; }

/* ---- Auth ---- */
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 3rem 16px; background: radial-gradient(ellipse at top left, #eef2ff, transparent 60%), radial-gradient(ellipse at bottom right, #fce7f3, transparent 55%); }
.auth-card { width: min(440px, 100%); padding: 2rem; display: grid; gap: .25rem; }
.auth-card h1 { font-size: 1.7rem; font-weight: 800; }
.auth-card form { display: grid; gap: 1rem; margin-top: 1rem; }
.auth-lead { color: var(--ink-2); margin: 0; }
.auth-submit { width: 100%; margin-top: .25rem; }
.auth-switch { text-align: center; color: var(--muted); margin: 1.25rem 0 0; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.small-link { font-size: .85rem; font-weight: 600; }
.check-top { align-items: flex-start; font-weight: 500; font-size: .92rem; padding: 0; }
.check-top input { margin-top: .2rem; flex: none; }
.alert:empty, .alert.validation-summary-valid { display: none; }
.notice { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px; padding: .8rem 1.1rem; margin-bottom: 1.25rem; font-weight: 600; }

/* ---- Account ---- */
.account { padding: 2.5rem 0 1rem; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.account-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 .25rem; }
.account-head p { color: var(--ink-2); margin: 0; }
.account-section-title { font-size: 1.2rem; margin-bottom: 1rem; }
.empty-state { text-align: center; padding: 2.5rem 1.5rem; }
.empty-state p { color: var(--ink-2); }
.site-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.site-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
.site-row form { margin: 0; }
.site-row-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; flex: none; }
.site-row-text { flex: 1; min-width: 0; display: grid; }
.site-row-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-row-text span { color: var(--muted); font-size: .85rem; }
.danger-text { color: #b91c1c; }
.narrow-account { width: min(760px, 100% - 32px); }
.narrow-account h1 { font-size: 2rem; font-weight: 800; margin: .75rem 0 1.5rem; }
.settings-card { display: grid; gap: 1rem; margin-bottom: 1.25rem; justify-items: start; }
.settings-card > .field, .settings-card > .grid-2 { width: 100%; }
.settings-card h2 { font-size: 1.15rem; margin: 0; }
.settings-card p { margin: 0; color: var(--ink-2); }
.field input:disabled { background: var(--bg); color: var(--muted); }
.danger-card { border-color: #fecaca; }
.button-danger { background: #dc2626; }
.button-danger:hover { box-shadow: 0 8px 20px rgb(220 38 38 / .25); }

/* ---- Legal pages ---- */
.legal { width: min(780px, 100% - 32px); padding: 3rem 0 1rem; line-height: 1.7; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 80px; }
.legal p, .legal li { color: var(--ink-2); }
.legal li + li { margin-top: .4rem; }
.legal-updated { color: var(--muted) !important; font-size: .9rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; }
.legal-toc a { font-size: .85rem; font-weight: 600; text-decoration: none; background: #eef2ff; border-radius: 999px; padding: .3rem .8rem; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.legal tr:last-child td { border-bottom: 0; }
mark.todo { background: #fef3c7; color: #92400e; border-radius: 4px; padding: 0 .3em; font-weight: 600; }

/* ---- Sales page ---- */
.start-head { padding: 2.5rem 0 1.5rem; background: radial-gradient(ellipse at top left, #eef2ff, transparent 60%); }
.start-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: .5rem; }
.start-head .lead { margin-bottom: .5rem; }
.sales-hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); background: radial-gradient(ellipse at top left, #eef2ff, transparent 60%), radial-gradient(ellipse at bottom right, #fce7f3, transparent 55%); overflow: hidden; }
.sales-hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.sales-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-row { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.sales-hero-visual { position: relative; padding: 0 2.5rem 3rem 0; }
.browser-frame { background: #fff; border-radius: 14px; box-shadow: 0 30px 70px rgb(15 23 42 / .2); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar span { margin-left: .75rem; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 6px; padding: .15rem .6rem; }
.browser-frame .site-preview { aspect-ratio: 16 / 11; border: 0; }
.floating-post { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 45px rgb(15 23 42 / .28); background: #fff; }
.floating-post svg { display: block; width: 100%; height: auto; }
.fp-1 { width: 38%; right: 0; bottom: 0; transform: rotate(3deg); }
.fp-2 { width: 20%; left: -4%; bottom: 8%; border-radius: 50%; transform: rotate(-4deg); }
.promise { margin-top: -1rem; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.promise-card h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.promise-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.promise-card li { padding-left: 1.8rem; position: relative; color: var(--ink-2); }
.promise-card.before li::before { content: "✕"; position: absolute; left: 0; color: #dc2626; font-weight: 800; }
.promise-card.after { border-color: #c7d2fe; box-shadow: 0 0 0 3px #eef2ff, var(--shadow); }
.promise-card.after li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.sales-section { padding-top: clamp(3.5rem, 8vw, 5.5rem); scroll-margin-top: 70px; }
.sales-head { text-align: center; max-width: 680px; margin: 0 auto 2.25rem; }
.sales-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.sales-head p { color: var(--ink-2); margin: 0; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.how-steps li { position: relative; padding-top: 2.25rem; }
.how-num { position: absolute; top: -18px; left: 1.5rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; }
.how-steps h3 { font-size: 1.1rem; }
.how-steps p { margin: 0; color: var(--ink-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature h3 { font-size: 1.1rem; margin: .6rem 0 .35rem; }
.feature p { margin: 0; color: var(--ink-2); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef2ff; font-size: 1.5rem; }
.badge.soon { background: #fef3c7; color: #92400e; margin-left: .25rem; }
.showcase-band { background: linear-gradient(180deg, transparent, #eef2ff 30%, #fdf2f8); margin-top: clamp(3.5rem, 8vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.showcase-band .sales-section { padding-top: clamp(3rem, 7vw, 4.5rem); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.showcase-item { margin: 0; text-align: center; }
.showcase-item svg { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 15px 40px rgb(15 23 42 / .15); }
.showcase-item figcaption { margin-top: .75rem; font-weight: 700; color: var(--ink-2); }
.industry-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.industry-link { display: grid; grid-template-columns: auto 1fr; gap: 0 .7rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.industry-link:hover { border-color: #c7d2fe; transform: translateY(-2px); }
.industry-link span { grid-row: span 2; font-size: 1.6rem; }
.industry-link strong { font-size: .95rem; }
.industry-link small { color: var(--muted); font-size: .8rem; }
.pricing-band { background: #0f172a; color: #fff; margin-top: clamp(3.5rem, 8vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 5rem); }
.pricing-band .sales-head p, .pricing-band .eyebrow { color: #c7d2fe; }
.pricing-band .sales-head h2 { color: #fff; }
.early-access { text-align: center; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .15); border-radius: 12px; padding: .8rem 1rem; max-width: 760px; margin: -1rem auto 2rem; color: #e2e8f0; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: .5rem; color: var(--ink); }
.plan h3 { font-size: 1.25rem; margin: 0; }
.plan-for { color: var(--muted); margin: 0; font-size: .92rem; }
.plan-price { margin: .5rem 0; }
.plan-price strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price span { display: block; color: var(--muted); font-size: .85rem; }
.plan ul { list-style: none; padding: 0; margin: .25rem 0 1rem; display: grid; gap: .45rem; flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; font-size: .93rem; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan-cta { width: 100%; }
.plan.is-highlight { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgb(79 70 229 / .3); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.dfy { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, #eef2ff, #fdf2f8); color: var(--ink); }
.dfy h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.dfy p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.email-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); }
.email-teaser h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.email-teaser p { color: var(--ink-2); }
.email-mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 45px rgb(15 23 42 / .12); padding: 1rem 1.25rem; font-size: .92rem; }
.email-mock-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.email-mock-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.email-mock-body { padding-top: .8rem; color: var(--ink-2); line-height: 1.6; }
.email-mock-lg { font-size: 1rem; padding: 1.5rem; transform: rotate(1.5deg); }
.narrow-faq { width: min(820px, 100% - 32px); }
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--ink-2); }
.final-cta { padding-top: clamp(3.5rem, 8vw, 5.5rem); }
.final-cta-inner { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.final-cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; }
.final-cta-inner p { color: #e0e7ff; margin-bottom: 1.5rem; }
.final-cta-inner .button { background: #fff; color: var(--ink); }
.email-plans { grid-template-columns: repeat(3, 1fr); }
.fine-print { color: var(--muted); font-size: .88rem; text-align: center; max-width: 760px; margin: 1.25rem auto 0; }
.enquiry { max-width: 820px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem); }
.enquiry h2 { font-size: 1.7rem; font-weight: 800; }
.enquiry > p { color: var(--ink-2); }
.enquiry-form { display: grid; gap: 1rem; justify-items: start; }
.enquiry-form > .field, .enquiry-form > .grid-2, .enquiry-form > .alert { width: 100%; }
.enquiry-form .fine-print { text-align: left; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Domain request ---- */
.domain-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(135deg, #ffffff, #f5f3ff); border-color: #ddd6fe; }
.domain-copy h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.domain-copy p { color: var(--ink-2); }
.domain-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-weight: 600; color: var(--ink-2); }
.domain-form { display: grid; gap: 1rem; justify-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.domain-fields { display: grid; gap: .9rem; width: 100%; }
.domain-form .fine-print { text-align: left; margin: 0; }
.domain-card h1 { margin-bottom: .25rem; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .site-grid, .caption-grid { grid-template-columns: 1fr 1fr; }
  .hero-app-inner { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
}
@media (max-width: 1000px) {
  .plan-grid, .industry-links { grid-template-columns: 1fr 1fr; }
  .sales-hero-inner, .email-teaser, .domain-band { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .composer { grid-template-columns: 1fr; }
  .composer-preview { position: static; order: -1; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .how-steps, .feature-grid, .promise-grid, .showcase-grid, .plan-grid, .email-plans { grid-template-columns: 1fr; }
  .industry-links { grid-template-columns: 1fr; }
  .how-steps { gap: 2rem; }
  .sales-hero-visual { padding: 0 1rem 2.5rem 0; }
  .grid-2, .grid-3, .steps, .style-grid, .site-grid, .caption-grid, .platform-list { grid-template-columns: 1fr; }
  .graphic-card.is-wide { grid-column: auto; }
  .hex-list { grid-template-columns: repeat(3, 1fr); }
  .app-nav .hide-sm { display: none; }
  .app-nav { gap: .9rem; }
  .site-row { flex-wrap: wrap; }
  .kit-hero-actions { width: 100%; }
}

/* ---- Seasonal posts & calendar ---- */
.season-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.season-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.season-frame { flex: none; padding: 1rem; }
.season-frame svg { max-height: 260px; }
.season-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.season-body h3 { margin: 0; font-size: 1.05rem; }
.season-when { margin: 0; font-size: .88rem; color: var(--ink-2); }
.season-when span { color: var(--muted); }
.season-caption summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--brand); }
.season-caption .caption-text { margin-top: .5rem; font-size: .88rem; }
.season-body .actions { margin-top: auto; padding-top: .3rem; }
.calendar { padding-block: 1rem 4rem; }
.calendar-month { font-size: 1.35rem; margin: 2.2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.calendar-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1.1rem; }
.composer-head p { max-width: 70ch; }
.calendar-hint { margin-top: 1.25rem; }
.seasonal-more { margin-top: 1.25rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.signature-teaser { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.signature-teaser h2 { margin: 0 0 .5rem; }
.signature-teaser p { color: var(--ink-2); margin: 0 0 1rem; max-width: 60ch; }
.signature-mini { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; box-shadow: 0 10px 30px rgb(15 23 42 / .08); }
.signature-mini > span:last-child { display: flex; flex-direction: column; gap: .3rem; min-width: 0; flex: 1; }
.signature-mini strong { color: var(--b-primary); font-size: 1.05rem; }
.signature-mini-badge { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--b-primary); color: var(--b-on-primary); display: grid; place-items: center; font-weight: 800; }
.signature-mini-title { font-size: .85rem; color: var(--muted); }
.signature-mini-line { height: 8px; border-radius: 4px; background: var(--line); width: 90%; }
.signature-mini-line.short { width: 55%; background: var(--b-accent); }
@media (max-width: 760px) { .signature-teaser { grid-template-columns: 1fr; } }

/* ---- Email signature ---- */
.sig-preview-panel { display: flex; flex-direction: column; gap: .9rem; }
.sig-email { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; color: #1f2937; }
.sig-email-head { display: flex; gap: 6px; padding: .6rem .8rem; border-bottom: 1px solid var(--line); background: #f8fafc; }
.sig-email-head span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.sig-email-body { padding: 1.2rem 1.4rem 1.6rem; font: 14px/1.6 Arial, Helvetica, sans-serif; overflow-x: auto; }
.sig-email-body p { margin: 0 0 .8rem; }
#sig-preview { margin-top: 1rem; }
.sig-actions { gap: .6rem; }
.sig-help { margin-top: 1.25rem; }
.sig-help h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.sig-help details { border-top: 1px solid var(--line); padding: .7rem 0; }
.sig-help summary { cursor: pointer; font-weight: 700; }
.sig-help ol { margin: .6rem 0 .4rem; padding-left: 1.2rem; color: var(--ink-2); font-size: .93rem; }
.sig-help li { margin-bottom: .3rem; }
#sig-logo-thumb { height: 44px; max-width: 140px; object-fit: contain; border-radius: 8px; padding: 3px; border: 1px solid var(--line); background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
#sig-url-row input { width: 100%; }
#sig-tagline-text, .sig-extra-text { font-weight: 500; color: var(--muted); }
.signature-page .composer-preview { position: static; }
.signature-page > *, .sig-preview-panel, .sig-email { min-width: 0; }

/* ---- Opening hours (start form) ---- */
.hours-table { display: grid; gap: .4rem; margin: .4rem 0 .8rem; max-width: 520px; }
.hours-table.is-off { opacity: .45; }
.hours-row { display: grid; grid-template-columns: 9.5rem 1fr auto 1fr; gap: .6rem; align-items: center; }
.hours-row input[type=time] { min-width: 0; width: 100%; font: inherit; padding: .5rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.hours-row input[type=time]:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgb(79 70 229 / .12); }
.hours-day input { flex: none; }
.hours-day { padding: .3rem 0; }
.hours-to { color: var(--muted); font-size: .9rem; }
.hours-closed { display: none; color: var(--muted); font-size: .9rem; grid-column: 2 / -1; }
.hours-row.is-closed input[type=time], .hours-row.is-closed .hours-to { display: none; }
.hours-row.is-closed .hours-closed { display: block; }
#hours-copy { justify-self: start; margin-top: .3rem; white-space: normal; text-align: left; }
@media (max-width: 520px) {
  .hours-row { grid-template-columns: 1fr auto 1fr; gap: .2rem .4rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
  .hours-day { grid-column: 1 / -1; }
  .hours-closed { grid-column: 1 / -1; }
}
.season-note { margin: 0; font-size: .82rem; color: var(--ink-2); background: var(--soft, #f5f5ff); border-radius: 8px; padding: .45rem .6rem; }

/* ---- Logo & colours (start form) ---- */
.logo-row { display: flex; gap: 1.2rem; align-items: center; margin: .3rem 0 1.2rem; flex-wrap: wrap; }
.logo-drop { width: 160px; height: 96px; border-radius: 14px; border: 1.5px dashed var(--line); display: grid; place-items: center; background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 14px 14px; color: var(--muted); font-size: .85rem; flex: none; overflow: hidden; }
.logo-drop img { max-width: 88%; max-height: 80%; object-fit: contain; }
.logo-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-width: 0; }
.logo-actions .hint { width: 100%; margin: 0; }
.colour-mode { margin-bottom: 1rem; }
.own-colours { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; align-items: start; transition: opacity .15s; }
.own-colours.is-off { opacity: .45; }
.colour-input { display: flex; gap: .5rem; align-items: center; }
.colour-input input[type=color] { width: 52px; height: 46px; padding: 3px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex: none; }
.field .colour-input .colour-hex { width: 100%; min-width: 0; font-family: ui-monospace, monospace; text-transform: uppercase; }
.colour-hex.is-invalid { border-color: #dc2626; }
.logo-swatches { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-top: .5rem; font-size: .8rem; color: var(--muted); }
.logo-swatches span { width: 100%; }
.swatch-btn { width: 28px; height: 28px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatch-btn:hover, .swatch-btn:focus-visible { box-shadow: 0 0 0 2px var(--brand); outline: none; }
.colour-sample { --p: #4f46e5; --s: #0ea5e9; --on-p: #fff; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 1rem; display: grid; gap: .55rem; align-self: stretch; }
.colour-sample-bar { height: 10px; border-radius: 6px; display: grid; grid-template-columns: 2fr 1fr; overflow: hidden; background: var(--s); box-shadow: inset 0 0 0 0 transparent; }
.colour-sample-bar::before { content: ""; background: var(--p); }
.colour-sample-button { justify-self: start; background: var(--p); color: var(--on-p); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .85rem; }
.colour-sample-text { color: var(--s); font-weight: 800; font-size: 1.1rem; }
@media (max-width: 760px) { .own-colours { grid-template-columns: 1fr 1fr; } .colour-sample { grid-column: 1 / -1; } }
.own-colour-form { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.own-colour-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.own-colour-row label { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; }
.own-colour-row input[type=color] { width: 44px; height: 38px; padding: 2px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.own-colour-form .hint { margin: 0; font-size: .82rem; }
.palette-heading { margin-top: .4rem; }
