:root {
  --bg: #fbfaf7;
  --bg-soft: #f3f1ea;
  --card: #ffffff;
  --ink: #14161b;
  --ink-2: #3d424d;
  --muted: #6b707b;
  --line: #e6e2d8;
  --brand: #2347d9;
  --brand-ink: #1a36a8;
  --accent: #0f9a6e;
  --night: #11141b;
  --night-2: #1a1e28;
  --night-line: #2a2f3c;
  --night-ink: #f1f2f5;
  --night-muted: #a3a9b8;
  --c-property: #3b6cf6;
  --c-society: #12a594;
  --c-egg: #D85F0B;
  --shadow: 0 1px 2px rgba(20, 22, 27, .04), 0 12px 32px rgba(20, 22, 27, .06);
  --radius: 20px;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f14;
    --bg-soft: #13161d;
    --card: #171a22;
    --ink: #eef0f4;
    --ink-2: #c4c8d2;
    --muted: #8d93a1;
    --line: #262a35;
    --brand: #7d97ff;
    --brand-ink: #a8b8ff;
    --accent: #3fd0a0;
    --night: #08090d;
    --night-2: #12151c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700;
  color: var(--brand); margin-bottom: 14px;
}
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: 16px; position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
}
.navlinks { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
@media (max-width: 820px) { .navlinks { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 560px; z-index: -1;
  background:
    radial-gradient(560px 280px at 82% 28%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
    radial-gradient(480px 260px at 8% 50%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%);
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 820px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); max-width: 600px; margin-bottom: 30px; }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Product stack beside the hero */
.stack { display: grid; gap: 12px; }
.tile {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); text-decoration: none; transition: transform .15s ease, border-color .15s ease;
}
.tile:hover { transform: translateX(4px); border-color: var(--muted); }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; overflow: hidden; }
.tile .ic img { width: 44px; height: 44px; }
.tile b { display: block; font-size: 15px; line-height: 1.3; }
.tile span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
.tile .arrow { color: var(--muted); font-size: 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.stat { padding: 18px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 17px; }

/* Rentify Services suite: dark band */
section.suite { background: var(--night); color: var(--night-ink); padding: 96px 0; }
.suite .eyebrow { color: #8fe3c4; }
.suite .section-head p { color: var(--night-muted); }
.suite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .suite-grid { grid-template-columns: 1fr; } }
.suite-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: 24px; padding: 30px;
}
.suite-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tint); }
.suite-card::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%); pointer-events: none;
}
.suite-card.property { --tint: var(--c-property); }
.suite-card.society { --tint: var(--c-society); }
.suite-card .top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; z-index: 1; }
.suite-card .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: #fff; font-size: 22px; }
.suite-card .kind { font-size: 13px; color: var(--night-muted); }
.suite-card h3 { font-size: 26px; }
.suite-card > p { color: #cdd1db; margin-bottom: 20px; font-size: 16px; }
.suite-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.suite-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: #dfe2e9; font-size: 15px; }
.suite-card li::before { content: "✓"; color: var(--tint); font-weight: 800; }
.suite-card .for { font-size: 13px; color: var(--night-muted); margin-bottom: 22px; }
.suite-card .for b { color: var(--night-ink); font-weight: 600; }
.suite-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.suite-card .btn.go { background: var(--night-ink); color: var(--night); }
.suite-card .url { font-size: 14px; color: var(--night-muted); text-decoration: none; overflow-wrap: anywhere; }
.suite-card .url:hover { color: var(--night-ink); text-decoration: underline; }
.suite-note {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  border: 1px dashed var(--night-line); border-radius: 18px; padding: 18px 22px; color: var(--night-muted); font-size: 15px;
}
.suite-note b { color: var(--night-ink); }
.suite-note .pill { background: rgba(255, 255, 255, .08); color: #ffd28a; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column;
}
.card .icon { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; overflow: hidden; }
.card .icon img { width: 56px; height: 56px; }
.card h3 { font-size: 23px; margin-bottom: 4px; }
.card .kind { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.card .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pill.live { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.pill.new { background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); }
.link { font-weight: 600; font-size: 14px; color: var(--brand); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; gap: 24px; } }
.principle { border-top: 2px solid var(--ink); padding-top: 18px; }
.principle h3 { font-size: 20px; margin-bottom: 8px; }
.principle p { color: var(--ink-2); font-size: 15px; }
.principle .n { font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 14px; margin-bottom: 10px; }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.avatar { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--bg); background: var(--ink); }
.founder h2 { font-size: 30px; }
.founder p { color: var(--ink-2); margin-top: 12px; max-width: 700px; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 12px; }
.contact p { color: var(--ink-2); max-width: 560px; margin: 0 auto 26px; }
.contact .btnrow { justify-content: center; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--muted); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin-top: 12px; max-width: 300px; }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
footer.site nav { display: grid; gap: 8px; align-content: start; }
footer.site a { text-decoration: none; }
footer.site nav a:hover { color: var(--ink); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }

/* FreeGB page */
.app-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 8px; }
.app-hero img { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .app-hero { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p, .feature li { color: var(--ink-2); font-size: 15px; }
.feature ul { padding-left: 18px; margin-top: 6px; }
.callout { border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 16px 16px 0; padding: 18px 20px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout p + p { margin-top: 10px; }

/* Long-form (privacy policy) */
.doc { max-width: 760px; padding: 52px 0 76px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li + li { margin-top: 6px; }
.doc code { font-size: 14px; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
.doc a { color: var(--brand); }
.summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 22px 0; }

/* App page title: product name plus what it does */
.app-title { margin-bottom: 0; font-size: clamp(38px, 6vw, 60px); }
.app-title span { display: block; font-size: clamp(18px, 2.6vw, 24px); font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); margin-top: 8px; }

/* Product pages */
.product-icon { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 40px; box-shadow: var(--shadow); }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .platforms { grid-template-columns: 1fr; } }
.platform { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.platform h3 { font-size: 19px; }
.platform p { color: var(--ink-2); font-size: 15px; }
.platform .foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill.soon { background: color-mix(in srgb, var(--c-egg) 16%, transparent); color: #b5650a; }
@media (prefers-color-scheme: dark) { .pill.soon { color: #ffc56e; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 16px; }
.step::before { counter-increment: step; content: "Step " counter(step); display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cities li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-2); }
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }

/* Logo mark (image) in header and footer */
.brand img.mark { width: 36px; height: 36px; border-radius: 50%; background: none; display: block; }

/* Home cover banner */
.hero.has-cover { padding-top: 32px; }
.cover { margin: 0 0 56px; }
.cover img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 600px) {
  .cover { margin: 0 -20px 40px; }
  .cover img { border-radius: 0; box-shadow: none; }
}

/* Client work */
.work-card { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 860px) { .work-card { grid-template-columns: 1fr; } }
.work-img { display: block; background: #dfe8f3; }
.work-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 900 / 854; }
@media (max-width: 860px) { .work-img img { aspect-ratio: 16 / 10; } }
.work-body { padding: 32px; display: flex; flex-direction: column; }
.work-body .kind { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.work-body h3 { font-size: 28px; margin-bottom: 10px; }
.work-body > p { color: var(--ink-2); margin-bottom: 16px; }
.work-body ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.work-body li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: var(--ink-2); font-size: 15px; }
.work-body li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.work-body .btnrow { margin-top: auto; }
.work-note { margin-top: 20px; }
