/* CanadaSpaces — one stylesheet, no framework.
   Brand: "canada" + "spaces" in a colour block. Colour = type of space.
   Two volumes: lively (default) and calm (workspaces). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFF8F2;
  --surface: #FFFFFF;
  --ink: #24123A;
  --muted: #5E4E6B;
  --line: #F0E2D6;
  --sun: #FFC93C;
  --coral: #D9412B;
  --cat: var(--coral);
  --cat-text: #FFFFFF;
  --cat-tint: #FFE3DA;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --btn-r: 999px;
  --h-weight: 800;
  --h-track: -0.035em;
  --shadow: 0 10px 30px rgba(36, 18, 58, 0.08);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

body[data-tone="calm"] {
  --bg: #FBF9F7;
  --line: #ECE6E0;
  --muted: #4A4458;
  --r-lg: 14px;
  --r-md: 12px;
  --r-sm: 8px;
  --btn-r: 8px;
  --h-weight: 700;
  --h-track: -0.025em;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--cat); }
body[data-tone="calm"] a:hover { color: #08705F; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding-top: 56px; padding-bottom: 8px; }
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: var(--h-weight); letter-spacing: var(--h-track); margin-bottom: 28px; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: var(--h-weight); letter-spacing: -0.02em; margin-bottom: 20px; }
.h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; font-size: 26px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.wordmark-block { padding: 0.06em 0.12em 0.14em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); padding-top: env(safe-area-inset-top, 0px); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-cat { font-size: 14px; font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-weight: 500; font-size: 16px; }
.main-nav a { text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--btn-r); border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.1; text-align: center; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cat); color: var(--cat-text); }
.btn-primary:hover { color: var(--cat-text); filter: brightness(0.94); }
body[data-tone="calm"] .btn-primary { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; opacity: 0.92; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { color: var(--ink); filter: brightness(0.96); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.main-nav .btn-primary { color: var(--cat-text); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--surface); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; margin: 16px 0; }
.notice-ok { background: #E3F5EE; color: #0B4F45; }
.notice-error { background: #FDE7E3; color: #8A2414; }
.form-card { background: var(--surface); padding: 28px; border-radius: var(--r-lg); margin-top: 28px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Home hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.hero-copy { flex: 1 1 540px; min-width: 0; }
.hero-title { font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
.hero-title.center { font-size: clamp(40px, 6vw, 76px); }
.hero-word { display: inline-block; padding: 0.02em 0.14em 0.1em; margin-top: 0.08em; transition: background-color 0.3s; }
.lede { font-size: 20px; color: var(--muted); max-width: 560px; margin-top: 26px; }
.lede.center { margin-left: auto; margin-right: auto; }
.search { margin-top: 34px; background: var(--surface); border-radius: 24px; padding: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; box-shadow: 0 14px 40px rgba(217, 65, 43, 0.14); }
.search .field { flex: 1 1 220px; padding: 6px 12px; }
.search .field select { border: 0; padding: 4px 0; min-height: 40px; font-size: 18px; font-weight: 500; background: transparent; }
.search .btn { flex: 0 0 auto; border-radius: 18px; }
.hero-collage { flex: 1 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.collage-tile { height: 210px; border-radius: var(--r-lg); display: flex; align-items: flex-end; padding: 16px; }
.collage-tile span { background: #fff; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.collage-tile.t0 { transform: rotate(-3deg); }
.collage-tile.t1 { transform: rotate(2deg) translateY(22px); }
.collage-tile.t2 { transform: rotate(2deg); }
.collage-tile.t3 { transform: rotate(-2deg) translateY(22px); }
@media (max-width: 720px) { .hero-collage { display: none; } .hero { padding-top: 36px; } }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: var(--r-lg); background: var(--t); text-decoration: none; color: var(--ink); min-height: 200px; }
.tile:hover { color: var(--ink); box-shadow: inset 0 0 0 3px var(--c); }
.tile-block { background: var(--c); color: var(--ct); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; padding: 0.04em 0.18em 0.12em; line-height: 1.1; }
.tile-desc { color: #3F2F4D; font-size: 16px; }
.tile-count { margin-top: auto; font-weight: 700; font-size: 15px; }

/* Bands, scenes, chips */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; padding-bottom: 56px; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.scene-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.scene-ph { aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--t); padding: 14px; display: flex; align-items: flex-start; }
.pill { background: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.scene-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.scene-meta { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; text-decoration: none; }
.chip-strong { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-strong:hover { color: #fff; }
.chip-static { font-weight: 600; }
.count { font-size: 13px; font-weight: 700; background: var(--cat-tint); color: var(--ink); padding: 2px 8px; border-radius: 999px; }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: var(--surface); border-radius: var(--r-lg); padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 44px; height: 44px; border-radius: 999px; background: var(--cat-tint); color: var(--ink); align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.steps h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.cta-band { background: var(--coral); color: #fff; border-radius: 36px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 56px; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 640px; }
.cta-band p { margin-top: 12px; color: #FFE9E3; font-size: 18px; max-width: 600px; }
@media (max-width: 600px) { .cta-band { padding: 36px 24px; border-radius: 24px; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline-offset: -3px; }
.card-media { position: relative; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ph { width: 100%; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip-on-photo { position: absolute; bottom: 12px; left: 12px; background: #fff; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.card-meta { color: var(--muted); font-size: 15px; }
.card-summary { font-size: 15px; color: #3F2F4D; }
.card-price { margin-top: 8px; font-weight: 800; font-size: 17px; }
.card-price span { font-weight: 500; color: var(--muted); }
.badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-decoration: none; position: relative; z-index: 2; }
.badge-featured { background: var(--sun); color: var(--ink); }
.badge-demo { background: #fff; color: var(--muted); border: 1px dashed var(--muted); }
.badge-cat { background: var(--cat-tint); color: var(--ink); }
.badge-ok { background: #D9F3EE; color: #0B4F45; }

/* List page head */
.page-head { background: var(--cat-tint); padding: 28px 0 28px; }
.calm-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-bottom: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.page-title { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; font-weight: var(--h-weight); letter-spacing: var(--h-track); }
body[data-tone="calm"] .page-title { font-size: clamp(30px, 4vw, 46px); }
.page-intro { margin-top: 14px; font-size: 19px; color: #3F2F4D; max-width: 720px; }
.scene-tabs { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.scene-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.scene-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.scene-tabs a[aria-current="page"] .count { background: rgba(255, 255, 255, 0.2); color: #fff; }
body[data-tone="calm"] .scene-tabs { gap: 2px; margin-top: 20px; }
body[data-tone="calm"] .scene-tabs a { background: transparent; border-radius: 0; border-bottom: 3px solid transparent; font-weight: 500; padding: 0 14px; }
body[data-tone="calm"] .scene-tabs a[aria-current="page"] { background: transparent; color: var(--ink); border-bottom-color: var(--cat); font-weight: 700; }
body[data-tone="calm"] .scene-tabs a[aria-current="page"] .count { background: var(--cat-tint); color: var(--ink); }

.quick-answer { margin-top: 24px; background: var(--surface); border-radius: var(--r-md); padding: 20px 24px; border: 1px solid var(--line); }
.quick-answer p:first-child { font-size: 18px; max-width: 900px; }
.quick-answer .updated { margin-top: 8px; font-size: 14px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 20px; }
.filters .field { flex: 1 1 160px; }
.results-count { color: var(--muted); font-size: 15px; margin: 22px 0 14px; }
.results-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.results-split .results { flex: 999 1 600px; min-width: 0; }
.results-split .side-card { flex: 1 1 300px; margin-top: 56px; }
.empty { background: var(--surface); border-radius: var(--r-md); padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.pagination { display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: 28px; font-weight: 600; }
.pagination a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--btn-r); text-decoration: none; background: var(--surface); }

/* Calm rows (workspaces) */
.rows { display: flex; flex-direction: column; gap: 14px; }
.row-card { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.row-media { flex: 1 1 200px; min-height: 180px; }
.row-img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.row-body { flex: 3 1 360px; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.row-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sponsored { font-size: 13px; font-weight: 600; color: #8A4A0F; margin-bottom: 4px; }
.row-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.row-title a { text-decoration: none; }
.row-meta { color: var(--muted); font-size: 15px; margin-top: 4px; }
.signals { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.signals li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #EAF6F3; color: #0B4F45; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { border-collapse: collapse; min-width: 420px; width: 100%; font-size: 15px; }
.price-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 4px 12px 4px 0; }
.price-table td { font-weight: 700; padding: 8px 12px 8px 0; border-top: 1px solid var(--line); }
.data-table { border-collapse: collapse; width: 100%; min-width: 480px; background: var(--surface); border-radius: var(--r-sm); overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: color-mix(in srgb, var(--cat-tint) 60%, #fff); border-top: 0; font-size: 14px; }
.data-table.small { font-size: 13px; }

/* FAQ + related */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > .faq { flex: 999 1 560px; min-width: 0; }
.two-col > .related { flex: 1 1 240px; }
.faq h2 { font-size: clamp(24px, 3vw, 32px); font-weight: var(--h-weight); letter-spacing: -0.02em; margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { font-size: 18px; font-weight: 700; line-height: 1.35; display: inline; }
.faq details p { padding: 0 0 16px; color: #3F2F4D; max-width: 760px; }
.related ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 8px; }
.related a { font-weight: 600; }
.cta-strip { margin: 56px 0; padding: 26px 30px; border-radius: var(--r-lg); background: #FFF1C7; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-strip p { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; max-width: 720px; }

/* Space page */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(260px, 42vw, 460px); margin-top: 8px; }
.gallery .g-main { grid-row: span 2; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; } .gallery .g-side { display: none; } }
.detail { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; padding: 32px 0 24px; }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-loc { color: var(--muted); font-size: 17px; }
.great-for { font-size: 16px; }
.great-for a { font-weight: 600; }
.block { margin-top: 26px; }
.block h2 { font-size: 26px; font-weight: var(--h-weight); letter-spacing: -0.02em; margin-bottom: 12px; }
.block p + p { margin-top: 12px; }
.lead-sm { font-size: 19px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--cat-tint); box-shadow: inset 0 0 0 5px var(--cat-tint), inset 0 0 0 9px var(--cat); }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.two-up h2 { font-size: 22px; }
.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
.hours dd { margin: 0; color: var(--muted); }
.claim { margin-top: 28px; padding: 20px 24px; border-radius: var(--r-md); background: #FFF1C7; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.claim p { font-weight: 600; max-width: 560px; }
.side-card { background: var(--surface); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 44px rgba(217, 65, 43, 0.12); }
body[data-tone="calm"] .side-card { box-shadow: none; border: 1px solid var(--line); }
.side-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.enquiry { flex: 1 1 340px; position: sticky; top: 16px; }
@media (max-width: 960px) { .enquiry { position: static; } }
.from { font-size: 16px; color: var(--muted); }
.from strong { font-size: 32px; color: var(--ink); letter-spacing: -0.02em; }

/* Hosts */
.hosts-hero { padding-top: 72px; padding-bottom: 16px; }
.billing { display: flex; justify-content: center; gap: 0; margin: 0 auto 32px; background: #F3E8DE; border-radius: 999px; padding: 5px; width: max-content; max-width: 100%; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.billing input:checked + label { background: #fff; }
.billing input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border-radius: 30px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan-blurb { color: var(--muted); }
.plan-price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.price-y { display: none; }
#plans:has(#bill-y:checked) .price-m { display: none; }
#plans:has(#bill-y:checked) .price-y { display: inline; }
.plan .ticks { grid-template-columns: 1fr; }
.plan .btn { margin-top: auto; }
.plan-hi { background: var(--coral); color: #fff; box-shadow: 0 18px 44px rgba(217, 65, 43, 0.28); }
.plan-hi .plan-blurb, .plan-hi .plan-price small { color: #FFE9E3; }
.plan-hi .ticks li::before { background: var(--sun); box-shadow: none; }
.plan-flag { position: absolute; top: -14px; left: 32px; background: var(--sun); color: var(--ink); font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 999px; }

/* Lists of cities */
.city-list { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 32px; }
.city-list li { break-inside: avoid; padding: 6px 0; }
.city-list a { font-weight: 600; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }

/* Prose */
.prose h2 { font-size: 24px; font-weight: 800; margin: 32px 0 10px; }
.prose p { margin-top: 12px; max-width: 70ch; }

/* Footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h2 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: 12px; color: var(--muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 600px) { .search .btn { width: 100%; } .main-nav { width: 100%; } }

/* Language switch */
.lang-switch { font-weight: 700; text-decoration: none; border: 2px solid var(--line); border-radius: var(--btn-r); padding: 6px 14px; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }

/* Admin (always calm) */
body.admin .section { padding-top: 32px; }
.admin-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 20px; }
.stat { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; text-decoration: none; }
.stat strong { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }
.stat:hover { border-color: var(--ink); color: var(--ink); }
.inline-form { display: inline-flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.admin-form legend { font-weight: 700; padding: 0 6px; }
.field.check { justify-content: flex-end; }
.field.check label { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--ink); font-weight: 600; min-height: 48px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; }
.scene-group + .scene-group { margin-top: 6px; }
.edit-table { min-width: 560px; }
.edit-table input, .edit-table select { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; background: var(--surface); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photo-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.photo-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.sticky-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; background: var(--surface); border-top: 1px solid var(--line); }
.pill-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EEE9F2; color: var(--ink); text-transform: lowercase; }
.st-published, .st-sent, .st-approved { background: #D9F3EE; color: #0B4F45; }
.st-draft, .st-pending, .st-new { background: #FFF1C7; color: #5A4300; }
.st-hidden, .st-rejected { background: #EEE9F2; color: var(--muted); }
.st-failed { background: #FDE7E3; color: #8A2414; }
.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.lead-card.is-done { opacity: 0.72; }
.lead-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.lead-head .h4 { margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pre, .mail-body { white-space: pre-wrap; }
.mail-body { font: 13px/1.5 ui-monospace, Menlo, monospace; background: var(--bg); padding: 10px; border-radius: var(--r-sm); max-width: 520px; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; } }
