/* Street Rate FL — the one stylesheet.
   System fonts only (SF on Apple devices, Segoe/Roboto elsewhere), no build
   step, no framework. Signature element: the 12-month rent strip (.months),
   which draws what a promo turns into, month by month. */

:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --ink: #15191f;
  --ink-2: #4b5260;
  --ink-3: #7a8190;
  --line: rgba(21, 25, 31, .09);
  --line-2: rgba(21, 25, 31, .16);
  --promo: #1f7a6c;          /* the advertised rate: gulf teal */
  --promo-soft: rgba(31, 122, 108, .12);
  --later: #d0532c;          /* the rate after the promo: sunset */
  --later-soft: rgba(208, 83, 44, .12);
  --link: #0b5f86;
  --shadow: 0 1px 2px rgba(21, 25, 31, .04), 0 8px 24px rgba(21, 25, 31, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nums: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 46rem;
  --max-wide: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #171b21;
    --surface-2: #1c2128;
    --ink: #eef0f3;
    --ink-2: #b4bac5;
    --ink-3: #8a91a0;
    --line: rgba(238, 240, 243, .08);
    --line-2: rgba(238, 240, 243, .16);
    --promo: #4fc2ad;
    --promo-soft: rgba(79, 194, 173, .14);
    --later: #ff8a5c;
    --later-soft: rgba(255, 138, 92, .14);
    --link: #7cc4ea;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.wrap { max-width: var(--max-wide); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.narrow { max-width: var(--max); }
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; margin: .2rem 0 .8rem; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 650; margin: 3rem 0 .9rem; }
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 620; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--ink-2); max-width: 38rem; line-height: 1.5; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.num { font-family: var(--nums); font-variant-numeric: tabular-nums; }

/* ---------- header (frosted, Apple-style) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; color: var(--ink); text-decoration: none; font-size: 1.02rem; white-space: nowrap; flex-shrink: 0; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(180deg, var(--promo) 0 45%, var(--later) 45% 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.site-nav { display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; padding: .35rem .7rem; border-radius: 999px; }
.site-nav a:hover { background: var(--line); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }

main { padding-block: 2.2rem 4rem; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-3); }

/* ---------- surfaces ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem 1.3rem;
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.note {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; font-size: .95rem; color: var(--ink-2);
}
.note strong { color: var(--ink); }

/* ---------- freshness bar ---------- */
.fresh {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  font-size: .9rem; color: var(--ink-2); margin: 0 0 1.6rem;
}
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .75rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 550; color: var(--ink);
}
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--promo); }
.pill.is-old::before { background: var(--later); }

/* ---------- at a glance ---------- */
.glance { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 1rem; }
.glance > div { background: var(--surface); padding: 1rem 1.2rem; }
.glance dt { font-size: .8rem; color: var(--ink-3); margin-bottom: .2rem; }
.glance dd { margin: 0; font-family: var(--nums); font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; }
.glance dd small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.glance .is-promo { color: var(--promo); }
.glance .is-later { color: var(--later); }

/* ---------- facility card + 12-month rent strip ---------- */
.facility h3 { margin-bottom: .15rem; }
.facility .unit { font-size: .88rem; color: var(--ink-3); margin: 0 0 1rem; }
.rates { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; }
.rate { font-family: var(--nums); font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.rate.promo { font-size: 1.15rem; color: var(--promo); }
.rate.later { font-size: 2rem; color: var(--later); }
.rate small { font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: .15rem; }
.rates .arrow { color: var(--ink-3); }
.jump { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--later); background: var(--later-soft); padding: .15rem .55rem; border-radius: 999px; }

/* --p is promo ÷ later rate (0–1). Months 1–4 draw at --p, 5–12 at full height. */
.months {
  --p: .5;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end;
  height: 54px; margin: 0 0 .35rem;
}
.months i { display: block; border-radius: 4px 4px 2px 2px; background: var(--later); height: 100%; }
.months i:nth-child(-n+4) { background: var(--promo); height: calc(var(--p) * 100%); }
.months-key { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-3); margin-bottom: 1rem; }
.facility .facts { list-style: none; margin: 0; padding: .8rem 0 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.facility .facts li + li { margin-top: .25rem; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 34rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; font-weight: 600; color: var(--ink-3); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.source { font-size: .84rem; color: var(--ink-3); margin-top: .6rem; }

/* ---------- checklists ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--later); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 650; font-family: var(--nums); margin-bottom: .6rem; }

/* ---------- partner (affiliate) block: quiet, labelled, never shouty ---------- */
.partner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 1.1rem 1.3rem; background: var(--surface-2);
}
.partner p { margin: 0; }
.partner .label { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.btn {
  display: inline-block; padding: .65rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; background: var(--ink); color: var(--bg);
}
.btn[aria-disabled="true"] { background: var(--line); color: var(--ink-3); cursor: not-allowed; }

/* ---------- home ---------- */
.hero { padding-block: 1.5rem 1rem; }
.hero h1 { max-width: 20ch; }
.hero h1 .promo { color: var(--promo); }
.hero h1 .later { color: var(--later); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.trust li { font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.city-card { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.city-card:hover { transform: translateY(-2px); }
.city-card .go { color: var(--link); font-weight: 600; font-size: .92rem; }
.city-card.soon { box-shadow: none; background: transparent; border-style: dashed; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 2rem 3rem; font-size: .85rem; color: var(--ink-2); }
.site-foot .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 .5rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.site-foot a { color: var(--ink-2); }

@media (max-width: 700px) {
  .site-head .wrap { flex-wrap: wrap; padding-block: .4rem .35rem; gap: .35rem 1rem; }
  .site-nav { flex-basis: 100%; justify-content: flex-start; margin-inline: -.55rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav a { padding: .3rem .55rem; font-size: .85rem; }
  .rate.later { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .partner, .site-foot .cols { display: none; } }
