:root {
  --accent: #a84e0c;
  --accent-dark: #7e3a08;
  --accent-light: #f2a865;
  --ink: #17181a;
  --ink-soft: #52504c;
  --paper: #fbfaf7;
  --paper-soft: #efece5;
  --border: #ddd8cd;
  --serif: 'IBM Plex Sans', Arial, sans-serif;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 16px;
}
.header-left { justify-self: start; min-width: 0; }
.header-center { justify-self: center; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 14px; min-width: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.logo-text b { color: var(--accent); font-weight: 700; }

.primary-nav { display: flex; gap: 26px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); border-color: var(--border); }

.segment-nav { display: flex; gap: 10px; }
.segment {
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.segment:hover { border-color: var(--accent); }
.segment.active {
  border-color: var(--accent);
  color: var(--accent);
}
.menu-btn {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.menu-btn span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s ease, opacity .2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 32px 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .segment { text-align: center; }

/* Hero */
.hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #2b3440 0%, #445064 45%, #6b5a52 100%);
}
.hero-skyline {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 45%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%);
}
.hero-content {
  position: relative;
  padding-bottom: 40px;
}
.hero h1 {
  color: #fff;
  font-size: 42px;
  margin: 0;
  max-width: 640px;
}
.hero-sm { height: 200px; }

/* Tabs */
.tabs { border-bottom: 1px solid var(--border); }
.tabs-inner { display: flex; gap: 36px; }
.tab {
  padding: 16px 2px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-color: var(--accent); }

/* Hero, editorial */
.hero-editorial {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-editorial-grid {
  padding-top: 96px;
  padding-bottom: 88px;
}
.hero-editorial-grid.has-form {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}
.hero-main { max-width: 680px; }
.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  color: var(--accent-light);
  margin: 0 0 22px;
}
.hero-main h1 {
  color: #fff;
  font-size: 60px;
  line-height: 1.05;
  margin: 0 0 26px;
  max-width: 640px;
}
.hero-dek {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  max-width: 500px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-how-link { color: #fff; }
.hero-how-link::after { color: var(--accent-light); }
.hero-skyline-strip { display: block; width: 100%; height: 48px; color: rgba(255,255,255,.1); }
.hero-editorial-sm .hero-editorial-grid { padding-top: 52px; padding-bottom: 44px; }
.hero-editorial-sm .hero-main h1 { font-size: 36px; max-width: 620px; }

/* Hero enquiry form */
.hero-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  padding: 28px;
  flex-shrink: 0;
}
.hero-form-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  color: var(--accent-light);
  margin: 0 0 4px;
}
.hero-form-sub { color: rgba(255,255,255,.6); font-size: 13px; margin: 0 0 20px; }
.hero-form-field { margin-bottom: 14px; }
.hero-form-field label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}
.hero-form-field input,
.hero-form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: #fff;
}
.hero-form-field input::placeholder,
.hero-form-field textarea::placeholder { color: rgba(255,255,255,.35); }
.hero-form-field input:focus,
.hero-form-field textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(255,255,255,.1);
}
.hero-form-field textarea { resize: vertical; min-height: 64px; }
.hero-form button[type="submit"] { width: 100%; text-align: center; margin: 4px 0 0; }
.hero-form-note { font-size: 11.5px; color: rgba(255,255,255,.4); margin: 12px 0 0; }
.hero-form-success {
  display: none;
  font-size: 14px;
  color: #fff;
}
.hero-form-success.visible { display: block; }
.hero-form-success strong { color: var(--accent-light); display: block; margin-bottom: 6px; }

/* Subbar (breadcrumb + tabs) */
.subbar { border-bottom: 1px solid var(--border); }
.subbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
}
.subbar .tabs-inner { display: flex; gap: 28px; }

/* Section heading */
.section-head { margin-bottom: 10px; }

/* Desk list: editorial rows, not a card grid */
.desk-list { margin-top: 32px; border-top: 1px solid var(--border); }
.desk-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}
.desk-row:hover { background: var(--paper-soft); }
.desk-row-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--border);
  width: 30px;
  flex-shrink: 0;
  padding-top: 3px;
}
.desk-row .desk-icon { color: var(--accent); width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.desk-row .desk-icon svg { width: 100%; height: 100%; display: block; }
.desk-row h3 { width: 210px; flex-shrink: 0; font-size: 17px; margin: 0; }
.desk-row p { flex: 1 1 260px; margin: 0; font-size: 14.5px; }
.desk-row .link-arrow { flex-shrink: 0; margin-left: auto; }

/* Steps (how it works) */
.steps-grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-card { border-top: 3px solid var(--accent); padding-top: 16px; }
.step-num { display: block; font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--border); margin-bottom: 10px; }
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { font-size: 14px; }

/* Compare table */
.compare-table-wrap { margin-top: 32px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 18px 14px 0; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.compare-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
.compare-table tbody th[scope="row"] { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.compare-table tbody tr:hover { background: var(--paper-soft); }

/* Why band: editorial statement + definition list */
.why-band { background: var(--paper-soft); }
.why-editorial { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 72px 0; }
.why-statement { align-self: start; }
.why-statement h2 { font-size: 28px; margin: 14px 0 12px; }
.why-statement p { font-size: 15px; margin: 0; }
.why-deflist { display: flex; flex-direction: column; }
.why-row { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.why-row:first-child { padding-top: 0; }
.why-row dt { font-family: var(--serif); font-weight: 600; font-size: 16px; margin: 0; }
.why-row dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* Intro */
.intro { padding: 64px 32px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
}
.intro-copy h2 { font-size: 30px; max-width: 520px; }
.intro-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  align-self: start;
}
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.intro-card-title { font-weight: 600; color: var(--ink); }
.btn {
  display: inline-block;
  padding: 12px 24px 12px 20px;
  font-weight: 600;
  font-size: 14px;
  margin-right: 12px;
  margin-bottom: 10px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background .15s ease, clip-path .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); padding: 11px 23px 11px 19px; }
.btn-outline:hover { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }
.link-arrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  position: relative;
  padding-right: 18px;
  transition: padding-right .15s ease;
}
.link-arrow::after { content: '→'; position: absolute; right: 0; transition: transform .15s ease; }
.link-arrow:hover { padding-right: 22px; }
.link-arrow:hover::after { transform: translateX(2px); }

/* Desks */
.desks { padding: 40px 32px 72px; }
.section-lede { color: var(--ink-soft); max-width: 560px; margin-top: -6px; }
.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.desk-card {
  border-top: 3px solid var(--accent);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .15s ease;
}
.desk-card:hover { transform: translateY(-3px); }
.desk-card h3 { font-size: 19px; }
.desk-card p { font-size: 14.5px; }
.desk-card .link-arrow { margin-top: auto; }

/* Why band */
.why-band { background: var(--paper-soft); padding: 64px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.why-item h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; }
.why-item p { font-size: 14.5px; }

/* Landlord CTA */
.landlord-cta { padding: 64px 32px; }
.landlord-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 44px 48px;
}
.landlord-inner h2 { color: #fff; font-size: 26px; }
.landlord-inner p { color: #d8d5d0; margin: 0; max-width: 460px; }
.landlord-inner .btn-outline { border-color: #fff; color: #fff; white-space: nowrap; }

/* Insights */
.insights { padding: 20px 32px 72px; }
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.insight-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.insight-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.insight-card h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  margin: 10px 0 14px;
}
.insight-card time { font-family: var(--mono); font-size: 12px; color: #9b968f; }

/* Team */
.team { padding: 20px 32px 72px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
}
.team-card h3 { font-size: 16px; margin-bottom: 2px; }
.team-role { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* Next steps */
.next-steps { background: var(--paper-soft); padding: 56px 32px; }
.next-steps-inner { text-align: center; }
.next-steps-actions { display: flex; justify-content: center; gap: 16px; margin-top: 18px; }

/* Footer */
.site-footer {
  padding: 28px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-footer p { font-size: 13px; color: #9b968f; margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border-top: 3px solid var(--accent);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.cookie-banner p { color: #d8d5d0; font-size: 13.5px; margin: 0; max-width: 640px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { margin: 0; }
.cookie-actions .btn-outline { border-color: #fff; color: #fff; }

/* Blog index */
.blog-index { padding: 56px 32px 80px; }
.blog-index-head { max-width: 620px; margin-bottom: 36px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.blog-card-media {
  display: block;
  height: 160px;
  background: linear-gradient(135deg, #445064 0%, #6b5a52 100%);
}
.blog-card-body { padding: 20px; }
.blog-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0 10px;
}
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 14px; }
.blog-meta { font-family: var(--mono); font-size: 12px; color: #9b968f; display: flex; gap: 8px; }

.blog-card-featured { grid-column: span 3; flex-direction: row; }
.blog-card-featured .blog-card-media { height: auto; width: 45%; flex-shrink: 0; }
.blog-card-featured .blog-card-body { padding: 32px; }
.blog-card-featured h3 { font-size: 24px; font-family: var(--serif); }

.blog-grid-compact { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }

/* Blog post */
.post { padding: 48px 32px 24px; max-width: 760px; }
.post-head { margin-bottom: 24px; }
.post-head h1 { font-size: 34px; margin: 10px 0 14px; }
.post-media {
  height: 320px;
  border-radius: 8px;
  background: linear-gradient(135deg, #445064 0%, #6b5a52 100%);
  margin-bottom: 32px;
}
.post-body h2 { font-size: 22px; margin-top: 1.6em; }
.post-body p { font-size: 15.5px; line-height: 1.7; }
.post-cta {
  margin-top: 40px;
  padding: 32px;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.post-cta h2 { font-size: 20px; }
.related { padding: 8px 32px 72px; max-width: 760px; }

/* FAQ */
.faq-section {
  padding: 56px 32px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 20px;
  color: var(--accent);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; font-size: 15px; }
.faq-cta {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: 90px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-editorial-grid.has-form { grid-template-columns: 1fr; gap: 40px; }
  .hero-form { max-width: 440px; }
  .intro-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .landlord-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .blog-grid, .blog-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .blog-card-featured { grid-column: span 2; flex-direction: column; }
  .blog-card-featured .blog-card-media { width: 100%; height: 200px; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-cta { position: static; }
  .hero-main h1 { font-size: 34px; }
  .why-editorial { grid-template-columns: 1fr; padding: 48px 0; gap: 28px; }
  .why-row { grid-template-columns: 1fr; gap: 6px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .desk-row h3 { width: 100%; }
  .desk-row .link-arrow { margin-left: 44px; }
}
@media (max-width: 560px) {
  .desk-grid, .why-grid, .insights-grid, .team-grid { grid-template-columns: 1fr; }
  .segment-nav { display: none; }
  .blog-grid, .blog-grid-compact, .blog-card-featured { grid-template-columns: 1fr; grid-column: span 1; }
  .post-media { height: 200px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; text-align: center; margin-right: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .subbar-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .hero-main h1 { font-size: 28px; }
}
@media (max-width: 700px) {
  .primary-nav { display: none; }
}
@media (min-width: 701px) {
  .menu-btn { display: none; }
}
