/* Multi-page Refurl additions. Tokens stay in themes.css. Square corners
   except device frames, chat bubbles, and FAQ bubbles. */

.rf-brand.is-link{ text-decoration:none; color:inherit; }
.rf-jumps a.is-here{ opacity:1; }

.rf-hero-kicker{
  display:inline-block;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--rf-accent);
  margin:0 0 18px;
}
.inv-hero h1{
  font-size:clamp(40px, 6.4vw, 88px);
  line-height:.95;
  letter-spacing:-.04em;
  font-weight:800;
  max-width:18ch;
}
.inv-hero h1 em{
  font-style:normal;
  display:block;
  color:var(--rf-accent);
}
.inv-sub{
  font-size:clamp(16px, 1.6vw, 20px);
  line-height:1.5;
  max-width:38em;
  color:var(--rf-muted, color-mix(in srgb, var(--rf-text) 78%, transparent));
}
.inv-hero-stage .inv-laptop-screen{
  background:#0a1210 center/cover no-repeat;
  overflow:hidden;
}
.inv-hero-stage .inv-screen-shot,
.inv-device-shot{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
}
.inv-powered{
  position:absolute;
  right:10px;
  bottom:8px;
  z-index:2;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
  background:rgba(0,0,0,.45);
  padding:3px 7px;
  pointer-events:none;
}

/* Alternating feature showcases */
.rf-show{
  padding:96px 0 110px;
  overflow:hidden;
}
.rf-show-dark{
  background:var(--rf-bg);
  color:var(--rf-text);
}
.rf-show-light{
  background:var(--rf-warm, #f6f3ee);
  color:var(--rf-ink, #1a1c1b);
}
[data-theme="light"] .rf-show-light{
  background:#fff;
  color:var(--rf-text);
}
[data-theme="dark"] .rf-show-light,
[data-kit="A"] .rf-show-light,
[data-kit="B"] .rf-show-light{
  background:#f4f1eb;
  color:#14211c;
}
[data-kit="A"] .rf-show-light .rf-show-kicker,
[data-kit="B"] .rf-show-light .rf-show-kicker{ color:#0A5C45; }
[data-kit="B"] .rf-show-light .rf-show-kicker{ color:#1B5E3B; }
[data-kit="A"] .rf-show-light .inv-btn-ghost,
[data-kit="B"] .rf-show-light .inv-btn-ghost{
  color:#14211c;
  border-color:rgba(20,33,28,.25);
}
.rf-show-kicker{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--rf-accent);
  margin:0 0 14px;
}
.rf-show h2{
  font-size:clamp(32px, 4.6vw, 64px);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:800;
  margin:0 0 18px;
  max-width:14ch;
}
.rf-show .rf-show-copy p{
  font-size:18px;
  line-height:1.55;
  margin:0 0 12px;
  max-width:36em;
}
.rf-show-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:56px;
  align-items:center;
}
.rf-show-grid.is-rev{ grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.rf-show-grid.is-rev .rf-show-copy{ order:2; }
.rf-show-grid.is-rev .rf-show-visual{ order:1; }
@media (max-width:900px){
  .rf-show{ padding:72px 0 80px; }
  .rf-show-grid, .rf-show-grid.is-rev{ grid-template-columns:1fr; gap:32px; }
  .rf-show-grid.is-rev .rf-show-copy, .rf-show-grid.is-rev .rf-show-visual{ order:unset; }
  .rf-show h2{ max-width:none; }
}

/* Career path */
.rf-path{
  display:flex;
  flex-direction:column;
  gap:0;
  border:1px solid color-mix(in srgb, currentColor 14%, transparent);
  background:color-mix(in srgb, currentColor 4%, transparent);
}
.rf-path-step{
  padding:18px 20px;
  border-bottom:1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.rf-path-step:last-child{ border-bottom:0; }
.rf-path-step strong{ display:block; font-size:15px; letter-spacing:-.02em; }
.rf-path-step span{ display:block; font-size:13px; opacity:.72; margin-top:4px; }
.rf-path-arrow{
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  opacity:.45;
}

/* Chat demo extras */
.rf-chat-wrap{ position:relative; }
.rf-chat-wrap .inv-phone{ margin:0 auto; }

/* Inventory sheet → listings */
.rf-sheet{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:12px;
  background:#fff;
  color:#1a1c1b;
  border:1px solid #d7d2c8;
  overflow:hidden;
  min-height:280px;
  position:relative;
}
.rf-sheet-bar{
  background:#ece7dc;
  padding:8px 12px;
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#5c574c;
}
.rf-sheet table{ width:100%; border-collapse:collapse; }
.rf-sheet th, .rf-sheet td{
  text-align:left;
  padding:8px 10px;
  border-bottom:1px solid #eeeae3;
  white-space:nowrap;
}
.rf-sheet th{ font-weight:600; color:#6a655a; background:#f7f4ee; }
.rf-listings{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:12px;
  background:#0d1613;
  min-height:280px;
}
.rf-card{
  background:#16221e;
  color:#f1faf6;
  padding:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(10px);
}
.rf-card img{ width:100%; height:90px; object-fit:cover; object-position:center 78%; display:block; }
.rf-card div{ padding:10px 12px; }
.rf-card strong{ display:block; font-size:13px; }
.rf-card small{ display:block; opacity:.7; font-size:11px; margin-top:3px; }
.rf-morph{ position:relative; min-height:280px; }
.rf-morph .rf-sheet{ transition:opacity 1.2s ease; }
.rf-morph .rf-listings{ position:absolute; inset:0; opacity:0; pointer-events:none; transition:opacity 1.2s ease; }
.rf-morph.is-listings .rf-sheet{ opacity:0; pointer-events:none; }
.rf-morph.is-listings .rf-listings{
  opacity:1; pointer-events:auto;
}
.rf-morph.is-listings .rf-card{
  animation:rfCardIn 1s ease forwards;
}
.rf-morph.is-listings .rf-card:nth-child(2){ animation-delay:.22s; }
.rf-morph.is-listings .rf-card:nth-child(3){ animation-delay:.4s; }
.rf-morph.is-listings .rf-card:nth-child(4){ animation-delay:.58s; }
@keyframes rfCardIn{
  from{ opacity:0; transform:translateY(12px); }
  to{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .rf-morph .rf-sheet, .rf-morph .rf-listings{ transition:none; }
  .rf-morph.is-listings .rf-card{ animation:none; opacity:1; transform:none; }
}

/* Inventory explorer */
.rf-explorer{
  background:#0c1411;
  color:#f1faf6;
  min-height:420px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.08);
}
.rf-explorer-tools{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.rf-explorer-tools button{
  appearance:none;
  background:transparent;
  color:inherit;
  border:0;
  border-right:1px solid rgba(255,255,255,.08);
  padding:12px 16px;
  font:700 11px/1 Montserrat,system-ui,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  opacity:.6;
}
.rf-explorer-tools button.is-on{ opacity:1; background:rgba(126,232,196,.12); }
.rf-explorer-stage{ position:relative; flex:1; min-height:340px; }
.rf-explorer-pane{
  display:none;
  position:absolute;
  inset:0;
}
.rf-explorer-pane.is-on{ display:block; }
.rf-explorer-pane img{
  width:100%; height:100%; object-fit:cover; object-position:top center;
}
.rf-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:14px;
}
.rf-chip{
  border:1px solid rgba(255,255,255,.2);
  padding:8px 12px;
  font-size:12px;
  opacity:.85;
}
.rf-chip.is-on{ background:var(--rf-accent); color:var(--rf-bg, #08110E); opacity:1; }
.rf-map-fallback{
  width:100%; height:100%;
  background:
    linear-gradient(180deg, rgba(8,17,14,.15), rgba(8,17,14,.45)),
    #1a2e28;
  display:flex;
  align-items:flex-end;
  padding:16px;
}
.rf-map-fallback span{
  background:rgba(0,0,0,.5);
  padding:8px 10px;
  font-size:12px;
}

/* Offers / safeguards */
.rf-offer{
  display:grid;
  gap:10px;
}
.rf-offer-item{
  background:color-mix(in srgb, currentColor 6%, transparent);
  border:1px solid color-mix(in srgb, currentColor 12%, transparent);
  padding:14px 16px;
}
.rf-offer-item strong{ display:block; font-size:14px; margin-bottom:4px; }
.rf-offer-item span, .rf-offer-item p{ font-size:13px; margin:0; opacity:.8; }
.rf-offer-note{
  font-size:13px;
  opacity:.8;
  margin-top:14px;
  max-width:36em;
}

/* Direct leads */
.rf-direct{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.rf-direct figure{ margin:0; }
.rf-deny{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.rf-deny li{
  list-style:none;
  font-size:14px;
  padding-left:0;
}
.rf-show-copy ul.rf-deny{ margin:16px 0 0; padding:0; }

/* Name preview */
.rf-urlbox{
  background:color-mix(in srgb, currentColor 5%, transparent);
  border:1px solid color-mix(in srgb, currentColor 14%, transparent);
  padding:22px;
}
.rf-urlbox label{ display:block; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.rf-urlbox input{
  width:100%;
  font:600 18px/1.2 Montserrat,system-ui,sans-serif;
  padding:14px 12px;
  border:1px solid color-mix(in srgb, currentColor 22%, transparent);
  background:transparent;
  color:inherit;
  border-radius:0;
}
.rf-url-preview{
  margin-top:16px;
  font-size:clamp(20px, 2.4vw, 28px);
  font-weight:800;
  letter-spacing:-.03em;
  word-break:break-all;
}
.rf-url-preview em{ font-style:normal; color:var(--rf-accent); }
[data-kit="A"] .rf-show-light .rf-url-preview em,
[data-kit="B"] .rf-show-light .rf-url-preview em{ color:#0A5C45; }
.rf-url-note{ font-size:12px; opacity:.7; margin:8px 0 0; }
.rf-url-addon{ font-size:13px; margin-top:16px; opacity:.8; }

/* Pricing editions */
.rf-editions{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.rf-ed{
  border:1px solid color-mix(in srgb, currentColor 14%, transparent);
  background:color-mix(in srgb, currentColor 3%, transparent);
  padding:28px 24px 24px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.rf-ed-agent{ }
.rf-ed-professional{
  background:color-mix(in srgb, var(--rf-primary, #0A5C45) 10%, transparent);
}
.rf-ed-executive{
  background:#07110e;
  color:#f4faf7;
  border-color:rgba(126,232,196,.35);
  box-shadow:0 0 0 1px rgba(126,232,196,.2);
  transform:translateY(-8px);
}
[data-theme="light"] .rf-ed-executive,
[data-kit="C"] .rf-ed-executive{
  background:#0A2E2B;
  color:#f4faf7;
}
.rf-ed-kicker{
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  margin:0 0 10px;
  opacity:.7;
}
.rf-ed-executive .rf-ed-kicker{ color:#7EE8C4; opacity:1; }
.rf-ed h3{ font-size:28px; margin:0 0 6px; letter-spacing:-.03em; }
.rf-ed .rf-price{ font-size:40px; font-weight:800; letter-spacing:-.04em; margin:8px 0 4px; }
.rf-ed .rf-price span{ font-size:16px; font-weight:600; opacity:.7; }
.rf-ed .rf-pitch{ font-size:14px; line-height:1.5; margin:0 0 18px; opacity:.85; }
.rf-ed ul{ margin:0 0 16px; padding:0; list-style:none; flex:1; }
.rf-ed li{ font-size:13px; line-height:1.45; padding:6px 0; border-top:1px solid color-mix(in srgb, currentColor 10%, transparent); }
.rf-ed .rf-not{ opacity:.55; text-decoration:line-through; }
.rf-ed-shot{ margin:0 0 16px; overflow:hidden; aspect-ratio:16/10; background:#111; }
.rf-ed-shot img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
@media (max-width:980px){
  .rf-editions{ grid-template-columns:1fr; }
  .rf-ed-executive{ transform:none; }
}

/* Invite */
.rf-invite-hero h1{ max-width:16ch; }
.rf-person{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:baseline;
  margin:18px 0 0;
  font-size:16px;
}
.rf-person strong{ font-size:20px; }
.rf-avail{ font-size:12px; opacity:.7; }

/* Showcase */
.rf-demos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.rf-demo a{ color:inherit; text-decoration:none; }
.rf-demo figcaption{ margin-top:12px; }
.rf-demo h3{ margin:0 0 4px; font-size:22px; }
.rf-demo p{ margin:0; font-size:13px; opacity:.75; }
@media (max-width:800px){ .rf-demos{ grid-template-columns:1fr; } }

/* Login / stubs */
.rf-stub{
  min-height:70vh;
  display:flex;
  align-items:center;
}
.rf-stub h1{ font-size:clamp(36px,5vw,64px); letter-spacing:-.04em; max-width:14ch; }
.rf-login{
  max-width:420px;
  width:100%;
  display:grid;
  gap:12px;
  margin-top:28px;
}
.rf-login input, .rf-login button{
  font:600 16px/1 Montserrat,system-ui,sans-serif;
  padding:14px 12px;
  border-radius:0;
}
.rf-login input{
  border:1px solid color-mix(in srgb, currentColor 22%, transparent);
  background:transparent;
  color:inherit;
}
.rf-login-note{ font-size:13px; opacity:.7; margin-top:14px; }

.rf-legal-flag{
  display:inline-block;
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid color-mix(in srgb, currentColor 25%, transparent);
  padding:2px 6px;
  margin-left:8px;
  vertical-align:middle;
}
.inv-privacy-card h3{ margin-top:1.4em; }
.inv-legal .inv-legal-link + .inv-legal-link{ margin-left:0; }
.inv-legal-links{ display:inline; }
.inv-legal-links button{ margin-left:12px; }

.rf-src{
  font-size:11px;
  opacity:.5;
  margin-top:auto;
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.rf-url-preview .mk-slug{ font-style:normal; color:var(--rf-accent); }
[data-kit="A"] .rf-show-light .rf-url-preview .mk-slug,
[data-kit="B"] .rf-show-light .rf-url-preview .mk-slug{ color:#0A5C45; }
.rf-path-step.is-on{ outline:1px solid color-mix(in srgb, currentColor 28%, transparent); background:color-mix(in srgb, currentColor 6%, transparent); }
.rf-url-mini .mk-laptop-bar{ background:#eceae4; }
.rf-url-mini .mk-screen{ aspect-ratio:16/7; min-height:140px; }

/* Official Refurl wordmark */
#rf-hdr .rf-logo{
  display:flex;
  align-items:center;
  line-height:0;
  font-size:0;
}
#rf-hdr .rf-logo-img{
  display:block;
  height:22px;
  width:auto;
}
.rf-footer-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 12px;
  text-decoration:none;
}
.rf-footer-brand .rf-logo-img{
  height:18px;
  width:auto;
}
.rf-logo-on-light{ display:none; }
.rf-footer-brand .rf-logo-on-dark{ display:block; }
.rf-footer-brand .rf-logo-on-light{ display:none; }
html[data-kit="C"] .inv-legal .rf-logo-on-dark,
html[data-kit="C"] .rf-footer-brand .rf-logo-on-dark{ display:none; }
html[data-kit="C"] .inv-legal .rf-logo-on-light,
html[data-kit="C"] .rf-footer-brand .rf-logo-on-light{ display:block; }
.inv-legal{ text-align:center; }
.inv-legal .inv-inner{ display:flex; flex-direction:column; align-items:center; }

/* Powered by Refurl — reusable snippet for youragent.homes representative sites */
.rf-powered{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:inherit;
  line-height:1;
}
.rf-powered-label{
  font:600 11px/1 Montserrat,"Segoe UI",system-ui,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.7;
}
.rf-powered .rf-logo-img,
.rf-powered svg{
  display:block;
  height:14px;
  width:auto;
}

/* —— 1AgentHomes product branding —— */
#rf-hdr .rf-brand{
  display:flex;align-items:center;text-decoration:none;color:inherit;
}
#rf-hdr .rf-logo-img{
  height:22px;width:auto;max-width:200px;display:block;
}
#rf-hdr .rf-logo-on-light{ display:none; }
.rf-footer-brand .rf-logo-img{
  height:22px;width:auto;max-width:240px;
}
.iah-powered{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  text-decoration:none;color:inherit;
}
.iah-powered-label{
  font-size:12px;font-weight:600;letter-spacing:.02em;
  color:rgba(255,255,255,.55);
}
.iah-powered-mark{ height:16px;width:auto;display:block; }
.inv-legal .iah-powered{ margin-top:10px; }
.inv-legal .iah-powered-label{ color:rgba(255,255,255,.5); }

/* Hero — typographic intro matching Daniel's mock, devices below */
.iah-hero{ display:flex;flex-direction:column;align-items:stretch; }
.iah-hero-intro{
  text-align:center;
  padding:clamp(36px,6vw,88px) 24px clamp(20px,3vw,36px);
  max-width:920px;
  margin:0 auto;
}
.iah-hero-mark{
  display:block;height:clamp(40px,6.4vw,72px);width:auto;margin:0 auto 14px;
}
.iah-hero-intro .iah-powered{ margin:0 auto 28px; }
.iah-hero-rule{
  border:0;border-top:1px solid rgba(255,255,255,.16);
  width:min(640px,86%);margin:0 auto 36px;
}
.iah-hero-intro .rf-hero-kicker{
  margin:0 0 18px;letter-spacing:.16em;text-transform:uppercase;
  font-size:12px;font-weight:700;color:var(--rf-accent,#90E8D2);
}
.iah-hero-intro h1{
  margin:0 auto 22px;max-width:18em;
  font-size:clamp(36px,6.2vw,72px);letter-spacing:-.045em;line-height:1.02;
  font-weight:800;color:#fff;
}
.iah-hero-intro h1 span,
.iah-hero-intro h1 em{ white-space:nowrap; }
.iah-hero-intro h1 em{
  font-style:normal;color:var(--rf-accent,#90E8D2);
}
.iah-hero-intro .inv-sub{
  margin:0 auto 28px;max-width:38em;
  font-size:clamp(16px,1.6vw,20px);line-height:1.5;
  color:rgba(255,255,255,.82);
}
.iah-hero-intro .inv-hero-btns{ justify-content:center; margin-bottom:22px; }
.iah-hero-line{
  margin:0;font-size:15px;font-weight:600;
  color:rgba(255,255,255,.62);
}
.iah-hero-demo{ grid-template-columns:1fr !important; margin-top:12px; padding-bottom:clamp(28px,5vw,64px); }

/* Built around you */
.iah-built{ background:#f4f6f2; color:#1A2C27; padding:clamp(72px,10vw,128px) 0; }
.iah-built-inner{ max-width:820px; }
.iah-built .rf-show-kicker{ color:#3D8F75; }
.iah-built h2{
  margin:0 0 22px;font-size:clamp(32px,5vw,56px);
  letter-spacing:-.04em;line-height:1.08;font-weight:800;
}
.iah-built p{ margin:0;font-size:18px;line-height:1.55;color:#3d4742;max-width:40em; }
.iah-built-rule{ border:0;border-top:1px solid #d8ddd8; margin:36px 0 28px; }
.iah-built-sub{
  margin:0 !important;font-size:clamp(22px,3vw,32px) !important;
  font-weight:800 !important;letter-spacing:-.03em;color:#1A2C27 !important;
  line-height:1.2 !important;
}

/* Main product message */
.iah-msg{ background:#092E2C; color:#f1faf6; padding:clamp(56px,8vw,96px) 0; }
.iah-msg-inner{ max-width:820px; }
.iah-msg p{
  margin:0;font-size:clamp(20px,2.4vw,28px);line-height:1.45;
  letter-spacing:-.02em;font-weight:600;
}

.iah-subhead{
  margin:0 0 12px;font-size:clamp(20px,2.2vw,28px);
  font-weight:800;letter-spacing:-.03em;line-height:1.2;
}

@media (max-width:720px){
  .iah-hero-intro h1 span,
  .iah-hero-intro h1 em{ white-space:normal; }
  .iah-hero-intro h1{ display:flex;flex-direction:column;align-items:center;gap:.08em; }
}
