/* Lintel website. Tokens mirror the app (lib/theme/app_theme.dart). */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e3ae0;
  --ink-strong: #1730bd;
  --paper: #f5f6fb;
  --surface: #ffffff;
  --text: #14162b;
  --muted: #5d6286;
  --border: #e1e4f5;
  --line: #c7ccf0;
  --coral: #ff6f5e;
  --coral-soft: #ffe6e2;
  --ok: #16a34a;
  --on-ink: #ffffff;
  --shadow: 0 1px 2px rgba(20, 22, 43, 0.06), 0 12px 32px rgba(30, 58, 224, 0.1);
  --radius: 18px;
  --head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #7c8cff;
    --ink-strong: #a3afff;
    --paper: #0e1030;
    --surface: #171a3d;
    --text: #edeefa;
    --muted: #a3a9d0;
    --border: #2b2f5c;
    --line: #3d4380;
    --coral: #ff8577;
    --coral-soft: #3a1f3a;
    --ok: #34d399;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
}

h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
h3 {
  font-size: 19px;
  font-weight: 700;
}
p {
  margin: 0 0 14px;
  text-wrap: pretty;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px dashed var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}
.brand-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-by {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-primary:hover {
  background: var(--ink-strong);
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #0e1030;
  }
}
.btn-nav {
  padding: 11px 18px;
  font-size: 15px;
}
.btn-light {
  background: #ffffff;
  color: #1e3ae0;
}
.btn-light:hover {
  background: #eef0ff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #1e3ae0;
  color: #ffffff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -46% auto;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 111, 94, 0.55), rgba(255, 111, 94, 0) 66%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 120, 0.35), rgba(30, 58, 224, 0) 55%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: center;
  padding-top: 72px;
}
.hero-copy {
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34em;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.chips li {
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-phone {
  align-self: end;
  justify-self: center;
  width: min(430px, 100%);
}
.hero-phone img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(8, 16, 90, 0.55));
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section + .section {
  border-top: 1px dashed var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 44px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 14px;
  margin-bottom: 0;
}
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin: 14px 0 8px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-coral {
  background: var(--coral-soft);
  color: var(--coral);
}

/* Gallery */
.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 28px;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, calc(50vw - 560px));
  scroll-padding-inline: max(20px, calc(50vw - 560px));
  -webkit-overflow-scrolling: touch;
}
.gallery:focus-visible {
  outline-offset: -3px;
}
.gallery figure {
  flex: 0 0 auto;
  width: min(270px, 70vw);
  margin: 0;
  scroll-snap-align: start;
}
.gallery img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.gallery figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* AI split */
.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  justify-self: center;
  width: min(360px, 100%);
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.split-media img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(30, 58, 224, 0.25));
}
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #14162b;
  vertical-align: middle;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 16px;
}
.ticks li {
  position: relative;
  padding-left: 36px;
}
.ticks li strong {
  display: block;
  font-family: var(--head);
  font-size: 18px;
}
.ticks li span {
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan-pro {
  border: 2px solid var(--coral);
  position: relative;
}
.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}
.price {
  font-family: var(--head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
}
.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-alt {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.plan li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 14px;
  height: 7px;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.plan .fine {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Privacy tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.tile {
  border-top: 3px solid var(--ink);
  background: var(--surface);
  border-radius: 6px 6px var(--radius) var(--radius);
  padding: 22px 22px 24px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tile p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}
.more {
  margin-top: 26px;
}

/* Get the app */
.get {
  background: #1e3ae0;
  color: #ffffff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.get h2 {
  color: #ffffff;
  margin-bottom: 14px;
}
.get p {
  color: rgba(255, 255, 255, 0.88);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e3ae0;
  font-family: var(--head);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong {
  display: block;
  font-family: var(--head);
  font-size: 18px;
  color: #ffffff;
}
.steps span {
  color: rgba(255, 255, 255, 0.85);
}
.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.qr-card {
  justify-self: center;
  background: #ffffff;
  color: #14162b;
  border-radius: 24px;
  padding: 22px 22px 18px;
  text-align: center;
  width: min(280px, 100%);
  box-shadow: 0 24px 60px rgba(8, 16, 90, 0.45);
}
.qr-card img {
  width: 100%;
  border-radius: 8px;
}
.qr-card p {
  color: #3a3f66;
  font-size: 14px;
  margin: 12px 0 0;
}
.qr-card strong {
  font-family: var(--head);
  font-size: 17px;
  display: block;
  color: #14162b;
}

/* FAQ */
.faq {
  max-width: 760px;
}
.faq details {
  border-top: 1px dashed var(--line);
  padding: 4px 0;
}
.faq details:last-of-type {
  border-bottom: 1px dashed var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 40px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding-right: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px dashed var(--line);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand p {
  color: var(--muted);
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: flex-start;
}
.footer-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.footer-legal p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin-inline: auto;
  padding: 64px 0 24px;
  width: min(720px, 100% - 40px);
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 10px;
}
.legal .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.legal .meta div + div {
  margin-top: 2px;
}
.legal .summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 38px 0 12px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal .contact {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
}

.notfound {
  text-align: center;
  padding: 120px 0;
}
.notfound h1 {
  font-size: clamp(48px, 9vw, 96px);
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .hero-copy {
    padding-bottom: 8px;
  }
  .hero-phone {
    width: min(340px, 82%);
    margin-top: 16px;
  }
  .split,
  .get {
    grid-template-columns: 1fr;
  }
  .split-media {
    order: -1;
  }
  .section {
    padding: 72px 0;
  }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
  }
  .brand-by {
    display: none;
  }
  .btn-nav {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
  .hero-phone { animation: rise-phone 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes rise-phone {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Sky hero (a hand holding the phone) ---------- */
/* Dark navy text on the light sky: about 8:1 contrast, so it stays readable without darkening the sky. */
.hero-sky {
  --sky-ink: #0b1f4d;
  background: #7cbff2 url("/assets/hero-sky.webp") center / cover no-repeat;
  color: var(--sky-ink);
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-sky::before,
.hero-sky::after {
  display: none;
}
.hero-sky .hero-grid {
  grid-template-columns: 1fr;
  width: min(1120px, 100% - 40px);
  padding-top: 0;
}
.hero-sky .hero-copy {
  max-width: 600px;
  padding: 72px 0;
}
.hero-sky .hero-lead {
  color: var(--sky-ink);
  font-weight: 500;
}
.hero-sky .eyebrow {
  color: var(--sky-ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 8px 14px;
  letter-spacing: 0.06em;
}
.hero-sky .btn-ghost {
  border-color: var(--sky-ink);
  color: var(--sky-ink);
}
.hero-sky .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.4);
}
.hero-sky .chips li {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--sky-ink);
}
.hero-hand {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.hero-hand img {
  height: 100%;
  width: auto;
  max-width: none;
}

/* ---------- How it works, who it is for ---------- */
.steps-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step h3 {
  margin: 14px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.step-no {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 34px;
  color: color-mix(in srgb, var(--ink) 22%, transparent);
}
.cards-who {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* ---------- Coming soon (example cards) ---------- */
.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.next-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.next-card > p {
  color: var(--muted);
  font-size: 15px;
}
.next-card h3 {
  margin-bottom: 8px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
}
.mock {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0 12px;
  display: grid;
  gap: 10px;
}
.mock-prompt {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
}
.mock-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
.mock-card span {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
}
.mock-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}
@media (prefers-color-scheme: dark) {
  .mock-btn {
    color: #0e1030;
  }
}
.mock-score {
  justify-items: center;
}
.gauge {
  width: 220px;
  overflow: visible;
}
.gauge path {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}
.gauge-track {
  stroke: var(--border);
}
.gauge-fill {
  stroke: var(--ink);
  stroke-dasharray: 78 100;
}
.gauge-num {
  margin-top: -44px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
.gauge-num span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}
.bars {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 8px;
}
.bars li {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.bar {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: var(--ink);
}
.bar-1 { width: 85%; }
.bar-2 { width: 70%; }
.bar-3 { width: 95%; }
.bar-4 { width: 55%; }

/* ---------- Moving icons and sections (all pure CSS: the site's policy allows no scripts) ---------- */
.ic * {
  transform-box: fill-box;
}
@media (prefers-reduced-motion: no-preference) {
  .card,
  .step,
  .plan,
  .tile,
  .next-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .card:hover,
  .step:hover,
  .plan:hover,
  .tile:hover,
  .next-card:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    box-shadow: var(--shadow);
  }
  .icon {
    transition: transform 0.25s ease, background-color 0.25s ease;
  }
  .card:hover .icon,
  .step:hover .icon {
    transform: scale(1.1) rotate(-4deg);
  }

  /* Each icon has its own small loop. */
  .ic-bell { animation: ic-ring 4.5s ease-in-out infinite; transform-origin: 50% 12%; }
  .ic-sync { animation: ic-spin 7s cubic-bezier(0.6, 0, 0.3, 1) infinite; transform-origin: 50% 50%; }
  .ic-lock path:nth-child(2) { animation: ic-shackle 4s ease-in-out infinite; }
  .ic-export path:nth-child(1) { animation: ic-rise 2.8s ease-in-out infinite; }
  .ic-pound circle { animation: ic-pulse 3.2s ease-in-out infinite; transform-origin: 50% 50%; }
  .ic-house path:nth-child(2) { animation: ic-door 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
  .ic-users circle:nth-child(3) { animation: ic-bob 2.6s ease-in-out infinite; }
  .ic-grid rect { animation: ic-tile 3.6s ease-in-out infinite; transform-origin: 50% 50%; }
  .ic-grid rect:nth-child(2) { animation-delay: 0.25s; }
  .ic-grid rect:nth-child(3) { animation-delay: 0.5s; }
  .ic-grid rect:nth-child(4) { animation-delay: 0.75s; }
  .ic-shield path:nth-child(2),
  .ic-list path:nth-child(2) { stroke-dasharray: 22; animation: ic-draw 4s ease-in-out infinite; }
  .ic-doc path:nth-child(2) { stroke-dasharray: 26; animation: ic-draw 4.4s ease-in-out infinite; }

  @keyframes ic-ring {
    0%, 62%, 100% { transform: rotate(0); }
    68% { transform: rotate(14deg); }
    74% { transform: rotate(-12deg); }
    80% { transform: rotate(9deg); }
    86% { transform: rotate(-6deg); }
    92% { transform: rotate(3deg); }
  }
  @keyframes ic-spin {
    0%, 55% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
  }
  @keyframes ic-shackle {
    0%, 55%, 100% { transform: translateY(0); }
    70%, 85% { transform: translateY(-2.2px); }
  }
  @keyframes ic-rise {
    0%, 100% { transform: translateY(1px); }
    50% { transform: translateY(-2px); }
  }
  @keyframes ic-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.09); }
  }
  @keyframes ic-door {
    0%, 60%, 100% { transform: scaleY(1); }
    75%, 85% { transform: scaleY(0.82); }
  }
  @keyframes ic-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.6px); }
  }
  @keyframes ic-tile {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.82); opacity: 0.55; }
  }
  @keyframes ic-draw {
    0% { stroke-dashoffset: 22; }
    30%, 80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -22; }
  }

  /* Sections rise into view as you scroll. motion.js adds .js to the page and .in to each block as it arrives (this works in every
     browser; without the script, or with "reduce motion" on, none of this applies and everything just shows). */
  .js .section-head,
  .js .card,
  .js .step,
  .js .plan,
  .js .tile,
  .js .next-card,
  .js .gallery figure,
  .js .split > div,
  .js .faq details,
  .js .get,
  .js .marquee,
  .js .rent-demo {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .in.section-head,
  .js .in.card,
  .js .in.step,
  .js .in.plan,
  .js .in.tile,
  .js .in.next-card,
  .js .in.gallery figure,
  .js .gallery .in,
  .js .in.get,
  .js .in.marquee,
  .js .in.rent-demo,
  .js .split > .in,
  .js .faq details.in {
    opacity: 1;
    transform: none;
  }
  /* After the entrance, hovering is quick again. */
  .js .done.card,
  .js .done.step,
  .js .done.plan,
  .js .done.tile,
  .js .done.next-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .js .done.card:hover,
  .js .done.step:hover,
  .js .done.plan:hover,
  .js .done.tile:hover,
  .js .done.next-card:hover {
    transform: translateY(-4px);
  }
  /* Neighbours arrive one after another. */
  .js .cards > :nth-child(3n + 2),
  .js .steps-row > :nth-child(2),
  .js .tiles > :nth-child(2),
  .js .plans > :nth-child(2),
  .js .next-grid > :nth-child(2) { transition-delay: 0.1s; }
  .js .cards > :nth-child(3n + 3),
  .js .steps-row > :nth-child(3),
  .js .tiles > :nth-child(3),
  .js .plans > :nth-child(3) { transition-delay: 0.2s; }

  /* Small line that draws under each section label. */
  .kicker { position: relative; }
  .js .section-head .kicker::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    margin-top: 8px;
    background: var(--coral);
    border-radius: 2px;
    transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
  }
  .js .section-head.in .kicker::after { width: 44px; }

  /* The mock cards and the score play when their block arrives. */
  .js .next-card .gauge-fill { stroke-dasharray: 0 100; transition: stroke-dasharray 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s; }
  .js .next-card.in .gauge-fill { stroke-dasharray: 78 100; }
  .js .next-card .bar { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .next-card.in .bar { transform: none; }
  .js .next-card.in .bar-1 { transition-delay: 0.6s; }
  .js .next-card.in .bar-2 { transition-delay: 0.75s; }
  .js .next-card.in .bar-3 { transition-delay: 0.9s; }
  .js .next-card.in .bar-4 { transition-delay: 1.05s; }
  .js .next-card .mock-card { opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .next-card.in .mock-card-1 { opacity: 1; transform: none; transition-delay: 0.5s; }
  .js .next-card.in .mock-card-2 { opacity: 1; transform: none; transition-delay: 1.2s; }
  .js .next-card .mock-card-2 .mock-btn { animation: none; }
  .js .next-card.in .mock-card-2 .mock-btn { animation: btn-nudge 2.4s ease-in-out 2.2s infinite; }
  @keyframes btn-nudge {
    0%, 70%, 100% { transform: scale(1); }
    80% { transform: scale(1.12); }
    90% { transform: scale(0.97); }
  }

  /* Rent tracking demo: the rents tick over to Paid one after another, the bar fills and the total counts up (motion.js). */
  .rent-demo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
  }
  .rd-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }
  .rd-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
  }
  .rd-total {
    font-family: var(--head);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
  }
  .rd-total small {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
  }
  .rd-bar {
    height: 10px;
    border-radius: 10px;
    background: var(--border);
    margin: 14px 0 6px;
    overflow: hidden;
  }
  .rd-bar i {
    display: block;
    height: 100%;
    width: 60%;
    border-radius: 10px;
    background: var(--ok);
  }
  .js .rd-bar i { width: 0; transition: width 2.6s cubic-bezier(0.3, 0.7, 0.2, 1) 0.9s; }
  .js .rent-demo.in .rd-bar i { width: 60%; }
  .rd-rows {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .rd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px dashed var(--line);
  }
  .rd-row:first-child { border-top: 0; }
  .rd-row strong { display: block; font-size: 15px; }
  .rd-row span { color: var(--muted); font-size: 13px; }
  .rd-chip { display: inline-grid; flex: none; }
  .rd-chip em {
    grid-area: 1 / 1;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 13px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
  }
  .rd-chip svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .rd-chip .c-due { background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
  .rd-chip .c-paid { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
  .rd-chip .c-soon { background: color-mix(in srgb, var(--coral) 18%, transparent); color: #c2402f; }
  @media (prefers-color-scheme: dark) {
    .rd-chip .c-soon { color: var(--coral); }
  }
  .rd-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--muted);
  }
  /* Not playing yet (script active, block not in view): show the "Due" state. Playing: swap to Paid, row by row. */
  .js .rd-chip .c-paid,
  .js .rd-chip .c-soon { opacity: 0; transform: scale(0.6); }
  .js .rd-chip em { transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
  .js .rent-demo.in .rd-chip .c-due { opacity: 0; }
  .js .rent-demo.in .rd-chip .c-paid,
  .js .rent-demo.in .rd-chip .c-soon { opacity: 1; transform: none; }
  .js .rent-demo.in .r1 em { transition-delay: 1.1s; }
  .js .rent-demo.in .r2 em { transition-delay: 1.9s; }
  .js .rent-demo.in .r3 em { transition-delay: 2.7s; }

  /* Floating notification cards beside the phone in the hero. */
  .float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #14162b;
    border-radius: 16px;
    padding: 10px 14px 10px 10px;
    box-shadow: 0 14px 34px rgba(10, 40, 100, 0.22);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    animation: chip-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards, chip-float 6s ease-in-out infinite;
  }
  .float-chip b { display: block; font-size: 13.5px; }
  .float-chip small { color: #5d6286; font-size: 12px; }
  .fc-dot {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
  }
  .fc-ok { background: #16a34a; }
  .fc-soon { background: #ff6f5e; }
  .fc-1 { left: -4%; top: 24%; animation-delay: 1.1s, 1.8s; }
  .fc-2 { left: 4%; bottom: 14%; animation-delay: 1.7s, 2.4s; }
  @keyframes chip-in {
    from { opacity: 0; transform: translateY(24px) scale(0.92); }
    to { opacity: 1; transform: none; }
  }
  @keyframes chip-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -9px; }
  }

  /* Clouds drift slowly behind the hero. */
  .hero-sky::before {
    display: block;
    content: "";
    position: absolute;
    inset: -6% -8%;
    background: url("/assets/hero-sky.webp") center / cover no-repeat;
    opacity: 0.55;
    z-index: -2;
    animation: sky-drift 48s ease-in-out infinite alternate;
  }
  @keyframes sky-drift {
    from { transform: translateX(-3%) scale(1.02); }
    to { transform: translateX(3%) scale(1.08); }
  }

  /* A strip of everything Lintel keeps track of, scrolling past. */
  .marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marquee 46s linear infinite;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
  }

  /* The Pro plan gently glows. */
  .plan-pro { animation: pro-glow 4.5s ease-in-out infinite; }
  @keyframes pro-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 58, 224, 0); }
    50% { box-shadow: 0 0 0 7px rgba(30, 58, 224, 0.1); }
  }

  /* A soft sheen sweeps across the main buttons now and then. */
  .hero-sky .btn-light { position: relative; overflow: hidden; }
  .hero-sky .btn-light::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    left: -60%;
    background: linear-gradient(100deg, transparent, rgba(30, 58, 224, 0.16), transparent);
    animation: sheen 5.5s ease-in-out 2s infinite;
  }
  @keyframes sheen {
    0%, 55% { left: -60%; }
    100% { left: 130%; }
  }

  /* Screenshots rise and tilt a little on hover. */
  .gallery figure img { transition: transform 0.35s ease; }
  .gallery figure:hover img { transform: translateY(-6px) rotate(-1deg) scale(1.02); }

  /* The hand drifts slightly, as if held. */
  .hero-hand img {
    animation: hand-float 7s ease-in-out infinite;
    transform-origin: 80% 100%;
  }
  @keyframes hand-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(0.6deg); }
  }
}

/* ---------- See it in action: a phone that follows the story ---------- */
.story-stage {
  display: none;
}
.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.story-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.story-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.story-body h3 {
  font-size: 22px;
  margin: 2px 0 8px;
}
.story-body p {
  color: var(--muted);
  margin: 0;
}
.story-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.story-points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}
.story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.step-shot {
  display: block;
  width: min(300px, 100%);
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  margin: 18px auto 0;
  border-radius: 22px 22px 0 0;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

/* On a computer (and with scripts on) the phone stays put and swaps screens as each step passes the middle of the window. */
@media (min-width: 901px) {
  .js .story {
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    gap: 80px;
    align-items: start;
  }
  .js .story-stage {
    display: block;
    position: sticky;
    top: 92px;
    height: min(660px, calc(100vh - 124px));
  }
  .js .step-shot {
    display: none;
  }
  .js .story-steps {
    gap: 0;
  }
  .js .story-step {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-height: 64vh;
    align-content: center;
    opacity: 0.32;
    transition: opacity 0.5s ease;
  }
  .js .story-step.active {
    opacity: 1;
  }
  .js .story-step.active .story-no {
    background: var(--ink);
    color: var(--on-ink);
    transform: scale(1.1);
  }
  .js .story-body h3 {
    font-size: clamp(26px, 3vw, 34px);
  }
  .js .story-body p {
    font-size: 18px;
    max-width: 30em;
  }
  .js .story-points li {
    font-size: 16px;
  }
  .story-glow {
    position: absolute;
    inset: 6% -14% auto;
    height: 72%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 26%, transparent), transparent);
    filter: blur(8px);
    pointer-events: none;
  }
  .story-phone {
    position: relative;
    width: min(100%, 340px);
    height: 100%;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 36px 36px 0 0;
    -webkit-mask-image: linear-gradient(#000 84%, transparent);
    mask-image: linear-gradient(#000 84%, transparent);
  }
  .story-shot {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(26px) scale(0.97);
    transition: opacity 0.55s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .story[data-active="1"] .story-shot-1,
  .story[data-active="2"] .story-shot-2,
  .story[data-active="3"] .story-shot-3,
  .story[data-active="4"] .story-shot-4,
  .story[data-active="5"] .story-shot-5,
  .story[data-active="6"] .story-shot-6 {
    opacity: 1;
    transform: none;
  }
  .story-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .story-dots i {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: var(--line);
    transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.4s ease;
  }
  .story[data-active="1"] .story-dots i:nth-child(1),
  .story[data-active="2"] .story-dots i:nth-child(2),
  .story[data-active="3"] .story-dots i:nth-child(3),
  .story[data-active="4"] .story-dots i:nth-child(4),
  .story[data-active="5"] .story-dots i:nth-child(5),
  .story[data-active="6"] .story-dots i:nth-child(6) {
    width: 28px;
    background: var(--ink);
  }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .story-phone { animation: phone-float 7s ease-in-out infinite; }
  .story-glow { animation: glow-pulse 6s ease-in-out infinite; }
  @keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .story-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .story-step.in {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 520px) {
  .story-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.marquee-track span {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.marquee-track span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 1px;
}

@media (max-width: 900px) {
  .hero-sky {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .hero-sky .hero-copy {
    padding: 48px 0 8px;
  }
  .hero-hand {
    position: relative;
    right: auto;
    z-index: 0;
    order: 2;
    margin: 0 0 0 auto;
    width: min(360px, 86%);
  }
  .hero-hand img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

/* ---------- Sleeker: more air, fewer lines, shorter blocks ---------- */
.section {
  padding: 120px 0;
}
.section + .section {
  border-top: 0;
}
.section-head {
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
}
.cards-slim {
  grid-template-columns: repeat(4, 1fr);
}
.cards-slim .card,
.cards-who .card {
  padding: 22px;
}
.cards-slim .card h3,
.cards-who .card h3 {
  font-size: 17px;
}
.cards-slim .card p,
.cards-who .card p {
  font-size: 14px;
}
.cards-who {
  grid-template-columns: repeat(4, 1fr);
}
.step p,
.ticks li span {
  font-size: 15px;
}
.section.strip {
  padding: 0 0 40px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px 40px;
}
.strip-inner h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 6px;
}
.strip-inner p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .section {
    padding: 80px 0;
  }
  .cards-slim,
  .cards-who {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-inner {
    padding: 26px 24px;
  }
}
@media (max-width: 520px) {
  .cards-slim,
  .cards-who {
    gap: 12px;
  }
  .cards-slim .card,
  .cards-who .card {
    padding: 16px;
  }
}

/* ---------- Tenant portal ---------- */
.tenant {
  max-width: 760px;
  padding: 40px 0 24px;
  display: grid;
  gap: 16px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.tcard h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  margin-bottom: 8px;
}
.tcard h2 {
  font-size: 20px;
  margin-bottom: 14px;
}
.tlead {
  color: var(--muted);
  margin-bottom: 18px;
}
.tphoto[hidden] {
  display: none;
}
.tphoto {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.tphoto img {
  display: block;
  width: 100%;
  height: clamp(160px, 32vw, 260px);
  object-fit: cover;
}
.thead {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.thead h1 {
  font-family: var(--head);
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 4px;
}
.tfield {
  margin-bottom: 16px;
}
.tfield label,
.tcard > label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.tfield input,
.tfield select,
.tfield textarea,
.tcard select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.tfield textarea {
  resize: vertical;
  min-height: 110px;
}
.tfield input:focus,
.tfield select:focus,
.tfield textarea:focus,
.tcard select:focus {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-color: var(--ink);
}
.thint {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
}
.tfoot {
  text-align: center;
  margin: 8px 0 0;
}
.tmsg {
  color: #b42318;
  font-weight: 500;
  min-height: 1.4em;
  margin: 0 0 12px;
}
.tmsg.ok {
  color: var(--ok);
}
@media (prefers-color-scheme: dark) {
  .tmsg {
    color: #ff9f94;
  }
}
.tlink {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tnotice {
  border-color: var(--ok);
  font-weight: 500;
}
.trow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.trow:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.tlabel {
  color: var(--muted);
}
.tvalue {
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.tdocs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.tdoc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.tdoc:first-child {
  border-top: 0;
}
.tdoc strong,
.tsub {
  display: block;
}
.tsub {
  color: var(--muted);
  font-size: 14px;
}
.tdocright {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-small {
  padding: 9px 16px;
  font-size: 14px;
}
.tpill {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  color: var(--text);
  white-space: nowrap;
}
.tpill.soon,
.tpill.status-acknowledged,
.tpill.status-booked {
  background: #fff1c2;
  color: #5c4300;
}
.tpill.overdue {
  background: var(--coral-soft);
  color: #8a1c10;
}
.tpill.status-reported {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}
@media (prefers-color-scheme: dark) {
  .tpill.soon,
  .tpill.status-acknowledged,
  .tpill.status-booked {
    background: #4a3a10;
    color: #ffe9a3;
  }
  .tpill.overdue {
    color: #ffb4aa;
  }
}
.tsafety {
  background: var(--coral-soft);
  color: #5a1710;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 15px;
}
.tsafety a {
  color: inherit;
  font-weight: 700;
}
@media (prefers-color-scheme: dark) {
  .tsafety {
    color: #ffd9d4;
  }
}
.tcheck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.tcheck input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
}
/* House share repair form: "my room" or "a shared area". */
.tarea {
  border: 0;
  padding: 0;
  min-width: 0;
}
.tarea legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}
.tarea .tcheck {
  margin-bottom: 8px;
}
.tarea .tcheck input {
  padding: 0;
  border: 0;
  background: none;
}
.tarea .tcheck label {
  margin: 0;
  font-weight: 400;
}
.tenant .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 520px) {
  .trow {
    flex-direction: column;
    gap: 2px;
  }
  .tvalue {
    text-align: left;
  }
  .tdoc {
    flex-direction: column;
    align-items: flex-start;
  }
  .tdocright {
    justify-content: flex-start;
  }
}
.tfield input[type=file] { padding: 10px; background: var(--paper); }
