/* RentDesk website: the pages that send something or hand off (demo, contact, signup, login, 404).
   Every selector is scoped to the page's body class (.pg-demo, .pg-contact, .pg-signup, .pg-login, .pg-404) or to the
   .fp-* prefix used only on these pages. Shared tokens and components come from /site.css; nothing here restyles them. */

/* ---------- Common layout: a work panel next to a quieter aside ---------- */
.fp-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .fp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .fp-grid--aside-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .fp-grid--aside-left .fp-aside { order: -1; }
}
.fp-work { border-radius: var(--r-3); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow-pop); padding: clamp(20px, 3.4vw, 40px); min-width: 0; }
.fp-work .form { max-width: none; }
.fp-aside { display: grid; gap: 28px; align-content: start; min-width: 0; }
.fp-aside h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.fp-aside h3 { font-size: 1.15rem; }
.fp-optional { font-weight: 400; color: var(--fg-3); }
.fp-after { margin-top: 20px; color: var(--fg-2); }
.fp-section-top { padding-top: clamp(28px, 4vw, 48px); }
.fp-pagehead-note { color: var(--fg-3); font-size: .9375rem; }
.fp-pagehead-note a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }

/* Numbered "what happens / what we cover" list: real steps, plain numbers, hairlines. */
.fp-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.fp-steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.fp-steps li::before { content: counter(s); font: 700 1.05rem/1.5 var(--font-display); color: var(--fg); }
.fp-steps strong { color: var(--fg); }

/* Step blocks inside a work panel */
.fp-step + .fp-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.fp-step__head { display: grid; gap: 6px; margin-bottom: 18px; }
.fp-step__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.fp-step__head h2:focus { outline: none; }
.fp-step__head p { color: var(--fg-3); font-size: .9375rem; }
.fp-num { color: var(--fg-3); }
fieldset.fp-plain { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
fieldset.fp-plain legend, .fp-legend { padding: 0; font-weight: 600; font-size: .9375rem; margin-bottom: 10px; }

/* Error / info notes inside these pages (form__status covers the short lines) */
.fp-note { border-radius: var(--r-2); padding: 14px 16px; display: grid; gap: 10px; font-weight: 500; }
.fp-note--error { background: var(--amber-wash); color: var(--fg); box-shadow: inset 3px 0 0 var(--amber); }
.fp-note--info { background: var(--bg-2); color: var(--fg-2); box-shadow: inset 3px 0 0 var(--fg-3); }
.fp-note a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fp-note .btn { justify-self: start; }

/* Checkbox line (terms) */
.fp-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.fp-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); }
.fp-check label { font-weight: 400; color: var(--fg-2); }
.fp-check label a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
.field[data-invalid] .fp-check input { outline: 2px solid var(--warn); outline-offset: 2px; }

/* Success state heading */
.pg-demo .success:focus, .pg-contact .success:focus, .pg-signup .success:focus { outline: none; }
.fp-when { font: 700 clamp(1.2rem, 2.2vw, 1.5rem)/1.3 var(--font-display); color: var(--fg); }

/* ---------- Book a demo ---------- */
.pg-demo .dm-days { --srow-bg: var(--paper); }
.pg-demo .dm-day { display: grid; gap: 2px; min-height: 64px; min-width: 92px; padding: 8px 14px; border-radius: var(--r-2); justify-items: start; align-content: center; line-height: 1.2; white-space: nowrap; background: var(--bg-2); }
.pg-demo .dm-day .wd { font-size: .8125rem; font-weight: 500; color: var(--fg-3); }
.pg-demo .dm-day .dt { font: 700 1.05rem/1.2 var(--font-display); }
.pg-demo .dm-day .ct { font-size: .8125rem; font-weight: 500; color: var(--fg-3); }
.pg-demo .dm-day[aria-pressed="true"] .wd, .pg-demo .dm-day[aria-pressed="true"] .ct { color: inherit; opacity: .72; }
.pg-demo .dm-times { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.pg-demo .dm-times .slot { display: grid; gap: 2px; align-content: center; padding: 6px 8px; min-height: 52px; }
.pg-demo .dm-times .slot .lt { font: 500 .75rem var(--font-text); opacity: .72; }
.pg-demo .dm-tz { font-size: .875rem; color: var(--fg-3); }
.pg-demo .dm-picked { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; border-radius: var(--r-2); background: var(--bg-2); margin-bottom: 22px; }
.pg-demo .dm-picked strong { color: var(--fg); }
.pg-demo .dm-picked .small { color: var(--fg-3); }
.pg-demo .dm-loading { color: var(--fg-3); }
.pg-demo .dm-mailalt { color: var(--fg-3); font-size: .9375rem; }

/* ---------- Contact ---------- */
.pg-contact .ct-addr { display: grid; gap: 12px; padding: 22px; border-radius: var(--r-3); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.pg-contact .ct-addr__label { font-size: .875rem; font-weight: 600; color: var(--fg-3); }
.pg-contact .ct-addr__line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pg-contact .ct-addr__v { font: 700 clamp(1.25rem, 2.6vw, 1.6rem)/1.2 var(--font-display); color: var(--fg); overflow-wrap: anywhere; min-width: 0; }
.pg-contact .ct-copy-status { font-size: .875rem; color: var(--fg-3); min-height: 1.3em; }
.pg-contact .ct-links { display: grid; gap: 8px; }

/* ---------- Sign-up ---------- */
.pg-signup .su-plans { display: grid; gap: 10px; }
.pg-signup .su-plan { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; }
.pg-signup .su-plan:hover { border-color: var(--fg-3); }
.pg-signup .su-plan input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); }
.pg-signup .su-plan:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.pg-signup .su-plan:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 2px; }
.pg-signup .su-plan__nm { display: block; font: 700 1.15rem/1.2 var(--font-display); color: var(--fg); }
.pg-signup .su-plan__ds { display: block; font-size: .875rem; color: var(--fg-3); margin-top: 4px; }
.pg-signup .su-plan__pr { text-align: right; white-space: nowrap; }
.pg-signup .su-plan__price { font: 700 1.3rem/1.1 var(--font-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.pg-signup .su-plan__unit { font-size: .8125rem; color: var(--fg-3); }
.pg-signup .su-billing { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pg-signup .su-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.pg-signup .su-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pg-signup .su-seg label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.pg-signup .su-seg input:checked + label { background: var(--fg); color: var(--bg); }
.pg-signup .su-seg input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; }
.pg-signup .su-billing .small { color: var(--fg-3); }

/* ---------- Sign in ---------- */
.pg-login .li-dest { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-radius: var(--r-2); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); justify-self: start; max-width: 100%; }
.pg-login .li-dest__k { font-size: .875rem; font-weight: 600; color: var(--fg-3); }
.pg-login .li-dest__v { font: 600 1rem var(--font-code); color: var(--fg); overflow-wrap: anywhere; }
.pg-login .li-links { display: grid; gap: 6px; color: var(--fg-2); }
.pg-login .li-links a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.pg-login .li-addr { font: 600 .9375rem var(--font-code); color: var(--fg); background: var(--fill); padding: 2px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.pg-login .li-panel h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.pg-login .li-panel ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--fg-2); }
.pg-login .li-panel a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.pg-404 .nf-links { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 26px; max-width: 40em; }
.pg-404 .nf-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.pg-404 .nf-code { font: 600 .9375rem var(--font-code); color: var(--fg-3); }

/* Fixes: components with their own display must still obey [hidden]; pressed day chip keeps the ink fill. */
.pg-demo [hidden], .pg-contact [hidden], .pg-signup [hidden], .pg-login [hidden] { display: none !important; }
.pg-demo .dm-day[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.fp-confirm { font-weight: 600; color: var(--fg); padding: 14px 16px; border-radius: var(--r-2); background: var(--bg-2); box-shadow: inset 3px 0 0 var(--fg); }

/* Start a free trial with Google (2026-11-12): Google's own button (white, #747775 outline, the four-colour G,
   "Continue with Google"), then a quiet divider before the e-mail fields. */
.pg-signup .su-google { display: grid; gap: 8px; justify-items: start; }
.pg-signup .btn--google { gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #747775; font-family: Roboto, 'Public Sans', Arial, sans-serif; font-weight: 500; }
.pg-signup .btn--google:hover { background: #f8f9fa; }
.pg-signup .su-google__hint { margin: 0; color: var(--fg-3); }
.pg-signup .su-or { display: flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: .875rem; }
.pg-signup .su-or::before, .pg-signup .su-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
@media (max-width: 520px) { .pg-signup .su-google, .pg-signup .btn--google { width: 100%; justify-items: stretch; } }
