/* MyTask theme: rose / raspberry / crimson
   (coolors EBD4CB-DA9F93-B6465F-890620-2C0703). Clean sans, crisp radii, soft shadows.
   Note: --navy is the historical var name for the DARK brand tone; its value is the deep maroon. */

:root {
  --bg: #F7EEE9;
  --bg-card: #FFFDFC;
  --ink: #3B2320;
  --ink-strong: #2C0703;
  --ink-muted: #A08078;
  --accent: #B6465F;          /* raspberry: primary actions */
  --accent-dark: #890620;
  --accent-soft: #F6E0E4;
  --navy: #2C0703;
  --navy-soft: #F0DFDA;
  --rose: #DA9F93;
  --ok: #4E7D5B;
  --warn: #8A5A2B;
  --err: #890620;
  --err-soft: #F3D8DC;
  --line: #E9D9D3;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(44, 7, 3, .07), 0 1px 2px rgba(44, 7, 3, .05);
  --shadow-lift: 0 8px 24px rgba(44, 7, 3, .14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3 { color: var(--ink-strong); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.55rem; font-weight: 700; margin: 0 0 .3rem; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .8rem; }
a { color: var(--ink-strong); }
.muted { color: var(--ink-muted); }
.big { font-size: 1.5rem; font-weight: 700; color: var(--ink-strong); margin: .2rem 0; }
.right { text-align: right; }
.inline { display: inline; }
.small-note { font-size: .84rem; }
.center { text-align: center; }
.grow { flex: 1; }
.hidden-form { display: none; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); }
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: .55rem 1.2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.brand { font-size: 1.12rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.brand::after { content: "."; color: var(--accent); }
.nav { display: flex; align-items: center; gap: .9rem; }
.nav a { text-decoration: none; color: #E4C9C0; font-size: .93rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav-sa { color: var(--accent) !important; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.topsearch input {
  width: 170px; padding: .38rem .8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .88rem;
}
.topsearch input::placeholder { color: #C9A69C; }
.topsearch input:focus { outline: none; background: #fff; color: var(--ink); }
.avatar {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; font-size: .85rem;
}
.linklike { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--accent-dark); }

/* bell */
.bell-wrap { position: relative; }
.bell { position: relative; background: none; border: none; cursor: pointer; color: #E4C9C0; padding: .3rem; }
.bell:hover { color: #fff; }
.bell-badge {
  position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 700; border-radius: 999px; padding: 0 .32rem; line-height: 1.4;
}
.bell-menu {
  position: absolute; right: 0; top: 2.3rem; width: 330px; max-width: 88vw; z-index: 50;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.bell-item { display: block; padding: .6rem .9rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .88rem; }
.bell-item small { display: block; }
.bell-item.unread { background: var(--accent-soft); }
.bell-item:hover { background: var(--bg); }
.bell-empty { padding: .8rem .9rem; margin: 0; }
.bell-all { display: block; text-align: center; padding: .55rem; font-size: .88rem; text-decoration: none; font-weight: 600; }

/* ---------- layout ---------- */
.main { max-width: 1240px; margin: 1.3rem auto 3rem; padding: 0 1.2rem; }
.page-head { margin-bottom: 1rem; }
.footer { text-align: center; color: var(--ink-muted); font-size: .84rem; padding: 1.5rem 0 2rem; }
.footer a { color: var(--ink-muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
}

/* ---------- forms ---------- */
label { display: block; margin-bottom: .85rem; font-weight: 600; font-size: .88rem; color: var(--ink-strong); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="search"], select, textarea {
  display: block; width: 100%; margin-top: .3rem;
  padding: .5rem .7rem; font: inherit; font-weight: 400;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
input:disabled { background: var(--bg); color: var(--ink-muted); }
small { font-weight: 400; }
.form-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.form-row input, .form-row select { width: auto; flex: 1; min-width: 140px; margin-top: 0; }
.check-inline { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; font-size: .88rem; margin: 0; color: var(--ink); }
.check-inline input { width: auto; display: inline; margin: 0; }

.btn {
  display: inline-block; padding: .48rem 1rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-strong);
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none;
  transition: transform .05s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { border-color: var(--ink-muted); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: #4A1220; }
.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn-danger:hover { background: #6E0419; }
.btn-block { width: 100%; }
.btn-small { padding: .28rem .7rem; font-size: .82rem; }
.btn-big { font-size: 1.05rem; padding: .72rem 1.6rem; }
.btn-active { background: var(--navy-soft); border-color: var(--navy); }

/* ---------- tables & chips ---------- */
.table { width: 100%; border-collapse: collapse; }
.table td { padding: .6rem .4rem; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:first-child td { border-top: none; }
.row-muted { opacity: .55; }
.chip {
  display: inline-block; background: var(--navy-soft); color: var(--ink-strong);
  border-radius: 6px; padding: .08rem .55rem; font-size: .78rem; font-weight: 600;
}
.chip-plain { background: var(--bg); color: var(--ink-muted); }
.chip-hand { background: var(--accent-soft); color: #890620; }
.chip-unassigned { background: var(--bg); color: var(--ink-muted); border: 1px dashed var(--line); }
.chip-orphan { background: var(--err-soft); color: var(--err); }
.company-dot { display: inline-block; width: .7em; height: .7em; border-radius: 3px; margin-right: .3em; }

/* status */
.st { display: inline-block; border-radius: 6px; padding: .08rem .55rem; font-size: .78rem; font-weight: 700; }
.st-open   { background: var(--navy-soft); color: var(--navy); }
.st-handed { background: var(--accent-soft); color: #890620; }
.st-done   { background: #E9F0E7; color: var(--ok); }

/* priority */
.prio { font-size: .74rem; border-radius: 6px; padding: .06rem .5rem; font-weight: 700; }
.prio-low    { background: var(--bg); color: var(--ink-muted); }
.prio-medium { background: var(--navy-soft); color: var(--navy); }
.prio-high   { background: var(--accent-soft); color: #890620; }
.prio-urgent { background: var(--err-soft); color: var(--err); }
.due { font-size: .8rem; color: var(--ink-muted); font-weight: 600; }
.due-soon { color: var(--warn); }
.due-over { color: var(--err); }

/* flash */
.flash { border-radius: 8px; padding: .65rem 1rem; margin-bottom: 1rem; font-size: .92rem; font-weight: 500; }
.flash-success { background: #E9F0E7; color: #3E6B4C; }
.flash-error   { background: var(--err-soft); color: #890620; }
.flash-info    { background: var(--navy-soft); color: var(--navy); }
.toast { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 200; box-shadow: var(--shadow-lift); }

/* ---------- TASKS: split pane (Microsoft To Do style) ---------- */
.tasks-wrap { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; gap: 1rem; align-items: start; }
@media (max-width: 900px) {
  .tasks-wrap { grid-template-columns: 1fr; }
  .tasks-wrap.has-selection .tasks-left { display: none; }  /* mobile: show detail full width */
}

.tasks-left { min-width: 0; }
.tasks-toolbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .7rem; }
.tasks-toolbar select { width: auto; margin: 0; padding: .35rem .55rem; font-size: .86rem; }

.tasklist { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trow {
  display: flex; align-items: center; gap: .65rem; padding: .62rem .8rem;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .1s ease;
}
.trow:last-child { border-bottom: none; }
.trow:hover { background: var(--bg); }
.trow.selected { background: var(--navy-soft); box-shadow: inset 3px 0 0 var(--accent); }
.trow-main { flex: 1; min-width: 0; }
.trow-title { font-weight: 600; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-sub { font-size: .78rem; color: var(--ink-muted); display: flex; gap: .55rem; align-items: center; margin-top: .1rem; }
.trow-comp { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: .3em; }
.trow.done-row .trow-title { text-decoration: line-through; color: var(--ink-muted); font-weight: 500; }

/* the round done-checkbox at the start of each row */
.donebox {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  border: 2px solid var(--ink-muted); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: transparent; padding: 0;
  transition: all .12s ease;
}
.donebox:hover { border-color: var(--ok); color: var(--ok); }
.donebox.checked { background: var(--ok); border-color: var(--ok); color: #fff; }

/* assignee circle */
.pcircle {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; color: #fff; background: var(--navy);
}
.pcircle.empty { background: transparent; border: 1.5px dashed var(--ink-muted); color: var(--ink-muted); }

.done-sep {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .8rem;
  background: var(--bg); border-bottom: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; color: var(--ink-muted); cursor: pointer; user-select: none;
}
.tasklist-empty { padding: 2.6rem 1.4rem; text-align: center; }
.tasklist-empty p { color: var(--ink-muted); margin: .4rem 0 1rem; }

/* ---------- task detail panel ---------- */
.taskpane { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; min-width: 0; }
.taskpane-empty { display: flex; align-items: center; justify-content: center; min-height: 300px; color: var(--ink-muted); border-style: dashed; box-shadow: none; background: transparent; }
.taskpane-head { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .4rem; }
.taskpane-head h1 { font-size: 1.3rem; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.taskpane-head .done-row-title { text-decoration: line-through; color: var(--ink-muted); }
.sec {
  border-top: 1px solid var(--line); padding: .9rem 0;
}
.sec-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; }
.sec-label { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); }
.edit-btn {
  margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: .12rem .55rem; font-size: .76rem; font-weight: 600; color: var(--ink-muted); cursor: pointer;
}
.edit-btn:hover { color: var(--ink-strong); border-color: var(--ink-muted); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; }
@media (max-width: 1100px) { .meta-grid { grid-template-columns: 1fr; } }
.meta-grid label { margin: 0; }
.paste-hint { border: 1.5px dashed var(--line); border-radius: 8px; padding: .5rem .8rem; font-size: .82rem; color: var(--ink-muted); margin-top: .5rem; }
.paste-hint.flash-drop { border-color: var(--accent); color: var(--accent-dark); }

.ticket-desc { line-height: 1.6; overflow-wrap: anywhere; }
.ticket-desc code, .comment-body code { background: var(--bg); border-radius: 5px; padding: .05rem .35rem; font-size: .9em; }
hr.soft { border: none; border-top: 1px solid var(--line); margin: .9rem 0; }

.check-row { display: flex; align-items: center; gap: .55rem; padding: .28rem 0; }
.check-done .check-body { text-decoration: line-through; color: var(--ink-muted); }
.check-body { flex: 1; overflow-wrap: anywhere; }
.checkbox-btn {
  flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-muted);
  background: #fff; color: transparent; font-weight: 800; font-size: .65rem; cursor: pointer; padding: 0;
}
.checkbox-btn:hover { border-color: var(--ok); color: var(--ok); }
.check-done .checkbox-btn { background: var(--ok); border-color: var(--ok); color: #fff; }
.check-assign select { width: auto; padding: .12rem .3rem; font-size: .78rem; margin: 0; }

.att-list { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: .6rem; }
.att-item { position: relative; }
.att-del-form { position: absolute; top: -7px; right: -7px; z-index: 5; }
.att-del {
  width: 21px; height: 21px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--err); color: #fff; font-size: .85rem; line-height: 1; padding: 0;
  box-shadow: var(--shadow); display: none;
}
.att-item:hover .att-del { display: block; }
.att-thumb, .att-file { cursor: zoom-in; background: none; padding: 0; font: inherit; text-align: left; }
.att-file { cursor: pointer; display: flex; gap: .5rem; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: .4rem .65rem; font-size: .85rem; color: var(--ink); }
.att-thumb { border: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(44, 7, 3, .84);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
}
.lightbox-inner { max-width: min(1000px, 94vw); max-height: 92vh; display: flex; flex-direction: column; gap: .6rem; }
.lightbox-bar { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.lightbox-name { color: #fff; margin-right: auto; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.lightbox-body { overflow: auto; display: flex; align-items: center; justify-content: center; }
.lightbox-body img { max-width: 100%; max-height: 80vh; border-radius: 10px; background: #fff; }
.lightbox-nopreview { color: #fff; font-size: 1.05rem; padding: 2.5rem 1rem; }
.att-thumb img { max-width: 120px; max-height: 92px; border-radius: 8px; border: 1px solid var(--line); display: block; }
.att-file { display: flex; gap: .5rem; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .65rem; font-size: .85rem; }
.att-icon { font-size: 1.2rem; }

.comment { border-top: 1px solid var(--line); padding: .75rem 0; }
.comment:first-of-type { border-top: none; }
.comment-head { display: flex; gap: .6rem; align-items: baseline; font-size: .9rem; }
.comment-actions { margin-left: auto; display: flex; gap: .6rem; font-size: .82rem; }
.comment-body { margin-top: .25rem; line-height: 1.55; overflow-wrap: anywhere; }
.comment-deleted { font-style: italic; }
.comment-new textarea, .comment-edit-form textarea { width: 100%; margin-bottom: .5rem; }
.mention { color: var(--navy); font-weight: 700; background: var(--navy-soft); border-radius: 5px; padding: 0 .2rem; }
.mention-menu { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-lift); max-width: 240px; z-index: 40; }
.mention-menu button { display: block; width: 100%; text-align: left; background: none; border: none; padding: .45rem .8rem; font: inherit; cursor: pointer; }
.mention-menu button:hover { background: var(--navy-soft); }

.tagline { display: flex; gap: .35rem; flex-wrap: wrap; margin: .3rem 0 .45rem; }
.tag-chip { border: none; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; border-radius: 6px; padding: .08rem .5rem; }

.activity { list-style: none; padding: 0; margin: .5rem 0 0; }
.activity li { padding: .3rem 0; font-size: .87rem; border-top: 1px solid var(--line); }
.activity li:first-child { border-top: none; }
.activity.feed li a { text-decoration: none; }

/* AI panel */
.ai-panel { border: 1px solid var(--accent); background: linear-gradient(180deg, #fff, #FBF1EE); }
.ai-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.ai-tone { margin-bottom: .5rem; display: flex; gap: .8rem; }
#ai-output { width: 100%; margin-bottom: .5rem; font-size: .9rem; }
.ai-spark { font-size: .85rem; }

/* ---------- overview board ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 950px) { .board { grid-template-columns: 1fr; } }
.board-col { background: rgba(44, 7, 3, .05); border-radius: var(--radius); padding: .55rem; min-height: 120px; }
.board-col-head { font-weight: 700; font-size: .85rem; padding: .2rem .4rem .55rem; display: flex; justify-content: space-between; color: var(--ink-strong); }
.board-cards { display: flex; flex-direction: column; gap: .55rem; min-height: 60px; }
.board-empty { font-size: .85rem; padding: .4rem; }
.drop-hint { outline: 2px dashed var(--accent); outline-offset: -4px; }
.dragging { opacity: .5; }
.dash-lower { margin-top: 1.2rem; align-items: start; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.tcard {
  display: block; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .75rem .9rem; text-decoration: none; color: var(--ink);
  transition: transform .08s ease, box-shadow .12s ease;
}
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tcard-archived { opacity: .55; }
.tcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.tcard-title { font-weight: 600; margin-bottom: .4rem; line-height: 1.35; color: var(--ink-strong); }
.tcard-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .82rem; }
.myitem { padding: .4rem 0; border-top: 1px solid var(--line); }
.myitem:first-child { border-top: none; }
.myitem a { text-decoration: none; color: var(--ink); }
.myitem small { display: block; }
.unassigned-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.unassigned-row:first-child { border-top: none; }
.unassigned-row a { text-decoration: none; color: var(--ink); }
.section-h { margin: 1.4rem 0 .7rem; font-weight: 700; color: var(--ink-strong); }

/* filters (secondary pages) */
.filters { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding: .7rem .9rem; }
.filters select { width: auto; margin-top: 0; padding: .32rem .5rem; font-size: .87rem; }
.filters-right { margin-left: auto; display: flex; gap: .4rem; }
.ttable td { font-size: .92rem; }

/* misc */
.danger-zone { border-color: #EFC7CE; }
.empty-state { text-align: center; padding: 2.2rem 1.5rem; }
.narrow-card { max-width: 640px; }
.tpl-details { margin-bottom: .6rem; }
.tpl-details summary { cursor: pointer; padding: .3rem 0; }
.search-comment { border-top: 1px solid var(--line); padding: .6rem 0; }
.search-comment:first-child { border-top: none; }
.search-comment a { text-decoration: none; color: var(--ink); }
.notif-row { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.notif-row:first-child { border-top: none; }
.notif-row.unread { font-weight: 600; }
.notif-row a { color: var(--ink); text-decoration: none; }
.prefs-table td { text-align: center; }
.prefs-table td:first-child { text-align: left; }
.plan-row { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; border-top: 1px solid var(--line); padding: .7rem 0; }
.plan-row label { font-size: .76rem; margin: 0; }
.plan-row input { width: 90px; margin-top: .15rem; padding: .3rem .45rem; }
.plan-name { min-width: 70px; }
.onboard-wrap { max-width: 520px; margin: 0 auto; }
.thead-flex { display: flex; justify-content: space-between; align-items: start; gap: 1rem; flex-wrap: wrap; }

/* ---------- public / landing ---------- */
.public { display: block; }
.pub-header { max-width: 1020px; margin: 0 auto; padding: 1rem 1.2rem; display: flex; align-items: center; }
.pub-header .brand { color: var(--ink-strong); font-size: 1.3rem; }
.pub-header .nav { margin-left: auto; display: flex; gap: 1rem; align-items: center; }
.pub-header .nav a { color: var(--ink); }
.pub-main { max-width: 1020px; margin: 0 auto; padding: 0 1.2rem 3rem; }
.hero { text-align: center; padding: 4.2rem 0 3.2rem; }
.hero-title { font-size: clamp(2.1rem, 6vw, 3.4rem); margin: 0 0 1rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero-accent { color: var(--accent-dark); font-style: normal; }
.hero-sub { font-size: 1.12rem; color: var(--ink-muted); max-width: 560px; margin: 0 auto 1.6rem; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.4rem 0; }
@media (max-width: 800px) { .feature-strip { grid-template-columns: 1fr; } }
.feature { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.35rem; }
.feature-demo { margin-top: .9rem; padding: .7rem; background: var(--bg); border-radius: 8px; display: flex; gap: .5rem; align-items: center; }
.pricing { margin-top: 2.8rem; text-align: center; }
.pricing h2 { font-size: 1.8rem; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); gap: 1rem; justify-content: center; margin: 1.3rem 0 1rem; }
.price-card { text-align: left; }
.price-featured { border-color: var(--accent); box-shadow: 0 8px 24px rgba(182, 70, 95, .18); }
.price-big { font-size: 2.1rem; font-weight: 800; color: var(--ink-strong); }
.price-line { margin: .4rem 0 .8rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.price-list li { padding: .25rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.price-list li:first-child { border-top: none; }

/* legal */
.legal-body h2 { margin-top: 1.6rem; }

/* ---------- auth screens ---------- */
.bare { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--navy); }
.auth-wrap { width: 100%; max-width: 430px; padding: 1.2rem; }
.auth-brand { text-align: center; font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.auth-brand::after { content: "."; color: var(--accent); }
.auth-card { padding: 1.6rem 1.6rem 1.3rem; }
.auth-links { text-align: center; font-size: .9rem; margin-top: 1rem; }
