/* QuickTrack Web — design system ported from ColorTheme.swift / DESIGN_SYSTEM.md */

:root {
  --qt-primary: #069494;      /* teal */
  --qt-primary-dark: #057a7a;
  --qt-secondary: #BE5103;    /* bronze */
  --qt-accent: #FFCE1B;       /* yellow */
  --qt-warning: #B7410E;      /* sienna — due soon */
  --qt-success: #2E9E4F;
  --qt-error: #D93025;        /* overdue */
  --qt-bg: #F2F3F7;           /* grouped background */
  --qt-card: #FFFFFF;
  --qt-text: #1C1C1E;
  --qt-text-secondary: #6B7075;
  --qt-separator: #E4E6EB;
  --qt-radius: 16px;
  --qt-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--qt-bg);
  color: var(--qt-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

a { color: var(--qt-primary); text-decoration: none; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  height: 60px;
  background: var(--qt-card);
  border-bottom: 1px solid var(--qt-separator);
}

.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--qt-text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--qt-primary), var(--qt-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}

.topbar nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.topbar nav a {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--qt-text-secondary);
  font-weight: 600;
}

.topbar nav a:hover { background: rgba(6, 148, 148, 0.08); color: var(--qt-primary); }
.topbar nav a.active { background: rgba(6, 148, 148, 0.12); color: var(--qt-primary); }

.topbar .user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--qt-text-secondary);
}

/* ---------- Layout ---------- */

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.page-title { font-size: 26px; font-weight: 800; margin: 4px 0 2px; }
.page-subtitle { color: var(--qt-text-secondary); margin: 0 0 20px; }

.card {
  background: var(--qt-card);
  border-radius: var(--qt-radius);
  box-shadow: var(--qt-shadow);
  padding: 20px;
}

.card h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}

.grid { display: grid; gap: 16px; }

/* ---------- Stat cards ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--qt-card);
  border-radius: var(--qt-radius);
  box-shadow: var(--qt-shadow);
  padding: 16px 18px;
  border-top: 4px solid var(--qt-separator);
}

.stat-card .stat-value { font-size: 28px; font-weight: 800; line-height: 1.1; }
.stat-card .stat-label { font-size: 12px; font-weight: 600; color: var(--qt-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.stat-card.teal { border-top-color: var(--qt-primary); }
.stat-card.red { border-top-color: var(--qt-error); }
.stat-card.sienna { border-top-color: var(--qt-warning); }
.stat-card.green { border-top-color: var(--qt-success); }
.stat-card.yellow { border-top-color: var(--qt-accent); }
.stat-card.bronze { border-top-color: var(--qt-secondary); }

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge.overdue { background: rgba(217, 48, 37, 0.12); color: var(--qt-error); }
.badge.due-soon { background: rgba(183, 65, 14, 0.12); color: var(--qt-warning); }
.badge.ok { background: rgba(46, 158, 79, 0.12); color: var(--qt-success); }
.badge.neutral { background: rgba(107, 112, 117, 0.12); color: var(--qt-text-secondary); }
.badge.teal { background: rgba(6, 148, 148, 0.12); color: var(--qt-primary); }
.badge.issue { background: rgba(255, 206, 27, 0.25); color: #8a6d00; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.overdue { background: var(--qt-error); }
.dot.due-soon { background: var(--qt-warning); }
.dot.ok { background: var(--qt-success); }
.dot.neutral { background: #b6bbc2; }

/* ---------- Buttons & inputs ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--qt-primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(6, 148, 148, 0.3);
}
.btn-primary:hover { background: var(--qt-primary-dark); }

.btn-secondary {
  background: rgba(6, 148, 148, 0.1);
  color: var(--qt-primary);
  border: 1.5px solid var(--qt-primary);
}

.btn-ghost { background: transparent; color: var(--qt-text-secondary); }
.btn-ghost:hover { color: var(--qt-error); }

input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--qt-separator);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--qt-text);
}

input:focus, select:focus { outline: 2px solid rgba(6, 148, 148, 0.4); border-color: var(--qt-primary); }

/* ---------- Segmented control / filter chips ---------- */

.segmented {
  display: inline-flex;
  background: var(--qt-bg);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.segmented button {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--qt-text-secondary);
  cursor: pointer;
  font-family: inherit;
}

.segmented button.active {
  background: #fff;
  color: var(--qt-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips button {
  border: 1px solid var(--qt-separator);
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--qt-text-secondary);
  cursor: pointer;
  font-family: inherit;
}

.chips button.active {
  background: var(--qt-primary);
  border-color: var(--qt-primary);
  color: #fff;
}

/* ---------- Dashboard specifics ---------- */

.dash-grid {
  display: grid;
  /* minmax(0, …) keeps content from ever widening a column past its track */
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* Grid items default to min-width:auto, which lets long card content push a
   column wider than its track and overlap the neighbor — force shrinkability
   and clip anything that still tries to escape the card */
.dash-grid > .grid,
.dash-grid .card { min-width: 0; max-width: 100%; }
.dash-grid .card { overflow: hidden; }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
}

.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.donut-legend .row { display: flex; align-items: center; gap: 8px; }
.donut-legend .count { margin-left: auto; font-weight: 700; }

.attention-list, .recent-list { display: flex; flex-direction: column; }

.attention-row, .recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--qt-separator);
}

.attention-row:last-child, .recent-row:last-child { border-bottom: none; }

.attention-row .info, .recent-row .info { flex: 1; min-width: 0; }
.attention-row .name, .recent-row .name { font-weight: 700; }
.attention-row .detail, .recent-row .detail {
  font-size: 13px;
  color: var(--qt-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Attention details can be long — wrap instead of truncating */
.attention-row .detail { white-space: normal; }

/* usage bars */
.usage-row { display: grid; grid-template-columns: 160px 1fr 90px; align-items: center; gap: 12px; padding: 7px 0; }
.usage-row .u-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usage-row .u-val { font-size: 13px; font-weight: 700; text-align: right; color: var(--qt-text-secondary); }
.usage-track { background: var(--qt-bg); border-radius: 6px; height: 14px; overflow: hidden; }
.usage-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--qt-primary), #0ab3b3); min-width: 2px; }
.usage-fill.hours { background: linear-gradient(90deg, var(--qt-secondary), #e07a2e); }

.empty {
  color: var(--qt-text-secondary);
  font-size: 14px;
  padding: 18px 0;
  text-align: center;
}

/* ---------- Fleet page ---------- */

.fleet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.fleet-toolbar .search { flex: 1; min-width: 220px; max-width: 360px; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.item-card {
  background: var(--qt-card);
  border-radius: var(--qt-radius);
  box-shadow: var(--qt-shadow);
  padding: 16px 18px;
  border-left: 5px solid var(--qt-success);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.item-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); }
.item-card.overdue { border-left-color: var(--qt-error); }
.item-card.due-soon { border-left-color: var(--qt-warning); }
.item-card.neutral { border-left-color: #b6bbc2; }

.item-card .head { display: flex; align-items: flex-start; gap: 10px; }

.item-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(6, 148, 148, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.item-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-photo {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: var(--qt-shadow);
}
.item-card .head .name { font-size: 16px; font-weight: 700; flex: 1; }
.item-card .meta { font-size: 13px; color: var(--qt-text-secondary); margin-top: 6px; }
.item-card .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.due-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.due-line { font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.due-line.overdue { color: var(--qt-error); }
.due-line.due-soon { color: var(--qt-warning); }

/* ---------- Modal (item detail) ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 100;
  overflow-y: auto;
}

.modal {
  background: var(--qt-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 24px;
}

.modal .modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal .modal-head h2 { margin: 0; font-size: 22px; flex: 1; }
.modal .close-btn {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--qt-shadow);
}

.modal section.card { margin-bottom: 14px; }

.maint-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--qt-separator);
}
.maint-row:last-child { border-bottom: none; }
.maint-row .label { flex: 1; font-weight: 600; }
.maint-row .sub { font-size: 12px; color: var(--qt-text-secondary); font-weight: 400; display: block; }

details.submission {
  border-bottom: 1px solid var(--qt-separator);
  padding: 8px 0;
}
details.submission:last-child { border-bottom: none; }
details.submission summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
}
details.submission summary::-webkit-details-marker { display: none; }
details.submission summary::before { content: "▸"; color: var(--qt-text-secondary); font-size: 12px; }
details.submission[open] summary::before { content: "▾"; }
details.submission summary .when { flex: 1; }
details.submission summary .who { font-size: 12px; color: var(--qt-text-secondary); font-weight: 400; }

.response-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.response-table td { padding: 5px 8px; border-bottom: 1px solid var(--qt-separator); vertical-align: top; }
.response-table td:first-child { color: var(--qt-text-secondary); width: 45%; }
.response-table tr:last-child td { border-bottom: none; }

.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 13px; }
.parts-grid .part-label { color: var(--qt-text-secondary); }
.parts-grid .part-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--qt-separator); padding: 4px 0; }
.parts-grid .part-value { font-weight: 600; text-align: right; }

/* ---------- Login ---------- */

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(6, 148, 148, 0.18), transparent 70%),
    radial-gradient(500px 400px at 85% 30%, rgba(255, 206, 27, 0.15), transparent 70%),
    radial-gradient(600px 500px at 50% 95%, rgba(190, 81, 3, 0.12), transparent 70%),
    var(--qt-bg);
}

.login-card {
  background: var(--qt-card);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
}

.login-card .brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; font-size: 24px; font-weight: 800; }
.login-card .brand .brand-mark { width: 40px; height: 40px; font-size: 21px; border-radius: 10px; }
.login-card .tagline { text-align: center; color: var(--qt-text-secondary); font-size: 13px; margin-bottom: 24px; }
.login-card label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
.login-card .btn { width: 100%; margin-top: 20px; }
.login-card .aux { text-align: center; margin-top: 16px; font-size: 13px; }
.login-error {
  background: rgba(217, 48, 37, 0.1);
  color: var(--qt-error);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 14px;
  display: none;
}

/* ---------- Loading ---------- */

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--qt-text-secondary);
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(6, 148, 148, 0.2);
  border-top-color: var(--qt-primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Landing page ---------- */

.landing {
  background:
    radial-gradient(700px 500px at 12% 8%, rgba(6, 148, 148, 0.14), transparent 70%),
    radial-gradient(600px 450px at 88% 20%, rgba(255, 206, 27, 0.13), transparent 70%),
    radial-gradient(700px 550px at 50% 100%, rgba(190, 81, 3, 0.1), transparent 70%),
    var(--qt-bg);
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { margin-top: 12px; }
  .device-hero { transform: none; width: 280px; }
}

.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero h1 .accent { color: var(--qt-primary); }

.hero-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qt-primary);
  background: rgba(6, 148, 148, 0.1);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero .lede {
  font-size: 18px;
  color: var(--qt-text-secondary);
  margin: 0 0 20px;
  max-width: 520px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--qt-text);
  max-width: 520px;
}

.hero-note svg {
  width: 19px;
  height: 19px;
  color: var(--qt-primary);
  flex-shrink: 0;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 9px 18px 9px 14px;
  line-height: 1.15;
}

.appstore-badge:hover { background: #1c1c1e; }
.appstore-badge .apple { font-size: 27px; }
.appstore-badge small { display: block; font-size: 10px; font-weight: 500; opacity: 0.85; }
.appstore-badge strong { display: block; font-size: 17px; font-weight: 700; }

/* Device frame — wraps real iOS screenshots */
.device {
  position: relative;
  width: 300px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(155deg, #33363d 0%, #17181c 45%, #0a0b0e 100%);
  box-shadow:
    0 36px 70px -20px rgba(0, 0, 0, 0.5),
    0 12px 26px -10px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.09);
}

.device .screen {
  position: relative;
  display: block;
  border-radius: 35px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1206 / 2472;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.device .screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Hero device — glow + slight tilt */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 148, 148, 0.28), rgba(255, 206, 27, 0.12) 45%, transparent 68%);
  filter: blur(14px);
  z-index: 0;
}

.device-hero {
  position: relative;
  z-index: 1;
  width: 322px;
  transform: rotate(-2deg);
}

/* Showcase band */
.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.showcase-text > p {
  font-size: 17px;
  color: var(--qt-text-secondary);
  margin: 0 0 22px;
  max-width: 460px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  font-size: 15px;
  color: var(--qt-text-secondary);
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--qt-primary);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 10 18 20 6"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 10 18 20 6"/></svg>') center / contain no-repeat;
}

.check-list li strong { color: var(--qt-text); font-weight: 700; }

@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; gap: 32px; justify-items: center; text-align: left; }
  .showcase .device { width: 270px; }
}

.landing-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px;
}

.landing-section > h2 {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.landing-section > .section-sub {
  text-align: center;
  color: var(--qt-text-secondary);
  margin: 0 auto 36px;
  max-width: 560px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--qt-card);
  border-radius: var(--qt-radius);
  box-shadow: var(--qt-shadow);
  padding: 22px;
}

.feature-card .f-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(6, 148, 148, 0.1);
  color: var(--qt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card .f-icon svg { width: 24px; height: 24px; display: block; }

.feature-card h3 { margin: 0 0 6px; font-size: 16px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--qt-text-secondary); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.step {
  text-align: center;
  padding: 24px 18px;
}

.step .s-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--qt-primary);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; color: var(--qt-text-secondary); }

/* Push-notifications band */
.notify-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--qt-card);
  border-radius: 24px;
  box-shadow: var(--qt-shadow);
  padding: 48px 44px;
}

@media (max-width: 900px) {
  .notify-band { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
}

.notify-text h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.notify-text p { color: var(--qt-text-secondary); margin: 0 0 18px; }
.notify-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.notify-text li {
  font-size: 14px;
  color: var(--qt-text-secondary);
  padding-left: 26px;
  position: relative;
}
.notify-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--qt-primary);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 10 18 20 6"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 10 18 20 6"/></svg>') center / contain no-repeat;
}
.notify-text li strong { color: var(--qt-text); }

.notify-visual { display: flex; flex-direction: column; gap: 12px; }

.push-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--qt-bg);
  border: 1px solid var(--qt-separator);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.push-note:nth-child(2) { transform: translateX(14px); }
.push-note:nth-child(3) { transform: translateX(-8px); opacity: 0.85; }

.push-note .pn-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--qt-primary), var(--qt-primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.push-note .pn-body { flex: 1; min-width: 0; }
.push-note .pn-title { font-size: 13px; font-weight: 700; }
.push-note .pn-text { font-size: 13px; color: var(--qt-text-secondary); }
.push-note .pn-time { font-size: 11px; color: var(--qt-text-secondary); white-space: nowrap; }

.web-cta {
  background: linear-gradient(135deg, var(--qt-primary), #056b6b);
  border-radius: 24px;
  color: #fff;
  padding: 48px 40px;
  text-align: center;
}

.web-cta h2 { font-size: 28px; margin: 0 0 10px; color: #fff; }
.web-cta p { margin: 0 auto 26px; max-width: 520px; color: rgba(255, 255, 255, 0.85); }
.web-cta .btn { background: #fff; color: var(--qt-primary); }

.landing-footer {
  border-top: 1px solid var(--qt-separator);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--qt-text-secondary);
  font-size: 13px;
}

.landing-footer .links { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; }
