@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F3F1EC;
  --ink: #0F1B24;
  --ink-2: #4A5763;
  --line: #E4E1D9;
  --sea: #0B6B6F;
  --sea-hover: #08575A;
  --on-sea: #FFFFFF;
  --sea-soft: #E2F0EF;
  --coral: #B5452E;
  --ok: #1C7A3B;
  --ok-bg: #E5F4EA;
  --warn: #8F4D00;
  --warn-bg: #FFF0D9;
  --danger: #B42318;
  --shadow: 0 1px 2px rgb(15 27 36 / 0.06), 0 12px 32px rgb(15 27 36 / 0.08);
  --device-shadow: 0 2px 4px rgb(15 27 36 / 0.10), 0 24px 48px rgb(15 27 36 / 0.16);
  --radius: 16px;
  --container: 1160px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C141A;
    --surface: #121D25;
    --surface-2: #101A21;
    --ink: #EEF2F4;
    --ink-2: #A3B0BA;
    --line: #24323C;
    --sea: #52C4BF;
    --sea-hover: #74D3CF;
    --on-sea: #062326;
    --sea-soft: #10302F;
    --coral: #F08A6E;
    --ok: #6CCB8A;
    --ok-bg: #12301D;
    --warn: #F2B65C;
    --warn-bg: #352610;
    --danger: #FF8A80;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px rgb(0 0 0 / 0.3);
    --device-shadow: 0 2px 4px rgb(0 0 0 / 0.4), 0 24px 48px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 720; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; font-weight: 680; }
h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-hover); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--bg); }

.eyebrow { font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.muted { color: var(--ink-2); font-size: 0.95rem; }
.fine-print { color: var(--ink-2); font-size: 0.85rem; text-align: center; margin-top: 8px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--sea); color: var(--on-sea); font: inherit; font-weight: 620; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--sea-hover); color: var(--on-sea); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--surface-2); color: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; border-radius: 10px; }
.button-wide { width: 100%; }
.text-link { font-weight: 620; text-decoration: none; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.mark-bg { fill: var(--sea); }
.mark-dot { fill: var(--on-sea); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.button) { color: var(--ink); text-decoration: none; font-weight: 520; font-size: 0.97rem; }
.site-nav a:not(.button):hover { color: var(--sea); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 12px; }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; border: 0; padding: 0; }
}

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; padding: 0 0 48px 0; }
.hero-media .window { width: 100%; }
.hero-phone { position: absolute; right: -12px; bottom: 0; width: 30%; max-width: 190px; }

@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 720px; margin: 0 auto; width: 100%; }
  .hero-phone { right: 4px; }
}

/* Device frames */
.window {
  border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--device-shadow);
}
.phone {
  background: #0E1114; padding: 6px; border-radius: 34px;
  box-shadow: var(--device-shadow); border: 1px solid rgb(255 255 255 / 0.08);
}
.phone img { border-radius: 28px; width: 100%; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 40px; } }

/* Products */
.product {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-flip .product-copy { order: 2; }
.product-copy h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 14px; letter-spacing: -0.025em; }
.product-copy > p:not(.tag) { color: var(--ink-2); margin-bottom: 20px; }
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 620; color: var(--sea);
  background: var(--sea-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sea-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6B6F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352C4BF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  }
}

.product-flagship {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; box-shadow: var(--shadow); margin-bottom: 40px;
}
.product-flagship:first-of-type { padding-top: 48px; }

.phone-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.phone-row .phone:nth-child(2) { transform: translateY(28px); }
.media-stack { position: relative; padding-bottom: 40px; }
.phone-overlap { position: absolute; right: -8px; bottom: 0; width: 28%; max-width: 180px; }

@media (max-width: 980px) {
  .product, .product-flip { grid-template-columns: 1fr; gap: 36px; }
  .product-flip .product-copy { order: 0; }
  .product-flagship { padding: 32px; }
  .product-flagship:first-of-type { padding-top: 32px; }
  .product-media { max-width: 720px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .product-flagship { padding: 24px 20px; border-radius: 20px; }
  .product-flagship:first-of-type { padding-top: 24px; }
  .phone-row { gap: 10px; }
  .phone { padding: 4px; border-radius: 22px; }
  .phone img { border-radius: 18px; }
}

/* The landlord app concept card */
.concept {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: grid; gap: 18px; font-size: 0.95rem;
}
.concept p { margin: 0; }
.concept-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.concept-kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 600; }
.concept-title { font-size: 1.5rem; font-weight: 720; letter-spacing: -0.02em; }
.concept-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.stat-label { font-size: 0.8rem; color: var(--ink-2); font-weight: 550; }
.stat-value { font-size: 1.55rem; font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-note { font-size: 0.8rem; color: var(--ink-2); }
.stat-up { color: var(--ok); font-weight: 600; }
.meter { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin: 4px 0 2px; }
.meter span { display: block; height: 100%; background: var(--sea); border-radius: 3px; }
.concept-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.concept-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.concept-list li + li { border-top: 1px solid var(--line); }
.prop { display: grid; font-weight: 600; line-height: 1.3; }
.prop small { font-weight: 450; color: var(--ink-2); font-size: 0.8rem; }
.chip { flex: none; font-size: 0.78rem; font-weight: 620; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.chip-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.concept-foot { font-size: 0.75rem; color: var(--ink-2); text-align: right; }
@media (max-width: 480px) {
  .concept { padding: 16px; }
  .concept-stats { grid-template-columns: 1fr; }
}

/* Custom work */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service svg { width: 28px; height: 28px; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.service h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service p { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .service { padding: 22px; } }

.steps-block { margin-top: 64px; display: grid; gap: 28px; justify-items: start; }
.steps-title { font-size: 1.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: 100%; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps h4 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; }
.step-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sea); color: var(--on-sea); font-weight: 700; font-size: 0.95rem;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.about h2 { margin-bottom: 18px; }
.about > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li { padding: 22px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 1.15rem; margin-bottom: 6px; }
.principles p { color: var(--ink-2); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-intro h2 { margin-bottom: 16px; }
.contact-intro p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 14px; }
.contact-intro .muted { font-size: 0.92rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 20px; border-radius: 16px; } }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row[hidden] { display: none; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 18px; } }
label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 450; color: var(--ink-2); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5763' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea) 25%, transparent); }
[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.88rem; font-weight: 550; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form-status:empty { display: none; }
.form-status { font-size: 0.95rem; font-weight: 550; }
.form-status.is-error { color: var(--danger); }
.form-done { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 1.4rem; }
.form-done h3:focus { outline: none; }
.form-done p { color: var(--ink-2); }

/* Footer */
.site-footer { padding: 32px 0; color: var(--ink-2); font-size: 0.92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }

/* Plain pages: privacy, thanks, 404, the form's error page */
.plain-page { max-width: 720px; margin: 0 auto; padding: 72px var(--gutter) 96px; }
.plain-page h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-bottom: 20px; }
.plain-page h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.02em; }
.plain-page p, .plain-page li { color: var(--ink-2); }
.plain-page p + p { margin-top: 12px; }
.plain-page ul { padding-left: 20px; }
.plain-page .button { margin-top: 24px; }
