:root {
  --bg: #fbf7f1;
  --card: #fff;
  --ink: #2b2a28;
  --muted: #6b665f;
  --line: #eadfd2;
  --accent: #d9702b;
  --accent-dark: #b85a1e;
  --accent-soft: #fdf0e6;
  --accent-ink: #fff;
  --ok: #2f7d4f;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg) radial-gradient(1200px 400px at 50% -100px, #fde9d9 0%, transparent 70%) no-repeat;
}
a { color: var(--accent-dark); }
header.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; background: rgba(255,255,255,.7); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.brand { font-weight: 800; text-decoration: none; color: var(--ink); font-size: 19px; letter-spacing: -.01em; }
.brand::before { content: "🐾 "; }
nav { display: flex; gap: 16px; align-items: center; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.who { font-size: 14px; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
form.inline { display: inline; }
button.link { border: 0; background: none; color: var(--accent-dark); padding: 0; font-weight: 500; font-size: 14px; }
main { max-width: 760px; margin: 0 auto; padding: 32px 18px 64px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

/* hero */
.hero { text-align: center; padding: 12px 0 8px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -.02em; }
.lede { font-size: 19px; color: var(--muted); margin: 0 auto 12px; max-width: 620px; }
.lede.small { font-size: 16px; }

/* steps */
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 24px 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; color: var(--muted); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800;
}

/* card + form */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 40px rgba(80,50,20,.06); }
.card h2 { font-size: 22px; margin: 34px 0 6px; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.card h2:first-child { margin-top: 0; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 16px; font-weight: 800; flex: none; }
label { display: block; margin: 14px 0; font-weight: 600; font-size: 15px; }
label small { color: var(--muted); font-weight: 400; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pre { white-space: pre-wrap; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { background: #faf7f3; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid2 label:last-child { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .card { padding: 20px; } }
.radios label, .addon { display: flex; gap: 12px; align-items: center; font-weight: 500; margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: background .15s, border-color .15s; }
.radios label:hover, .addon:hover { border-color: #d9c6b0; }
.radios label:has(input:checked), .addon.on { border-color: var(--accent); background: var(--accent-soft); }
.radios input, .addon input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.radios small, .addon small { color: var(--muted); font-weight: 400; }
.addon span { flex: 1; }
.addon select { width: auto; margin: 0; padding: 8px 10px; font-size: 14px; }
.addon select:disabled { opacity: .5; }
@media (max-width: 560px) { .addon { flex-wrap: wrap; } .addon select { width: 100%; } }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-weight: 400; margin-top: 24px; align-items: start; font-size: 15px; }
.agree input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.hint { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.hint.center { text-align: center; }

button, .primary, .secondary {
  display: inline-block; padding: 13px 22px; font: inherit; font-weight: 700; border-radius: 12px;
  border: 1px solid var(--line); cursor: pointer; text-decoration: none; background: #fff; color: var(--ink);
}
.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 18px; box-shadow: 0 6px 18px rgba(217,112,43,.3); }
.primary:hover { background: var(--accent-dark); }
.primary:disabled { opacity: .6; cursor: progress; }
#submit { width: 100%; margin-top: 16px; padding: 16px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }

/* calendar */
.cal { max-width: 400px; margin: 8px 0; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { padding: 4px 14px; font-size: 22px; line-height: 1; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.cal-grid .day { padding: 0; aspect-ratio: 1; border-radius: 10px; font-weight: 600; }
.cal-grid .day:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.cal-grid .day:disabled { color: #cfc6bb; cursor: default; background: transparent; border-color: transparent; }
.cal-grid .day.today { border-color: var(--accent); }
.cal-grid .day.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* signature */
.hidden { display: none !important; }
.sig { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.sig-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.sig-tabs button { padding: 6px 16px; font-size: 14px; }
.sig-tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sigpad { display: block; width: 100%; height: 180px; border: 1px dashed #d4c4b0; border-radius: 8px; background: #fffdf9; touch-action: none; cursor: crosshair; }
.sigtext { font: italic 28px "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; height: 80px; }
.sig-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.sigimg { max-height: 70px; border-bottom: 1px solid #333; }

/* receipt + misc */
.receipt { position: relative; }
.stamp { position: absolute; top: 22px; right: 22px; border: 3px solid var(--ok); color: var(--ok); font-weight: 900; padding: 4px 12px; border-radius: 8px; transform: rotate(-6deg); letter-spacing: .06em; text-transform: uppercase; }
dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 18px 0; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 0; }
details { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
summary { cursor: pointer; font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
code { background: #f3ece3; padding: 2px 6px; border-radius: 4px; }
.login { text-align: center; max-width: 460px; margin: 40px auto; }
.google { width: 100%; }

/* invite preview */
.how { padding-left: 0; list-style: none; counter-reset: h; margin: 10px 0 22px; }
.how li { counter-increment: h; position: relative; padding-left: 44px; margin: 12px 0; color: var(--muted); }
.how li strong { color: var(--ink); }
.how li::before { content: counter(h); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; }
.primary.wide { display: block; text-align: center; padding: 16px; font-size: 19px; }
.muted-card { margin-top: 18px; background: #fffdf9; }
.terms { padding-left: 20px; font-size: 15px; color: var(--muted); }
.terms li { margin: 8px 0; }
.terms strong { color: var(--ink); }
.hook { font-style: italic; }

/* insights */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.kpi { background: var(--accent-soft); border-radius: 12px; padding: 12px; text-align: center; }
.kpi-n { font-size: 30px; font-weight: 800; color: var(--accent-dark); line-height: 1.1; }
.kpi-l { font-size: 13px; font-weight: 600; margin-top: 4px; }
.kpi-s { font-size: 12px; color: var(--muted); }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 90px; margin: 8px 0 16px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar span { display: block; width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 4px; }
.bar small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.pagebox { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.pagehead { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
table.tight { font-size: 13px; }
table.tight th, table.tight td { padding: 5px 6px; }
.anon { color: var(--muted); font-style: italic; }
.card + .card { margin-top: 18px; }

/* --- multi-user app --- */
.brand::before { content: "🔁 "; }
nav .navcta { background: var(--accent-soft); color: var(--accent-dark); padding: 6px 12px; border-radius: 999px; font-weight: 700; }
nav a.who { color: var(--muted); }
main.wide { max-width: 1100px; }
.hero.left { text-align: left; }
.hero.left .lede { margin-left: 0; }
.actions.center { justify-content: center; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 22px 0; }
.three .card { padding: 20px; }
.three h3 { margin: 0 0 8px; font-size: 18px; }
.three p { margin: 0; color: var(--muted); font-size: 15px; }
.kinds, .checks, .todo, .upcoming, .people, .occs, .timeline, .changes { list-style: none; padding: 0; margin: 10px 0; }
.kinds li, .checks li { padding: 8px 0 8px 28px; position: relative; color: var(--muted); }
.kinds li strong, .checks li strong { color: var(--ink); }
.kinds li::before, .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.flash { background: #e8f5ec; border: 1px solid #b9e0c5; color: #1f5f3a; padding: 12px 16px; border-radius: 12px; margin: 14px 0; }
.errors { background: #fdecec; border: 1px solid #f3b9b9; color: #8a1f1f; padding: 12px 16px; border-radius: 12px; margin: 14px 0; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.status { padding: 14px 18px; border-radius: 12px; margin: 14px 0; border: 1px solid var(--line); background: #fff; }
.status.pending { background: #fff8e6; border-color: #f2dea3; }
.status.active { background: #e8f5ec; border-color: #b9e0c5; }
.status.declined { background: #fdecec; border-color: #f3b9b9; }
.status em { color: #8a1f1f; font-style: normal; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eee; color: #444; white-space: nowrap; }
.badge.pending { background: #fff2cc; color: #7a5a00; }
.badge.active { background: #e0f2e6; color: #1f5f3a; }
.badge.attention { background: #fde3d3; color: #9a3d0b; }
.badge.completed { background: #e6e9f5; color: #2f3a7a; }
.badge.declined, .badge.cancelled, .badge.ended { background: #f0e8e8; color: #7a2f2f; }
.badge.open { background: #e6f0fa; color: #1f4a7a; }
.open-toggle { margin: 6px 0 14px; padding: 12px 14px; border: 1px dashed #d4c4b0; border-radius: 12px; }
.open-toggle:has(input:checked) { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.changes li.change { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.change.proposed { border-color: #f2dea3; background: #fffdf6; }
.change.accepted { border-color: #b9e0c5; }
.change-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.change-head small { color: var(--muted); }
.change-body { margin-top: 6px; }
.change-note { margin: 8px 0 0; color: var(--muted); }
.change-answer { margin-top: 8px; font-size: 14px; }
.answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.propose h3 { margin: 14px 0 4px; font-size: 16px; }
.terms-page h2 { font-size: 19px; margin: 26px 0 6px; }
.terms-page p, .terms-page li { font-size: 15px; line-height: 1.55; }
.terms-page ul { padding-left: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 14px; }
.grid3 h3 { margin: 0 0 6px; font-size: 15px; }
table.list td, table.list th { padding: 10px 8px; }
table.list a { text-decoration: none; color: var(--ink); }
.todo li, .upcoming li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.todo li:last-child, .upcoming li:last-child { border-bottom: 0; }
.todo a, .upcoming a { text-decoration: none; color: var(--ink); }
.todo small, .upcoming small { color: var(--muted); }
.card.attention { border-color: #f2dea3; background: #fffdf6; }
.date { display: inline-block; min-width: 150px; color: var(--accent-dark); font-weight: 700; font-size: 14px; }
.people li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.people li:last-child { border-bottom: 0; }
.people small { color: var(--muted); flex: 1; }
.mini { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.mini.primary { box-shadow: none; font-size: 13px; }
.parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .parties { grid-template-columns: 1fr; } }
.party { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.party-role { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.party .sigimg { display: block; margin-top: 10px; }
.party small { color: var(--muted); }
.unsigned { margin-top: 12px; padding: 10px; border: 1px dashed #d4c4b0; border-radius: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.occs li.occ { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; flex-wrap: wrap; }
.occ-main { display: flex; gap: 12px; align-items: center; flex: 1; text-decoration: none; color: var(--ink); min-width: 220px; }
.occ-state { font-size: 13px; color: var(--muted); }
.occ.done { background: #f2faf4; border-color: #b9e0c5; }
.occ.done .occ-state { color: var(--ok); font-weight: 700; }
.occ.half { background: #fffdf3; }
.occ.late { border-color: #f3b9b9; }
.occ.late .occ-state { color: #8a1f1f; }
.occ.flag { border-color: #f2dea3; }
.timeline li { padding: 6px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .date { min-width: 170px; font-weight: 500; color: var(--muted); }
.sign-card { border-color: var(--accent); }
.decline, .danger-zone { margin-top: 16px; }
.danger { color: #8a1f1f; }
.copy { user-select: all; word-break: break-all; }
.note { margin-top: 18px; padding: 12px 16px; background: var(--accent-soft); border-radius: 12px; }
.note p { margin: 6px 0 0; }
.inline-num { display: inline-block !important; width: 70px !important; margin: 0 4px !important; padding: 6px 8px !important; }
.radios label span { flex: 1; }
[hidden] { display: none !important; }
.confirm { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf9; }
.eyebrow a { color: inherit; text-decoration: none; }
label select { margin-top: 6px; }
@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  main { padding: 20px 14px 48px; overflow-wrap: anywhere; }
  header.top { padding: 10px 12px; gap: 8px; }
  nav { gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
  nav a:not(.navcta) { display: none; }
  nav .navcta { padding: 6px 10px; font-size: 13px; }
  button.link { white-space: nowrap; font-size: 13px; }
  .brand { font-size: 16px; white-space: nowrap; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  nav { flex: none; }
  .card { padding: 18px 16px; border-radius: 14px; }
  .card h2 { font-size: 20px; margin-top: 26px; }
  .hero h1 { font-size: 30px; }
  .lede { font-size: 17px; }
  .hero .actions { gap: 8px; }
  .hero .actions a, .hero .actions button { flex: 1 1 100%; text-align: center; }
  .grid2 { grid-template-columns: 1fr; }
  dl, dl.activity { grid-template-columns: 1fr; gap: 2px 0; }
  dt { margin-top: 10px; }
  .date { min-width: 0; display: block; }
  /* Dashboard lists become stacked cards instead of a table that scrolls sideways. */
  table.list, table.list tbody, table.list tr, table.list td { display: block; }
  table.list tr:has(th) { display: none; }
  table.list tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.list tr:last-child { border-bottom: 0; }
  table.list td { padding: 0; border: 0; }
  table.list td:first-child { flex: 1 1 100%; font-size: 16px; }
  table.list td:first-child small { display: block; color: var(--muted); }
  table.list td:nth-child(2) { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
  table.list td:nth-child(2) br { display: none; }
  table.list td:nth-child(2) small::before { content: " · "; }
  table.list td:nth-child(4) br { display: none; }
  table.list td:nth-child(4) small::before { content: " "; }
  /* Dense data tables scroll inside their card, never the whole page. */
  table.tight, table.activity { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .occs li.occ { padding: 10px; }
  .occ-main { min-width: 0; }
  .sigpad { height: 150px; }
  .cal { max-width: none; }
  .stamp { top: 12px; right: 12px; font-size: 13px; }
  .pinned { padding: 12px 14px; }
  footer { padding: 18px 14px; }
}

/* photos */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 22px 0 10px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(80,50,20,.08); transform: rotate(var(--tilt, 0deg)); display: grid; grid-template-rows: 1fr auto; }
.gallery figure:nth-child(odd) { --tilt: -1deg; }
.gallery figure:nth-child(even) { --tilt: 1.2deg; }
.gallery figure:first-child:nth-last-child(n+3) { grid-column: span 2; }
.gallery img { display: block; width: 100%; height: 100%; min-height: 200px; aspect-ratio: 4 / 3; object-fit: cover; background: #f3ece3; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.card .gallery { margin-top: 10px; }
.card .gallery figure { box-shadow: none; border: 1px solid var(--line); transform: none; }
button.link.tiny { font-size: 12px; color: var(--muted); }
.count { font-size: 14px; color: var(--muted); font-weight: 500; }
.upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.filebtn { display: inline-block; margin: 0; cursor: pointer; }
.hook { font-style: italic; }
@media (max-width: 560px) { .gallery figure:first-child:nth-last-child(n+3) { grid-column: auto; } }

/* invite preview */
.note-quote { margin: 14px auto 8px; max-width: 560px; font-size: 18px; color: var(--ink); font-style: italic; }
.note-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 6px; }
.muted-card details summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.muted-card details summary::-webkit-details-marker { display: none; }
.muted-card details summary h2 { margin: 0; }
.muted-card details summary::after { content: "Show"; margin-left: auto; font-size: 14px; color: var(--accent-dark); font-weight: 700; }
.muted-card details[open] summary::after { content: "Hide"; }
.muted-card details > p { margin-top: 16px; }

/* invitation activity */
dl.activity { grid-template-columns: 150px 1fr; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }

/* --- landing page --- */
.hero.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; text-align: left; padding: 24px 0 8px; }
.hero.split .lede { margin-left: 0; }
.hero.split h1 { font-size: clamp(34px, 4.6vw, 54px); }
@media (max-width: 800px) { .hero.split { grid-template-columns: 1fr; text-align: center; } .hero.split .actions { justify-content: center; } .hero.split .lede { margin: 0 auto 12px; } }
.hero.stack { text-align: center; padding: 20px 0 4px; }
.hero.stack h1 { font-size: clamp(34px, 5.2vw, 54px); margin: 8px auto 6px; max-width: 760px; }
.hero.stack .phone { margin: 34px auto 40px; transform: rotate(-2deg); }
.hero.stack .lede { margin: 0 auto 18px; max-width: 640px; }
.hero.stack .actions { margin: 0 0 8px; }
.hero.stack .hint { margin: 0; }
@media (max-width: 600px) { .hero.stack { padding-top: 8px; } .hero.stack .phone { margin: 26px auto 30px; width: 270px; } .hero.stack h1 { font-size: 32px; } .hero.stack .lede { font-size: 17px; } }
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #1b1a19; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(60,35,10,.25), inset 0 0 0 2px #333; transform: rotate(-3deg); }
.phone-bar { height: 22px; display: grid; place-items: center; }
.phone-bar span { width: 90px; height: 8px; border-radius: 99px; background: #333; }
.phone-body { background: var(--bg); border-radius: 28px; padding: 18px 16px 20px; font-size: 12px; line-height: 1.4; }
.m-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.m-h1 { font-size: 17px; font-weight: 800; line-height: 1.2; margin: 6px 0 10px; letter-spacing: -.01em; }
.m-h2 { font-size: 18px; font-weight: 800; margin: 4px 0 10px; }
.m-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; margin: 8px 0 10px; }
.ph { display: block; width: 100%; height: auto; border-radius: 8px; }
.m-photos .ph { aspect-ratio: auto; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.m-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.m-row:last-child { border-bottom: 0; }
.m-row span { color: var(--muted); }
.m-btn { background: var(--accent); color: #fff; font-weight: 800; text-align: center; padding: 10px; border-radius: 10px; font-size: 12px; box-shadow: 0 6px 16px rgba(217,112,43,.3); }
.m-btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; display: inline-block; padding: 8px 14px; }
.m-hint { color: var(--muted); font-size: 11px; text-align: center; margin-top: 8px; }
.m-status { background: #e8f5ec; border: 1px solid #b9e0c5; color: #1f5f3a; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.m-label { font-size: 13px; font-weight: 700; margin: 10px 0 6px; }
.m-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.m-pills span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; }
.m-pills.small span { font-size: 12px; padding: 4px 10px; }
.m-pills .on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.m-cal { margin-top: 12px; max-width: 300px; }
.m-cal-head { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.m-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-cal-grid i { font-style: normal; font-size: 10px; color: var(--muted); text-align: center; font-weight: 700; }
.m-cal-grid b, .m-cal-grid em { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; font-size: 11px; font-weight: 600; border: 1px solid var(--line); background: #fff; }
.m-cal-grid em { border-color: transparent; background: transparent; }
.m-cal-grid b.sel { background: var(--accent); color: #fff; border-color: var(--accent); }
.m-cal-grid b.ret { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.mock { pointer-events: none; user-select: none; }
.mock .party { padding: 10px 12px; }
.mock .party strong { font-size: 14px; }
.mock .party small { display: block; color: var(--muted); font-size: 11px; }
.sigline { display: block; width: 100%; height: 44px; margin: 6px 0 2px; border-bottom: 1px solid #333; }
.stamp.small { font-size: 12px; top: 14px; right: 14px; }
.m-checks { list-style: none; padding: 0; margin: 0 0 12px; }
.m-checks li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: 14px; }
.m-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.m-checks small { display: block; color: var(--muted); }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 44px 0 10px; }
.uses.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin-left: auto; margin-right: auto; }
.reviews-wrap { margin: 40px 0 10px; }
.reviews-wrap h2 { text-align: center; margin: 0 0 6px; }
.lede.center { text-align: center; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
.review { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.review p { margin: 0 0 8px; }
.review cite { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.use { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.use .ph { border-radius: 0; }
.use h3 { margin: 14px 18px 4px; font-size: 18px; }
.use p { margin: 0 18px 18px; color: var(--muted); font-size: 15px; }
.how-steps { margin: 48px 0 28px; display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.step.reverse .step-text { order: 2; }
.step-text .num { margin-bottom: 10px; }
.step-text h2 { margin: 6px 0 10px; font-size: 26px; letter-spacing: -.01em; }
.step-text p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 800px) { .step, .step.reverse { grid-template-columns: 1fr; } .step.reverse .step-text { order: 0; } }
.kinds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 10px; }
.kinds-grid h3 { margin: 0 0 6px; font-size: 17px; }
.kinds-grid p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.checks.two-col { columns: 2; column-gap: 28px; }
.checks.two-col li { break-inside: avoid; }
@media (max-width: 700px) { .checks.two-col { columns: 1; } }
.cta-end { padding: 40px 0 10px; }
.cta-end h2 { font-size: 32px; margin: 0 0 8px; letter-spacing: -.02em; }
main.wide .card + .card { margin-top: 18px; }
main.wide .muted-card { margin-top: 18px; }
@media (max-width: 600px) { .mock.receipt .m-h2 { padding-right: 96px; } }

/* illustrations */
.illo { display: block; width: 100%; height: auto; }
.use .illo { border-radius: 0; }
.use .illo rect:first-child { rx: 0; }
.m-photos .illo { border-radius: 8px; }
.login-illo { max-width: 260px; margin: 0 auto 8px; }
.no-photos { max-width: 420px; margin: 18px auto 6px; }

/* pinned note */
.pinned { background: #fff8e6; border: 1px solid #f2dea3; border-radius: 14px; padding: 14px 18px; margin: 14px auto; text-align: left; max-width: 720px; }
.pinned-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pinned-head small { color: var(--muted); font-size: 13px; }
.pinned p { margin: 8px 0 0; }
.pinned details { margin-top: 8px; }
.pinned summary, .pinned.empty summary { cursor: pointer; font-size: 14px; color: var(--accent-dark); font-weight: 600; }
.pinned.empty { background: transparent; border-style: dashed; padding: 10px 16px; }
.note-form textarea { margin-top: 8px; }
.actions.tight { margin: 10px 0 0; gap: 8px; }
button.small, .primary.small, .secondary.small { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.pin { font-size: 16px; }

.people.pending small em { color: #8a1f1f; font-style: normal; }
.invite-box { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.invite-box summary { cursor: pointer; font-weight: 700; color: var(--accent-dark); }
.invite-box .grid2 { margin-top: 6px; }
.invite-box .grid2 > div { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.three .card .illo { border-radius: 10px; margin-bottom: 10px; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero .badge { vertical-align: middle; }
