/* ============================================================
   GetPropertyDone — shared stylesheet
   Premium European technology platform for property work.
   Clean, minimal, trustworthy. Not a construction aesthetic,
   not a gig-economy aesthetic.
   ============================================================ */

:root {
  /* Colour */
  --ink: #0b1b2b;
  --ink-2: #14293f;
  --ink-soft: #3c4d63;
  --muted: #64748c;
  --line: #e4e9f1;
  --line-strong: #d4dce8;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef3fb;
  --primary: #2454e6;
  --primary-deep: #1b3fbd;
  --primary-tint: #e9effd;
  --success: #0e9f6e;
  --success-tint: #e6f6ef;
  --amber: #b45309;
  --amber-tint: #fdf3e3;

  /* Dark sections */
  --ink-bg: #0b1b2b;
  --ink-bg-2: #122740;
  --on-dark: #dbe4f0;
  --on-dark-muted: #93a7bd;

  /* Type */
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Shape & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06), 0 1px 3px rgba(11, 27, 43, 0.05);
  --shadow-md: 0 10px 24px -12px rgba(11, 27, 43, 0.16), 0 2px 6px rgba(11, 27, 43, 0.05);
  --shadow-lg: 0 28px 56px -24px rgba(11, 27, 43, 0.28);

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 32px);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--primary-tint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  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: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section-dark {
  background: var(--ink-bg);
  color: var(--on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #9db8e8;
}

.section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.section-dark .section-sub {
  color: var(--on-dark-muted);
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn .btn-arrow {
  transition: transform 0.18s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--ink-2);
  box-shadow: var(--shadow-md);
}

.btn-blue {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-blue:hover {
  background: var(--primary-deep);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: #f2f5fa;
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 1.06rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 27, 43, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: right 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-bg);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-accent {
  color: #8fb0ee;
}

.footer-tagline {
  margin-top: 16px;
  max-width: 320px;
  color: var(--on-dark-muted);
  font-size: 0.98rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--on-dark-muted);
  font-size: 0.98rem;
  padding: 5px 0;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 132px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(1100px 480px at 50% -10%, #e7eefc 0%, rgba(231, 238, 252, 0) 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-title .serif-accent {
  color: var(--primary);
}

.hero-sub {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 28px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-note svg {
  color: var(--success);
}

/* ---------- Persona cards (Who are you?) ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.persona-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: #c4d3f5;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.persona-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.persona-card:hover .persona-icon {
  background: var(--primary);
  color: #fff;
}

.persona-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
}

.persona-desc {
  font-size: 0.94rem;
  color: var(--muted);
  flex: 1;
}

.persona-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.persona-link svg {
  transition: transform 0.18s ease;
}

.persona-card:hover .persona-link svg {
  transform: translateX(3px);
}

/* ---------- Stepper (homepage flow, CSS/SVG hybrid) ---------- */

.stepper {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: 64px;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 23px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--success) 100%);
  opacity: 0.35;
  border-radius: 2px;
}

.step-card {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  margin-bottom: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: #c4d3f5;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-dot {
  position: absolute;
  left: -64px;
  top: 26px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.step-card:nth-child(even) .step-dot {
  color: var(--success);
}

.step-body {
  flex: 1;
}

.step-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.97rem;
  color: var(--muted);
}

.step-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 620px;
  margin-inline: auto;
}

/* ---------- Generic grids ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: #c4d3f5;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Numbered steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-num-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px 24px;
}

.step-num-card .step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-num-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-num-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.steps-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- Why free ---------- */

.free-statement {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 52px);
  line-height: 1.25;
}

.free-statement .serif-accent {
  color: var(--primary);
}

.free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.free-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px;
  text-align: center;
}

.free-card .card-icon {
  margin-inline: auto;
}

.free-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.free-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.free-card .free-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-tint);
  border-radius: 999px;
  padding: 6px 14px;
}

.free-model {
  max-width: 720px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.free-model h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.free-model p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin-inline: auto;
}

.free-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.free-flow .flow-node {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}

.free-flow .flow-node.earn {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.free-flow .flow-arrow {
  color: var(--muted);
  display: inline-flex;
}

/* ---------- Trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 18px 16px;
}

.trust-item .tick-icon {
  color: var(--success);
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-outro {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.trust-outro strong {
  color: var(--ink);
}

/* ---------- Vision ---------- */

.vision-grid {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.vision-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.vision-bar {
  width: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  min-height: 12px;
  overflow: hidden;
  position: relative;
}

.vision-bar i {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #4d7bf0, #2454e6);
}

.vision-stage:nth-child(2) .vision-bar i { background: linear-gradient(180deg, #5d86f2, #2f5fe9); }
.vision-stage:nth-child(3) .vision-bar i { background: linear-gradient(180deg, #6e91f4, #3d6aec); }
.vision-stage:nth-child(4) .vision-bar i { background: linear-gradient(180deg, #7f9cf6, #4a75f0); }
.vision-stage:nth-child(5) .vision-bar i { background: linear-gradient(180deg, #94abf8, #5b83f2); }

.vision-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.vision-sub {
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  text-align: center;
}

.vision-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--on-dark);
}

.vision-copy p + p {
  margin-top: 16px;
}

/* ---------- Mini flow (chips with arrows) ---------- */

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.mini-flow .mf-node {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.mini-flow .mf-arrow {
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
}

.mini-flow.flow-dark .mf-node {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mini-flow.flow-dark .mf-arrow {
  color: #8fb0ee;
}

/* ---------- Check list ---------- */

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.check-list .tick-icon {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Chat mock (owners) ---------- */

.chat-panel {
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.chat-head .chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.chat-head .chat-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.chat-head .chat-status {
  font-size: 0.8rem;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-head .chat-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.chat-body {
  padding: 24px 20px;
  display: grid;
  gap: 14px;
}

.chat-row {
  display: flex;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  animation: rise 0.4s ease both;
}

.chat-row.user .chat-bubble {
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-row.platform .chat-bubble {
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.chat-row.platform .chat-bubble .chat-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Job card mock (contractors) ---------- */

.job-card {
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.job-card-head .job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.job-card-head .job-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.job-card-body {
  padding: 20px 24px;
  display: grid;
  gap: 14px;
}

.job-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.job-line svg {
  color: var(--muted);
  flex-shrink: 0;
}

.job-line b {
  color: var(--ink);
  font-weight: 600;
}

.job-attachments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.job-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-deep);
  background: var(--primary-tint);
  border-radius: 8px;
  padding: 6px 10px;
}

.job-card-foot {
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

/* ---------- Stats ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
}

.stats-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 20px;
  text-align: center;
}

.stat-number {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.stat-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 620px;
  margin-inline: auto;
}

/* ---------- Scale progression (companies) ---------- */

.scale-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.scale-node {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 26px;
  box-shadow: var(--shadow-sm);
}

.scale-node .scale-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.scale-node .scale-kind {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 2px;
}

.scale-arrow {
  color: var(--primary);
  display: inline-flex;
}

.scale-note {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin-inline: auto;
}

/* ---------- Use-case chips ---------- */

.use-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin-inline: auto;
}

.use-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.use-chip svg {
  color: var(--primary);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: var(--bg-soft);
}

.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: 0.97rem;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink-bg);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(36, 84, 230, 0.35), transparent 60%),
    radial-gradient(500px 300px at 10% 110%, rgba(14, 159, 110, 0.22), transparent 60%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-panel p {
  color: var(--on-dark-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-panel .btn-row {
  justify-content: center;
  margin-bottom: 26px;
}

.cta-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.92rem;
}

.cta-secondary-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
}

.cta-secondary-links a:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- Split / feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(56px, 8vw, 96px);
}

.split-media {
  position: relative;
}

.split-copy .eyebrow {
  margin-bottom: 12px;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 16px;
}

.split-copy p.lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.split-copy p {
  font-size: 0.99rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.split-media .panel-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Demo form ---------- */

.demo-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin-inline: auto;
}

.demo-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
}

.demo-form input[type="email"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

.demo-form input[type="email"]::placeholder {
  color: var(--muted);
}

.form-ok {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--success-tint);
  color: #0b6b4a;
  border: 1px solid #bce8d7;
  border-radius: var(--r-md);
  padding: 18px 24px;
  font-size: 0.98rem;
  font-weight: 500;
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Diagram image ---------- */

.diagram-frame {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(12px, 3vw, 28px);
}

.diagram-frame svg,
.diagram-frame img {
  width: 100%;
  height: auto;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px var(--pad) 20px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 10px 0 0;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-media {
    order: 2;
  }

  .split-media.media-first {
    order: 1;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row,
  .stats-row.three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .persona-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .trust-grid,
  .steps-grid,
  .free-grid,
  .stats-row,
  .stats-row.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .cta-panel .btn-row .btn {
    width: 100%;
  }

  .demo-form {
    flex-direction: column;
  }

  .demo-form input[type="email"] {
    width: 100%;
  }

  .stepper {
    padding-left: 0;
  }

  .stepper::before {
    left: 23px;
    top: 8px;
    bottom: 8px;
  }

  .step-dot {
    left: 0;
    top: 24px;
  }

  .step-card {
    padding-left: 68px;
  }

  .mini-flow .mf-node {
    width: 100%;
    text-align: center;
  }

  .mini-flow .mf-arrow {
    transform: rotate(90deg);
  }
}
