/* Homestone Clear for the marketing site (91): pale blue cards, tight bold type, real screenshots, one dark button. */
body.hm { --hc-ink: #0b1524; --hc-muted: #566276; --hc-tint: #eaf5fd; --hc-tint2: #f3f8fc; --hc-line: #dcebf8; --hc-dark: #0b1b2e; background: #fff; }
body.hm h1, body.hm h2, body.hm .mk-h2, .hc-sec h3 { font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.035em; font-weight: 800; color: var(--hc-ink); }
body.hm .hm-hero h1 { line-height: 1.02; }
/* Eyebrows as a pale blue pill, like a tag. */
body.hm .hm-eyebrow { display: inline-block; background: var(--hc-tint); color: #1d6fb8; border-radius: 999px; padding: 7px 14px; letter-spacing: 0.1em; font-size: 12.5px; font-weight: 700; }
/* One dark, rounded button everywhere. */
body.hm .hm-btn.p, body.hm .s-btn.primary { background: var(--hc-dark); border-color: var(--hc-dark); color: #fff; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(11, 27, 46, 0.55); }
body.hm .hm-btn.p:hover, body.hm .s-btn.primary:hover { background: #13293f; }
body.hm .hm-btn.o { border-radius: 999px; }

.hc-sec { padding: 96px 0 40px; }
.hc-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.hc-head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; margin: 16px 0 12px; }
.hc-head p { color: var(--hc-muted); font-size: 18px; margin: 0; }

/* Three outcome cards */
.hc-bigs { display: grid; gap: 28px; max-width: 1080px; margin: 0 auto; }
.hc-big { display: block; background: var(--hc-tint); border-radius: 32px; padding: 44px 48px 0; text-decoration: none; color: inherit; overflow: hidden; transition: transform 0.2s ease; }
.hc-big:hover { transform: translateY(-2px); }
.hc-big-t { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hc-lab { margin: 0 0 10px; font-size: 19px; color: #3f4b5e; font-weight: 500; }
.hc-big h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; margin: 0; max-width: 720px; }
.hc-arrow { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--hc-dark); color: #fff; display: grid; place-items: center; }
.hc-arrow.sm { width: 30px; height: 30px; background: #fff; color: var(--hc-dark); margin-left: 6px; }
.hc-arrow.sm svg { width: 16px; height: 16px; }
.hc-shot { background: #fff; border-radius: 20px 20px 0 0; border: 1px solid var(--hc-line); border-bottom: 0; box-shadow: 0 -8px 40px -20px rgba(11, 21, 36, 0.18); overflow: hidden; max-height: 440px; }
.hc-shot img { display: block; width: 100%; height: auto; }
.hc-big.hc-ph .hc-shot { max-width: 400px; margin: 0 auto; max-height: 470px; border-radius: 28px 28px 0 0; }

/* Nine feature tiles */
.hc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.hc-tile { background: var(--hc-tint2); border: 1px solid #e6f0f8; border-radius: 26px; padding: 14px 14px 24px; }
.hc-tpic { height: 220px; background: #fff; border: 1px solid #e3edf6; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.hc-tpic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hc-tpic.hc-ph { background: linear-gradient(180deg, #fff, #f6fafd); display: flex; justify-content: center; padding: 14px 0 0; }
.hc-tpic.hc-ph img { width: 62%; height: auto; border-radius: 14px 14px 0 0; border: 1px solid #e3edf6; border-bottom: 0; box-shadow: 0 6px 20px -10px rgba(11, 21, 36, 0.25); object-fit: initial; }
.hc-tile h3 { font-size: 21px; margin: 0 8px 6px; letter-spacing: -0.02em; }
.hc-tile p { margin: 0 8px; color: var(--hc-muted); font-size: 15.5px; line-height: 1.5; }
.hc-sec .hm-alltools { max-width: 1180px; margin: 28px auto 0; }

/* The one call to action after each section */
.hc-cta { text-align: center; margin: 44px 0 0; }
.hc-cta .hc-go { display: inline-flex; align-items: center; font-size: 18px; padding: 16px 18px 16px 30px; min-height: 0; }
.hc-cta p { margin: 12px 0 0; color: var(--hc-muted); font-size: 14px; }

@media (max-width: 900px) {
  .hc-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hc-sec { padding: 64px 0 24px; }
  .hc-head { margin-bottom: 28px; }
  .hc-head p { font-size: 16px; }
  .hc-big { border-radius: 26px; padding: 28px 22px 0; }
  .hc-big-t { align-items: center; margin-bottom: 22px; gap: 14px; }
  .hc-lab { font-size: 16px; margin-bottom: 8px; }
  .hc-arrow { width: 48px; height: 48px; }
  .hc-shot { max-height: 300px; border-radius: 14px 14px 0 0; }
  .hc-big.hc-ph .hc-shot { max-width: 300px; max-height: 360px; border-radius: 22px 22px 0 0; }
  .hc-big:not(.hc-ph) .hc-shot img { width: 175%; max-width: none; }
  .hc-tiles { grid-template-columns: 1fr; gap: 16px; }
  .hc-tpic { height: 200px; }
}
/* The "Built for" band: pale, not dark. */
body.hm .hm-mq { background: var(--hc-tint); color: var(--hc-ink); border-top: 1px solid var(--hc-line); border-bottom: 1px solid var(--hc-line); }
body.hm .hm-mq * { color: inherit; }
body.hm .hm-mq [class*="lab"], body.hm .hm-mq small { color: #1d6fb8; }
/* Other marketing pages (sign-up, stories, partners): same type and the same dark button. */
body.site h1, body.site h2 { font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.03em; }
body.site .s-btn.primary, body.site .hm-btn.p { background: #0b1b2e; border-color: #0b1b2e; color: #fff; border-radius: 999px; }
body.hm .hm-mq-l { background: var(--hc-tint); box-shadow: 14px 0 16px -4px var(--hc-tint); color: #1d6fb8; }

/* Built for your trade (95) */
.hc-trades{padding-top:40px}
.hc-trs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1080px;margin:0 auto}
.hc-tr{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #e3edf6;border-radius:20px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s}
.hc-tr:hover{border-color:#bcd9f3;box-shadow:0 10px 24px -16px rgba(11,21,36,.35);transform:translateY(-1px)}
.hc-tr-ic{flex:none;width:46px;height:46px;border-radius:14px;background:var(--hc-tint);color:#1d6fb8;display:grid;place-items:center}
.hc-tr b{display:block;font-size:16.5px;letter-spacing:-.01em;color:var(--hc-ink)}
.hc-tr small{display:block;color:var(--hc-muted);font-size:14px;line-height:1.4;margin-top:2px}
.hc-tr-go{margin-left:auto;flex:none;color:#9fb3c8}
.hc-tr:hover .hc-tr-go{color:var(--hc-ink)}
@media (max-width:900px){.hc-trs{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.hc-trs{grid-template-columns:1fr;gap:10px}.hc-tr{padding:14px}}
/* Industry pages: the same dark button (95) */
body.site .mk-btn:not(.ghost):not(.o), body.site .s-nav .s-btn.primary { background: #0b1b2e; border-color: #0b1b2e; color: #fff; border-radius: 999px; }
body.site .mk-btn:not(.ghost):not(.o):hover { background: #13293f; }
/* Stories page in the light look (102) */
body.site .st-hero { background: radial-gradient(60% 70% at 90% 0%, rgba(37, 99, 235, .10), transparent 70%), linear-gradient(180deg, #eaf5fd 0%, #f7fbfe 100%); color: #0b1524; }
body.site .st-hero h1 { color: #0b1524; font-family: "Figtree", system-ui, sans-serif; text-transform: none; font-stretch: 100%; font-weight: 800; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
body.site .st-hero h1 span { color: #2563eb; }
body.site .st-hero p { color: #566276; }
body.site .st-hero .st-eye { color: #1d6fb8; background: #fff; border: 1px solid #dcebf8; border-radius: 999px; padding: 6px 12px; }
body.site .st-btn { background: #0b1b2e; color: #fff; }
body.site .st-btn.light { background: #fff; color: #0b1524; border: 1.5px solid #cbd5e1; }
body.site .st-hero .st-btn.ghost { color: #0b1524; border: 1.5px solid #cbd5e1; background: transparent; }
/* Feature tile pictures (106): focused crops that fill the frame */
.hc-tpic { height: auto; aspect-ratio: 8 / 5; }
.hc-tpic img { object-fit: cover; object-position: top center; }
@media (max-width: 640px) { .hc-tpic { height: auto; } }

/* Dark film section: keep its heading white (107) */
body.hm .mk-dark h2, body.hm .mk-dark .mk-h2 { color: #fff; }

/* ===== Homepage, our own look (108) ===== */
/* Your week, handled */
.hw-key { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: -14px 0 30px; font-size: 14px; color: var(--hc-muted, #566276); }
.hw-key span { display: inline-flex; align-items: center; gap: 8px; }
.hw-k { width: 14px; height: 14px; border-radius: 4px; display: inline-block; background: #0b1b2e; }
.hw-k.auto { background: #2563eb; }
.hw-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.hw-steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 15px; height: 2px; background: repeating-linear-gradient(90deg, #cfdcea 0 8px, transparent 8px 14px); }
.hw-steps li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hw-stone { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 9px; background: #0b1b2e; box-shadow: 0 0 0 6px #fff; }
.hw-auto .hw-stone { background: #2563eb; }
.hw-card { flex: 1; background: #fff; border: 1px solid #e3edf6; border-radius: 20px; padding: 18px 18px 20px; box-shadow: 0 18px 40px -32px rgba(11, 21, 36, .3); }
.hw-auto .hw-card { background: #f3f8fd; border-color: #d6e7f7; }
.hw-when { display: block; font-size: 12.5px; font-weight: 700; color: #0b1b2e; font-variant-numeric: tabular-nums; }
.hw-who { display: block; font-size: 12px; color: #6b7a90; margin-top: 2px; }
.hw-auto .hw-when, .hw-auto .hw-who { color: #1d6fb8; }
.hw-card h3 { font-family: "Figtree", system-ui, sans-serif; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--hc-ink, #0b1524); margin: 12px 0 6px; }
.hw-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--hc-muted, #566276); }
/* Video, light */
body.hm .hw-film { background: var(--hc-tint2, #f3f8fc); }
body.hm .hw-film .mk-h2 { color: var(--hc-ink, #0b1524); }
body.hm .hw-film .mk-sub { color: var(--hc-muted, #566276); }
body.hm .hw-film .mk-cap { color: #6b7a90; }
body.hm .hw-film .s-player { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11, 27, 46, .45); }
/* Founder letter */
.hf-letter { display: grid; grid-template-columns: 250px 1fr; gap: 0; max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid #e3edf6; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(11, 21, 36, .35); }
.hf-pic { background: var(--hc-tint, #eaf5fd); padding: 28px; display: flex; align-items: center; }
.hf-pic img { display: block; width: 100%; height: 220px; border-radius: 22px; object-fit: cover; object-position: 50% 20%; }
.hf-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.hf-body .hm-eyebrow { align-self: flex-start; margin: 0; }
.hf-body blockquote { position: relative; margin: 40px 0 0; font-family: "Figtree", system-ui, sans-serif; font-size: 23px; line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--hc-ink, #0b1524); }
.hf-body blockquote::before { content: "\201C"; position: absolute; left: -4px; top: -40px; font-size: 80px; line-height: 1; color: #2563eb; opacity: .22; font-family: Georgia, serif; }
.hf-sign { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e6eff7; }
.hf-sign b { font-family: "Figtree", system-ui, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--hc-ink, #0b1524); }
.hf-sign span { font-size: 14.5px; color: var(--hc-muted, #566276); }
.hf-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: #1d6fb8; text-decoration: none; align-self: flex-start; }
.hf-link svg { width: 18px; height: 18px; }
.hf-link:hover { color: #0b1b2e; }
/* Why Homestone */
.hf-name { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 1080px; margin: 28px auto 0; padding: 36px 44px; border-radius: 32px; background: #0b1b2e; color: #c9d4e2; }
.hf-mark-box { width: 180px; height: 180px; border-radius: 30px; background: #13293f; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hf-mark { width: 116px; height: 116px; }
.hf-mark rect:last-child { filter: drop-shadow(0 0 10px rgba(59, 130, 246, .8)); }
.hf-k { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fb3ea; }
body.hm .hf-name h3 { font-family: "Figtree", system-ui, sans-serif; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; color: #fff; margin: 10px 0 12px; }
.hf-name p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.hf-name p.hf-k { font-size: 12.5px; line-height: 1.4; }
.hf-look { margin-top: 12px !important; color: #fff; font-weight: 600; }
@media (max-width: 1100px) {
  .hw-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .hw-steps::before { display: none; }
}
@media (max-width: 900px) {
  .hf-letter { grid-template-columns: 1fr; }
  .hf-pic { padding: 26px 26px 0; }
  .hf-pic img { width: 150px; height: 170px; }
  .hf-name { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .hw-steps { grid-template-columns: 1fr; gap: 0; }
  .hw-steps li { flex-direction: row; gap: 14px; padding-bottom: 14px; }
  .hw-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #cfdcea 0 8px, transparent 8px 14px); }
  .hw-stone { flex: none; margin-top: 2px; }
  .hw-card { padding: 14px 16px 16px; }
  .hw-card h3 { margin-top: 8px; font-size: 17px; }
  .hf-body { padding: 26px 22px 28px; }
  .hf-body blockquote { font-size: 18px; }
  .hf-pic { padding: 22px 22px 0; }
  .hf-pic img { width: 120px; height: 136px; border-radius: 18px; }
  .hf-name { padding: 26px 22px; border-radius: 26px; }
  .hf-mark-box { width: 96px; height: 96px; border-radius: 22px; }
  .hf-mark { width: 60px; height: 60px; }
  .hf-name p { font-size: 15.5px; }
}
