/* PropFit design tokens v1.0 (brand kit, Oct 2026). Build against the variables; never hard-code a hex. */
:root {
  --pf-ink: #1E232E;
  --pf-blue: #0153DB;
  --pf-blue-hover: #0043B4;
  --pf-blue-on-dark: #3D7BFF;
  --pf-navy: #0F1420;
  --pf-body: #2B303B;
  --pf-slate: #5B6474;
  --pf-line: #E3E7EE;
  --pf-soft: #F5F7FB;
  --pf-tint: #E8EFFF;
  --pf-success: #0E7A4F;
  --pf-white: #FFFFFF;
  --pf-on-navy: #C6CEDC;
  --pf-on-navy-2: #9AA5B8;

  --pf-font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --pf-radius-sm: 8px;
  --pf-radius-md: 12px;
  --pf-radius-lg: 20px;
  --pf-shadow-sm: 0 1px 2px rgba(15,20,32,.06), 0 1px 3px rgba(15,20,32,.05);
  --pf-shadow-md: 0 4px 12px rgba(15,20,32,.08), 0 2px 4px rgba(15,20,32,.06);
  --pf-shadow-lg: 0 16px 40px rgba(15,20,32,.13), 0 4px 10px rgba(15,20,32,.06);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--pf-white); color: var(--pf-body); font: 400 17px/1.55 var(--pf-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--pf-ink); margin: 0; }
h2 { font-weight: 700; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--pf-blue); }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--pf-slate); margin-top: 12px; }
.fine { font-size: 12.5px; color: var(--pf-slate); margin-top: 12px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-slate); margin-bottom: 8px; }

/* Logo: SVG lockups in /brand (generated from the brand kit, see brand/README.md) */
.logo { display: inline-flex; }
.logo img { height: 32px; width: auto; display: block; }

/* Buttons */
.btn { display: inline-block; font: 600 16px/1 var(--pf-font); padding: 15px 22px; border-radius: var(--pf-radius-sm); text-decoration: none; border: 1px solid transparent; transition: background .15s; }
.btn-sm { font-size: 14px; padding: 11px 16px; }
.btn-primary { background: var(--pf-blue); color: var(--pf-white); }
.btn-primary:hover { background: var(--pf-blue-hover); }
.btn-white { background: var(--pf-white); color: var(--pf-blue); }
.btn:focus-visible, .toggle button:focus-visible, summary:focus-visible { outline: 3px solid var(--pf-tint); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pf-line); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav nav { display: flex; gap: 24px; margin-right: auto; }
.nav nav a { color: var(--pf-body); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--pf-blue); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--pf-tint) 0%, var(--pf-white) 100%); padding: 72px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-blue); margin-bottom: 24px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-success); }
h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
h1 span { color: var(--pf-blue); }
.lede { font-size: 19px; color: var(--pf-slate); margin-top: 22px; max-width: 560px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--pf-tint); color: var(--pf-blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.checks b { color: var(--pf-ink); }

/* Invite card */
.invite { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-lg); padding: 28px; }
.invite h2 { font-size: 22px; }
.invite > .muted { font-size: 15px; margin-top: 6px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: 999px; padding: 4px; margin: 20px 0 16px; }
.toggle button { font: 600 15px var(--pf-font); border: 0; border-radius: 999px; padding: 10px 12px; background: transparent; color: var(--pf-slate); cursor: pointer; }
.toggle button[aria-selected="true"] { background: var(--pf-ink); color: var(--pf-white); }
.hint { font-size: 14px; color: var(--pf-slate); margin-bottom: 12px; }
.panel [data-cirqle-form] {
  min-height: 300px;
  --cirqle-font: var(--pf-font); --cirqle-text: var(--pf-ink); --cirqle-label: var(--pf-ink);
  --cirqle-input-bg: var(--pf-white); --cirqle-border: var(--pf-line); --cirqle-brand: var(--pf-blue);
  --cirqle-submit-text: var(--pf-white); --cirqle-radius: 8px; --cirqle-max-width: 100%; --cirqle-success: var(--pf-success);
}
.panel iframe { color-scheme: light; }
.invite .fine { text-align: center; }

/* Bands */
.band { padding: 76px 0; }
.band > .wrap > h2 { margin-bottom: 8px; }
.soft { background: var(--pf-soft); border-block: 1px solid var(--pf-line); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-sm); padding: 26px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pf-ink); color: var(--pf-white); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps p { color: var(--pf-slate); margin-top: 8px; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .btn { margin-top: 28px; }

/* Listing cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); overflow: hidden; box-shadow: var(--pf-shadow-sm); background: var(--pf-white); }
.photo { position: relative; aspect-ratio: 4 / 3; background: var(--pf-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--pf-white); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; color: var(--pf-slate); }
.card-body { padding: 18px 20px 20px; }
.card h3 { font-size: 17px; }
.loc { font-size: 14px; color: var(--pf-slate); margin-top: 2px; }
.facts { font-size: 14px; margin-top: 8px; }
.price { margin-top: 8px; font-size: 14px; color: var(--pf-slate); }
.price b { font-size: 18px; font-weight: 800; color: var(--pf-ink); }
#renters .split { align-items: end; }
#renters .checks { margin: 0; }
#renters .fine { margin-top: 16px; }
#renters > .wrap > .btn { margin-top: 24px; }

/* Navy owners band */
.navy { background: var(--pf-navy); color: var(--pf-on-navy); }
.navy h2, .navy h3 { color: var(--pf-white); }
.navy .kicker, .navy .muted, .navy .fine, .navy .loc { color: var(--pf-on-navy-2); }
.navy .checks li::before { background: var(--pf-blue-on-dark); color: var(--pf-white); }
.navy .btn-primary { background: var(--pf-blue-on-dark); }
.navy .btn-primary:hover { background: var(--pf-blue); }
.panel-dark { background: #1A2130; border: 1px solid #2A3345; border-radius: var(--pf-radius-md); overflow: hidden; }
.panel-body { padding: 22px 24px 24px; }
.photo.dark { aspect-ratio: 16 / 9; }
.panel-dark .label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-on-navy-2); margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stats div { background: #232B3B; border-radius: var(--pf-radius-sm); padding: 14px; }
.stats b { display: block; color: var(--pf-white); font-size: 18px; }
.stats span { font-size: 12.5px; color: var(--pf-on-navy-2); }

/* FAQ */
details { border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); margin-top: 12px; background: var(--pf-white); }
details:first-of-type { margin-top: 28px; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--pf-ink); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pf-blue); font-weight: 500; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; color: var(--pf-slate); }

/* CTA band + footer */
.cta { background: var(--pf-blue); color: var(--pf-white); padding: 72px 0; }
.cta h2 { color: var(--pf-white); font-size: clamp(28px, 4.4vw, 38px); letter-spacing: -.03em; }
.cta p { margin: 14px 0 28px; color: var(--pf-tint); }
.footer { background: var(--pf-navy); color: var(--pf-on-navy-2); padding: 48px 0 32px; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #232B3B; margin-top: 28px; padding-top: 20px; }
.footer a:not(.logo) { color: var(--pf-on-navy); }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .nav-row { justify-content: space-between; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .band { padding: 56px 0; }
  .invite { padding: 20px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* Hero: actions + the example fit card */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-outline { background: var(--pf-white); color: var(--pf-ink); border-color: var(--pf-ink); }
.btn-outline:hover { background: var(--pf-soft); }
.hero .fine { margin-top: 16px; }

.fitcard { margin: 0; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-lg); padding: 24px 26px 20px; }
.fit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--pf-line); }
.fit-title { font-weight: 700; font-size: 19px; color: var(--pf-ink); letter-spacing: -.01em; }
.fit-sub { font-size: 14px; color: var(--pf-slate); margin-top: 2px; }
.tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-blue); background: var(--pf-tint); border-radius: 6px; padding: 4px 8px; }
.fit-rows { list-style: none; padding: 0; margin: 6px 0 0; }
.fit-rows li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
.fit-rows li:last-child { border-bottom: 0; }
.fit-rows i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; margin-top: 1px; }
.fit-rows .ok i { background: #E3F4EC; color: var(--pf-success); }
.fit-rows .ok i::before { content: "✓"; }
.fit-rows .warn i { background: var(--pf-tint); color: var(--pf-blue); }
.fit-rows .warn i::before { content: "!"; }
.fit-rows b { display: block; color: var(--pf-ink); font-weight: 600; font-size: 15.5px; }
.fit-rows span { font-size: 14.5px; color: var(--pf-slate); }
.fit-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; background: var(--pf-soft); border-radius: var(--pf-radius-sm); font-size: 14px; color: var(--pf-body); }
.fit-foot b { color: var(--pf-ink); }
.replay { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--pf-line); background: var(--pf-white); color: var(--pf-slate); font-size: 16px; cursor: pointer; }
.replay:hover { color: var(--pf-blue); border-color: var(--pf-blue); }

/* Check-by-check reveal: each row lands in turn, its badge pops, then the footer. */
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.fitcard.play .fit-rows li { animation: row-in .45s cubic-bezier(.2,.7,.2,1) both; }
.fitcard.play .fit-rows i { animation: pop .4s cubic-bezier(.2,.7,.2,1) both; }
.fitcard.play .fit-rows li:nth-child(1), .fitcard.play .fit-rows li:nth-child(1) i { animation-delay: .35s; }
.fitcard.play .fit-rows li:nth-child(2), .fitcard.play .fit-rows li:nth-child(2) i { animation-delay: .85s; }
.fitcard.play .fit-rows li:nth-child(3), .fitcard.play .fit-rows li:nth-child(3) i { animation-delay: 1.35s; }
.fitcard.play .fit-rows li:nth-child(4), .fitcard.play .fit-rows li:nth-child(4) i { animation-delay: 1.85s; }
.fitcard.play .fit-foot { animation: row-in .45s cubic-bezier(.2,.7,.2,1) 2.4s both; }

/* Calculator */
.lead-narrow { max-width: 640px; }
.calc { margin-top: 32px; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-md); padding: 28px; }
.calc-toggle { max-width: 360px; margin: 0 0 24px; }
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc-inputs { display: grid; gap: 28px; padding-top: 4px; }
.range { display: grid; gap: 12px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--pf-ink); font-size: 15px; }
.range output { font-weight: 800; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.range .hint { margin: -4px 0 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; margin: 6px 0; cursor: pointer;
  background: linear-gradient(var(--pf-blue), var(--pf-blue)) 0 / var(--p, 50%) 100% no-repeat, var(--pf-line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pf-white); border: 2px solid var(--pf-blue); box-shadow: var(--pf-shadow-md); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--pf-white); border: 2px solid var(--pf-blue); box-shadow: var(--pf-shadow-md); }
input[type="range"]:focus-visible { outline: 3px solid var(--pf-tint); outline-offset: 4px; }

.calc-result { background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); padding: 24px; }
.res-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-slate); }
.big { font-weight: 800; font-size: clamp(44px, 6vw, 60px); line-height: 1.05; letter-spacing: -.04em; color: var(--pf-ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.big small { font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--pf-slate); margin-left: 4px; }
.share { height: 10px; border-radius: 999px; background: var(--pf-line); margin-top: 18px; overflow: hidden; }
.share i { display: block; height: 100%; width: 0; background: var(--pf-blue); border-radius: 999px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.share-key { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--pf-slate); margin-top: 6px; }
.res-note { font-size: 14px; color: var(--pf-slate); margin-top: 12px; }
.res-rows { margin: 16px 0 20px; border-top: 1px solid var(--pf-line); }
.res-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--pf-line); font-size: 14.5px; }
.res-rows dt { color: var(--pf-body); }
.res-rows dd { margin: 0; font-weight: 700; color: var(--pf-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-result .btn { width: 100%; text-align: center; }

.weeks { display: grid; grid-template-columns: repeat(26, 1fr); gap: 4px; margin-top: 18px; }
.weeks i { aspect-ratio: 1; border-radius: 3px; background: var(--pf-blue); transition: background .25s; }
.weeks i.empty { background: var(--pf-line); box-shadow: inset 0 0 0 1px #C9D0DB; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 6px 0 0; vertical-align: -1px; }
.key.rented { background: var(--pf-blue); }
.key.empty { background: var(--pf-line); box-shadow: inset 0 0 0 1px #C9D0DB; margin-left: 14px; }

.invite-band { background: linear-gradient(180deg, var(--pf-tint) 0%, var(--pf-white) 100%); }
.invite-band .split { align-items: start; }

@media (max-width: 900px) {
  .calc-panel { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .calc { padding: 20px; }
  .calc-result { padding: 20px; }
  .weeks { grid-template-columns: repeat(13, 1fr); }
  .res-rows div { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .fitcard.play * { animation: none !important; }
  .share i, .weeks i { transition: none; }
}
