/* 모아보드 공통 스타일 — 색·글꼴·그림자는 :root 한 곳에서 바꾼다 */
:root {
  --bg: #f3f3f7;
  --surface: #ffffff;
  --surface-2: #ebebf1;
  --ink: #14141b;
  --ink-2: #474756;
  --ink-3: #66667a;
  --line: rgba(20, 20, 40, 0.09);
  --line-strong: rgba(20, 20, 40, 0.17);
  --accent: #5b3df5;
  --accent-hover: #4a2de0;
  --accent-soft: #eeeaff;
  --lime: #c6f432;
  --live: #16a34a;
  --danger: #d92d3a;

  /* 카드 색: 밝은 바탕(tint)과 같은 계열의 진한 색(dot) */
  --butter: #fff0b3;  --butter-dot: #f2c230;
  --peach: #ffdccf;   --peach-dot: #ff8a65;
  --mint: #cdefdc;    --mint-dot: #34c483;
  --sky: #d6e6ff;     --sky-dot: #5b9bff;
  --lilac: #e6ddff;   --lilac-dot: #9b7bff;
  --pink: #ffdbe9;    --pink-dot: #ff6fa5;
  --paper: #ffffff;   --paper-dot: #c9c9d6;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 40, 0.06);
  --shadow: 0 1px 2px rgba(20, 20, 40, 0.05), 0 10px 28px -14px rgba(20, 20, 40, 0.22);
  --shadow-lg: 0 2px 6px rgba(20, 20, 40, 0.06), 0 28px 56px -24px rgba(20, 20, 40, 0.34);
  --ring: 0 0 0 4px rgba(91, 61, 245, 0.28);
  --spring: cubic-bezier(0.2, 1.25, 0.35, 1);
  --font: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -140px, rgba(91, 61, 245, 0.14), transparent 70%),
    radial-gradient(720px 380px at 100% -100px, rgba(198, 244, 50, 0.3), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- 상단바 ---------- */
.topbar-wrap {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243, 243, 247, 0.8);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.logo-mark { position: relative; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; border-radius: 3px; }
.logo-mark::before { inset: 7px 12px 12px 7px; background: #fff; }
.logo-mark::after { inset: 12px 7px 7px 12px; background: var(--lime); }
.me { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ink-3); }
@media (max-width: 480px) { .me { display: none; } }

/* ---------- 버튼 ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { border-color: rgba(20, 20, 40, 0.3); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(91, 61, 245, 0.7); }
.btn-primary:hover { background: var(--accent-hover); border-color: transparent; }
.btn-ink { background: var(--ink); border-color: transparent; color: #fff; }
.btn-ink:hover { background: #2b2b38; border-color: transparent; }
.btn-lime { background: var(--lime); border-color: transparent; color: var(--ink); }
.btn-lime:hover { background: #b7e823; border-color: transparent; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { --h: 52px; width: 100%; font-size: 16px; border-radius: 14px; }
.icon-btn {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(20, 20, 40, 0.06); color: var(--ink-2);
  cursor: pointer; transition: background 0.15s;
}
.icon-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.icon-btn:hover { background: rgba(20, 20, 40, 0.12); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.chip-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 700; }
.chip-lime { background: var(--lime); border-color: transparent; color: var(--ink); font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #b5b5c3; flex: none; }
.live-dot.on { background: var(--live); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* ---------- 안내 띠·알림 ---------- */
.setup-notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px;
  padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px; text-align: center;
}
.setup-notice strong { color: var(--lime); }
.setup-notice code { padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); font: 13px ui-monospace, Menlo, monospace; }
.toast {
  position: fixed; left: 50%; top: 14px; z-index: 100;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.2s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 카드 ---------- */
.card {
  --tint: var(--paper); --dot: var(--paper-dot);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 14px 16px 16px;
  background: var(--tint);
  border: 1px solid rgba(20, 20, 40, 0.06); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.c-butter { --tint: var(--butter); --dot: var(--butter-dot); }
.c-peach { --tint: var(--peach); --dot: var(--peach-dot); }
.c-mint { --tint: var(--mint); --dot: var(--mint-dot); }
.c-sky { --tint: var(--sky); --dot: var(--sky-dot); }
.c-lilac { --tint: var(--lilac); --dot: var(--lilac-dot); }
.c-pink { --tint: var(--pink); --dot: var(--pink-dot); }
.c-paper { --tint: var(--paper); --dot: var(--paper-dot); }
.card-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dot); color: var(--ink); font-size: 14px; font-weight: 800;
}
.card-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.card-who b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-who span { font-size: 12px; color: rgba(20, 20, 27, 0.68); }
.card-img { width: 100%; border-radius: 12px; background: rgba(255, 255, 255, 0.55); }
.card-text {
  font-size: 15px; line-height: 1.65; white-space: pre-wrap;
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
}
.card-del {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: rgba(20, 20, 27, 0.55); cursor: pointer;
}
.card-del:hover { background: rgba(217, 45, 58, 0.12); color: var(--danger); }
.card-del svg { width: 18px; height: 18px; }

/* 보드 격자: JS가 세로 줄(.grid-col)을 만들어 카드를 나눠 담는다. 잘라내는 overflow가 없다. */
.grid { display: flex; align-items: flex-start; gap: 16px; padding: 4px 0 160px; }
.grid-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.grid .card { cursor: pointer; transition: transform 0.25s var(--spring), box-shadow 0.25s; }
.grid .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.grid .card:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow); }
.grid .card-img { aspect-ratio: 4 / 3; object-fit: cover; }
.card.is-new { animation: card-in 0.6s var(--spring) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(100deg, #e6e6ee 30%, #f5f5f9 50%, #e6e6ee 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.board-head { padding: 36px 0 28px; }
.eyebrow { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--accent); }
.board-head h1 { max-width: 20em; font-size: clamp(30px, 5.6vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.board-desc { max-width: 44em; margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.board-desc:empty { display: none; }
.board-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.empty { display: grid; justify-items: center; gap: 4px; padding: 40px 16px 160px; text-align: center; color: var(--ink-2); }
.empty svg { width: 120px; height: 96px; margin-bottom: 14px; }
.empty strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

.fab {
  --h: 56px;
  position: fixed; z-index: 40;
  right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  padding: 0 24px 0 20px; border-radius: 999px; font-size: 16px;
  box-shadow: 0 14px 30px -10px rgba(91, 61, 245, 0.75), 0 2px 6px rgba(20, 20, 40, 0.12);
}
.fab svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .fab { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .fab:active { transform: translateX(-50%) scale(0.97); }
}

/* ---------- 대화상자: 휴대폰에서는 아래에서 올라오는 시트 ---------- */
dialog {
  width: min(520px, 100% - 32px); max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: auto; overscroll-behavior: contain;
}
dialog::backdrop { background: rgba(14, 14, 24, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open] { animation: dialog-in 0.35s var(--spring); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.sheet-body { padding: 24px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sheet-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.grabber { display: none; }
@media (max-width: 600px) {
  dialog.sheet {
    width: 100%; margin: auto 0 0; max-height: calc(100dvh - 24px);
    border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom);
  }
  dialog.sheet[open] { animation: sheet-in 0.4s cubic-bezier(0.2, 0.9, 0.25, 1); }
  .grabber { display: block; width: 40px; height: 5px; margin: 10px auto 0; border-radius: 99px; background: var(--line-strong); }
  .sheet-body { padding: 14px 20px 20px; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }

.viewer { width: min(600px, 100% - 32px); }
.viewer .card:focus { outline: none; }
.viewer .card { min-height: 100%; gap: 16px; padding: 22px 22px 26px; border: 0; border-radius: 0; box-shadow: none; }
.viewer .card-img { max-height: 60dvh; object-fit: contain; }
.viewer .card-text { display: block; overflow: visible; font-size: 18px; line-height: 1.75; }
.viewer .card-who b { font-size: 16px; }
.viewer .avatar { width: 40px; height: 40px; font-size: 16px; }

/* ---------- 입력 칸 ---------- */
.field { display: grid; gap: 8px; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field > span, .field > legend { padding: 0; font-size: 14px; font-weight: 700; }
.hint { font-weight: 500; color: var(--ink-3); }
.input {
  width: 100%; height: 48px; padding: 0 14px; font-size: 16px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: #767686; }
.input:hover { border-color: rgba(20, 20, 40, 0.28); }
.input:focus { border-color: var(--accent); box-shadow: var(--ring); }
textarea.input { height: auto; min-height: 128px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.counter { justify-self: end; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.swatches { position: relative; display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 0; }
.swatches input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.swatches label {
  position: relative; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--tint); border: 1px solid rgba(20, 20, 40, 0.16);
  transition: box-shadow 0.15s, transform 0.2s var(--spring);
}
.swatches label:hover { transform: scale(1.06); }
.swatches label::after {
  content: ""; position: absolute; inset: 11px; border-radius: 50%;
  background: var(--dot); opacity: 0; transform: scale(0.4); transition: 0.2s var(--spring);
}
.swatches input:checked + label { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.swatches input:checked + label::after { opacity: 1; transform: none; }
.swatches input:focus-visible + label { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent), 0 0 0 9px rgba(91, 61, 245, 0.25); }

.photo-pick {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  background: var(--bg); border: 1.5px dashed var(--line-strong); border-radius: 14px;
  color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.photo-pick:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.photo-pick:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.photo-pick img, .photo-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.photo-icon { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.photo-icon svg { width: 20px; height: 20px; }
#photo-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 로그인·대시보드 ---------- */
.panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.center-stage { display: grid; place-items: center; min-height: calc(100dvh - 160px); padding: 32px 0 64px; }
.auth { width: min(420px, 100%); }
.auth h1 { font-size: 28px; font-weight: 800; line-height: 1.25; letter-spacing: -0.035em; }
.auth .sub { margin: 6px 0 24px; font-size: 15px; color: var(--ink-2); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 24px; background: var(--surface-2); border-radius: 12px; }
.tabs button { height: 38px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.msg.error { background: #fdecee; color: #a3121f; }
.msg.ok { background: #e3f6ea; color: #12602e; }

.dash { display: grid; gap: 28px; padding: 36px 0 96px; }
@media (min-width: 900px) {
  .dash { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
  .dash .create { position: sticky; top: 96px; }
}
.page-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.panel h2 { margin-bottom: 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.board-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.board-item {
  display: flex; flex-direction: column; gap: 10px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.board-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.board-badge { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 14px; background: var(--tint); }
.board-badge::after { content: ""; width: 14px; height: 14px; border-radius: 5px; background: var(--dot); }
.board-item h3 { font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; }
.board-item p { font-size: 14px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-meta { font-size: 13px; color: var(--ink-3); }
.board-item .row { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.board-item .row .btn { flex: 1; }
.board-list .skeleton { height: 210px; }

/* ---------- 첫 화면 ---------- */
.hero { display: grid; gap: 56px; align-items: center; padding: 56px 0 80px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding: 88px 0 112px; } }
.hero h1 { margin: 20px 0 22px; font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: -0.045em; }
.mark { padding: 0 0.06em; background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 94%, transparent 94%); }
.lead { max-width: 30em; margin-bottom: 32px; font-size: clamp(16px, 2vw, 19px); line-height: 1.7; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mock {
  position: relative; padding: 18px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.mock-title { margin: 0 4px 14px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.mock-col { display: grid; gap: 12px; }
.mock .card { gap: 10px; padding: 12px 12px 14px; border-radius: 16px; }
.mock .card-text { font-size: 13px; line-height: 1.55; }
.mock .avatar { width: 26px; height: 26px; font-size: 12px; }
.mock .card-who b { font-size: 12px; }
.mock .card-who span { font-size: 11px; }
.mock-img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(circle at 70% 32%, #fff6c9 0 14%, transparent 15%), linear-gradient(160deg, #8fb6ff, #b9a6ff 55%, #ffc9b5); }
.mock-toast {
  position: absolute; left: 24px; bottom: -20px;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--ink); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 600;
}
.mock-toast .avatar { width: 26px; height: 26px; font-size: 12px; }
@media (max-width: 600px) {
  .mock { padding: 14px; border-radius: 26px; }
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-col:nth-child(3) { display: none; }
}

.section { padding: 32px 0 96px; }
.section-head { max-width: 34em; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: 10px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: 1.25; letter-spacing: -0.035em; }
.section-head p { color: var(--ink-2); }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: var(--tint); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.feature p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding: 36px 32px; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
}
.cta h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.cta p { margin-top: 6px; color: rgba(255, 255, 255, 0.72); }
.footer { padding: 0 0 48px; font-size: 13px; color: var(--ink-3); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.create textarea.input { min-height: 96px; }
.dash .empty { padding-bottom: 48px; }
