:root {
  --maroon: #2f5bea;      /* accent (name kept from v1) */
  --maroon-dark: #2448c4;
  --gold: #d4a017;
  --gold-soft: #fdf6e3;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e7e9ee;
  --bg: #ffffff;
  --card: #ffffff;
  --input: #f8fafc;
  --tag: #f1f5f9;
  --green: #15803d;
  --accent-soft: #eef2ff;
  --radius: 16px;
}

* { box-sizing: border-box; }

/* Make sure the hidden attribute always wins over display rules below. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
.muted { color: var(--muted); }
small { color: var(--muted); font-weight: 400; }

.banner {
  background: var(--gold-soft);
  border-bottom: 1px solid #f3e3b5;
  padding: .5rem 1rem;
  text-align: center;
  font-size: .9rem;
}

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { display: block; }
.brand span { color: var(--maroon); }
.nav { display: flex; gap: .5rem; }

/* Buttons */
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 999px;
  padding: .55rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; text-align: center;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-outline { background: transparent; border-color: var(--maroon); color: var(--maroon); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { padding: .35rem .8rem; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* Hero */
.hero { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.25rem 2rem; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -.02em; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: .75rem auto 1.5rem; max-width: 560px; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Board */
.board { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.filters {
  display: grid; gap: .9rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem; margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.filters input, .filters select {
  font: inherit; font-size: .95rem; height: 42px; width: 100%;
  padding: 0 .75rem; border: 1px solid var(--line); border-radius: 10px;
  background-color: var(--input); color: var(--ink);
}
.filters select {
  appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6560' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 11px;
}
.filters input:hover, .filters select:hover { border-color: #cbd5e1; }

.search-wrap { position: relative; }
.search-wrap svg {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
}
.filters #f-search { height: 48px; padding-left: 2.6rem; font-size: 1rem; border-radius: 12px; }

.filter-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .75rem; align-items: end; }
.fl { display: grid; gap: .3rem; min-width: 0; }
.fl > span:first-child { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.money { position: relative; display: block; }
.money::before { content: "$"; position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filters .money input { padding-left: 1.5rem; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; height: 42px; padding: 0 1rem; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; background: var(--input);
  font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.chip:hover span { border-color: #cbd5e1; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }

@media (max-width: 900px) {
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .chip span { justify-content: center; }
}
@media (max-width: 560px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .chip { grid-column: 1 / -1; }
}

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

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; display: flex; flex-direction: column; gap: .55rem;
  transition: box-shadow .2s, border-color .2s;
}
.card.highlight { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.card h3 { font-size: 1.1rem; margin: 0; }
.rent { font-size: 1.5rem; font-weight: 800; white-space: nowrap; }
.rent small { font-size: .85rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; background: var(--tag); color: var(--ink); }
.tag.incentive { background: #e3f4ea; color: var(--green); font-weight: 700; }
.tag.verified { background: var(--gold-soft); color: #8a6512; font-weight: 700; }
.tag.confirmed { background: #e6effa; color: #1d4f91; font-weight: 700; }
.tag.arrangement { background: #eef2ff; color: var(--maroon); font-weight: 600; }

/* Badge tooltips */
.tag.has-tip { cursor: help; outline: none; transition: box-shadow .15s; }
.tag.has-tip:hover, .tag.has-tip:focus-visible { box-shadow: 0 0 0 2px currentColor inset; }
.help-tip {
  display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: .25rem;
  padding: 0; border: 0; border-radius: 50%; vertical-align: 1px;
  background: var(--tag); color: var(--maroon); font: 700 .72rem/1 inherit; cursor: help;
}
.help-tip:hover, .help-tip:focus-visible { background: var(--maroon); color: #fff; outline: none; }
#tip {
  position: fixed; z-index: 1000; max-width: min(260px, calc(100vw - 24px));
  display: grid; gap: .2rem; padding: .65rem .8rem; border-radius: 12px;
  background: #0f172a; color: #ffffff; font-size: .85rem; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .18);
  pointer-events: none; opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
#tip.below { transform: translateY(-4px); }
#tip.show { opacity: 1; transform: translateY(0); }
#tip strong { color: var(--gold); font-size: .8rem; letter-spacing: .02em; }
#tip span { color: #f8fafc; }
#tip::after {
  content: ""; position: absolute; left: var(--arrow-x, 50%); top: 100%;
  transform: translateX(-50%); border: 7px solid transparent; border-top-color: #0f172a;
}
#tip.below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #0f172a; }
.link-btn { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.meta { font-size: .9rem; color: var(--muted); display: grid; gap: .15rem; }
.meta b { color: var(--ink); font-weight: 600; }
.desc { font-size: .92rem; margin: 0; white-space: pre-line; }
.card-actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .4rem; }

.empty { text-align: center; padding: 2.5rem 1rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* How it works */
.how {
  max-width: 1120px; margin: 0 auto 3rem; padding: 0 1.25rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem;
}
.how > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.how p { margin: 0; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 1.5rem 1.25rem 2.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.footer p { max-width: 720px; margin: .3rem auto; }

/* Dialogs & forms */
.dialog {
  border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw);
  max-height: 92vh; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.dialog { background: var(--card); color: var(--ink); }
.dialog::backdrop { background: rgba(20, 15, 15, .55); }
.form, .form-success { padding: 0 1.5rem 1.5rem; display: grid; gap: 1rem; }
.form-success { padding-top: 1.5rem; }
.form > .muted { margin: 0; font-size: .95rem; }

/* Header stays visible while scrolling long forms */
.dialog-head {
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 2;
  margin: 0 -1.5rem; padding: 1.1rem 1.5rem .9rem;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.dialog-head h2 { margin: 0; font-size: 1.35rem; }

.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form label > input, .form label > select, .form label > textarea, .form label > .money { display: block; margin-top: .4rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink);
  height: 44px; padding: 0 .8rem; width: 100%;
  border: 1px solid var(--line); border-radius: 10px; background-color: var(--input);
}
.form textarea { height: auto; padding: .7rem .8rem; resize: vertical; line-height: 1.45; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #cbd5e1; }
.form input::placeholder, .form textarea::placeholder { color: #94a3b8; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6560' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 11px;
}
.form .money input { padding-left: 1.5rem; }
.hint { font-size: .8rem; font-weight: 400; color: var(--muted); }

.form input:focus, .form select:focus, .form textarea:focus,
.filters input:focus, .filters select:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Sections */
.form-section { display: grid; gap: .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.form-section h3 {
  margin: 0; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--maroon);
}

/* Tap-to-pick choices */
.seg-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg-group legend { padding: 0; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; }
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.choice-cards.two { grid-template-columns: 1fr 1fr; }
.form label.choice { position: relative; cursor: pointer; font-weight: 600; }
.form .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice span {
  display: grid; gap: .15rem; align-content: center; height: 100%; min-height: 44px;
  padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--input); font-size: .92rem; transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice span small { font-size: .78rem; font-weight: 400; color: var(--muted); line-height: 1.3; }
.compact .choice span { justify-items: center; text-align: center; padding: 0 .6rem; }
.choice:hover span { border-color: #cbd5e1; }
.choice input:checked + span { border-color: var(--maroon); background: #eef2ff; box-shadow: inset 0 0 0 1px var(--maroon); color: var(--maroon); }
.choice input:checked + span small { color: #64748b; }
.choice input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-error { color: #b42318; margin: 0; font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
  font-size: .9rem; z-index: 100;
}

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .row.three { grid-template-columns: 1fr 1fr; }
  .row.three > :last-child { grid-column: 1 / -1; }
  .choice-cards { grid-template-columns: 1fr; }
  .form, .form-success { padding-left: 1.1rem; padding-right: 1.1rem; }
  .dialog-head { margin: 0 -1.1rem; padding-left: 1.1rem; padding-right: 1.1rem; }
  .nav .btn-ghost { display: none; }
}

/* Photos on listing cards */
.photo-wrap {
  position: relative; margin: -1.1rem -1.1rem .2rem;
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.photos {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--tag); scrollbar-width: none;
}

/* Arrows for mouse users (hidden on touch screens, where swiping works) */
.photo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 1.6rem; line-height: 1; padding-bottom: 3px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  display: none; opacity: 0; transition: opacity .15s, background .15s;
}
.photo-nav.prev { left: .6rem; }
.photo-nav.next { right: .6rem; }
.photo-nav:hover { background: #fff; }
.photo-nav:focus-visible { opacity: 1; outline: 2px solid var(--maroon); }
@media (hover: hover) and (pointer: fine) {
  .photo-nav { display: grid; place-items: center; }
  .photo-wrap:hover .photo-nav { opacity: 1; }
}
.photo-counter {
  position: absolute; right: .6rem; bottom: .6rem;
  background: rgba(20, 15, 15, .65); color: #fff;
  font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px;
  pointer-events: none;
}
.photos::-webkit-scrollbar { display: none; }
.photos img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; display: block; }
.photos:empty { display: none; }
.photo-count { font-size: .75rem; color: var(--muted); margin-top: -.3rem; }

/* Photo picker in the listing form */
.photo-field { display: grid; gap: .4rem; }
.photo-field .label { font-size: .9rem; font-weight: 600; }
.photo-note { font-size: .85rem; color: var(--muted); margin: 0; }
.photo-previews { display: flex; flex-wrap: wrap; gap: .6rem; }
.photo-previews:empty { display: none; }
.thumb { position: relative; width: 76px; height: 76px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.thumb button {
  position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; cursor: pointer; line-height: 1; font-size: 1rem;
}
.form .photo-add { display: inline-block; justify-self: start; width: auto; font-weight: 600; }

.text-link { display: inline-block; margin-top: 1rem; color: var(--maroon); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.footer a { color: var(--maroon); }

/* How it works page */
.page { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
.page-intro { text-align: center; margin-bottom: 2rem; }
.page-intro h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: -.02em; }
.page-intro p { color: var(--muted); font-size: 1.1rem; margin: .5rem auto 0; max-width: 560px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1rem; }
.panel h2 { font-size: 1.3rem; }
.panel > p { color: var(--muted); margin: 0 0 .8rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.two-col .panel { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: .9rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; }
.steps li::before {
  content: counter(step); width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--maroon); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps b { display: block; }
.steps span { color: var(--muted); font-size: .95rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.compare td:first-child { font-weight: 600; width: 34%; }
.badge-list { display: grid; gap: .7rem; margin: 0; }
.badge-list div { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.badge-list dd { margin: 0; color: var(--muted); font-size: .95rem; }
.safety { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); margin: .5rem 0 0; }
.cta { text-align: center; padding: 1.5rem 0 0; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 680px) {
  .two-col { grid-template-columns: 1fr; }
  .compare td:first-child { width: auto; }
}

/* Listing details page (takeoverleases.com/#l-abc123) */
body.focus-mode .hero,
body.focus-mode .board,
body.focus-mode .how { display: none; }

.focus { max-width: 860px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.back-link {
  background: none; border: 0; padding: .4rem 0; margin-bottom: .8rem; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--maroon);
}
.back-link:hover { text-decoration: underline; }

.detail {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
}
.detail .photo-wrap { margin: 0; border-radius: 0; }
.detail .photos img { aspect-ratio: 16 / 10; }
.detail .photo-counter { font-size: .85rem; }
@media (hover: none), (pointer: coarse) {
  .detail .photo-nav { display: grid; place-items: center; opacity: .9; } /* arrows on phones too, on the big gallery */
}

.thumbs { display: flex; gap: .5rem; padding: .7rem 1rem 0; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb-btn {
  flex: 0 0 auto; width: 76px; height: 56px; padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--tag); opacity: .6;
  transition: opacity .15s, border-color .15s;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn:hover { opacity: .9; }
.thumb-btn.active { border-color: var(--maroon); opacity: 1; }

.detail-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 1rem; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.detail-head h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0; letter-spacing: -.01em; }
.detail-rent { font-size: 2rem; font-weight: 800; white-space: nowrap; line-height: 1.1; }
.detail-rent small { font-size: .95rem; font-weight: 600; color: var(--muted); }

.callout {
  background: #e3f4ea; color: #155c37; border: 1px solid #c3e6d1;
  border-radius: 12px; padding: .8rem 1rem; font-size: .98rem;
}

.facts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .2rem 1.25rem; margin: 0; padding: .9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts > div { padding: .45rem 0; }
.facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: .15rem 0 0; font-weight: 600; }
.facts dd small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: .1rem; }

.detail-section h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.detail-desc { margin: 0; white-space: pre-line; line-height: 1.6; }

.detail-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.detail-actions .btn-primary { flex: 1 1 220px; }
.detail-note { margin: 0; font-size: .85rem; color: var(--muted); }
.detail-note a { color: var(--maroon); }
.detail-note .link-btn { margin: 0; }

.focus-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

/* Cards on the board: clickable previews */
.card.clickable { cursor: pointer; }
.card.clickable:hover { border-color: #cbd5e1; box-shadow: 0 6px 18px rgba(15, 23, 42, .10); transform: translateY(-1px); }
.card.clickable:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.card { transition: box-shadow .2s, border-color .2s, transform .2s; }
.card .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 560px) {
  .focus { padding: .75rem .75rem 2.5rem; }
  .detail-body { padding: 1.1rem 1.1rem 1.3rem; }
  .detail-head { flex-direction: column; gap: .3rem; }
  .detail-rent { font-size: 1.7rem; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* "Listed by Sidney" */
.by { margin: -.15rem 0 .1rem; font-size: .85rem; color: var(--muted); }
.by b { color: var(--ink); font-weight: 600; }
.detail .by { margin: .1rem 0 .6rem; font-size: .95rem; }

/* Success stat + recently taken */
.success-stat { margin: 0; display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: #e3f4ea; color: #1f6b44; font-size: .92rem; }
.success-stat b { font-size: 1.05rem; }
.taken-head { margin: 2.5rem 0 1rem; font-size: 1.15rem; color: var(--muted); font-weight: 700; }
.taken-card { position: relative; opacity: .62; filter: grayscale(.5); cursor: default; }
.taken-card:hover { transform: none; box-shadow: none; }
.taken-photo { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: .75rem; background: var(--tag); }
.taken-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.taken-stamp {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; padding: .3rem .75rem; border-radius: 8px;
  background: var(--maroon); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .03em;
  transform: rotate(4deg); box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* What people say */
.stories { max-width: 1080px; margin: 0 auto 1.5rem; padding: 0 1rem; }
.stories h2 { font-size: 1.15rem; margin: 0 0 .9rem; }
.story-list { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.story { margin: 0; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--line, #e2e8f0); border-radius: 14px; border-left: 4px solid var(--gold); }
.story blockquote { margin: 0 0 .6rem; font-size: 1.02rem; line-height: 1.5; }
.story figcaption { font-size: .88rem; color: var(--muted); }
.story figcaption b { color: var(--ink); }
body.focus-mode .stories { display: none; }

/* Lease screenshot upload */
.proof-preview { display: flex; align-items: center; gap: .75rem; margin: .4rem 0; }
.proof-preview .thumb { width: 72px; height: 72px; }
.proof-ok { color: #1f7a4d; font-weight: 700; font-size: .9rem; }

/* Spam folder reminder after submitting */
.spam-note { background: #fbf5e6; border-left: 4px solid var(--gold); border-radius: 8px; padding: .65rem .9rem; font-size: .92rem; }

/* I'm interested */
.hint-text { font-size: .85rem; color: var(--muted); margin: .25rem 0 .5rem; }
.interest-contact { margin: 1rem 0; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Students looking right now */
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.hero-stats:has(> p:not([hidden])) { margin-top: 1rem; }
.looking-stat { margin: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; background: #eef4fb; color: #1d4f91; font-size: .92rem; }
.looking-stat b { font-size: 1.05rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2f7be0; box-shadow: 0 0 0 0 rgba(47,123,224,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,123,224,0); } 100% { box-shadow: 0 0 0 0 rgba(47,123,224,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.looking-note { background: #eef4fb; border-left: 4px solid #2f7be0; border-radius: 8px; padding: .6rem .85rem; font-size: .92rem; margin: .25rem 0 .75rem; }
.hero .hero-stats > p { margin: 0; max-width: none; font-size: .92rem; }
.hero .hero-stats > .looking-stat { color: #1d4f91; }
.hero .hero-stats > .success-stat { color: #1f6b44; }

/* Feedback button */
.feedback-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  padding: .55rem .95rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--maroon); color: #fff; font: 700 .88rem/1 inherit;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .25); transition: transform .15s, box-shadow .15s;
}
.feedback-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 42, .3); }
.feedback-fab:focus-visible { outline: 3px solid var(--maroon); outline-offset: 2px; }
@media (max-width: 600px) { .feedback-fab { right: 12px; bottom: 12px; padding: .5rem .8rem; font-size: .82rem; } }

/* Instagram */
.ig-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--maroon); font-weight: 600; text-decoration: none; padding: .4rem .85rem; border: 1px solid var(--line, #e2e8f0); border-radius: 999px; background: var(--card); }
.ig-link:hover { border-color: var(--maroon); }
.ig-note { display: flex; gap: .55rem; align-items: flex-start; background: #eef2ff; border-left: 4px solid var(--maroon); border-radius: 8px; padding: .65rem .9rem; font-size: .92rem; }
.ig-note svg { flex: none; color: var(--maroon); margin-top: 2px; }
.ig-note a { color: var(--maroon); }

/* Edit listing */
.edit-takedown { background: #eef2ff; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.edit-takedown p { margin: 0 0 .5rem; }

.footer .link-btn { margin: 0; font-size: .9rem; color: var(--maroon); }

/* "Is this your listing?" */
.owner-note { margin: 1.25rem 0 .5rem; padding: .75rem 1rem; border-radius: 10px; background: var(--tag); font-size: .92rem; color: var(--ink); }
.link-btn.owner-link { margin: 0; font-size: inherit; color: var(--maroon); font-weight: 700; }
.already-listed { font-size: .9rem; margin: -.25rem 0 .75rem; color: var(--muted); }

/* Verified badge ask */
.verify-card { background: var(--gold-soft); border: 2px solid var(--gold); border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .7rem; }
.verify-card p { margin: 0; font-size: .92rem; line-height: 1.5; }
.verify-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.verify-badge { background: var(--gold); color: #0f172a; font-weight: 800; font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; }
.verify-sub { font-weight: 700; font-size: .92rem; color: #8a6512; }
.verify-card #proof-add { justify-self: start; }
.verify-private { font-size: .8rem !important; color: var(--muted); }
.btn-gold { background: var(--gold); color: #0f172a; border: 0; font-weight: 700; cursor: pointer; }
.btn-gold:hover { background: #b88a22; }
.verify-nudge { background: var(--gold-soft); border: 2px solid var(--gold); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .7rem; }
.verify-nudge p { margin: 0; font-size: .92rem; line-height: 1.5; }
.verify-nudge-btns { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.verify-nudge .link-btn { margin: 0; font-size: .88rem; }

/* Alerts form: optional extras tucked away */
.more-prefs { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem; }
#movein-chips { margin-bottom: .2rem; }
#movein-date-field { margin-top: .6rem; }
.fit-count { margin: 0; padding: .65rem .9rem; border-radius: 10px; background: #eaf5ee; color: #1f5f3f; font-size: .92rem; line-height: 1.4; }
.fits { display: grid; gap: .45rem; margin: .2rem 0 1rem; text-align: left; }
.fits-head { margin: 0; font-weight: 700; }
.fit-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; text-decoration: none; }
.fit-row:hover { border-color: var(--maroon); }
.fit-row b { color: var(--maroon); white-space: nowrap; }
.alert-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #eef2ff; border: 1px solid #dbe3ff; }
.alert-cta b { display: block; font-size: 1.05rem; color: var(--maroon); margin-bottom: .15rem; }
.alert-cta span { color: var(--muted); font-size: .92rem; }
.more-prefs summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.more-prefs summary small { font-weight: 400; color: var(--muted); }
.more-prefs-body { display: grid; gap: .9rem; margin-top: .8rem; }
.choice-cards.three { grid-template-columns: repeat(3, 1fr); }

/* After listing: Instagram repost ask */
.ig-repost { background: #eef2ff; border-radius: 12px; padding: .9rem 1rem; margin: .8rem 0; display: grid; gap: .5rem; justify-items: start; }
.ig-repost p { margin: 0; font-size: .92rem; line-height: 1.5; }
.ig-repost p:first-child { display: flex; align-items: center; gap: .45rem; color: var(--maroon); }

/* "One last thing" step after Submit */
.verify-step { display: grid; gap: 1rem; }
.verify-step[hidden] { display: none; }
.verify-actions { display: grid; gap: .6rem; justify-items: center; }
.verify-actions .btn { width: 100%; }
.verify-back { margin: .2rem 0 0 !important; font-size: .85rem !important; }
.verify-slot:empty { display: none; }

/* "One last thing": Instagram tag */
.ig-tag-card { background: #eef2ff; border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .6rem; }
.ig-tag-card p { margin: 0; font-size: .92rem; line-height: 1.5; }
.ig-tag-head { display: flex; align-items: center; gap: .45rem; color: var(--maroon); }
.ig-tag-input { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 .8rem; }
.ig-tag-input span { color: var(--muted); font-weight: 700; }
.ig-tag-input input { border: 0 !important; outline: none; background: transparent; padding: .7rem .3rem; flex: 1; font: inherit; min-width: 0; }
.ig-tag-input:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.verify-optional { margin: -.3rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form label.ig-tag-input { display: flex; flex-direction: row; align-items: center; gap: 0; margin: 0; font-weight: 400; }
.form .ig-tag-input input { padding: .7rem .3rem; margin-top: 0; box-shadow: none; }
/* Move-in choices: two columns everywhere, "Pick a date" full width */
#movein-chips.choice-cards { grid-template-columns: 1fr 1fr; }
#movein-chips .choice:last-child { grid-column: 1 / -1; }

/* Complex pages (lease-takeover/*) */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--maroon); }
.cp-summary { color: var(--ink) !important; font-size: 1rem !important; margin-top: .9rem !important; }
.cp-grid { margin-bottom: 1rem; }
.cp-card { color: inherit; text-decoration: none; }
.cp-card:hover { border-color: var(--maroon); box-shadow: 0 6px 20px rgba(15, 23, 42, .08); }
.cp-photo { width: calc(100% + 2.2rem); margin: -1.1rem -1.1rem .2rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.cp-more { color: var(--maroon); font-weight: 700; font-size: .92rem; margin-top: auto; }
.cp-page .empty p { margin: 0 0 1rem; }
.cp-ctas { margin: 1.5rem 0 1rem; }
.cp-ctas .panel p { color: var(--muted); }
.cp-faq h3 { font-size: 1rem; margin: 1rem 0 .25rem; }
.cp-faq p { color: var(--muted); margin: 0; }
.cp-others { text-align: center; margin-top: 1.5rem; }
.cp-others h2 { font-size: 1.2rem; }
.cp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: .8rem 0 1.2rem; }
.cp-links a { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--maroon); text-decoration: none; font-size: .9rem; }
.cp-links small { color: var(--muted); }
.cp-index { display: grid; gap: .6rem; }
.cp-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; color: inherit; text-decoration: none; }
.cp-row:hover { border-color: var(--maroon); }
.cp-row span { color: var(--muted); font-size: .92rem; text-align: right; }
@media (max-width: 640px) { .cp-ctas.two-col { grid-template-columns: 1fr; } .cp-row { flex-direction: column; align-items: flex-start; gap: .2rem; } .cp-row span { text-align: left; } }

/* ===== v2: clean light look ===== */
h1, h2, h3 { letter-spacing: -.02em; }
.site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
.brand { letter-spacing: -.02em; }
.brand span { color: var(--muted); font-weight: 600; margin-left: .2rem; }
.nav { align-items: center; }
.btn { border-radius: 12px; font-weight: 600; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { box-shadow: 0 1px 2px rgba(47, 91, 234, .25); }
.me-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; margin-left: .25rem; }
.me-btn:hover { border-color: #cbd5e1; }
.me-btn svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .nav-wide { display: none; } }
.card { border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card.clickable:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .08); }
.filters { border-radius: var(--radius); }
.dialog { border-radius: 20px; }

/* Home: "I am..." */
.home { max-width: 560px; margin: 0 auto; padding: 2rem 1.25rem 2.5rem; }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--tag); padding: .4rem .8rem; border-radius: 999px; }
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.home h1 { font-size: clamp(2.2rem, 7vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 1.1rem 0 .7rem; }
.home h1 em { font-style: normal; color: var(--maroon); }
.home-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.55; margin: 0 0 1.2rem; }
.home .hero-stats { justify-content: flex-start; margin: 0 0 1.4rem; }
.home .hero-stats > p { margin: 0; font-size: .9rem; }
.iam { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.iam-cards { display: grid; gap: .65rem; }
.iam-card { display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-align: left; font: inherit; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.iam-card:hover { border-color: #c7d2fe; box-shadow: 0 6px 20px rgba(15, 23, 42, .07); transform: translateY(-1px); }
.iam-card.primary { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.iam-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--maroon); }
.iam-card .ic svg { width: 22px; height: 22px; }
.iam-card .txt { display: grid; gap: .1rem; }
.iam-card .txt b { font-size: 1.02rem; letter-spacing: -.01em; }
.iam-card .txt span { color: var(--muted); font-size: .9rem; }
.iam-card .arrow { margin-left: auto; color: #94a3b8; font-size: 1.4rem; line-height: 1; }
.home-foot { text-align: center; color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }
.home-foot a { color: var(--maroon); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) {
  .home { max-width: 1080px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; padding: 4.5rem 1.5rem 3.5rem; }
  .home h1 { font-size: 3.5rem; }
}

/* Finder dialog */
.finder .dialog-head h2[hidden] + .icon-btn { margin-left: auto; }
.city-list { display: grid; gap: .6rem; }
.city-opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.city-opt:hover { border-color: var(--maroon); }
.city-opt b { display: block; font-size: 1.02rem; }
.city-opt small { display: block; margin-top: .1rem; }
.city-count { background: #dcfce7; color: #15803d; font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.city-count:empty { display: none; }
.city-opt.other .arrow { color: #94a3b8; font-size: 1.4rem; }
.finder-hint { margin: -.2rem 0 0; }
.seg { display: flex; flex-wrap: wrap; gap: .45rem; }
.form .seg label { font-weight: 600; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; }
.seg input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.finder-actions { display: grid; grid-template-columns: 1fr 2fr; gap: .6rem; }
.finder-back { margin: .2rem auto 0; display: block; }
#finder-fit:empty { display: none; }
@media (max-width: 480px) {
  .site-header { padding: .7rem 1rem; }
  .nav .btn-primary { white-space: nowrap; padding: .5rem .85rem; font-size: .9rem; }
  .brand { font-size: 1.1rem; }
}

/* ===== v2: screens + motion ===== */
/* Home shows only the "I am..." choices; the board is its own screen. */
body.view-home .board, body.view-home .how, body.view-home .stories, body.view-home .footer { display: none; }
body.view-board .home { display: none; }
body.focus-mode .home { display: none; }
body.view-home .home { min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); align-content: center; }
@media (max-width: 899px) { body.view-home .home { display: flex; flex-direction: column; justify-content: center; } }
.board-top { display: flex; align-items: center; gap: .9rem; margin: .4rem 0 1rem; flex-wrap: wrap; }
.board-title { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0; letter-spacing: -.03em; }
.back-home { border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; padding: .45rem .85rem; border-radius: 999px; cursor: pointer; }
.back-home:hover { border-color: #cbd5e1; }

/* Screen changes: old screen fades up and out, new one fades and rises in. Header stays put. */
.site-header { view-transition-name: header; }
::view-transition-old(root) { animation: vt-out .2s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
main.view-in { animation: vt-in .38s cubic-bezier(.16, 1, .3, 1) backwards; }

/* First load: the home screen eases in, cards one after another. */
body.view-home .home-copy { animation: vt-in .5s cubic-bezier(.16, 1, .3, 1) backwards; }
body.view-home .iam-card { animation: vt-in .5s cubic-bezier(.16, 1, .3, 1) backwards; }
body.view-home .iam-card:nth-child(1) { animation-delay: .08s; }
body.view-home .iam-card:nth-child(2) { animation-delay: .14s; }
body.view-home .iam-card:nth-child(3) { animation-delay: .2s; }
body.view-home .iam-card:nth-child(4) { animation-delay: .26s; }

/* Pop-ups ease in and out; steps inside the finder slide in. */
.dialog[open] { animation: dlg-in .32s cubic-bezier(.16, 1, .3, 1); }
.dialog[open]::backdrop { animation: bd-in .32s ease; }
.dialog.closing { animation: dlg-out .17s ease-in forwards; }
.dialog.closing::backdrop { animation: bd-out .17s ease-in forwards; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes dlg-out { to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes bd-in { from { opacity: 0; } }
@keyframes bd-out { to { opacity: 0; } }

/* Taps feel physical. */
.btn, .iam-card, .city-opt, .seg span, .me-btn, .back-home { transition: transform .12s ease, background .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn:active, .iam-card:active, .city-opt:active, .me-btn:active, .back-home:active { transform: scale(.975); }
.seg label:active span { transform: scale(.95); }


/* Board screen: the browser's jump to #board must not hide the top under the header */
#board { scroll-margin-top: 90px; }

/* Phones: all four choices fit on one screen, even with the browser's bars showing */
@media (max-width: 899px) {
  .home { padding: 1rem 1.1rem 1.25rem; }
  .home .hero-stats { display: none; }
  .home h1 { font-size: clamp(1.8rem, 8.4vw, 2.3rem); margin: .8rem 0 .5rem; }
  .home-sub { font-size: .95rem; margin-bottom: 1.1rem; }
  .iam { margin-bottom: .55rem; }
  .iam-cards { gap: .5rem; }
  .iam-card { padding: .75rem .85rem; border-radius: 16px; gap: .75rem; }
  .iam-card .ic { width: 40px; height: 40px; border-radius: 12px; }
  .iam-card .ic svg { width: 20px; height: 20px; }
  .iam-card .txt b { font-size: .98rem; }
  .iam-card .txt span { font-size: .85rem; }
  .home-foot { margin-top: .8rem; font-size: .82rem; }
}
@media (max-width: 899px) {
  body.view-home .feedback-fab { display: none; }
  .home h1 { font-size: clamp(1.7rem, 8vw, 2.15rem); }
  .home-sub { margin-bottom: .9rem; }
}

/* ===== v2: roomier dialogs, softer motion, clean filter row ===== */
/* Motion: one easing for everything, slower and softer */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
main.view-in { animation: vt-in .6s var(--ease-out) backwards; }
body.view-home .home-copy { animation: vt-in .8s var(--ease-out) backwards; }
body.view-home .iam-card { animation: vt-in .8s var(--ease-out) backwards; }
body.view-home .iam-card:nth-child(1) { animation-delay: .12s; }
body.view-home .iam-card:nth-child(2) { animation-delay: .2s; }
body.view-home .iam-card:nth-child(3) { animation-delay: .28s; }
body.view-home .iam-card:nth-child(4) { animation-delay: .36s; }

/* Dialogs: bigger, roomier, ease in and out */
.dialog { width: min(600px, 94vw); border-radius: 24px; overflow-x: hidden; box-shadow: 0 30px 80px rgba(15, 23, 42, .22), 0 2px 8px rgba(15, 23, 42, .06); }
.dialog::backdrop { background: rgba(15, 23, 42, .45); backdrop-filter: blur(3px); }
.form, .form-success { padding: 0 1.75rem 1.75rem; gap: 1.1rem; }
.form-success { padding-top: 1.75rem; }
.dialog-head { margin: 0 -1.75rem; padding: 1.4rem 1.75rem 1.1rem; }
.dialog-head h2 { font-size: 1.45rem; letter-spacing: -.025em; }
.dialog[open] { animation: dlg-in .5s var(--ease-out); }
.dialog[open]::backdrop { animation: bd-in .45s ease; }
.dialog.closing { animation: dlg-out .26s cubic-bezier(.4, 0, 1, 1) forwards; }
.dialog.closing::backdrop { animation: bd-out .26s ease forwards; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(26px) scale(.965); } }
@keyframes dlg-out { to { opacity: 0; transform: translateY(16px) scale(.975); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
/* Phones: dialogs become sheets that slide up from the bottom */
@media (max-width: 600px) {
  .dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92vh; max-height: 92svh; }
  .form, .form-success { padding: 0 1.3rem 1.6rem; }
  .dialog-head { margin: 0 -1.3rem; padding: 1.2rem 1.3rem 1rem; }
  .dialog[open] { animation: sheet-in .55s var(--ease-out); }
  .dialog.closing { animation: sheet-out .28s cubic-bezier(.4, 0, 1, 1) forwards; }
}

/* Finder */
.finder { width: min(620px, 94vw); }
.finder-close { position: absolute; top: 1.1rem; right: 1.2rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--tag); font-size: 1.4rem; display: grid; place-items: center; color: var(--muted); }
.finder-close:hover { background: #e2e8f0; color: var(--ink); }
.finder-body { padding: 2rem; }
.finder-step { display: grid; gap: 0; }
.finder-title { font-size: 1.75rem; letter-spacing: -.03em; margin: 0 3rem .4rem 0; }
.finder-hint { color: var(--muted); font-size: 1rem; margin: 0 0 1.5rem; line-height: 1.5; }
.finder-back { justify-self: start; border: 0; background: none; padding: 0; margin: 0 0 1rem; font: inherit; font-weight: 600; font-size: .92rem; color: var(--maroon); cursor: pointer; }
.finder-back:hover { text-decoration: underline; }
.city-list { display: grid; gap: .8rem; }
.city-opt { padding: 1.25rem 1.35rem; border-radius: 18px; gap: 1rem; justify-content: flex-start; }
.city-opt:hover { border-color: var(--maroon); box-shadow: 0 0 0 4px var(--accent-soft); }
.city-pin { width: 48px; height: 48px; border-radius: 14px; background: var(--tag); display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.city-txt { flex: 1; }
.city-txt b { display: block; font-size: 1.12rem; letter-spacing: -.01em; }
.city-txt small { display: block; font-size: .92rem; margin-top: .15rem; }
.city-count { font-size: .85rem; padding: .35rem .75rem; }
.finder-fields { display: grid; gap: 1.35rem; margin-bottom: 1.4rem; }
.f-label { display: grid; gap: .5rem; font-weight: 600; font-size: .95rem; }
.finder input[type=text], .finder input[type=email], .finder input:not([type]) {
  width: 100%; height: 52px; padding: 0 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; background: var(--input); transition: border-color .2s, box-shadow .2s, background .2s; }
.finder .money input { padding-left: 1.9rem; }
.finder .money::before { left: 1rem; }
.finder input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.finder .seg-group legend { font-size: .95rem; font-weight: 600; margin-bottom: .6rem; }
.finder .seg { gap: .55rem; }
.finder .seg label { cursor: pointer; }
.finder .seg span { padding: .65rem 1.1rem; font-size: .95rem; font-weight: 600; transition: background .2s, border-color .2s, color .2s, transform .12s; }
.finder .seg label:hover span { border-color: #c7d2fe; }
#finder-fit { margin: 0 0 1.3rem; padding: .85rem 1.1rem; border-radius: 14px; font-size: .98rem; }
.finder-actions { grid-template-columns: 1fr 2fr; gap: .75rem; }
.finder .form-error { margin: 0 0 1rem; }
.finder-done { text-align: center; }
.finder-done .finder-title { margin: 0 0 .5rem; }
.done-check { width: 64px; height: 64px; margin: .5rem auto 1.2rem; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
@media (max-width: 600px) {
  .finder { width: 100%; }
  .finder-body { padding: 1.7rem 1.3rem 1.8rem; }
  .finder-title { font-size: 1.5rem; }
  .city-opt { padding: 1.1rem; }
}

/* Board filters: a search bar and one row of rounded filter buttons */
.filters { background: none; border: 0; box-shadow: none; padding: 0; gap: .85rem; margin-bottom: .6rem; }
.filters #f-search { height: 54px; border-radius: 16px; font-size: 1.02rem; background: var(--input); padding-left: 2.9rem; }
.search-wrap svg { left: 1.1rem; }
.filter-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.filters select.pill, .filters .money-pill {
  height: 42px; width: auto; border: 1px solid var(--line); border-radius: 999px; background-color: #fff;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.filters select.pill { padding: 0 2.1rem 0 1rem; background-position: right .85rem center; }
.filters select.pill:hover, .filters .money-pill:hover { border-color: #cbd5e1; }
.filters .money-pill { display: inline-flex; align-items: center; padding: 0 .4rem 0 1rem; gap: .15rem; cursor: text; }
.filters .money-pill span { color: var(--muted); }
.filters .money-pill input { border: 0; background: none; height: 40px; width: 5.6rem; padding: 0 .3rem; font-weight: 600; box-shadow: none; }
.filters .money-pill input:focus { box-shadow: none; outline: none; }
.filters .money-pill:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.filters select.pill.on, .filters .money-pill.on { background-color: var(--accent-soft); border-color: #c7d2fe; color: var(--maroon); }
.filters .money-pill.on span { color: var(--maroon); }
.filters .chip span { height: 42px; background: #fff; font-size: .92rem; }
.filters .chip input:checked + span { background: var(--accent-soft); border-color: #c7d2fe; color: var(--maroon); }
.clear-filters { border: 0; background: none; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); padding: .5rem .6rem; cursor: pointer; }
.clear-filters:hover { color: var(--ink); text-decoration: underline; }
.sort-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .4rem 0 1rem; }
.sort-row #result-count { margin: 0; font-size: .95rem; }
.sort-select { appearance: none; -webkit-appearance: none; border: 0; background-color: transparent; height: auto; width: auto; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; padding: .3rem 1.6rem .3rem .4rem; background-position: right .3rem center; }
.sort-wrap { position: relative; }
/* Phones: the filter buttons scroll sideways in one line */
@media (max-width: 700px) {
  .filter-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1.25rem; padding: .1rem 1.25rem .3rem; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row > * { flex: none; }
}
.filters .sort-select { width: auto; height: auto; border: 0; border-radius: 8px; background-color: transparent; padding: .35rem 1.7rem .35rem .5rem; background-position: right .4rem center; font-weight: 600; font-size: .92rem; }
.filters .sort-select:hover { background-color: var(--tag); }
.sort-row #result-count { white-space: nowrap; }
/* Other pages (How it works, complex pages) ease in the same way */
.page { animation: vt-in .6s var(--ease-out) backwards; }


/* ===== v2: lighter, smoother motion ===== */
/* Blur behind pop-ups and under the header is expensive to draw and made things stutter. */
.dialog::backdrop { backdrop-filter: none; background: rgba(15, 23, 42, .5); }
.site-header { backdrop-filter: none; background: #fff; view-transition-name: none; }
main { will-change: auto; }

/* Pop-ups: open soft, close by sliding down and fading */
.dialog[open] { animation: dlg-in .55s cubic-bezier(.22, 1, .36, 1); }
.dialog.closing { animation: dlg-down .33s cubic-bezier(.4, 0, 1, 1) forwards; }
.dialog.closing::backdrop { animation: bd-out .33s ease forwards; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(34px) scale(.97); } }
@keyframes dlg-down { to { opacity: 0; transform: translateY(70px); } }
@media (max-width: 600px) {
  .dialog[open] { animation: sheet-in .6s cubic-bezier(.22, 1, .36, 1); }
  .dialog.closing { animation: sheet-out .34s cubic-bezier(.4, 0, 1, 1) forwards; }
}
.finder-body, .wiz-steps { position: relative; }

/* Home float-in only on the first visit */
body:not(.first-load) .home-copy, body:not(.first-load) .iam-card { animation: none; }

/* Board cards float in one after another */
#listings > * { animation: card-in .6s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }

/* ===== List your lease: clean 4-step form ===== */
.wizard { gap: 0; }
.wiz-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.wiz-count { font-size: .85rem; font-weight: 600; color: var(--muted); }
.wiz-progress { height: 4px; background: var(--tag); border-radius: 999px; margin: 0 0 1.6rem; overflow: hidden; }
.wiz-progress span { display: block; height: 100%; width: 25%; background: var(--maroon); border-radius: 999px; transition: width .55s cubic-bezier(.22, 1, .36, 1); }
.wiz-steps { display: grid; }
.wiz-step { display: grid; gap: 1.25rem; align-content: start; }
.wiz-title { font-size: 1.35rem; letter-spacing: -.025em; margin: 0; }
.wiz-sub { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: -.85rem 0 .1rem; }
.wiz-sub .already-listed { display: inline; margin: 0; }
.wizard label { font-weight: 600; font-size: .92rem; }
.wizard label > input, .wizard label > select, .wizard label > textarea, .wizard label > .money { margin-top: .45rem; }
.wizard input:not([type=radio]):not([type=checkbox]):not([type=file]), .wizard select, .wizard textarea { height: 50px; border-radius: 14px; font-size: 1rem; }
.wizard textarea { height: auto; min-height: 110px; padding-top: .8rem; }
.wizard .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.wizard .row.three { grid-template-columns: 1fr 1fr 1.2fr; }
.wizard .help { display: block; margin-top: .4rem; font-size: .8rem; font-weight: 400; color: var(--muted); line-height: 1.35; }
.wizard .hint { font-weight: 400; }
.wizard .seg-group legend { font-size: .92rem; margin-bottom: .55rem; }
.wizard .choice-cards { gap: .6rem; }
.wizard .choice-cards.stack { grid-template-columns: 1fr; }
.wizard .choice-cards.stack .choice span { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; gap: 1rem; }
.wizard .choice-cards.stack .choice small { margin: 0; text-align: right; }
.wizard .choice span { min-height: 54px; border-radius: 14px; }
.wizard .form-error { margin: 1.1rem 0 0; }
.wiz-nav { display: grid; grid-template-columns: 1fr 2fr; gap: .75rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wiz-nav [data-wiz-submit], .wiz-nav [data-wiz-next] { grid-column: 2; grid-row: 1; }
.wiz-nav [data-wiz-back] { grid-column: 1; grid-row: 1; }
/* Photos step */
.photo-field { display: grid; gap: .8rem; }
.photo-add { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border: 1.5px dashed #cbd5e1; border-radius: 16px; background: var(--input); cursor: pointer; transition: border-color .2s, background .2s; }
.photo-add:hover { border-color: var(--maroon); background: var(--accent-soft); }
.photo-add-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.5rem; color: var(--maroon); flex: none; }
.photo-add b { display: block; font-size: 1rem; }
.photo-add small { display: block; font-weight: 400; }
@media (max-width: 600px) {
  .wizard .row, .wizard .row.three { grid-template-columns: 1fr 1fr; }
  .wizard .row.three #gender-field { grid-column: 1 / -1; }
  .wizard .row:not(.three) { grid-template-columns: 1fr; }
  .wiz-title { font-size: 1.25rem; }
}
.wizard .photo-add { display: flex; flex-direction: row; align-items: center; width: 100%; margin: 0; text-align: left; }
.wizard .photo-add > span:not(.photo-add-ic) { display: grid; gap: .1rem; }

/* ===== v2: listing page ===== */
.focus { max-width: 1120px; padding: 1.25rem 1.25rem 3rem; }
.focus .back-link { font-weight: 600; text-decoration: none; margin-bottom: 1rem; }
.detail { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; display: grid; gap: 2rem; }
.detail-main { display: grid; gap: 1.5rem; min-width: 0; }
.detail-gallery { border-radius: 22px; overflow: hidden; background: var(--tag); }
.detail .photo-wrap { border-radius: 22px; overflow: hidden; }
.detail .photos img { aspect-ratio: 16 / 10; }
.detail .thumbs { padding: .7rem 0 0; background: #fff; }
.detail .thumb-btn { border-radius: 12px; }
.detail-intro h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); letter-spacing: -.035em; margin: 0 0 .35rem; }
.detail-intro .by { margin: 0 0 .8rem; }
.detail .callout { margin: 0; border-radius: 16px; padding: 1rem 1.15rem; }
.detail-section h2 { font-size: 1.2rem; letter-spacing: -.02em; margin: 0 0 .9rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; border: 0; padding: 0; margin: 0; }
.fact { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fact-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--tag); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.facts dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 600; font-size: .98rem; }
.facts > .fact { padding: .9rem 1rem; }
.detail-desc { font-size: 1rem; line-height: 1.65; color: #334155; }
.report-line { margin-top: -.5rem; }
.detail-side { display: grid; gap: 1rem; align-content: start; }
.action-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 40px rgba(15, 23, 42, .08); display: grid; gap: .9rem; }
.action-card .detail-rent { font-size: 2.4rem; letter-spacing: -.03em; }
.action-sub { margin: -.5rem 0 0; color: var(--muted); font-size: .95rem; }
.action-inc { margin: 0; display: inline-block; justify-self: start; padding: .35rem .75rem; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .9rem; }
.action-card .detail-actions { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: .2rem; }
.action-card .detail-actions .btn { width: 100%; }
.detail-side .owner-note { margin: 0; border-radius: 16px; padding: .9rem 1.1rem; }
.detail-bar { display: none; }
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .detail-side { position: sticky; top: 92px; }
}
@media (max-width: 899px) {
  .detail { gap: 1.4rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .facts > .fact { padding: .75rem .8rem; gap: .6rem; }
  .fact-ic { width: 32px; height: 32px; font-size: .95rem; }
  .detail-gallery, .detail .photo-wrap { border-radius: 18px; }
  .action-card { box-shadow: none; }
  /* Sticky price + "I'm interested" bar at the bottom on phones */
  body.focus-mode .detail-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(15, 23, 42, .08);
    animation: bar-up .6s cubic-bezier(.22, 1, .36, 1) .2s backwards; }
  .detail-bar .bar-price b { font-size: 1.4rem; letter-spacing: -.02em; }
  .detail-bar .bar-price small { color: var(--muted); font-weight: 600; }
  .detail-bar .btn { flex: 1; max-width: 230px; }
  body.focus-mode .focus { padding-bottom: 6.5rem; }
  body.focus-mode .feedback-fab { display: none; }
}
@keyframes bar-up { from { transform: translateY(100%); } }

/* ===== v2: pop-up polish ===== */
.dialog .icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--tag); display: grid; place-items: center; font-size: 1.45rem; color: var(--muted); flex: none; transition: background .2s, color .2s; outline: none; }
.dialog .icon-btn:hover { background: #e2e8f0; color: var(--ink); }
.dialog .icon-btn:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); }
#waitlist-form .fit-count { margin: 0; }
#waitlist-form #movein-chips { grid-template-columns: 1fr 1fr; }
.form-success h2 { font-size: 1.5rem; letter-spacing: -.025em; }

/* Listings with a cash incentive get a green outline */
.card.has-incentive { border-color: #22c55e; box-shadow: 0 0 0 1px #22c55e, 0 6px 22px rgba(34, 197, 94, .14); }
.card.has-incentive.clickable:hover, a.card.has-incentive:hover { box-shadow: 0 0 0 2px #22c55e, 0 10px 30px rgba(34, 197, 94, .2); }

/* Interest counter */
.interest-line { margin: 0; font-size: .86rem; color: var(--muted); }
.interest-line b { color: var(--ink); }
.interest-line.hot { color: #c2410c; }
.interest-line.hot b { color: #c2410c; }
.interest-line.big { font-size: .95rem; padding: .55rem .8rem; border-radius: 12px; background: var(--tag); }
.interest-line.big.hot { background: #fff1e6; }

/* ===== Get featured on Instagram page ===== */
.gf { max-width: 1080px; }
.gf-hero { display: grid; gap: 2.5rem; align-items: center; padding: 1rem 0 2.5rem; }
.gf-kicker { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--maroon); background: var(--accent-soft); padding: .4rem .8rem; border-radius: 999px; }
.gf-hero h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; margin: 1rem 0 .8rem; }
.gf-hero h1 em { font-style: normal; color: var(--maroon); }
.gf-copy > p { color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.4rem; }
.gf-copy > p b { color: var(--ink); }
.gf-ctas { display: flex; gap: .6rem; flex-wrap: wrap; }
.gf-fine { font-size: .85rem !important; margin-top: 1rem !important; }
.gf-phone { justify-self: center; width: min(340px, 100%); padding: 14px; border-radius: 40px; background: #0f172a; box-shadow: 0 30px 70px rgba(15, 23, 42, .25); animation: gf-float 6s ease-in-out infinite; }
@keyframes gf-float { 50% { transform: translateY(-10px); } }
.gf-post { background: #fff; border-radius: 28px; overflow: hidden; }
.gf-post-head { display: flex; align-items: center; gap: .55rem; padding: .8rem .9rem; font-size: .88rem; }
.gf-avatar { width: 30px; height: 30px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6); display: grid; place-items: center; }
.gf-avatar img { width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.gf-dots { margin-left: auto; color: var(--muted); }
.gf-slide { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2f5bea, #1e3a8a); color: #fff; display: flex; align-items: flex-end; padding: 1.2rem; }
.gf-badge { position: absolute; top: 1rem; left: 1rem; background: #fbbf24; color: #0f172a; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: .35rem .65rem; border-radius: 999px; }
.gf-slide-body { display: grid; gap: .2rem; }
.gf-slide-body small { font-size: .68rem; font-weight: 700; letter-spacing: .08em; opacity: .8; color: #fff; }
.gf-slide-body strong { font-size: 1.6rem; letter-spacing: -.02em; }
.gf-price { font-size: 2.2rem; font-weight: 800; color: #fbbf24; letter-spacing: -.02em; line-height: 1.1; }
.gf-price small { font-size: .9rem; color: #fff; opacity: .85; }
.gf-meta { font-size: .9rem; opacity: .9; }
.gf-dots-row { position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.gf-dots-row i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.gf-dots-row i.on { background: #fff; }
.gf-post-foot { display: flex; align-items: center; padding: .75rem .9rem; font-size: 1.05rem; color: var(--ink); }
.gf-post-foot span { margin-left: auto; font-size: .8rem; color: var(--muted); }
.gf-section { padding: 2rem 0; border-top: 1px solid var(--line); }
.gf-section h2 { font-size: 1.6rem; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.gf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; }
.gf-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: grid; gap: .45rem; align-content: start; }
.gf-card b { font-size: 1.05rem; }
.gf-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.gf-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--tag); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .2rem; }
.gf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; }
.gf-steps li { display: flex; gap: .9rem; padding: 1.2rem; border-radius: 20px; background: var(--input); }
.gf-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.gf-steps b { font-size: 1.02rem; }
.gf-steps p { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; }
.gf-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: .6rem; background: #fff; }
.gf-faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.gf-faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.gf-faq details[open] summary::after { transform: rotate(45deg); }
.gf-faq details p { margin: .7rem 0 0; color: var(--muted); line-height: 1.55; }
.gf-end { text-align: center; padding: 2.5rem 1rem 1rem; border-top: 1px solid var(--line); }
.gf-end h2 { font-size: 1.7rem; letter-spacing: -.03em; margin: 0 0 1.1rem; }
@media (min-width: 900px) { .gf-hero { grid-template-columns: 1.15fr 1fr; padding: 2.5rem 0 3.5rem; } }

/* "Get featured" card on the listing success screen */
.feature-cta { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px; background: linear-gradient(135deg, var(--accent-soft), #fdf4ff); border: 1px solid #dbe3ff; text-decoration: none; color: var(--ink); }
.feature-cta .gf-ic { background: #fff; margin: 0; flex: none; }
.feature-cta b { display: block; }
.feature-cta small { color: var(--muted); }
.feature-cta .arrow { margin-left: auto; color: var(--maroon); font-size: 1.4rem; }

/* "Get featured on Instagram" offer on the last listing screen */
.feature-offer { border: 1.5px solid #dbe3ff; border-radius: 18px; padding: 1.2rem; background: linear-gradient(135deg, #f5f7ff, #fdf4ff); display: grid; gap: .8rem; transition: border-color .25s, box-shadow .25s; }
.feature-offer.on { border-color: var(--maroon); box-shadow: 0 0 0 4px var(--accent-soft); }
.fo-head { display: flex; gap: .8rem; align-items: center; }
.fo-star { width: 44px; height: 44px; border-radius: 13px; background: #fbbf24; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.fo-head b { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.fo-head small { color: var(--muted); font-size: .88rem; }
.feature-offer > p { margin: 0; font-size: .93rem; color: #334155; line-height: 1.5; }
.feature-offer > p a { color: var(--maroon); font-weight: 600; }
.fo-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.fo-choice label { position: relative; cursor: pointer; }
.fo-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fo-choice span { display: grid; gap: .1rem; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, transform .12s; }
.fo-choice span b { font-size: .98rem; }
.fo-choice span small { color: var(--muted); font-size: .82rem; }
.fo-choice input:checked + span { border-color: var(--maroon); background: var(--accent-soft); }
.fo-choice input:checked + span b { color: var(--maroon); }
.fo-choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.fo-choice label:active span { transform: scale(.98); }
.fo-handle { background: #fff; }

/* Success screen: next step for people who chose the feature */
.feature-pay { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border-radius: 16px; border: 1.5px solid #fcd34d; background: #fffbeb; }
.feature-pay b { display: block; font-size: 1.02rem; }
.feature-pay p { margin: .3rem 0 .8rem; font-size: .92rem; color: #334155; }
.ig-tag-input:focus-within, .fo-handle:focus-within { border-color: var(--maroon) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; outline: none !important; }
.fo-handle input:focus { outline: none !important; box-shadow: none !important; }

/* Last listing screen: all about the Instagram feature */
.feature-offer { padding: 1.4rem; gap: 1.1rem; }
.fo-top { display: grid; grid-template-columns: 1fr 150px; gap: 1.1rem; align-items: center; }
.fo-kicker { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--maroon); background: #fff; border: 1px solid #dbe3ff; padding: .3rem .65rem; border-radius: 999px; }
.fo-copy h3 { font-size: 1.35rem; letter-spacing: -.025em; margin: .55rem 0 .4rem; }
.fo-copy p { margin: 0; font-size: .93rem; color: #334155; line-height: 1.5; }
.fo-mock { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; padding: .8rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .1rem;
  background: linear-gradient(160deg, #2f5bea, #1e3a8a); color: #fff; box-shadow: 0 12px 30px rgba(47, 91, 234, .3); transform: rotate(2.5deg); }
.fo-mock-badge { position: absolute; top: .6rem; left: .6rem; background: #fbbf24; color: #0f172a; font-size: .58rem; font-weight: 800; letter-spacing: .05em; padding: .25rem .45rem; border-radius: 999px; }
.fo-mock small { font-size: .55rem; font-weight: 700; letter-spacing: .08em; opacity: .8; color: #fff; }
.fo-mock strong { font-size: .95rem; line-height: 1.15; letter-spacing: -.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fo-mock-price { font-size: 1.35rem; font-weight: 800; color: #fbbf24; line-height: 1.1; }
.fo-mock-price small { font-size: .6rem; opacity: .85; letter-spacing: 0; }
.fo-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.fo-perks li { display: flex; gap: .65rem; align-items: flex-start; padding: .75rem .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fo-perks li > span { width: 32px; height: 32px; border-radius: 10px; background: var(--tag); display: grid; place-items: center; font-size: .95rem; flex: none; }
.fo-perks b { display: block; font-size: .9rem; }
.fo-perks small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: .1rem; }
.fo-more { justify-self: center; font-size: .88rem; font-weight: 600; color: var(--maroon); text-decoration: none; }
.fo-more:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .fo-top { grid-template-columns: 1fr 110px; gap: .8rem; }
  .fo-copy h3 { font-size: 1.2rem; }
  .fo-perks { grid-template-columns: 1fr; }
}

/* Report link on listing cards */
.card-report { margin-left: auto; align-self: center; border: 0; background: none; padding: .3rem .4rem; font: inherit; font-size: .8rem; font-weight: 600; color: #94a3b8; cursor: pointer; border-radius: 8px; }
.card-report:hover { color: #b42318; background: #fef2f2; }
@media (max-width: 600px) {
  .fo-perks { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .fo-perks li { padding: .6rem .65rem; gap: .5rem; }
  .fo-perks li > span { width: 28px; height: 28px; font-size: .85rem; }
  .fo-perks small { display: none; }
  .fo-perks b { font-size: .84rem; line-height: 1.25; }
}

/* Progress bar lives in the sticky header so it stays visible while scrolling */
.dialog-head { position: sticky; }
.dialog-head .wiz-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; margin: 0; border-radius: 0; background: var(--tag); }
.dialog-head .wiz-progress span { border-radius: 0 999px 999px 0; }
.wizard .wiz-steps { padding-top: 1.5rem; }

/* Instagram handle box: let the text breathe (it was clipping letters) */
.form label.ig-tag-input, .fo-handle { min-height: 50px; border-radius: 14px; padding: 0 .9rem; }
.form .ig-tag-input input, .fo-handle input { height: 48px !important; padding: 0 .35rem !important; line-height: 1.4; font-size: .95rem; }

/* Report: tap-able reasons instead of a plain dropdown */
.report-reasons { display: grid; gap: .5rem; }
.form label.rr { position: relative; cursor: pointer; font-weight: 400; }
.rr input { position: absolute; opacity: 0; pointer-events: none; }
.rr span { display: grid; grid-template-columns: 36px 1fr; column-gap: .75rem; align-items: center; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, transform .12s; }
.rr i { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--tag); display: grid; place-items: center; font-style: normal; font-size: 1.05rem; }
.rr b { font-size: .97rem; }
.rr small { color: var(--muted); font-size: .83rem; }
.rr:hover span { border-color: #c7d2fe; }
.rr input:checked + span { border-color: var(--maroon); background: var(--accent-soft); }
.rr input:checked + span b { color: var(--maroon); }
.rr input:checked + span i { background: #fff; }
.rr input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.rr:active span { transform: scale(.985); }
#report-dialog textarea, #report-dialog input:not([type=radio]):not([type=hidden]) { border-radius: 14px; }
.rr span { display: flex; align-items: center; gap: .75rem; }
.rr i { flex: none; }
.rr em { font-style: normal; display: grid; gap: .1rem; }

/* ===== Board filters: custom menus ===== */
.dd { position: relative; display: inline-flex; flex: none; }
.dd-native { position: absolute !important; inset: 0; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.dd-btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .12s; }
.dd-btn svg { width: 11px; height: 8px; color: var(--muted); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.dd-btn.open svg { transform: rotate(180deg); }
.pill-btn { height: 42px; padding: 0 .95rem 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 600; color: var(--ink); }
.pill-btn:hover { border-color: #cbd5e1; }
.pill-btn.open { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.pill-btn.on { background: var(--accent-soft); border-color: #c7d2fe; color: var(--maroon); }
.pill-btn.on svg { color: var(--maroon); }
.pill-btn:active { transform: scale(.97); }
.sort-btn { border: 0; background: none; padding: .4rem .55rem; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.sort-btn:hover, .sort-btn.open { background: var(--tag); }
.dd-menu { position: fixed; z-index: 200; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16), 0 2px 6px rgba(15, 23, 42, .06); display: grid; gap: .15rem; transform-origin: top left; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: 100%; padding: .7rem .85rem; border: 0; border-radius: 11px; background: none;
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.dd-opt:hover, .dd-opt:focus-visible { background: var(--tag); outline: none; }
.dd-opt b { color: var(--maroon); visibility: hidden; font-size: .95rem; }
.dd-opt.sel { color: var(--maroon); font-weight: 700; background: var(--accent-soft); }
.dd-opt.sel b { visibility: visible; }

/* Chips that replaced small dropdowns */
.choice-cards.four { grid-template-columns: repeat(4, 1fr); }
.contact-pick .choice span { flex-direction: column; gap: .2rem; }
.contact-pick .choice i { font-style: normal; font-size: 1.15rem; line-height: 1; }
@media (max-width: 600px) { .choice-cards.four { grid-template-columns: 1fr 1fr; } }
.wizard .row.pair { grid-template-columns: 1fr 1fr !important; }

/* ===== Announcement bar (top of every page) ===== */
.topbar { position: relative; height: 40px; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, #1e3a8a 0%, #2f5bea 45%, #7c3aed 100%); }
.topbar::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%); background-size: 250% 100%; animation: tb-shine 7s ease-in-out infinite; }
@keyframes tb-shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.tb-item { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 0 1rem;
  border: 0; background: none; color: #fff; font: inherit; font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
  opacity: 0; transform: translateY(100%); transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .7s; }
.tb-item.on { opacity: 1; transform: none; }
.tb-item.out { opacity: 0; transform: translateY(-100%); }
.tb-item:not(.on) { pointer-events: none; }
.tb-item b { font-weight: 800; }
.tb-item .go { display: inline-block; opacity: .85; transition: transform .25s; }
.tb-item:hover .go { transform: translateX(4px); }
@media (max-width: 600px) { .topbar { height: 36px; } .tb-item { font-size: .8rem; } }

/* Logo: "SMTX" as a small gradient badge */
.brand span { display: inline-block; margin-left: .4rem; padding: .14rem .45rem; border-radius: 8px; font-size: .72em; font-weight: 800; letter-spacing: .03em; color: #fff;
  background: linear-gradient(135deg, #2f5bea, #7c3aed); box-shadow: 0 2px 8px rgba(79, 70, 229, .3); vertical-align: 2px; }

/* Home: soft color glow behind the "I am..." screen, and no duplicate "students looking" line */
body.view-home main { background:
  radial-gradient(700px 420px at 12% 30%, rgba(47, 91, 234, .09), transparent 65%),
  radial-gradient(640px 420px at 88% 75%, rgba(124, 58, 237, .08), transparent 65%); }
.home #looking-stat { display: none !important; }
body.view-home .home { min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); }
@media (max-width: 899px) and (max-height: 760px) { .home-sub { display: none; } .home h1 { margin-bottom: 1rem; } }
@media (max-width: 480px) {
  .site-header { gap: .5rem; }
  .brand { font-size: 1.02rem; gap: .4rem; }
  .brand img { width: 26px; height: 26px; }
  .brand span { margin-left: .25rem; font-size: .66em; padding: .12rem .38rem; }
  .nav { gap: .35rem; }
  .nav .btn-primary { font-size: .85rem; padding: .45rem .75rem; }
  .me-btn { width: 36px; height: 36px; margin-left: 0; }
}

/* ===== Accounts: sign in + profile ===== */
body.view-me .home, body.view-me .board, body.view-me .how, body.view-me .stories { display: none; }
.si-badge { width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1rem; }
.si-fine { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.si-fine .link-btn { font-size: .88rem; color: var(--maroon); font-weight: 600; margin-left: .2rem; }
#signin-dialog .btn-block { width: 100%; }
#signin-dialog .form-error { margin: 0 0 1rem; }
.code-input { text-align: center; font-size: 1.6rem !important; letter-spacing: .45em; font-weight: 700; height: 60px !important; }

/* header button when signed in: your initial */
.me-btn { position: relative; }
.me-btn.signed-in { background: linear-gradient(135deg, #2f5bea, #7c3aed); border-color: transparent; color: #fff; font-weight: 800; font-size: .95rem; }
.me-dot { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; animation: dot-pop .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes dot-pop { from { transform: scale(0); } }

/* profile page */
.me-page { max-width: 860px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.me-head { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, #f5f7ff, #fdf4ff); margin-bottom: 1.4rem; }
.me-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2f5bea, #7c3aed); }
.me-who { flex: 1; min-width: 0; }
.me-who b { display: block; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-who small { color: var(--muted); }
.me-loading { display: flex; align-items: center; gap: .6rem; color: var(--muted); padding: 1.5rem .2rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--maroon); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.me-section { margin-bottom: 1.8rem; animation: vt-in .6s cubic-bezier(.22, 1, .36, 1) backwards; }
.me-section:nth-child(2) { animation-delay: .08s; }
.me-section:nth-child(3) { animation-delay: .16s; }
.me-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.me-section-head h2 { font-size: 1.25rem; letter-spacing: -.025em; margin: 0; }
.me-list { display: grid; gap: .7rem; }
.me-card { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .9rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.me-photo { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; background: var(--tag); }
.me-noimg { display: grid; place-items: center; font-size: 2rem; }
.me-card-body { min-width: 0; display: grid; gap: .5rem; align-content: start; }
.me-card-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.me-card-top b { font-size: 1.05rem; }
.me-status { font-style: normal; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--tag); color: var(--muted); white-space: nowrap; }
.me-status.live { background: #dcfce7; color: #15803d; }
.me-status.review { background: #fef3c7; color: #b45309; }
.me-status.taken { background: #f1f5f9; color: #64748b; }
.me-sub { margin: 0; color: var(--muted); font-size: .92rem; }
.me-people { display: grid; gap: .35rem; padding: .7rem .8rem; border-radius: 12px; background: #fff7ed; font-size: .9rem; }
.me-people > b { color: #c2410c; }
.me-person { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; }
.me-person span { font-weight: 600; }
.me-person a { color: var(--maroon); text-decoration: none; font-weight: 600; }
.me-none { margin: 0; color: var(--muted); font-size: .88rem; }
.me-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.me-row { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; font-size: .95rem; }
.me-row.link:hover { border-color: #c7d2fe; }
.me-row .arrow { margin-left: auto; color: #94a3b8; font-size: 1.3rem; }
.me-row-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tag); display: grid; place-items: center; flex: none; }
.me-empty { padding: 1.2rem; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.me-empty p { margin: 0 0 .2rem; color: var(--ink); }
@media (max-width: 600px) {
  .me-card { grid-template-columns: 84px 1fr; gap: .8rem; padding: .75rem; }
  .me-photo { width: 84px; height: 84px; }
  .me-head .btn { padding: .4rem .7rem; }
}

/* "Save this to an account" card + account-locked email */
.save-acct { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 16px; border: 1.5px solid #dbe3ff; background: linear-gradient(135deg, #f5f7ff, #fdf4ff); margin: .2rem 0; text-align: left; }
.save-acct > div { flex: 1; min-width: 0; }
.save-acct b { display: block; font-size: .98rem; }
.save-acct small { color: var(--muted); font-size: .84rem; line-height: 1.35; display: block; }
.save-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.wizard input.from-account { background: var(--tag) !important; color: var(--muted); cursor: not-allowed; }

/* Privacy / Terms pages */
.legal .panel ul { margin: .4rem 0 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal .panel li, .legal .panel p { line-height: 1.6; }
.legal .panel h2 { margin-bottom: .5rem; }

/* Continue with Google */
.google-wrap { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; height: 52px; border: 1px solid #dadce0; border-radius: 14px; background: #fff; font: inherit; font-weight: 600; font-size: 1rem; color: #1f1f1f; cursor: pointer; transition: background .2s, box-shadow .2s, transform .12s; }
.btn-google:hover { background: #f8fafd; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.btn-google:active { transform: scale(.985); }
.or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Stripe feature checkout */
.btn-feature { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f2937; border: 0; font-weight: 700; }
.btn-feature:hover { filter: brightness(1.05); }
.me-featured { margin: 0; display: inline-block; justify-self: start; padding: .3rem .65rem; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .85rem; }
.secure-note { display: block; margin-top: .45rem; color: var(--muted); font-size: .8rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: min(92vw, 460px); padding: .9rem 1.2rem; border-radius: 16px; background: #0f172a; color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 16px 40px rgba(15, 23, 42, .3); transform: translate(-50%, 140%); opacity: 0; transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .4s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Pay pop-up */
.pay-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: linear-gradient(135deg, #f5f7ff, #fdf4ff); border: 1px solid #dbe3ff; margin: .2rem 0 1.3rem; }
.pay-summary b { display: block; font-size: 1.02rem; }
.pay-summary small { color: var(--muted); font-size: .84rem; line-height: 1.35; display: block; margin-top: .15rem; }
.pay-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-align: right; line-height: 1; white-space: nowrap; }
.pay-price small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); margin-top: .25rem; }
.pay-element { min-height: 180px; margin-bottom: 1.1rem; }
#pay-dialog .form-error { margin: 0 0 1rem; }
#pay-dialog .btn-block { width: 100%; }
.pay-posted { margin: 0 0 1rem; padding: .6rem .85rem; border-radius: 12px; background: #dcfce7; color: #15803d; font-weight: 600; font-size: .9rem; }
.pay-posted { margin-right: 3.2rem !important; }

/* ===== Clean listing cards ===== */
.lcard { padding: 0; gap: 0; overflow: hidden; border-radius: 20px; }
.lcard .lc-media { position: relative; }
.lcard .photo-wrap { margin: 0; border-radius: 0; }
.lcard .photos img { aspect-ratio: 4 / 3; }
.lc-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: .4rem; text-align: center; padding: 1rem;
  background: radial-gradient(circle at 30% 20%, #eef2ff, #f5f3ff 60%, #f8fafc); }
.lc-placeholder span { font-size: 2.4rem; }
.lc-placeholder small { color: var(--muted); font-weight: 600; font-size: .9rem; }
.lc-incentive { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .35rem .7rem; border-radius: 999px; background: #16a34a; color: #fff;
  font-size: .82rem; font-weight: 700; box-shadow: 0 4px 14px rgba(22, 163, 74, .35); }
.lc-body { display: grid; gap: .3rem; padding: 1rem 1.1rem 1rem; flex: 1; align-content: start; }
.lc-price { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.lc-price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.lc-name { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; }
.lc-meta { margin: .1rem 0 0; color: var(--muted); font-size: .9rem; }
.lc-dates { margin: 0; color: var(--muted); font-size: .9rem; }
.lc-dates b { color: var(--ink); font-weight: 600; }
.lcard .interest-line { margin-top: .15rem; }
.lc-actions { margin-top: .75rem; }
.lc-actions .btn { width: 100%; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem; padding-top: .6rem; border-top: 1px solid var(--line);
  color: #94a3b8; font-size: .8rem; }
.lc-foot .card-report { margin: 0; padding: .2rem .35rem; font-size: .78rem; }
.lcard.has-incentive { border-color: #22c55e; }

/* Listing page: one clean detail line under the name */
.detail-meta { margin: .1rem 0 0; color: var(--muted); font-size: 1rem; }
.action-sub b { color: var(--ink); }

/* ===== Account page, cleaned up ===== */
.me-who small { display: block; margin-top: .1rem; }
.me-signout { border: 0; background: none; padding: .4rem .5rem; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 8px; }
.me-signout:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.mc { display: grid; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.mc-top { display: flex; gap: .9rem; align-items: center; }
.mc-thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; background: var(--tag); display: grid; place-items: center; font-size: 1.7rem; text-decoration: none; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-info { min-width: 0; display: grid; gap: .15rem; justify-items: start; }
.mc-name { font-size: 1.08rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.015em; }
a.mc-name:hover { color: var(--maroon); }
.mc-sub { margin: 0; color: var(--muted); font-size: .9rem; }
.mc-info .me-status { margin-top: .2rem; }
.mc-people { border-radius: 14px; background: #fff7ed; padding: .75rem .85rem; display: grid; gap: .5rem; }
.mc-people-head { margin: 0; color: #c2410c; font-weight: 700; font-size: .92rem; }
.mc-person { display: flex; align-items: center; gap: .6rem; }
.mc-person b { font-size: .95rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-avatar { width: 30px; height: 30px; border-radius: 50%; background: #fed7aa; color: #9a3412; font-weight: 800; font-size: .8rem; display: grid; place-items: center; flex: none; }
.mc-reach { display: flex; gap: .35rem; flex: none; }
.pill-link { padding: .3rem .65rem; border-radius: 999px; background: #fff; border: 1px solid #fed7aa; color: #9a3412; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pill-link:hover { background: #ffedd5; }
.mc-none { margin: 0; color: var(--muted); font-size: .88rem; padding: .1rem .1rem; }
.mc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .45rem; }
.mc-actions:empty { display: none; }
.mc-btn { display: flex; align-items: center; justify-content: center; gap: .3rem; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, transform .12s; }
.mc-btn:hover { border-color: #c7d2fe; background: #f8fafc; }
.mc-btn:active { transform: scale(.97); }
.mc-feature { width: 100%; height: 46px; border-radius: 14px; }
.mc-featured { margin: 0; text-align: center; padding: .6rem; border-radius: 12px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .92rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.mini-chip { padding: .25rem .6rem; border-radius: 999px; background: var(--tag); font-size: .84rem; font-weight: 600; color: var(--ink); }

/* Slim footer on the home screen (the full footer shows on the other screens) */
.mini-footer { display: none; }
body.view-home .mini-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.mini-footer a { color: var(--muted); text-decoration: none; }
.mini-footer a:hover { color: var(--maroon); text-decoration: underline; }
.mini-footer span a { color: var(--ink); font-weight: 600; }
.mini-footer nav { display: flex; gap: 1rem; }
body.view-home .home { min-height: calc(100vh - 168px); min-height: calc(100svh - 168px); }
body.view-home .home { min-height: calc(100vh - 176px); min-height: calc(100svh - 176px); }

/* ===== How it works ===== */
.hiw { max-width: 860px; }
.hiw-hero { text-align: center; padding: 1.5rem 0 1.6rem; }
.hiw-hero h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; margin: .9rem 0 .7rem; }
.hiw-hero h1 em { font-style: normal; color: var(--maroon); }
.hiw-hero > p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 560px; margin: 0 auto 1.6rem; }
.hiw-switch { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--tag); }
.hiw-switch button { border: 0; background: none; font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); padding: .65rem 1.1rem; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.hiw-switch button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(15, 23, 42, .1); }
.hiw-steps { padding-bottom: 1rem; }
.hiw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.hiw-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.hiw-n { width: 36px; height: 36px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.hiw-list b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.hiw-list p { margin: .25rem 0 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.hiw-cta { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.hiw-block { padding: 2rem 0; border-top: 1px solid var(--line); }
.hiw-block h2 { font-size: 1.6rem; letter-spacing: -.03em; margin: 0 0 .4rem; }
.hiw-sub { color: var(--muted); margin: 0 0 1.1rem; }
.hiw-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hiw-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.hiw-tag { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--maroon); font-weight: 700; font-size: .85rem; }
.hiw-tag.alt { background: #f5f3ff; color: #6d28d9; }
.hiw-card ul { margin: .8rem 0 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: #334155; line-height: 1.5; font-size: .95rem; }
.hiw-safe { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.hiw-safe div { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: 16px; background: var(--input); }
.hiw-safe span { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex: none; font-size: 1.1rem; }
.hiw-safe p { margin: 0; color: #334155; line-height: 1.5; font-size: .95rem; }
.hiw .gf-faq { padding-top: 2rem; }
.hiw .gf-faq details p a { color: var(--maroon); font-weight: 600; }
.hiw-end { text-align: center; padding: 2.4rem 1rem 1rem; border-top: 1px solid var(--line); }
.hiw-end h2 { font-size: 1.7rem; letter-spacing: -.03em; margin: 0; }
@media (max-width: 640px) {
  .hiw-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hiw-switch button { padding: .65rem .5rem; font-size: .88rem; }
  .hiw-compare, .hiw-safe { grid-template-columns: 1fr; }
  .hiw-list li { padding: 1rem; }
}

/* Listing subscription bits on the account page */
.mc-sub-line { margin: -.3rem 0 0; font-size: .88rem; color: var(--muted); padding: .55rem .75rem; border-radius: 12px; background: var(--input); }
.mc-sub-line.warn { background: #fef3c7; color: #92400e; font-weight: 600; }
#sub-dialog .btn-block, #sub-dialog .btn-feature { width: 100%; margin-bottom: .5rem; }
#sub-dialog .form-error { margin: 0 0 1rem; }

/* ---------- "You're listed!" celebration ---------- */
.form-success { position: relative; }
.cele { position: relative; text-align: center; padding: .4rem 0 .2rem; }
.cele h2 { margin: .2rem 0 .35rem; font-size: 1.75rem; letter-spacing: -.03em; }
.cele-sub { margin: 0 auto; max-width: 30ch; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.cele-badge { width: 84px; height: 84px; margin: .3rem auto .9rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #4f7bff, #2f5bea 60%, #2448c4); box-shadow: 0 14px 34px -10px rgba(47, 91, 234, .6), 0 0 0 10px #eef2ff; }
.cele-badge svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.cele-badge circle { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.cele-badge path { stroke-dasharray: 40; stroke-dashoffset: 0; }
.cele-badge.pop { animation: badge-pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.cele-badge.pop path { animation: check-draw .5s .28s ease-out both; }
@keyframes badge-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes check-draw { from { stroke-dashoffset: 40; } }
.confetti { position: absolute; left: 50%; top: 60px; width: 0; height: 0; pointer-events: none; z-index: 3; }
.confetti i { position: absolute; width: 8px; height: 13px; border-radius: 2px; opacity: 0;
  animation-name: confetti-fly; animation-timing-function: cubic-bezier(.15, .7, .4, 1); animation-fill-mode: both; }
@keyframes confetti-fly {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  35% { transform: translate(calc(var(--dx) * .7), var(--up)) rotate(calc(var(--r) * .4)); opacity: 1; }
  100% { transform: translate(var(--dx), var(--down)) rotate(var(--r)); opacity: 0; }
}
.finder-done { position: relative; }
.finder-done .confetti { top: 70px; }
.next-steps { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: 0; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; position: relative; padding-bottom: 1rem; }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.next-steps li.is-done:not(:last-child)::before { background: linear-gradient(#22c55e, var(--line)); }
.ns-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  background: var(--accent-soft); color: var(--maroon); }
.next-steps li.is-done .ns-dot { background: #dcfce7; color: var(--green); }
.next-steps b { display: block; font-size: 1rem; margin: .35rem 0 .15rem; }
.next-steps small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.next-steps small b { display: inline; font-size: inherit; margin: 0; color: var(--ink); font-weight: 600; }
.form-success .cele, .form-success .next-steps, .form-success .feature-cta, .form-success .feature-pay { animation: card-in .5s both; }
.form-success .next-steps { animation-delay: .15s; }
.form-success .feature-cta, .form-success .feature-pay { animation-delay: .28s; }
.form-success.is-edit .next-steps, .form-success.is-edit .feature-cta, .form-success.is-edit .cele-sub, .form-success.is-edit .confetti { display: none; }
.finder-done .si-fine { margin: -.2rem 0 1.2rem; }

/* ---------- trial checkout cart ---------- */
.cart { border: 1px solid #dbe3ff; border-radius: 16px; background: linear-gradient(135deg, #f7f9ff, #fdf6ff); margin: .2rem 0 1.3rem; overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: center; padding: .95rem 1.05rem; }
.cart-row + .cart-row { border-top: 1px dashed #d6ddf5; }
.cart-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 1.15rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.cart-row b { display: block; font-size: 1rem; line-height: 1.25; }
.cart-row small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.35; margin-top: .12rem; }
.cart-price { text-align: right; white-space: nowrap; line-height: 1.15; }
.cart-price s { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; text-decoration-thickness: 1.5px; text-decoration-color: #ef4444; }
.cart-price s[hidden] { display: none; }
.cart-price b { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.cart-line, .cart-total { display: flex; justify-content: space-between; padding: .55rem 1.05rem; font-size: .9rem; color: var(--muted); }
.cart-line[hidden] { display: none; }
.cart-total { border-top: 1px solid #dbe3ff; background: rgba(255, 255, 255, .7); padding: .85rem 1.05rem; color: var(--ink); font-weight: 600; align-items: baseline; }
.cart-total b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
#sub-dialog [data-step="pay"] .si-badge { display: none; }
/* step 1 has no Back: Next takes the whole row */
.wiz-nav.wiz-first [data-wiz-back] { display: none; }
.wiz-nav.wiz-first [data-wiz-next], .wiz-nav.wiz-first [data-wiz-submit] { grid-column: 1 / -1; }
/* confetti must never stretch the pop-up's scroll area */
.form-success, .finder-done { overflow: hidden; overflow: clip; overflow-clip-margin: 0; }
/* cart: remove / add the feature */
.cart-remove { display: block; margin: .25rem 0 0 auto; padding: .2rem .55rem; border: 0; border-radius: 999px; background: #fff; color: var(--muted);
  font: 600 .75rem/1.2 inherit; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .15s, background .15s; }
.cart-remove:hover { color: #dc2626; background: #fef2f2; box-shadow: inset 0 0 0 1px #fecaca; }
.cart-add { display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: center; width: calc(100% - 1.4rem); margin: 0 .7rem .7rem;
  padding: .7rem .75rem; border: 1.5px dashed #c7d2fe; border-radius: 14px; background: rgba(255, 255, 255, .6); text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s; }
.cart-add:hover { border-color: var(--maroon); background: #fff; }
.cart-add:active { transform: scale(.99); }
.cart-add[hidden] { display: none; }
.cart-add b { display: block; font-size: .95rem; }
.cart-add small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.cart-add-price { font-weight: 700; color: var(--maroon); white-space: nowrap; }
.cart-row + .cart-add { margin-top: .1rem; }
.cart-remove:disabled, .cart-add:disabled { opacity: .55; cursor: progress; }
/* the "@your Instagram" box only appears once "Yes, feature it" is picked */
.form .feature-offer label.fo-handle { max-height: 0; min-height: 0; opacity: 0; margin-top: -1rem; overflow: hidden; border-width: 0; pointer-events: none;
  transform: translateY(-6px); transition: max-height .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, margin .45s cubic-bezier(.2, .8, .2, 1), transform .45s cubic-bezier(.2, .8, .2, 1), min-height .45s; }
.form .feature-offer.on label.fo-handle { max-height: 60px; min-height: 50px; opacity: 1; margin-top: 0; border-width: 1px; pointer-events: auto; transform: none; }

/* ---------- account: Plan & billing ---------- */
.plan-card { display: grid; gap: .85rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; animation: card-in .45s both; }
.plan-card.is-failed { border-color: #fecaca; }
.plan-top { display: grid; grid-template-columns: 40px 1fr auto; gap: .75rem; align-items: center; }
.plan-top .cart-ic { background: var(--accent-soft); box-shadow: none; }
.plan-top b { display: block; font-size: 1.02rem; }
.plan-top small { display: block; color: var(--muted); font-size: .84rem; margin-top: .1rem; }
.plan-pill { padding: .28rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.plan-pill.trial { background: var(--accent-soft); color: var(--maroon); }
.plan-pill.active { background: #dcfce7; color: var(--green); }
.plan-pill.failed { background: #fee2e2; color: #b91c1c; }
.plan-pill.ending { background: #f1f5f9; color: #475569; }
.plan-rows { margin: 0; display: grid; border-radius: 14px; background: #f8fafc; padding: .2rem .9rem; }
.plan-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; font-size: .9rem; }
.plan-rows > div + div { border-top: 1px solid var(--line); }
.plan-rows dt { color: var(--muted); }
.plan-rows dd { margin: 0; font-weight: 600; text-align: right; display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
.plan-link { border: 0; background: none; padding: 0; color: var(--maroon); font: 600 .85rem/1 inherit; cursor: pointer; }
.plan-link:hover { text-decoration: underline; }
.plan-actions { display: grid; }
.plan-cancel { color: #b91c1c; }
.plan-cancel:hover { border-color: #fecaca !important; background: #fef2f2 !important; }
.plan-receipts { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; font: 600 .92rem/1.2 inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.plan-receipts:hover { border-color: #c7d2fe; background: #f8fafc; }
.plan-receipts .arrow { color: var(--maroon); font-size: 1.3rem; }
.cancel-actions { display: grid; gap: .6rem; margin-top: .4rem; }
.btn-danger-soft { background: #fff; color: #b91c1c; border: 1px solid #fecaca; }
.btn-danger-soft:hover { background: #fef2f2; }
#cancel-dialog .finder-step, #card-dialog .finder-step { text-align: left; }
.plan-canceled { margin: 0; padding: .75rem .9rem; border-radius: 14px; background: #f1f5f9; color: #334155; font-size: .9rem; line-height: 1.45; }
.plan-canceled b { display: block; color: var(--ink); margin-bottom: .15rem; }
.plan-undo { height: auto !important; min-height: 44px; flex-direction: column; gap: 0 !important; padding: .45rem; color: var(--maroon); font-weight: 700; }
.plan-undo small { color: var(--muted); font-weight: 500; font-size: .78rem; }

/* cancel: "why?" step */
.why-list { display: grid; gap: .5rem; margin: .4rem 0 .7rem; }
.why { position: relative; display: block; cursor: pointer; }
.why input { position: absolute; opacity: 0; pointer-events: none; }
.why span { display: block; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; font-size: .95rem;
  transition: border-color .15s, background .15s, color .15s, transform .15s; }
.why:hover span { border-color: #c7d2fe; background: #f8faff; }
.why input:checked + span { border-color: var(--maroon); background: var(--accent-soft); color: var(--maroon); box-shadow: 0 0 0 3px rgba(47, 91, 234, .12); }
.why input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.why-note { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; font: inherit; font-size: .92rem; resize: vertical; background: var(--input); }
.why-note:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.why-note[hidden] { display: none; }
.why-taken { margin: 0; padding: .8rem 1rem; border-radius: 14px; background: #dcfce7; color: #166534; font-weight: 600; font-size: .92rem; line-height: 1.45; animation: card-in .35s both; }
#cancel-dialog .cancel-actions .link-btn { justify-self: center; margin-top: .2rem; }

/* receipts */
.receipts { display: grid; gap: .5rem; margin-top: .6rem; }
.receipt { display: grid; grid-template-columns: auto 1fr auto auto; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.receipt:hover { border-color: #c7d2fe; background: #f8faff; }
.receipt-date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.receipt-what { font-weight: 600; font-size: .92rem; }
.receipt-what small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.receipt-amt { font-size: 1rem; }
.receipt .arrow { color: var(--maroon); font-size: 1.2rem; }

/* "My lease got taken" pop-up */
.taken-list, .taken-options { display: grid; gap: .55rem; margin-top: .6rem; }
.taken-opt { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.taken-opt:hover { border-color: #c7d2fe; background: #f8faff; }
.taken-opt:active { transform: scale(.985); }
.taken-opt b { display: block; font-size: .98rem; }
.taken-opt small { display: block; color: var(--muted); font-size: .84rem; margin-top: .1rem; }
.taken-opt .arrow { color: var(--maroon); font-size: 1.3rem; }
.taken-opt .cart-ic { background: var(--accent-soft); box-shadow: none; }
.taken-thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.4rem; }
.taken-thumb img { width: 100%; height: 100%; object-fit: cover; }
#taken-dialog .finder-step:not(.finder-done) { text-align: left; }

/* ---------- multi-city ---------- */
.dd[hidden] { display: none !important; }
.city-search { display: flex; gap: .55rem; margin-top: .7rem; }
.city-search-box { flex: 1; display: flex; align-items: center; gap: .55rem; padding: 0 .9rem; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.city-search-box:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--accent-soft); }
.city-search-box input { flex: 1; min-width: 0; border: 0 !important; outline: none; background: transparent; font: inherit; font-size: 1rem; padding: .7rem 0; box-shadow: none !important; }
.city-search .btn { border-radius: 16px; padding-left: 1.3rem; padding-right: 1.3rem; }
.lc-city { margin: -.15rem 0 .2rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
#finder-dialog [data-step="nocity"] { text-align: left; }
.city-search-box .city-pin { width: auto; height: auto; background: none !important; font-size: 1.1rem; box-shadow: none; flex: none; }
.city-search-box input { background: transparent !important; padding: .7rem 0 !important; border-radius: 0 !important; margin: 0 !important; width: 100%; height: auto; }
