:root {
  --bg: #fff7f1;
  --card: rgba(255,255,255,0.9);
  --line: #edd8cc;
  --ink: #261b17;
  --muted: #6f625d;
  --brand: #e75a44;
  --brand-deep: #b64030;
  --accent: #ffb977;
  --success: #247a53;
  --warning: #c98d2c;
  --shadow: 0 18px 42px rgba(149, 70, 45, 0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 176, 0.65), transparent 34%),
    linear-gradient(180deg, #fff4eb 0%, var(--bg) 54%, #fffdfb 100%);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
code { background: rgba(38,27,23,0.06); padding: 2px 6px; border-radius: 8px; }

.page {
  width: min(1280px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 52px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.between { justify-content: space-between; align-items: flex-start; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  padding: 28px;
}
.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(231, 90, 68, 0.12);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.lede {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.65;
}
.top-actions { margin-top: 22px; }
.hero-side { display: grid; gap: 16px; }
.mini { padding: 18px; }
.mini p { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.mockups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mockups img {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  aspect-ratio: 10 / 16;
  object-fit: cover;
}

.btn, .tab, .chip, .pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: 180ms ease;
}
.btn, .tab {
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-weight: 700;
}
.btn.primary, .tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.btn:hover, .tab:hover { transform: translateY(-1px); }

.layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

#preview > .card {
  position: sticky;
  top: 18px;
  padding: 18px;
}
.phone {
  margin: 0 auto;
  width: min(100%, 360px);
  border-radius: 42px;
  padding: 14px;
  background: #131313;
}
.phone-screen {
  min-height: 692px;
  border-radius: 30px;
  overflow: hidden;
  padding: 18px 18px 24px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff3eb 100%);
}
.notch {
  width: 122px;
  height: 28px;
  margin: -18px auto 12px;
  border-radius: 0 0 18px 18px;
  background: #131313;
}
.app-brand {
  text-align: center;
  color: var(--brand);
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.screen-title {
  margin-top: 18px;
  font-size: 2rem;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.screen-copy { margin-top: 10px; color: var(--muted); line-height: 1.55; }
.block {
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
}
.stack { display: grid; gap: 14px; }
.label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.value { margin-top: 8px; font-weight: 700; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip {
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.chip.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta {
  width: 100%;
  margin-top: 14px;
  border: none;
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--brand), #ff826a);
  color: #fff;
  font-weight: 800;
}
.status-list { display: grid; gap: 10px; margin-top: 14px; }
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
}
.status-row strong { font-size: 0.95rem; }
.pill {
  padding: 8px 12px;
  background: rgba(231,90,68,0.1);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 800;
}
.pill.success { background: rgba(36,122,83,0.12); color: var(--success); }
.pill.warning { background: rgba(201,141,44,0.14); color: var(--warning); }
.profile {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
}
.profile-top {
  min-height: 216px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(150deg, #f7b493, #ffe7d6);
}
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-deep);
}
.score { background: rgba(255,255,255,0.92); padding: 10px 14px; border-radius: 999px; font-weight: 900; color: var(--brand-deep); }
.profile-body { padding: 18px; }
.profile-body h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; }
.profile-body .meta { color: var(--muted); margin-top: 4px; font-weight: 700; }
.profile-body p { margin-top: 12px; line-height: 1.55; }
.chat { display: grid; gap: 10px; margin-top: 16px; }
.bubble { max-width: 85%; padding: 12px 14px; border-radius: 18px; line-height: 1.45; font-size: 0.95rem; }
.bubble.them { background: #fff; border: 1px solid var(--line); }
.bubble.me { margin-left: auto; background: linear-gradient(135deg, var(--brand), #ff826a); color: #fff; }

.console { min-height: 720px; }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; background: #efbaa4; }
.console-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.console-stat { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.console-stat span { color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.console-stat strong { display: block; margin-top: 8px; font-size: 1.8rem; }

.panel { padding: 22px; min-height: 760px; }
.panel-head { margin-bottom: 16px; }
.panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  font-weight: 900;
}
.subtabs { margin-bottom: 18px; }
.callout {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(231,90,68,0.11), rgba(255,185,119,0.18));
  border: 1px solid rgba(231,90,68,0.18);
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.55;
}
.item, .step {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.item p, .step p { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.meta-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(231,90,68,0.09);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 700;
}
.step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
.num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #ff826a);
  color: white;
  font-weight: 900;
}
.notes { margin-top: 24px; padding: 20px; }
.notes p { color: var(--muted); line-height: 1.6; }
.toast {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(36,122,83,0.12);
  border: 1px solid rgba(36,122,83,0.18);
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero, .layout { grid-template-columns: 1fr; }
  #preview > .card { position: static; }
}
@media (max-width: 760px) {
  .page { width: min(100vw - 18px, 1280px); }
  .grid.two, .console-stats, .mockups { grid-template-columns: 1fr; }
}