/* ==========================================================================
   Sahab Key marketing site.

   The design system is the product's own: Inter everywhere, white surfaces,
   the two working golds (#8a6726 text-safe, #d0a764 decorative only), espresso
   headings, ink dark surfaces. Tokens come from platform/brand/brand.md.
   ========================================================================== */

/* Self-hosted Inter (Latin subset, weight axis 400 to 800). One variable woff2,
   no external font origins. Source: platform/brand/fonts, opsz pinned to 14 (text). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1f1a2e;
  --espresso: #241a14;
  --body: #46403a;
  --muted: #6b7280;
  --gold: #8a6726;
  --gold-dark: #6f521e;
  --gold-bright: #d0a764;
  --cream: #f6f2e9;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --line: #e8e5df;
  --line-on-ink: rgba(246, 242, 233, 0.14);
  --footer-bg: #1a1a1a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(31, 26, 20, 0.05), 0 12px 40px rgba(31, 26, 20, 0.10);
  --shadow-shot: 0 2px 6px rgba(31, 26, 20, 0.07), 0 32px 80px rgba(31, 26, 20, 0.16);
  --gradient: linear-gradient(135deg, #8a6726 0%, #6f521e 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  color: var(--espresso);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-lede {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--gradient);
  color: #fff;
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(111, 82, 30, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--espresso);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn--xl { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { display: block; text-align: center; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease-in-out;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4.25rem;
}

.nav__brand { display: flex; align-items: center; }
.nav__logo { width: 167px; height: auto; }

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--espresso); text-decoration: none; }

.nav__cta { display: flex; align-items: center; gap: 1.25rem; }
.nav__login { color: var(--body); font-size: 0.95rem; font-weight: 500; }
.nav__login:hover { color: var(--espresso); text-decoration: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
}

.nav__menu {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav__menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}
.nav__menu-inner a {
  padding: 0.65rem 0;
  color: var(--body);
  font-weight: 500;
}
.nav__menu-inner a:hover { color: var(--espresso); text-decoration: none; }
.nav__menu-inner .btn { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 9.5rem 0 0;
  text-align: center;
}

.hero__copy { max-width: 880px; margin: 0 auto; }

.hero__mark {
  height: 92px;
  width: auto;
  margin: 0 auto 2.25rem;
}

.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  letter-spacing: -0.035em;
}

.hero__lede {
  max-width: 660px;
  margin: 1.5rem auto 0;
  font-size: 1.2rem;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero__facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 2.25rem;
}
.hero__facts li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 1.15rem;
  border-left: 1px solid var(--line);
}
.hero__facts li:first-child { border-left: 0; }

/* Page-load rise. The reveal class handles everything below the fold. */
.hero__copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero__shot { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.38s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__shot {
  position: relative;
  margin: 4rem auto 0;
  max-width: 1160px;
  padding: 0 1.5rem;
}
.hero__shot::before {
  content: "";
  position: absolute;
  inset: -6% 8% 20% 8%;
  background: radial-gradient(closest-side, rgba(208, 167, 100, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero__caption {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 1rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Browser frame around real product captures. */
.browser {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-shot);
}
.browser--flat { box-shadow: var(--shadow-card); }

.browser__bar {
  display: flex;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.browser__url {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 1.1rem;
}

/* The hero screenshot bleeds into the section below it. The whole figure moves,
   so the caption stays below the frame instead of landing on top of it. */
.hero__shot { margin-bottom: -6rem; }
.hero + .section { padding-top: 12rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 6.5rem 0; }

/* Product tour */

.tour { background: var(--bg-soft); }

.tour__widget { max-width: 1000px; margin: 0 auto; }

.tour__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  background: #ece9e3;
  border-radius: 999px;
  padding: 0.3rem;
  margin: 0 auto 2rem;
  width: fit-content;
}
.tour__tab {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.tour__tab:hover { color: var(--espresso); }
.tour__tab[aria-selected="true"] {
  background: #fff;
  color: var(--espresso);
  box-shadow: 0 1px 3px rgba(31, 26, 20, 0.12);
}

.tour__panel[hidden] { display: none; }
.tour__panel { animation: fadein 0.35s ease-in-out both; }

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tour__caption {
  max-width: 640px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.tour__more {
  max-width: 760px;
  margin: 3.5rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  text-wrap: pretty;
}

/* Portfolio: buildings and owners */

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.portfolio__block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2.1rem 2.2rem;
}
.portfolio__block::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
  margin-bottom: 1.15rem;
}
.portfolio__block h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.portfolio__block p {
  margin-top: 0.85rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* AI Insights: the product's AI showpiece, on a dark surface. */

.insights {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.insights::before {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: 1100px;
  height: 660px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(208, 167, 100, 0.20), transparent 72%);
  pointer-events: none;
}
.insights .container { position: relative; }

.insights__head { max-width: 780px; margin: 0 auto 3.25rem; text-align: center; }
.insights__title {
  color: var(--cream);
  font-size: clamp(2rem, 4.6vw, 3.15rem);
}
.insights__lede {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: rgba(246, 242, 233, 0.68);
  text-wrap: pretty;
}

.insights__bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.ai-tile {
  background: rgba(246, 242, 233, 0.035);
  border: 1px solid rgba(246, 242, 233, 0.12);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.ai-tile:hover {
  border-color: rgba(208, 167, 100, 0.5);
  background: rgba(246, 242, 233, 0.055);
  transform: translateY(-2px);
}
.ai-tile__title {
  color: var(--cream);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.ai-tile p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(246, 242, 233, 0.62);
  text-wrap: pretty;
}

.ai-tile--feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: linear-gradient(180deg, rgba(208, 167, 100, 0.10), rgba(246, 242, 233, 0.025));
  border-color: rgba(208, 167, 100, 0.30);
}
.ai-tile--feature .ai-tile__title {
  color: var(--gold-bright);
  font-size: 1.02rem;
  font-weight: 700;
}

.ai-chat {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.ai-chat__ask {
  align-self: flex-end;
  max-width: 92%;
  background: var(--gradient);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.75rem 1rem;
  border-radius: 14px 14px 4px 14px;
}
.ai-chat__reply {
  align-self: flex-start;
  max-width: 96%;
  background: rgba(246, 242, 233, 0.06);
  border: 1px solid rgba(246, 242, 233, 0.10);
  border-radius: 14px 14px 14px 4px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ai-chat__reply p {
  margin: 0;
  color: rgba(246, 242, 233, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ai-num { color: var(--gold-bright); font-weight: 700; }
.ai-tile--feature .ai-tile__note {
  margin-top: 1.2rem;
  font-size: 0.86rem;
  color: rgba(246, 242, 233, 0.5);
}

.insights__note {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(246, 242, 233, 0.6);
  text-wrap: pretty;
}
.insights__note a { color: var(--gold-bright); }
.insights__note a:hover { color: #fff; }

@media (max-width: 980px) {
  .insights__bento { grid-template-columns: 1fr 1fr; }
  .ai-tile--feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .insights__bento { grid-template-columns: 1fr; }
}

/* Tenants */

.tenants { background: var(--cream); }

.tenants__grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: center;
}

.tenants__shot { display: flex; justify-content: center; }

.tenants__copy h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.tenants__copy .section-lede { margin-top: 1rem; }

.tenants__list { list-style: none; margin-top: 2rem; }
.tenants__list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(36, 26, 20, 0.12);
  color: var(--body);
  text-wrap: pretty;
}
.tenants__list li:last-child { border-bottom: 1px solid rgba(36, 26, 20, 0.12); }

.phone {
  width: min(340px, 80vw);
  border: 10px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-shot);
}

/* Pricing */

.pricing {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(208, 167, 100, 0.18), transparent 70%);
  pointer-events: none;
}

.section-head--onink h2 { color: var(--cream); }
.section-head--onink .section-lede { color: rgba(246, 242, 233, 0.66); }

.calc {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.calc__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}

.calc__slider-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.calc__units {
  flex: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(246, 242, 233, 0.8);
  font-variant-numeric: tabular-nums;
  min-width: 5.5rem;
  text-align: left;
}

#calcUnits {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold-bright) 5.5%, rgba(246, 242, 233, 0.18) 5.5%);
  outline-offset: 6px;
  cursor: pointer;
}
#calcUnits::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 4px 12px rgba(0, 0, 0, 0.4);
}
#calcUnits::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.calc__price { margin-top: 2rem; }
.calc__amount {
  display: block;
  font-size: clamp(3.6rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.calc__per {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.05rem;
  color: rgba(246, 242, 233, 0.75);
}

.calc__note {
  max-width: 560px;
  margin: 1.75rem auto 0;
  font-size: 0.95rem;
  color: rgba(246, 242, 233, 0.6);
  text-wrap: pretty;
}
.calc__note a { color: var(--gold-bright); }
.calc__note a:hover { color: var(--cream); }

.calc__list-title {
  max-width: 720px;
  margin: 3.5rem auto 0.75rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.calc__included {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.calc__included li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-on-ink);
  font-size: 0.975rem;
  color: rgba(246, 242, 233, 0.85);
}

.calc__extras {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.calc__extras li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-on-ink);
}
.calc__extra-info { display: flex; flex-direction: column; gap: 0.15rem; }
.calc__extra-info b {
  font-size: 0.975rem;
  font-weight: 600;
  color: rgba(246, 242, 233, 0.95);
}
.calc__extra-info span {
  font-size: 0.9rem;
  color: rgba(246, 242, 233, 0.62);
  text-wrap: pretty;
}
.calc__extra-price {
  flex: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc__enterprise {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  text-align: left;
}
.calc__enterprise-info { display: flex; flex-direction: column; gap: 0.3rem; }
.calc__enterprise-info b {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}
.calc__enterprise-info span {
  font-size: 0.9rem;
  color: rgba(246, 242, 233, 0.62);
  text-wrap: pretty;
}
.calc__enterprise .btn { flex: none; }

/* Start */

.start { padding-bottom: 4.5rem; }

.start__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 940px;
  margin: 0 auto;
}
.start__steps li { text-align: center; }
.start__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.start__steps p {
  margin-top: 0.5rem;
  color: var(--body);
  text-wrap: pretty;
}

.start__note {
  margin-top: 2.75rem;
  text-align: center;
  font-weight: 600;
  color: var(--espresso);
}

/* Trust */

.trust { background: var(--bg-soft); }

.trust__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.trust__col h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.trust__col p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* FAQ */

.faq__list { max-width: 760px; margin: 0 auto; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__item summary {
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
}
.faq__item summary:hover { color: var(--gold-dark); }
.faq__item p {
  padding: 0 0 1.25rem;
  color: var(--body);
  max-width: 660px;
  text-wrap: pretty;
}

/* Final call to action */

.final { padding-top: 4.5rem; }

.final__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.final__inner h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.final__lede { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.final__cta {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal { padding: 8rem 0 6rem; }
.legal__wrap { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 0.6rem; }
.legal__meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 2.25rem; }
.legal h2 { font-size: 1.5rem; margin: 2.6rem 0 0.75rem; }
.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 0.4rem;
}
.legal p, .legal li { color: var(--body); line-height: 1.7; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.4rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 0.7rem 0.875rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal th { font-weight: 600; color: var(--espresso); background: var(--bg-soft); }
.legal__scroll { width: 100%; overflow-x: auto; }
.legal__caps { text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--footer-bg);
  color: rgba(246, 242, 233, 0.72);
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 242, 233, 0.12);
}

.footer__logo { width: 167px; height: auto; }
.footer__brand p { margin-top: 1rem; max-width: 300px; text-wrap: pretty; }

.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col h3 {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.footer__col a, .footer__link {
  color: rgba(246, 242, 233, 0.72);
  text-decoration: none;
}
.footer__col a:hover, .footer__link:hover { color: var(--cream); text-decoration: none; }
.footer__link {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(246, 242, 233, 0.62);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal--delay { transition-delay: 0.12s; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .tenants__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .section { padding: 4.5rem 0; }
  .hero { padding-top: 7.5rem; }
  .hero__mark { height: 68px; margin-bottom: 1.75rem; }
  .hero__shot { margin-bottom: -3rem; }
  .hero + .section { padding-top: 7.5rem; }
  .legal { padding: 6.5rem 0 4rem; }

  .start__steps { grid-template-columns: 1fr; gap: 2rem; max-width: 420px; }
  .trust__cols { grid-template-columns: 1fr; gap: 2rem; max-width: 480px; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 2.25rem; max-width: 560px; }
  .calc__included { grid-template-columns: 1fr; }
  .calc__slider-row { flex-direction: column; align-items: stretch; }
  .calc__units { text-align: center; min-width: 0; }
}

@media (max-width: 520px) {
  .hero__facts { flex-direction: column; gap: 0.4rem; }
  .hero__facts li { border-left: 0; padding: 0; }
  .calc__extras li { flex-direction: column; gap: 0.35rem; }
  .calc__enterprise { flex-direction: column; align-items: stretch; text-align: center; gap: 1rem; }
  .calc__enterprise-info { align-items: center; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *, .hero__shot { animation: none; }
  .tour__panel { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn--primary, .btn--ghost { transition: none; }
}
