/* Rumm — Skandinaviskt minimalt design system */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Instrument+Serif:ital,wght@0,400;1,400;1,500&family=JetBrains+Mono:wght@400;500&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --bg: oklch(0.985 0.004 80);
  --surface: oklch(0.995 0.003 80);
  --surface-2: oklch(0.97 0.004 80);
  --border: oklch(0.91 0.005 80);
  --border-strong: oklch(0.84 0.006 80);
  --text: oklch(0.20 0.008 80);
  --text-muted: oklch(0.46 0.008 80);
  --text-subtle: oklch(0.62 0.008 80);

  --accent: oklch(0.42 0.07 145);
  --accent-soft: oklch(0.94 0.025 145);
  --accent-ink: oklch(0.30 0.06 145);

  --warn: oklch(0.55 0.09 65);
  --warn-soft: oklch(0.94 0.04 75);
  --info: oklch(0.50 0.07 250);
  --info-soft: oklch(0.94 0.025 250);
  --rose: oklch(0.55 0.08 25);
  --rose-soft: oklch(0.94 0.03 25);

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --r-xl: 14px;

  --shadow-sm: 0 1px 0 rgba(20, 20, 16, 0.04);
  --shadow: 0 1px 2px rgba(20, 20, 16, 0.04), 0 0 0 0.5px rgba(20, 20, 16, 0.06);

  --font-sans: "Instrument Sans", ui-sans-serif, -apple-system, "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

button, input, select, textarea { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

/* ── App shell ──────────────────────────────────────────── */
.app {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 14px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.brand-mark {
  width: 26px; height: 26px;
  display: block;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.venue-switcher {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: border-color .15s;
  width: 100%;
}
.venue-switcher:hover { border-color: var(--border-strong); }
.vs-left { display: flex; align-items: center; gap: 9px; min-width: 0; }
.vs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.vs-name { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-sub { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.vs-chevron { color: var(--text-subtle); }

.venue-dropdown {
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 4px;
  z-index: 20;
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}
.venue-option {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 8px 10px;
  border-radius: var(--r);
  text-align: left; font-size: 13px;
  transition: background .1s;
}
.venue-option:hover { background: var(--surface-2); }
.venue-option.active { background: var(--surface-2); }
.venue-option-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.nav { display: flex; flex-direction: column; gap: 1px; }
.nav-section-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-transform: uppercase;
  padding: 0 8px 8px 8px;
  margin-top: 14px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px;
  border-radius: var(--r);
  color: var(--text-muted);
  font-size: 13.5px;
  transition: background .12s, color .12s;
  width: 100%; text-align: left;
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: var(--surface-2); color: var(--text); font-weight: 500; }
.nav-icon { width: 16px; height: 16px; display: grid; place-items: center; color: var(--text-subtle); flex-shrink: 0; }
.nav-item.active .nav-icon { color: var(--accent); }
.nav-badge { margin-left: auto; font-size: 11px; color: var(--text-subtle); font-variant-numeric: tabular-nums; }

.sidebar-footer { margin-top: auto; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r); }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 500; }
.user-role { font-size: 11px; color: var(--text-subtle); }

/* ── Main ───────────────────────────────────────────────── */
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.topbar-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.topbar-eyebrow { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.topbar-title { font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.015em; font-weight: 500; line-height: 1.1; margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.search {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  width: 280px;
  color: var(--text-muted);
  font-size: 13px;
}
.search input { border: none; outline: none; background: transparent; flex: 1; min-width: 0; }
.search kbd { font-family: var(--font-mono); font-size: 10px; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 3px; color: var(--text-subtle); }
.search { position: relative; }
turbo-frame#search-results:not(:empty) { display: block; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 200; overflow: hidden;
}
.search-group { padding: 6px 0; border-bottom: 1px solid var(--border-subtle); }
.search-group:last-child { border-bottom: none; }
.search-group-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); padding: 4px 12px 2px; }
.search-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 12px; text-decoration: none; color: var(--text); font-size: 13px; }
.search-item:hover { background: var(--surface-2); }
.search-item-name { font-weight: 500; }
.search-item-sub { font-size: 11px; color: var(--text-subtle); white-space: nowrap; }
.search-empty { padding: 16px 12px; font-size: 13px; color: var(--text-subtle); }

.content { padding: 28px 32px 60px 32px; display: flex; flex-direction: column; gap: 28px; max-width: 1320px; }

/* ── Btn ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r);
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background .12s, border-color .12s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-muted); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { padding: 5px 9px; font-size: 12px; }
.btn-icon { padding: 7px; width: 32px; height: 32px; justify-content: center; }
.btn-danger { background: var(--rose-soft); color: var(--rose); border-color: transparent; }
.btn-danger:hover { background: var(--rose); color: white; }

/* ── Card ─────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.card-head { padding: 16px 18px 14px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-title { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.card-body { padding: 0 18px 18px 18px; }
.card-divider { border-top: 1px solid var(--border); }

/* ── Chip ─────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px;
  font-size: 11.5px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.chip.success { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip.warn    { background: var(--warn-soft); color: oklch(0.40 0.09 65); border-color: transparent; }
.chip.info    { background: var(--info-soft); color: oklch(0.36 0.07 250); border-color: transparent; }
.chip.rose    { background: var(--rose-soft); color: oklch(0.38 0.08 25); border-color: transparent; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── Table ────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl thead th {
  text-align: left; font-weight: 500; font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-subtle); padding: 10px 16px;
  border-bottom: 1px solid var(--border); background: var(--surface);
}
.tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr { cursor: pointer; transition: background .1s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { font-variant-numeric: tabular-nums; }

/* ── Calendar ─────────────────────────────────────────────── */
.cal {
  display: grid;
  grid-template-columns: 60px repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cal-head {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  background: var(--surface-2);
  font-size: 11px;
  color: var(--text-muted);
}
.cal-head.day { display: flex; flex-direction: column; gap: 2px; }
.cal-head.day .dow { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.cal-head.day .date { font-family: var(--font-serif); font-size: 17px; color: var(--text); font-weight: 500; }
.cal-head.day.today .date { color: var(--accent); }
.cal-time { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6px 10px; font-size: 11px; color: var(--text-subtle); font-variant-numeric: tabular-nums; text-align: right; }
.cal-cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; min-height: 48px; }
.cal-event {
  position: absolute; left: 4px; right: 4px;
  border-radius: var(--r-sm);
  padding: 6px 8px; font-size: 11.5px; line-height: 1.25;
  background: var(--accent-soft); border-left: 2px solid var(--accent); color: var(--accent-ink);
  overflow: hidden; cursor: pointer; transition: filter .1s;
  text-decoration: none;
}
.cal-event:hover { filter: brightness(0.97); }
.cal-event.info { background: var(--info-soft); border-left-color: var(--info); color: oklch(0.32 0.07 250); }
.cal-event.warn { background: var(--warn-soft); border-left-color: var(--warn); color: oklch(0.40 0.09 65); }
.cal-event.rose { background: var(--rose-soft); border-left-color: var(--rose); color: oklch(0.38 0.08 25); }
.ev-title { font-weight: 500; font-size: 12px; }
.ev-meta { font-size: 10.5px; opacity: 0.85; margin-top: 1px; }

/* ── Misc helpers ─────────────────────────────────────────── */
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.split-wide { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

.eyebrow { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.h-display { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.divider { border-top: 1px solid var(--border); }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; }
.section-head h2 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.section-link { font-size: 12.5px; color: var(--text-muted); }
.section-link:hover { color: var(--text); }

.metric-num { font-family: var(--font-serif); font-size: 38px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.metric-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.metric-trend { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.metric-trend.up { color: var(--accent-ink); }
.metric-trend.down { color: oklch(0.45 0.09 25); }

/* ── Sheet / modal ───────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0;
  background: rgba(20, 20, 16, 0.30);
  display: grid; place-items: center;
  z-index: 100;
  animation: fade .15s ease-out;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  background: var(--bg);
  border-radius: var(--r-xl);
  width: 720px; max-width: 94vw; max-height: 88vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  animation: rise .18s ease-out;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 26px 18px 26px; border-bottom: 1px solid var(--border); }
.sheet-body { padding: 22px 26px; }
.sheet-foot { padding: 14px 26px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; background: var(--surface); }

/* ── Avatars ─────────────────────────────────────────────── */
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 500; background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); flex-shrink: 0; }
.avatar-lg { width: 40px; height: 40px; font-size: 14px; }

/* ── List rows ───────────────────────────────────────────── */
.list-row { display: flex; align-items: center; padding: 12px 18px; gap: 12px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .1s; }
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: var(--surface-2); }
.lr-title { font-size: 13.5px; font-weight: 500; }
.lr-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.lr-meta { font-size: 12px; color: var(--text-muted); text-align: right; }

/* ── Tabs ────────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); gap: 4px; }
.tab { padding: 10px 14px; font-size: 13px; color: var(--text-muted); cursor: pointer; border-bottom: 1.5px solid transparent; margin-bottom: -1px; transition: color .1s, border-color .1s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); font-weight: 500; }

/* ── Form fields ─────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 4px; }
.field-label { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-subtle); }
.field-value { font-size: 13.5px; }
.form-input {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13.5px;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.form-input:focus { border-color: var(--accent); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }

/* ── Flash ───────────────────────────────────────────────── */
.flash { padding: 10px 16px; border-radius: var(--r); font-size: 13px; margin-bottom: 16px; }
.flash.notice { background: var(--accent-soft); color: var(--accent-ink); }
.flash.alert  { background: var(--rose-soft); color: var(--rose); }

/* ── Lägg till i app/assets/stylesheets/application.css ─────
   Trix editor – Rumm-stil
   ──────────────────────────────────────────────────────────── */

trix-toolbar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--r) var(--r) 0 0;
  padding: 6px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

trix-toolbar .trix-button-group {
  display: flex;
  gap: 1px;
  border: none;
  margin: 0;
}

trix-toolbar .trix-button {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .1s, color .1s;
  white-space: nowrap;
}

trix-toolbar .trix-button:hover {
  background: var(--surface);
  color: var(--text);
}

trix-toolbar .trix-button.trix-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

trix-toolbar .trix-button--icon::before {
  opacity: 0.6;
}

trix-toolbar .trix-button--icon.trix-active::before {
  opacity: 1;
}

trix-toolbar .trix-button-group-spacer {
  flex: 1;
}

/* Ta bort fil-upload-knappen */
trix-toolbar .trix-button-group--file-tools {
  display: none;
}

trix-editor {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  min-height: 200px;
  outline: none;
}

trix-editor:focus {
  border-color: var(--accent);
}

trix-editor h1 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
trix-editor h2 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
trix-editor strong { font-weight: 600; }
trix-editor em { font-style: italic; color: var(--text-muted); }
trix-editor a { color: var(--accent); text-decoration: underline; }
trix-editor blockquote {
  border-left: 3px solid var(--border-strong);
  margin: 8px 0; padding: 4px 16px;
  color: var(--text-muted); font-style: italic;
}
trix-editor ul, trix-editor ol { padding-left: 20px; margin: 8px 0; }
trix-editor li { margin-bottom: 4px; }
trix-editor pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px; font-family: var(--font-mono);
  font-size: 13px; overflow-x: auto;
}

/* ── Marketing site ─────────────────────────────────────── */
.mkt-container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.mkt-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.mkt-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.mkt-nav { display: flex; align-items: center; gap: 28px; }
.mkt-nav-link { font-size: 13.5px; color: var(--text-muted); transition: color .12s; }
.mkt-nav-link:hover { color: var(--text); }
.mkt-header-actions { display: flex; align-items: center; gap: 10px; }

.mkt-main { display: flex; flex-direction: column; }

.hero { padding: 96px 0 72px 0; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero h1 { font-family: var(--font-serif); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.hero-sub { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; margin-top: 6px; }

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 100px; font-weight: 500;
}

.mkt-section { padding: 72px 0; }
.mkt-section-alt { background: var(--surface-2); }
.mkt-section-narrow .mkt-container { max-width: 720px; }

.section-title { font-family: var(--font-serif); font-size: 30px; font-weight: 500; letter-spacing: -0.015em; margin: 12px 0 8px 0; }
.section-lead { font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 620px; margin: 0 0 32px 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.feature-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; margin-bottom: 12px; }
.feature-card h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px 0; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.mkt-photo-band { padding: 0 0 72px 0; }
.mkt-photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-xl); display: block; }

.split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.split-image img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r-xl); display: block; }

.page-hero { padding: 56px 0 64px 0; }
.page-hero .split-image img { max-height: 340px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.steps-grid-stacked { grid-template-columns: 1fr; gap: 20px; }
.step-number {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent); color: var(--bg);
  font-family: var(--font-serif); font-style: italic; font-size: 14px; margin-bottom: 14px;
}
.step h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px 0; }
.step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.mkt-cta { padding: 64px 0; background: var(--accent-ink); }
.mkt-cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mkt-cta h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: var(--bg); margin: 0; }
.mkt-cta p { color: oklch(0.9 0.02 145); margin: 0 0 10px 0; }
.mkt-cta .btn.primary { background: var(--bg); color: var(--accent-ink); border-color: var(--bg); }
.mkt-cta .btn.primary:hover { background: var(--surface-2); }

.pricing-card { max-width: 480px; }
.pricing-card-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.pricing-card-body h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin: 0; }
.pricing-checklist { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-checklist li { font-size: 13.5px; color: var(--text-muted); padding-left: 20px; position: relative; }
.pricing-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.pricing-card-body .btn { align-self: flex-start; margin-top: 8px; }

.info-block, .legal-block { padding: 20px 0; border-top: 1px solid var(--border); }
.info-block h2, .legal-block h2 { font-size: 16px; font-weight: 500; margin: 0 0 6px 0; }
.info-block p, .legal-block p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.mkt-draft-band { padding: 24px 0 0 0; }
.mkt-draft-notice {
  background: var(--warn-soft); color: var(--warn);
  border-radius: var(--r); padding: 10px 14px;
  font-size: 12.5px; font-weight: 500; margin-bottom: 0;
}

.contact-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 32px; }
.contact-card-body h2 { font-size: 14px; font-weight: 500; margin: 0; }

.mkt-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 24px 0; margin-top: auto; }
.mkt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.mkt-footer-brand { display: flex; flex-direction: column; gap: 10px; }
.mkt-footer-tagline { font-size: 13px; color: var(--text-muted); max-width: 220px; margin: 0; line-height: 1.5; }
.mkt-footer-col { display: flex; flex-direction: column; gap: 10px; }
.mkt-footer-heading { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-subtle); }
.mkt-footer-col a { font-size: 13px; color: var(--text-muted); }
.mkt-footer-col a:hover { color: var(--text); }
.mkt-footer-muted { font-size: 13px; color: var(--text-subtle); }
.mkt-footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 860px) {
  .feature-grid, .steps-grid, .split-grid { grid-template-columns: 1fr; }
  .split-image img { max-height: 260px; }
  .mkt-footer-grid { grid-template-columns: 1fr 1fr; }
  .mkt-nav { display: none; }
  .hero h1 { font-size: 32px; }
}