/* Rental AI — marketing + legal site
   Palette pulled from the two brand reference images (logo mark +
   card-on-console) via color quantization:
   ink #141b22, deep blue #1e4e7b, brand blue #2e6f9e, cyan glow #56bede,
   ice #eaf4f8, slate #4a5560 */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=satoshi@400,500,600,700&display=swap');

:root {
  --ink: #141b22;
  --ink-2: #1b232c;
  --navy-deep: #1e4e7b;
  --blue: #2e6f9e;
  --blue-bright: #3f8bc4;
  --cyan: #56bede;
  --ice: #eef5f8;
  --ice-2: #e2eef4;
  --slate: #4a5560;
  --slate-light: #7c8894;
  --white: #ffffff;
  --text: #16202b;
  --line: #dfe7ec;
  --radius: 14px;
  --shadow: 0 20px 50px -25px rgba(20, 27, 34, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Clash Display', 'Satoshi', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 27, 34, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.brand img { height: 34px; width: 34px; border-radius: 8px; }
.brand small {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: var(--white);
  box-shadow: 0 12px 30px -12px rgba(46, 111, 158, 0.65);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(46, 111, 158, 0.8); }
.btn-ghost-dark {
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.6); }
.btn-ghost-light {
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost-light:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 900px 500px at 18% -10%, rgba(86,190,222,0.18), transparent 60%), var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 0;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 2px var(--cyan);
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }

.hero-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,27,34,0.55));
  pointer-events: none;
}

.logo-strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 26px 0;
}
.logo-strip .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
}
.logo-strip strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ---------- Sections ---------- */
section.pad { padding: 104px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }
.section-head p { color: var(--slate); font-size: 16.5px; }
.eyebrow-dark {
  color: var(--blue);
}

.bg-ice { background: var(--ice); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .section-head h2 { color: var(--white); }
.bg-ink .section-head p { color: rgba(255,255,255,0.65); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.problem-card .num {
  font-family: 'Clash Display', sans-serif;
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.problem-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.problem-card p { color: var(--slate); font-size: 14.5px; margin: 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 100px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-copy .eyebrow { color: var(--blue); }
.feature-copy .eyebrow::before { background: var(--blue); box-shadow: 0 0 10px 1px var(--blue); }
.feature-copy h3 { font-size: clamp(24px, 2.6vw, 30px); color: var(--ink); }
.feature-copy p { color: var(--slate); font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  align-items: flex-start;
}
.feature-list svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.feature-img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(20,27,34,0.12);
  box-shadow: var(--shadow);
  display: block;
}

.mock {
  border-radius: 18px;
  background: linear-gradient(160deg, var(--ink-2), #223140);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 22px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3.1;
  position: relative;
  overflow: hidden;
}
.mock::before {
  content: '';
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(86,190,222,0.22), transparent 55%);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 18px; position: relative; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  position: relative;
}
.mock-row b { color: var(--cyan); font-weight: 600; }
.mock-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  position: relative;
}
.mock-stat div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-stat b { display: block; color: var(--white); font-size: 15px; font-family: 'Clash Display'; }
.mock-stat span { color: rgba(255,255,255,0.5); font-size: 11px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.diff-card {
  background: var(--ink);
  padding: 30px 26px;
}
.diff-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(86,190,222,0.12);
  border: 1px solid rgba(86,190,222,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan);
}
.diff-card h4 { color: var(--white); font-size: 16.5px; margin-bottom: 8px; }
.diff-card p { color: rgba(255,255,255,0.58); font-size: 13.5px; margin: 0; }

.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(86,190,222,0.35), transparent 55%);
}
.cta-band h2 { position: relative; font-size: clamp(26px, 3.2vw, 36px); }
.cta-band p { position: relative; color: rgba(255,255,255,0.78); max-width: 480px; margin: 0 auto 28px; }
.cta-band .hero-ctas { position: relative; justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  color: var(--white);
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 11px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

.badge-preview {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 999;
  background: rgba(20,27,34,0.92);
  color: #fff;
  border: 1px solid rgba(86,190,222,0.4);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-preview::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #56bede;
  box-shadow: 0 0 10px 2px #56bede;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 150px 0 60px;
}
.legal-hero .wrap { max-width: 860px; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 44px); }
.legal-hero p { color: rgba(255,255,255,0.6); font-size: 15px; }

.legal-body {
  padding: 64px 0 100px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
  display: grid;
  gap: 11px;
}
.legal-toc a {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.4;
}
.legal-toc a:hover { color: var(--blue); }
.legal-content h2 {
  font-size: 21px;
  color: var(--ink);
  margin-top: 44px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 16px;
  color: var(--ink);
  margin-top: 26px;
}
.legal-content p, .legal-content li {
  color: var(--slate);
  font-size: 15px;
}
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-note {
  background: var(--ice);
  border: 1px solid var(--ice-2);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--slate);
  margin: 20px 0;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--slate);
}
.legal-content th { background: var(--ice); color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-left: none; padding-left: 0; border-top: 2px solid var(--line); padding-top: 16px; }
  .nav-links { display: none; }
}
