/* JOINA motion proposal (/motion): Molly-style calm layout with scroll-driven motion. Loads after the v2 sheet. */
:root {
  --m-ink: #0c0c10;
  --m-grey: #737b86;
  --m-line: #ececf0;
  --m-haze: #eeecff;
  --m-col: 440px;
  --m-wide: 1120px;
  --m-radius: 24px;
  /* springs as CSS linear(): buoyant overshoots (hover), elegant settles (sheets, panels) */
  --m-buoyant: linear(0, 0.0341, 0.1219, 0.2437, 0.3828, 0.5256, 0.6619, 0.7845, 0.8891, 0.9736, 1.0377, 1.0827, 1.1106, 1.124, 1.1258, 1.1191, 1.1063, 1.09, 1.0722, 1.0543, 1.0375, 1.0227, 1.0103, 1.0005, 0.9932, 0.9882, 0.9853, 0.9841, 0.9843, 0.9854, 0.9872, 0.9893, 0.9916, 0.9938, 0.9959, 0.9977, 0.9991, 1.0003, 1.0011, 1.0016, 1);
  --m-elegant: linear(0, 0.0221, 0.0774, 0.1525, 0.2378, 0.3262, 0.4131, 0.4954, 0.5713, 0.6396, 0.7001, 0.7529, 0.7984, 0.837, 0.8696, 0.8967, 0.9191, 0.9373, 0.9521, 0.964, 0.9734, 0.9807, 0.9865, 0.9908, 0.9941, 0.9966, 0.9983, 0.9996, 1.0004, 1.001, 1.0013, 1.0015, 1.0015, 1.0015, 1.0014, 1.0013, 1.0012, 1.001, 1.0009, 1.0008, 1);
}

html { background: #f2f2f4; }
body.m-body { margin: 0; background: #f2f2f4; color: var(--m-ink); font-family: var(--v2-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* the page is a sheet of its own: it settles back when a card opens (scale, dim, round corners) */
.m-page {
  background: #fff; min-height: 100vh; transform-origin: 50% var(--m-origin, 0px);
  transition: transform .7s var(--m-elegant), border-radius .7s var(--m-elegant), filter .7s var(--m-elegant);
}
body.m-sheet-open .m-page { transform: scale(.95) translateY(10px); border-radius: 20px; filter: brightness(.86); overflow: hidden; }
body.m-sheet-open { overflow: hidden; }

/* header: clear at the top, frosted once the page moves */
.m-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - var(--m-wide)) / 2)); transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.m-header.is-scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--m-line); }
.m-brand img { height: 22px; width: auto; display: block; }
.m-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.m-nav a { color: var(--m-ink); text-decoration: none; }
.m-nav a:not(.m-pill) { color: #4b5058; transition: color .2s; }
.m-nav a:not(.m-pill):hover { color: var(--m-ink); }

.m-pill {
  display: inline-flex; align-items: center; justify-content: center; background: var(--m-ink); color: #fff !important; border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; text-decoration: none; transition: transform .5s var(--m-buoyant), background .2s;
}
.m-pill:hover { transform: scale(1.04); background: #26262c; }
.m-pill:active { transform: scale(.96); transition-duration: .12s; }
.m-pill--big { padding: 14px 24px; font-size: 16px; }
.m-link { color: var(--m-ink); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(12, 12, 16, .2); padding-bottom: 2px; }

/* type: one family, regular weight, a little tight */
.m-title { font-family: var(--v2-display); font-weight: 420; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.025em; margin: 0; text-align: center; color: var(--m-ink); }
.m-dateline { margin: 14px 0 0; text-align: center; color: #9aa1aa; font-size: 13px; }
.m-h2 { font-family: var(--v2-display); font-weight: 450; font-size: 22px; letter-spacing: -.015em; margin: 0; color: var(--m-ink); }

.m-hero { position: relative; z-index: 2; padding: clamp(72px, 12vh, 140px) 16px 48px; }

/* the film: grows from 60% to full width as the page scrolls; its own colours glow behind it */
.m-film-stage { position: relative; isolation: isolate; max-width: var(--m-wide); margin: 0 auto; padding: 0 16px; }
.m-film-glow { position: absolute; left: -6%; top: 18%; width: 112%; height: 100%; filter: blur(80px) saturate(1.4); opacity: .8; background: #fff; transform: scale(1.15); pointer-events: none; z-index: -1; }
.m-film { position: relative; z-index: 1; transform: scale(var(--m-s, 1)); transform-origin: 50% 0; will-change: transform; border-radius: calc(var(--m-radius) / var(--m-s, 1)); overflow: hidden; background: #111; box-shadow: 0 40px 90px rgba(20, 18, 50, .14); }
.m-film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.m-film-sound { position: absolute; right: 16px; bottom: 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); padding: 8px 14px; font: 500 13px var(--v2-ui); color: var(--m-ink); cursor: pointer; transition: transform .5s var(--m-buoyant); }
.m-film-sound:hover { transform: scale(1.05); }

/* the letter column */
.m-letter { position: relative; z-index: 2; max-width: var(--m-col); margin: 0 auto; padding: clamp(80px, 14vh, 150px) 16px; }
.m-letter p { color: var(--m-grey); font-size: 17px; line-height: 1.55; margin: 0 0 18px; text-wrap: pretty; }
.m-letter p:last-child { margin-bottom: 0; }

/* wide panels: settle from 94% to full size as they arrive */
.m-wide { max-width: var(--m-wide); margin: 0 auto; padding: 0 16px; }
.m-caption-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.m-caption-row p { margin: 0; color: var(--m-grey); font-size: 15px; }
.m-panel { position: relative; border-radius: var(--m-radius); overflow: hidden; transform: scale(var(--m-s, 1)); transform-origin: 50% 30%; will-change: transform; }
.m-panel--test { background: #f6f6f8; padding: clamp(10px, 2vw, 22px); }
.m-panel--test .m-test { margin: 0; padding: 0; background: transparent; }
.m-panel--test .v2-drawing-test__panel { box-shadow: none; }

/* rise: lines arrive softly once */
[data-m-rise] { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--m-elegant), transform .9s var(--m-elegant); transition-delay: var(--m-delay, 0s); }
[data-m-rise].is-in { opacity: 1; transform: none; }

/* the strip: starts on the column's edge and runs off the right of the page, snapping card to card */
.m-strip-section { padding: clamp(40px, 8vh, 80px) 0 0; }
.m-strip-section .m-caption-row { max-width: var(--m-wide); margin: 0 auto 18px; padding: 0 16px; box-sizing: border-box; }
.m-strip-arrows { display: flex; gap: 8px; }
.m-strip-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--m-line); background: #fff; font-size: 16px; cursor: pointer; transition: transform .5s var(--m-buoyant), opacity .2s; }
.m-strip-arrows button:hover { transform: scale(1.08); }
.m-strip-arrows button:disabled { opacity: .35; cursor: default; transform: none; }
.m-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 10px 0 40px max(16px, calc((100% - var(--m-wide)) / 2 + 16px)); scroll-padding-left: max(16px, calc((100% - var(--m-wide)) / 2 + 16px));
  scrollbar-width: none; cursor: grab; outline: none;
}
.m-strip::-webkit-scrollbar { display: none; }
.m-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.m-strip__end { flex: 0 0 max(16px, calc((100% - var(--m-wide)) / 2)); }
.m-card {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.m-card--tall { width: clamp(240px, 26vw, 340px); }
.m-card--wide { width: clamp(300px, 44vw, 600px); }
.m-card__media {
  display: block; border-radius: 20px; overflow: hidden; background: #f4f4f6; aspect-ratio: 16 / 10;
  transition: transform .65s var(--m-buoyant), box-shadow .65s var(--m-buoyant); will-change: transform; box-shadow: 0 0 0 rgba(0,0,0,0);
}
.m-card--tall .m-card__media { aspect-ratio: 4 / 5; }
.m-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; pointer-events: none; user-select: none; }
.m-card--tall .m-card__media img { object-position: 50% 45%; object-fit: cover; transform: scale(1.25); }
.m-card__media--haze { background: #f6f6f8; }
.m-card__text { display: grid; gap: 3px; padding: 0 4px; font-size: 14px; }
.m-card__text strong { font-weight: 500; }
.m-card__text span { color: var(--m-grey); }
@media (hover: hover) {
  .m-card:hover .m-card__media { transform: scale(1.025); box-shadow: 0 16px 34px rgba(0, 0, 0, .14); }
}
.m-card:active .m-card__media { transform: scale(.98); transition-duration: .15s; }
.m-card:focus-visible .m-card__media { outline: 2px solid var(--m-ink); outline-offset: 3px; }

/* Ask JOINA */
.m-panel--chat { background: #f6f6f8; padding: clamp(28px, 6vw, 72px); display: grid; place-items: center; }
.m-chat { width: min(560px, 100%); background: #fff; border-radius: 20px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px rgba(0,0,0,.05); overflow: hidden; }
.m-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--m-line); font-size: 14px; font-weight: 500; }
.m-orb-dot { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a9a4ff, #5a52d8 60%, #3d36a8); }
.m-chat.is-thinking .m-orb-dot { animation: m-pulse 1.1s ease-in-out infinite; }
@keyframes m-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 20, 30, .18); } 50% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(20, 20, 30, 0); } }
.m-chat__body { padding: 18px; display: grid; gap: 12px; min-height: 230px; align-content: start; }
.m-msg { margin: 0; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.m-msg--you { justify-self: end; background: var(--m-ink); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 82%; }
.m-msg--you:empty { visibility: hidden; }
.m-msg--joina { color: #2b2f36; max-width: 92%; }
.m-msg--joina .w { display: inline-block; opacity: 0; filter: blur(4px); transform: translateY(3px); transition: opacity .35s, filter .35s, transform .35s; }
.m-msg--joina .w.on { opacity: 1; filter: none; transform: none; }
.m-chat__result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f5f5f8; font-size: 14px; color: var(--m-grey);
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s var(--m-elegant), transform .7s var(--m-buoyant); }
.m-chat__result strong { color: var(--m-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.m-chat__result.is-in { opacity: 1; transform: none; }

/* the price build-up */
.m-panel--price { background: #f6f6f8; padding: clamp(28px, 6vw, 72px); display: grid; place-items: center; }
.m-price { width: min(620px, 100%); background: #fff; border-radius: 20px; padding: 26px clamp(18px, 4vw, 32px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px rgba(0,0,0,.05); }
.m-price__label { margin: 0 0 14px; color: var(--m-grey); font-size: 13px; }
.m-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-price li { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; font-size: 14px;
  opacity: 0; transform: translateX(-8px); transition: opacity .6s var(--m-elegant), transform .6s var(--m-elegant); transition-delay: calc(var(--i, 0) * 80ms); }
.m-price li::after { content: ''; grid-column: 2; grid-row: 1; height: 8px; border-radius: 4px; background: var(--m-ink);
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--m-elegant); transition-delay: calc(var(--i, 0) * 80ms + 120ms); width: calc(var(--w) * 100% / .284); max-width: 100%; }
.m-price li span { grid-column: 1; color: #4b5058; }
.m-price li b { grid-column: 3; font-weight: 500; font-variant-numeric: tabular-nums; }
.m-price.is-in li { opacity: 1; transform: none; }
.m-price.is-in li::after { transform: scaleX(1); }
.m-price__total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--m-line); font-size: 14px; color: var(--m-grey); }
.m-price__total strong { color: var(--m-ink); font-weight: 450; font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* close */
.m-close { padding: clamp(110px, 18vh, 190px) 16px clamp(90px, 14vh, 150px); text-align: center; }
.m-close__actions { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }

/* the sheet */
.m-sheet { position: fixed; inset: 0; z-index: 50; }
.m-sheet[hidden] { display: none; }
.m-sheet__scrim { position: absolute; inset: 0; }
.m-sheet__panel {
  position: absolute; left: 50%; bottom: 0; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto; box-sizing: border-box;
  transform: translate(-50%, 100%); background: #fff; border-radius: 22px 22px 0 0; padding: 18px clamp(18px, 4vw, 44px) 40px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .18); transition: transform .7s var(--m-elegant);
}
.m-sheet.is-open .m-sheet__panel { transform: translate(-50%, 0); }
.m-sheet__handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: #dcdce2; margin: 0 auto 18px; }
.m-sheet__close { position: sticky; top: 0; float: right; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f2f2f5; cursor: pointer; transition: transform .5s var(--m-buoyant); }
.m-sheet__close:hover { transform: scale(1.08); }
.m-sheet__panel h3 { font-weight: 450; font-size: 26px; letter-spacing: -.02em; margin: 8px 0 6px; }
.m-sheet__panel p { color: var(--m-grey); font-size: 16px; line-height: 1.55; max-width: 560px; margin: 0 0 22px; }
.m-sheet__media { border-radius: 16px; overflow: hidden; background: #f4f4f6; }
.m-sheet__media img { display: block; width: 100%; height: auto; }

@media (max-width: 720px) {
  .m-nav a[href="/pricing"] { display: none; }
  .m-nav { gap: 14px; }
  .m-card--tall { width: 70vw; }
  .m-card--wide { width: 82vw; }
  .m-price li { grid-template-columns: 86px 1fr auto; gap: 10px; }
  .m-film-glow { filter: blur(60px); }
}

@media (prefers-reduced-motion: reduce) {
  .m-film, .m-panel { transform: none !important; }
  [data-m-rise] { opacity: 1; transform: none; transition: none; }
  .m-page, .m-sheet__panel { transition: none; }
  .m-price li, .m-price li::after, .m-chat__result { transition: none; }
}

/* ---- round 2: SEO copy, orb section, live product cards, FAQ, footer ---- */
.m-kicker { margin: 0 0 16px; text-align: center; color: #8a909a; font-size: 13px; letter-spacing: .02em; }
.m-lede { max-width: 470px; margin: 18px auto 0; text-align: center; color: var(--m-grey); font-size: 17px; line-height: 1.5; }
.m-section { margin-top: clamp(110px, 16vh, 170px); }
.m-strip-section.m-section { padding-top: 0; }

/* the orb on its own */
.m-orb-section { margin-top: clamp(110px, 16vh, 170px); display: grid; justify-items: center; text-align: center; padding: 0 16px; }
.m-orb-stage { position: relative; width: min(420px, 78vw); aspect-ratio: 1; cursor: pointer; touch-action: manipulation; }
.m-orb-stage::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(20, 20, 30, .07), rgba(20, 20, 30, 0) 68%); filter: blur(20px); transition: transform 1s var(--m-elegant), opacity .6s; }
.m-orb-stage:hover::before { transform: scale(1.12); }
.m-orb-host { position: absolute; inset: 0; transform: translate3d(var(--m-ox, 0px), var(--m-oy, 0px), 0) scale(var(--m-os, 1)); transition: transform .9s var(--m-buoyant); will-change: transform; }
.m-orb-stage.is-pressed .m-orb-host { --m-os: .92; transition-duration: .18s; }
.m-orb-copy { margin-top: 8px; display: grid; justify-items: center; gap: 12px; }
.m-orb-line { margin: 0; min-height: 1.5em; color: var(--m-grey); font-size: 17px; transition: opacity .3s, transform .3s; }
.m-orb-line.is-swapping { opacity: 0; transform: translateY(6px); }
.m-orb-states { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 4px; border-radius: 999px; background: #f4f4f6; }
.m-orb-states button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font: 500 13px var(--v2-ui); color: #5d636c; cursor: pointer; transition: background .3s, color .3s, transform .5s var(--m-buoyant); }
.m-orb-states button:hover { color: var(--m-ink); }
.m-orb-states button[aria-selected="true"] { background: #fff; color: var(--m-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.m-orb-states button:active { transform: scale(.94); }

/* live product cards (no screenshots): crisp HTML/SVG that animates when it arrives */
.m-ui { position: relative; background: #f6f6f8; font-family: var(--v2-ui); color: var(--m-ink); text-align: left; }
.m-ui * { box-sizing: border-box; }
.m-card__media.m-ui { display: block; }

.m-ui--start { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px; }
.m-ui-orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #b5b0ff, #6c66de 52%, #3f3aa6); box-shadow: 0 10px 24px rgba(20, 20, 30, .18); animation: m-float 5s ease-in-out infinite; }
@keyframes m-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.04); } }
.m-ui-ask { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.m-ui-composer { width: 100%; display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); position: relative; }
.m-ui-file { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: #f6f6f8; transform: translateY(-14px); opacity: 0; transition: transform .8s var(--m-buoyant), opacity .4s; }
.m-ui-file i { font-style: normal; font-size: 9px; font-weight: 700; color: #c2453a; background: #fdeceb; border-radius: 6px; padding: 6px 5px; }
.m-ui-file b { display: block; font-size: 11px; font-weight: 500; }
.m-ui-file small { color: #8a909a; font-size: 10px; }
.m-ui-brief { font-size: 11px; color: #5d636c; padding: 0 4px 22px; }
.m-ui-send { position: absolute; right: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--m-ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
.m-ui-tags { display: flex; gap: 6px; }
.m-ui-tags span { font-size: 10px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--m-line); color: #5d636c; }
.m-card.is-in .m-ui-file { transform: none; opacity: 1; transition-delay: .25s; }

.m-ui--markup { background: #fff; }
.m-ui-drawing, .m-ui-elev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.m-ui-drawing { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.4, 0, .2, 1); }
.m-card.is-in .m-ui-drawing { clip-path: inset(0 0 0 0); }
.m-ui-elev .m-draw path { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
.m-card.is-in .m-ui-elev .m-draw path { stroke-dashoffset: 0; }
.m-ui-dim { font: 500 10px var(--v2-ui); fill: #9aa1aa; }
.m-ui-hit { fill: rgba(12, 12, 16, .05); stroke: #0c0c10; stroke-width: 2; opacity: 0; transition: opacity .5s 1.5s; }
.m-ui-link { stroke: #0c0c10; stroke-width: 2; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .5s 1.9s; }
.m-ui-node { fill: var(--m-ink); opacity: 0; transition: opacity .3s 2.2s; }
.m-ui-node-n { fill: #fff; font: 600 12px var(--v2-ui); opacity: 0; transition: opacity .3s 2.2s; }
.m-card.is-in .m-ui-hit, .m-card.is-in .m-ui-node, .m-card.is-in .m-ui-node-n { opacity: 1; }
.m-card.is-in .m-ui-link { stroke-dashoffset: 0; }
.m-ui-line { position: absolute; right: 3%; top: 58%; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.08); width: 26%;
  opacity: 0; transform: translateX(10px); transition: opacity .5s 2.3s, transform .8s 2.3s var(--m-buoyant); }
.m-ui-line small { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: #8a909a; }
.m-ui-line b { font-size: 12px; font-weight: 500; line-height: 1.3; }
.m-ui-line em { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; color: #5d636c; }
.m-card.is-in .m-ui-line { opacity: 1; transform: none; }
.m-ui-badge { position: absolute; left: 4%; top: 6%; font-size: 10px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--m-line); color: #5d636c; }

.m-ui--takeoff, .m-ui--rates { padding: 6% 6% 5%; display: flex !important; flex-direction: column; gap: 12px; background: #fff; }
.m-ui-head { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.m-ui-head b { font-weight: 500; font-size: 15px; }
.m-ui-head span { color: #8a909a; font-size: 11px; }
.m-ui-head em { margin-left: auto; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.m-ui-table { display: grid; gap: 2px; font-size: 11px; }
.m-ui-row { display: grid; grid-template-columns: 34px 1fr 40px 40px 34px 38px 30px; gap: 6px; align-items: center; padding: 7px 8px; border-radius: 8px; font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .6s var(--m-elegant), background .3s; }
.m-ui-row i { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ui-row i:first-child { color: #8a909a; }
.m-ui-row.is-h { color: #8a909a; font-size: 10px; }
.m-ui-row.is-on { background: #f1f1f4; }
.m-card.is-in .m-ui-row { opacity: 1; transform: none; }
.m-card.is-in .m-ui-row:nth-child(2) { transition-delay: .1s; } .m-card.is-in .m-ui-row:nth-child(3) { transition-delay: .2s; }
.m-card.is-in .m-ui-row:nth-child(4) { transition-delay: .3s; } .m-card.is-in .m-ui-row:nth-child(5) { transition-delay: .4s; }
.m-card.is-in .m-ui-row:nth-child(6) { transition-delay: .5s; }
.m-ui-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; color: #8a909a; }
.m-ui-chip { padding: 4px 9px; border-radius: 999px; background: var(--m-ink); color: #fff; }

.m-ui--map { background: #fbfbfc; }
.m-ui-mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-ui-route { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1) .2s; }
.m-card.is-in .m-ui-route { stroke-dashoffset: 0; }
.m-ui-truck { offset-path: path("M96 286 C170 250 190 170 280 160 S 420 120 500 76"); offset-distance: 0%; opacity: 0; }
.m-card.is-in .m-ui-truck { opacity: 1; animation: m-drive 6s 2s ease-in-out infinite; }
@keyframes m-drive { 0% { offset-distance: 0%; } 60%, 100% { offset-distance: 100%; } }
.m-ui-maplabel { font: 500 12px var(--v2-ui); fill: #4b5058; }
.m-ui-route-card { position: absolute; left: 5%; top: 7%; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.08); font-size: 11px;
  opacity: 0; transform: translateY(-8px); transition: opacity .5s 1.6s, transform .8s 1.6s var(--m-buoyant); }
.m-ui-route-card b { font-weight: 500; font-size: 13px; }
.m-ui-route-card span { color: #8a909a; }
.m-ui-route-card em { font-style: normal; font-variant-numeric: tabular-nums; }
.m-card.is-in .m-ui-route-card { opacity: 1; transform: none; }

.m-ui-rates { display: grid; gap: 4px; }
.m-ui-rates span { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; font-size: 12px; background: #f7f7f9;
  opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .6s var(--m-elegant), background .3s; }
.m-ui-rates i { font-style: normal; color: #4b5058; }
.m-ui-rates b { font-weight: 500; font-variant-numeric: tabular-nums; }
.m-ui-rates .is-on { background: var(--m-ink); }
.m-ui-rates .is-on i, .m-ui-rates .is-on b { color: #fff; }
.m-card.is-in .m-ui-rates span { opacity: 1; transform: none; }
.m-card.is-in .m-ui-rates span:nth-child(2) { transition-delay: .08s; } .m-card.is-in .m-ui-rates span:nth-child(3) { transition-delay: .16s; }
.m-card.is-in .m-ui-rates span:nth-child(4) { transition-delay: .24s; } .m-card.is-in .m-ui-rates span:nth-child(5) { transition-delay: .32s; }
.m-card.is-in .m-ui-rates span:nth-child(6) { transition-delay: .4s; }

.m-ui--doc { display: grid !important; place-items: center; padding: 10% 12%; background: #efefea; }
.m-ui-page { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 14% 11%; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: rotate(-1.5deg); transition: transform .8s var(--m-buoyant); }
.m-card:hover .m-ui-page { transform: rotate(0deg) translateY(-3px); }
.m-ui-brand { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; color: #2c3a33; line-height: 1; }
.m-ui-brand small { display: block; font-family: var(--v2-ui); font-size: 7px; letter-spacing: .3em; margin-top: 4px; color: #6b766f; }
.m-ui-doc-title { margin: 16% 0 6%; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.m-ui-doc-line, .m-ui-doc-total { display: flex; justify-content: space-between; font-size: 10px; padding: 6px 0; border-bottom: 1px solid #efeff2; }
.m-ui-doc-line i, .m-ui-doc-total i { font-style: normal; color: #5d636c; }
.m-ui-doc-total { border: 0; font-size: 11px; margin-top: 4px; }
.m-ui-doc-total b { font-weight: 600; }
.m-ui-accept { margin-top: auto; align-self: flex-start; font-size: 10px; padding: 6px 12px; border-radius: 999px; background: #2c3a33; color: #fff; }
.m-ui-sent { position: absolute; right: 8%; top: 7%; font-size: 10px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--m-line);
  opacity: 0; transform: scale(.8); transition: opacity .4s .6s, transform .7s .6s var(--m-buoyant); }
.m-ui-sent::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2f9e62; margin-right: 6px; vertical-align: 1px; }
.m-card.is-in .m-ui-sent { opacity: 1; transform: none; }
.m-card--tall .m-ui { aspect-ratio: 4 / 5; }

/* the sheet shows the same live card, larger */
.m-sheet__media.m-ui-host { background: none; }
.m-sheet__media .m-card__media { aspect-ratio: 16 / 9; border-radius: 16px; }
.m-sheet__media .m-ui--start, .m-sheet__media .m-ui--doc { aspect-ratio: 16 / 9; }
.m-sheet__media .m-ui--doc { padding: 4% 30%; }
.m-sheet__more { display: inline-block; margin-top: 20px; }

/* FAQ */
.m-faq { max-width: 720px; margin-left: auto; margin-right: auto; padding: 0 16px; }
.m-faq__list { margin-top: 22px; border-top: 1px solid var(--m-line); }
.m-faq details { border-bottom: 1px solid var(--m-line); }
.m-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; font-size: 16px; font-weight: 450; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: '+'; color: #8a909a; font-size: 20px; line-height: 1; transition: transform .5s var(--m-buoyant); }
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq details p { margin: 0 0 20px; color: var(--m-grey); font-size: 15px; line-height: 1.6; max-width: 620px; }
.m-faq details p a { color: var(--m-ink); }

/* footer */
.m-footer { border-top: 1px solid var(--m-line); padding: 64px max(16px, calc((100% - var(--m-wide)) / 2)) 28px; font-size: 14px; }
.m-footer__top { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 48px; }
.m-footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.m-footer__brand img { height: 22px; width: auto; }
.m-footer__brand p { margin: 0; color: var(--m-grey); line-height: 1.55; }
.m-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.m-footer__cols h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--m-ink); }
.m-footer__cols a { display: block; padding: 5px 0; color: var(--m-grey); text-decoration: none; transition: color .2s; }
.m-footer__cols a:hover { color: var(--m-ink); }
.m-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--m-line); color: #9aa1aa; font-size: 12px; }

@media (max-width: 900px) {
  .m-footer__top { grid-template-columns: 1fr; }
  .m-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .m-nav a[href="/joinery-quote-software"] { display: none; }
  .m-ui-row { grid-template-columns: 30px 1fr 34px 36px 0 0 0; }
  .m-ui-row i:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .m-ui *, .m-orb-host { transition: none !important; animation: none !important; }
  .m-ui-elev .m-draw path, .m-ui-route, .m-ui-link { stroke-dashoffset: 0; }
  .m-ui-file, .m-ui-hit, .m-ui-node, .m-ui-node-n, .m-ui-line, .m-ui-row, .m-ui-route-card, .m-ui-rates span, .m-ui-sent { opacity: 1; transform: none; }
}

/* grey-led like the app: the v2 accents inside this page go to ink and greys; only the orb keeps JOINA's colour */
body.m-body {
  --v2-lavender: #0c0c10; --v2-lavender-dark: #0c0c10; --v2-lavender-wash: #f4f4f6;
  --v2-demo-accent: #0c0c10; --v2-reveal-accent: #0c0c10;
}
.m-body .v2-eyebrow { color: #8a909a; }
.m-body .v2-drawing-result { background: #fafafb; }
.m-body .v2-button:not(:disabled) { background: #0c0c10; box-shadow: none; }

/* drawing card v2: the real sample drawing on the left, the quote line it became on the right */
.m-ui--markup { display: block; }
.m-ui-sheetwrap { position: absolute; left: 3%; top: 5%; bottom: 5%; width: 62%; }
.m-ui-sheetwrap .m-ui-drawing, .m-ui-sheetwrap .m-ui-elev { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-ui--markup .m-ui-line { left: 67%; right: 4%; width: auto; top: 50%; transform: translate(10px, -50%); gap: 4px; padding: 12px 14px; }
.m-card.is-in .m-ui--markup .m-ui-line { transform: translate(0, -50%); }
.m-ui-line small { display: flex; align-items: center; gap: 6px; }
.m-ui-line small i { font-style: normal; width: 16px; height: 16px; border-radius: 50%; background: var(--m-ink); color: #fff; font-size: 9px; display: grid; place-items: center; letter-spacing: 0; }
.m-ui-line > span { font-size: 10.5px; color: #8a909a; line-height: 1.45; }
.m-ui-line b { font-size: 14px; }
.m-ui-line em { font-size: 13px; color: var(--m-ink); font-weight: 500; }
.m-ui--markup, .m-ui--takeoff, .m-ui--rates, .m-ui--map { box-shadow: inset 0 0 0 1px #ececf0; }
.m-card:hover .m-ui--markup, .m-card:hover .m-ui--takeoff, .m-card:hover .m-ui--rates, .m-card:hover .m-ui--map { box-shadow: inset 0 0 0 1px #ececf0, 0 16px 34px rgba(0, 0, 0, .14); }

/* ---- round 3: film-grain gradient fields behind crisp white UI (the reference imagery) ---- */
.m-ui { isolation: isolate; overflow: hidden; }
.m-ui::after {   /* grain over the colour field, under nothing interactive */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.m-ui > * { position: relative; z-index: 1; }
.m-ui > svg, .m-ui > .m-ui-paper, .m-ui > .m-ui-line, .m-ui > .m-ui-sent, .m-ui > .m-ui-route-card { position: absolute; }
.m-ui--markup, .m-ui--takeoff, .m-ui--rates, .m-ui--map { box-shadow: none !important; }
.m-card:hover .m-card__media { box-shadow: 0 16px 34px rgba(0, 0, 0, .18) !important; }

.m-ui--start  { background: radial-gradient(120% 90% at 85% 10%, #a7bccb 0%, transparent 55%), radial-gradient(90% 80% at 10% 100%, #232a4a 0%, transparent 60%), linear-gradient(160deg, #6f86a0 0%, #3a4568 55%, #1f2238 100%); }
.m-ui--markup { background: radial-gradient(80% 70% at 30% 110%, #f39a4c 0%, transparent 60%), radial-gradient(90% 80% at 90% 0%, #9a8fbe 0%, transparent 60%), linear-gradient(180deg, #b48aa6 0%, #d9785a 70%, #e98d45 100%); }
.m-ui--takeoff { background: radial-gradient(90% 90% at 0% 0%, #c9c2e0 0%, transparent 60%), linear-gradient(150deg, #a69bc8 0%, #c98fa0 60%, #e3a07f 100%); }
.m-ui--map    { background: radial-gradient(70% 70% at 70% 80%, #d9682a 0%, transparent 65%), linear-gradient(170deg, #1a0d07 0%, #4a200d 45%, #b4501c 100%); }
.m-ui--rates  { background: radial-gradient(90% 80% at 100% 0%, #b9c7d1 0%, transparent 60%), linear-gradient(200deg, #8094aa 0%, #4b5878 60%, #2b2f48 100%); }
.m-ui--doc    { background: radial-gradient(80% 60% at 50% 115%, #f4a14a 0%, transparent 65%), linear-gradient(180deg, #9d8fb8 0%, #c47b84 55%, #e08a4f 100%) !important; }

/* start card: white type on the dusk field */
.m-ui--start .m-ui-ask { color: #fff; }
.m-ui--start .m-ui-tags span { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }

/* the real drawing, as a sheet of paper on the warm field */
.m-ui-paper { left: 5%; top: 8%; width: 74%; aspect-ratio: 1945 / 1068; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(40, 14, 0, .28); overflow: hidden;
  transform: rotate(-1.2deg) translateY(10px); opacity: 0; transition: transform 1s var(--m-buoyant), opacity .6s; }
.m-card.is-in .m-ui-paper { transform: rotate(-1.2deg); opacity: 1; }
.m-card:hover .m-ui-paper { transform: rotate(0deg) translateY(-2px); }
.m-ui-paper .m-ui-drawing, .m-ui-paper .m-ui-elev { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-ui-paper .m-ui-drawing { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s cubic-bezier(.4, 0, .2, 1) .3s; object-fit: cover; }
.m-card.is-in .m-ui-paper .m-ui-drawing { clip-path: inset(0 0 0 0); }
.m-ui-paper .m-ui-hit { fill: rgba(233, 141, 69, .12); stroke: #e0762f; stroke-width: 6; transition-delay: 1.6s; }
.m-ui--markup .m-ui-line { left: auto; right: 4%; top: auto; bottom: 8%; width: 38%; transform: translateY(12px); border-radius: 16px; box-shadow: 0 16px 36px rgba(40, 14, 0, .25); }
.m-card.is-in .m-ui--markup .m-ui-line { transform: none; }
.m-ui-line small i { background: #e0762f; }

/* white panels floating on the field */
.m-ui-panel { display: flex; flex-direction: column; gap: 10px; position: absolute !important; inset: 7% 6%; padding: 5%; background: rgba(255, 255, 255, .96); border-radius: 16px; box-shadow: 0 16px 40px rgba(20, 12, 40, .22); }
.m-ui--takeoff, .m-ui--rates { padding: 0 !important; }
.m-ui-panel--map { padding: 0; overflow: hidden; background: #fbfbfc; }
.m-ui-panel--map .m-ui-mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-ui-panel--map .m-ui-route-card { position: absolute; }
.m-ui-row.is-on { background: #fbeee6; }
.m-ui-rates .is-on { background: #1d1a2b; }
.m-ui-truck { fill: #d9682a; }
.m-sheet__media .m-ui-paper { width: 70%; }
.m-ui-panel { inset: 6% 5%; padding: 4% 4.5%; gap: 8px; overflow: hidden; }
.m-ui-panel .m-ui-rates { gap: 3px; }
.m-ui-panel .m-ui-rates span { padding: 6px 9px; font-size: 11px; }
.m-ui-panel .m-ui-row { padding: 5px 8px; }
.m-ui-panel .m-ui-table { gap: 1px; }

/* testimonials: big quote on a grain field, plain attribution; empty slots are marked until real quotes come in */
.m-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.m-voice { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 300px; padding: 28px; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.m-voice::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m-voice--dusk { background: radial-gradient(120% 90% at 85% 10%, #a7bccb 0%, transparent 55%), linear-gradient(160deg, #6f86a0 0%, #3a4568 55%, #1f2238 100%); }
.m-voice--ember { background: radial-gradient(70% 70% at 70% 90%, #d9682a 0%, transparent 65%), linear-gradient(170deg, #1a0d07 0%, #4a200d 45%, #b4501c 100%); }
.m-voice--rose { background: radial-gradient(90% 90% at 0% 0%, #c9c2e0 0%, transparent 60%), linear-gradient(150deg, #a69bc8 0%, #c98fa0 60%, #e3a07f 100%); }
.m-voice blockquote { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; font-weight: 420; }
.m-voice figcaption { font-size: 14px; opacity: .85; }
.m-voice__todo { opacity: .6; font-style: italic; border: 1px dashed rgba(255,255,255,.6); border-radius: 12px; padding: 14px; font-size: 15px !important; }
@media (max-width: 900px) { .m-voices { grid-template-columns: 1fr; } .m-voice { min-height: 220px; } }

/* the orb talks: bubbles pop up around it (spring in, drift out), reply chips are buttons */
.m-orb-convo { position: relative; width: min(1000px, 100%); height: clamp(420px, 46vw, 520px); display: grid; place-items: center; }
.m-orb-convo .m-orb-stage { width: min(360px, 62vw); }
.m-bubbles { position: absolute; inset: 0; pointer-events: none; }
.m-bubble { position: absolute; max-width: 300px; padding: 12px 18px; border-radius: 22px; font-size: 15px; line-height: 1.4; text-align: left; pointer-events: auto;
  background: #fff; color: var(--m-ink); box-shadow: 0 10px 30px rgba(20, 20, 30, .10), 0 1px 0 rgba(0,0,0,.04);
  opacity: 0; transform: translateY(10px) scale(.86); transform-origin: var(--m-from, 50% 100%);
  transition: opacity .35s, transform .7s var(--m-buoyant); }
.m-bubble.is-in { opacity: 1; transform: none; }
.m-bubble.is-out { opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .5s, transform .6s var(--m-elegant); }
.m-bubble b { font-weight: 600; }
.m-bubble--typing { padding: 14px 18px; display: flex; gap: 5px; }
.m-bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1aa; animation: m-dot 1s infinite ease-in-out; }
.m-bubble--typing i:nth-child(2) { animation-delay: .15s; } .m-bubble--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes m-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.m-bubble--you { background: transparent; color: var(--m-ink); border: 1px solid rgba(12, 12, 16, .22); box-shadow: none; backdrop-filter: blur(6px); }
.m-replies { position: absolute; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: auto; }
.m-reply { border: 1px solid rgba(12, 12, 16, .22); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); color: var(--m-ink); border-radius: 999px; padding: 10px 16px;
  font: 500 14px var(--v2-ui); cursor: pointer; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .6s var(--m-buoyant), background .2s, border-color .2s; }
.m-reply.is-in { opacity: 1; transform: none; }
.m-reply:hover { background: #fff; border-color: rgba(12, 12, 16, .45); }
.m-reply.is-picked { background: var(--m-ink); color: #fff; border-color: var(--m-ink); }
.m-reply:active { transform: scale(.95); }
.m-bubble__chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: #f2f2f5; font-size: 13px; }
.m-bubble__chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2f9e62; }
.m-orb-copy .m-orb-line { max-width: 460px; }
@media (max-width: 760px) {
  .m-orb-convo { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .m-bubbles { position: relative; inset: auto; width: 100%; min-height: 230px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  .m-bubble, .m-replies { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; max-width: 92%; }
  .m-bubble--you { align-self: flex-end; }
  /* stacked on a phone, bubbles rise in gently with no bounce, and leave slowly */
  .m-bubble { transform: translateY(14px) scale(.97); transition: opacity .6s ease, transform 1s var(--m-elegant); }
  .m-bubble.is-in { transform: none; }
  .m-bubble.is-out { transition: opacity .7s ease, transform .8s var(--m-elegant); }
  .m-reply { transition: opacity .5s ease, transform .9s var(--m-elegant), background .2s, border-color .2s; }
}
@media (prefers-reduced-motion: reduce) { .m-bubble, .m-reply { transition: none; } .m-bubble--typing i { animation: none; } }
.m-replies { transition: opacity .35s, transform .5s var(--m-elegant); }
.m-replies.is-out { opacity: 0; transform: translateY(-8px) scale(.97); pointer-events: none; }
/* the orb section carries the brand line, set big and bold like the live site */
.m-title--orb { font-size: clamp(40px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
@media (max-width: 720px) { .m-nav a[href="/opportunities"] { display: none; } }
/* contrast: greys that pass AA on white */
:root { --m-grey: #5f6670; }
.m-kicker, .m-dateline, .m-orb-line, .m-caption-row p { color: #5f6670; }
.m-body .v2-privacy-note, .m-body .v2-eyebrow { color: #5f6670; }
.m-body .v2-drawing-test .v2-privacy-note { color: #5f6670 !important; }
.m-footer__base { color: #5f6670; }

/* the film grows edge to edge: scaled from the top centre, its radius shrinking to square as it lands */
.m-film { border-radius: calc(var(--m-r, 24px) / var(--m-s, 1)); transform-origin: 50% 0; }
.m-film-stage { overflow: visible; }
main { overflow-x: clip; }

/* the two ways in */
.m-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-offer { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; padding: 32px; border-radius: 22px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px; transition: transform .65s var(--m-buoyant), box-shadow .65s var(--m-buoyant); }
.m-offer::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m-offer--ember { background: radial-gradient(70% 70% at 75% 95%, #d9682a 0%, transparent 65%), linear-gradient(170deg, #1a0d07 0%, #4a200d 45%, #b4501c 100%); }
.m-offer--dusk { background: radial-gradient(120% 90% at 85% 10%, #a7bccb 0%, transparent 55%), linear-gradient(160deg, #6f86a0 0%, #3a4568 55%, #1f2238 100%); }
@media (hover: hover) { .m-offer:hover { transform: scale(1.015); box-shadow: 0 20px 44px rgba(0,0,0,.18); } }
.m-offer__kicker { font-size: 14px; opacity: .8; }
.m-offer strong { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.m-offer strong small { font-size: 15px; font-weight: 400; letter-spacing: 0; opacity: .8; }
.m-offer__copy { max-width: 380px; font-size: 16px; line-height: 1.5; opacity: .88; }
.m-offer__cta { margin-top: auto; align-self: flex-start; background: #fff; color: var(--m-ink); border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .m-offers { grid-template-columns: 1fr; } .m-offer { min-height: 240px; padding: 24px; } }

/* hero: a touch more weight, and the two ways in under the copy */
.m-hero .m-title { font-weight: 520; letter-spacing: -.03em; }
.m-hero__actions { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
#drawing-test { scroll-margin-top: 120px; }
/* arriving from a "Start a quote": the drop zone calls for the drawing */
.m-test.is-called .v2-dropzone { animation: m-call 1.6s var(--m-elegant) 2; }
@keyframes m-call { 0% { box-shadow: 0 0 0 0 rgba(12, 12, 16, .28); } 70% { box-shadow: 0 0 0 14px rgba(12, 12, 16, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 12, 16, 0); } }
/* the hero sentence on two lines, not four */
.m-hero .m-lede { max-width: 640px; text-wrap: balance; }

/* =====================================================================================================
   SITE LAYER: every page in the new style (loaded after marketing-v2-20260912.css, and on the older
   resource, about and legal pages after styles.css). One calm type voice, ink pills, white, grain fields.
   ===================================================================================================== */
body.v2-body {
  --v2-navy: #0c0c10; --v2-ink: #0c0c10; --v2-muted: #5f6670; --v2-faint: #6b717b;
  --v2-lavender: #0c0c10; --v2-lavender-dark: #0c0c10; --v2-lavender-wash: #f4f4f6; --v2-warm: #ffffff;
  --v2-demo-accent: #0c0c10; --v2-reveal-accent: #0c0c10;
  background: #fff !important; color: var(--m-ink);
}
body.v2-body .grain, body.v2-body::before { display: none !important; }

/* headings: one regular-to-medium voice instead of 750-900 black */
body.v2-body h1 { font-weight: 560 !important; letter-spacing: -.035em !important; }
body.v2-body h2 { font-weight: 540 !important; letter-spacing: -.028em !important; }
body.v2-body h3 { font-weight: 560 !important; letter-spacing: -.015em !important; }
body.v2-body .v2-eyebrow, body.v2-body .eyebrow, body.v2-body .article-hero .eyebrow, body.v2-body .resource-page .eyebrow {
  color: #6b717b !important; font-weight: 500 !important; letter-spacing: .02em !important; text-transform: none !important; font-size: 13px !important;
}

/* buttons: ink pills with the springy press */
body.v2-body .v2-button, body.v2-body .primary-button, body.v2-body .header-signup {
  background: #0c0c10 !important; color: #fff !important; border-color: #0c0c10 !important; border-radius: 999px !important; box-shadow: none !important;
  font-weight: 500 !important; transition: transform .5s var(--m-buoyant), background .2s !important;
}
body.v2-body .v2-button:hover:not(:disabled) { background: #26262c !important; transform: scale(1.03); }
body.v2-body .v2-button:active:not(:disabled) { transform: scale(.96); }
body.v2-body .v2-button:disabled { background: #b9bcc3 !important; border-color: #b9bcc3 !important; }
body.v2-body .v2-button--secondary { background: #fff !important; color: #0c0c10 !important; border: 1px solid rgba(12, 12, 16, .2) !important; }
body.v2-body .v2-text-link, body.v2-body .v2-link-button { color: #0c0c10 !important; font-weight: 500 !important; }

/* header: white, frosted once the page moves */
body.v2-body .v2-header { background: rgba(255, 255, 255, .94) !important; border-bottom: 1px solid transparent; box-shadow: none !important; transition: border-color .3s, backdrop-filter .3s; }
body.v2-body .v2-header.is-scrolled { border-bottom-color: #ececf0; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
body.v2-body .v2-nav a { color: #4b5058 !important; font-weight: 450 !important; }
body.v2-body .v2-nav a:hover, body.v2-body .v2-nav a[aria-current="page"] { color: #0c0c10 !important; }
body.v2-body .v2-header__separator { background: #ececf0 !important; }

/* footer: white, hairline, grey links */
body.v2-body .v2-footer { background: #fff !important; border-top: 1px solid #ececf0; color: #5f6670; }
body.v2-body .v2-footer strong { color: #0c0c10 !important; font-weight: 500 !important; }
body.v2-body .v2-footer a { color: #5f6670 !important; font-weight: 400 !important; }
body.v2-body .v2-footer a:hover { color: #0c0c10 !important; }
body.v2-body .v2-footer__base { color: #5f6670 !important; border-top-color: #ececf0 !important; }

/* surfaces: neutral cards, hairlines instead of tints and heavy shadows */
body.v2-body .v2-section, body.v2-body .v2-hero, body.v2-body .v2-commercial-hero { background: transparent !important; }
body.v2-body .v2-price-card, body.v2-body .v2-proof, body.v2-body .v2-drawing-test__panel, body.v2-body .v2-category-guide__grid article,
body.v2-body .resource-card, body.v2-body .toc, body.v2-body .article-toc, body.v2-body .legal-callout, body.v2-body .v2-faq details {
  border-color: #ececf0 !important; box-shadow: none !important;
}
body.v2-body .v2-price-card { background: #fff !important; border: 1px solid #ececf0 !important; border-radius: 22px !important; }

/* the dark blocks become grain fields, like the cards on the home page */
body.v2-body .v2-assisted, body.v2-body .v2-final-cta--dark, body.v2-body .article-cta {
  position: relative; isolation: isolate; overflow: hidden; color: #fff !important; border-radius: 22px !important; border: 0 !important;
  background: radial-gradient(120% 90% at 85% 10%, #a7bccb 0%, transparent 55%), linear-gradient(160deg, #6f86a0 0%, #3a4568 55%, #1f2238 100%) !important;
}
body.v2-body .v2-assisted::after, body.v2-body .article-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.v2-body .v2-assisted h2, body.v2-body .v2-assisted p, body.v2-body .article-cta h2, body.v2-body .article-cta p { color: #fff !important; }
body.v2-body .v2-assisted .v2-button, body.v2-body .article-cta .primary-button { background: #fff !important; color: #0c0c10 !important; border-color: #fff !important; }
body.v2-body .v2-assisted .v2-price-card { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .25) !important; color: #fff !important; backdrop-filter: blur(8px); }
body.v2-body .v2-assisted .v2-price-card * { color: #fff !important; }
body.v2-body .v2-assisted .v2-price-card .v2-button { color: #0c0c10 !important; }

/* the older article, guide, glossary and legal pages: same type and colour as the rest */
body.v2-body .resource-page, body.v2-body .legal-page, body.v2-body main.about-page, body.v2-body main {
  --ink: #0c0c10; --ink-muted: #5f6670; --ink-faint: #6b717b; --brand: #0c0c10; --brand-soft: #0c0c10; --bg: #fff;
}
body.v2-body .resource-page, body.v2-body .legal-page { color: #0c0c10; }
body.v2-body .resource-page p, body.v2-body .resource-page li, body.v2-body .legal-page p, body.v2-body .legal-page li { color: #3d424b; }
body.v2-body .resource-page a:not(.primary-button):not(.v2-button), body.v2-body .legal-page a { color: #0c0c10; text-decoration-color: rgba(12, 12, 16, .3); }
body.v2-body .resource-card a { color: #0c0c10 !important; font-weight: 500 !important; }
body.v2-body .legal-callout { background: #f6f6f8 !important; border: 1px solid #ececf0 !important; }

/* product-page proof: the live product card instead of a flat screenshot */
body.v2-body .v2-product-frame--live { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.m-proof-card { display: block; width: 100%; }
.m-proof-card .m-card__media { aspect-ratio: 16 / 11; border-radius: 22px; }
/* "Where JOINA fits" and other dark asides: grain fields too */
body.v2-body .v2-category-guide__fit { position: relative; isolation: isolate; overflow: hidden; color: #fff !important; border: 0 !important;
  background: radial-gradient(70% 70% at 75% 95%, #d9682a 0%, transparent 65%), linear-gradient(170deg, #1a0d07 0%, #4a200d 45%, #b4501c 100%) !important; }
body.v2-body .v2-category-guide__fit * { color: #fff !important; }
body.v2-body .v2-category-guide__fit::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* glossary: each term clearly set above its definition */
body.v2-body .glossary-page dl, body.v2-body main dl { display: block; }
body.v2-body main dl dt { margin: 22px 0 0; font-weight: 600; color: #0c0c10; font-size: 17px; }
body.v2-body main dl dd { margin: 4px 0 0; color: #5f6670; line-height: 1.6; max-width: 640px; }
/* resources: the featured guide card on neutral, not lavender */
body.v2-body .resource-feature, body.v2-body .resources-feature, body.v2-body .resource-hero-card { background: #f6f6f8 !important; border: 1px solid #ececf0 !important; box-shadow: none !important; }
body.v2-body .legal-page h1, body.v2-body .resource-page h1, body.v2-body main h1 { color: #0c0c10 !important; }
body.v2-body .resource-featured-workflow { background: #f6f6f8 !important; border: 1px solid #ececf0 !important; box-shadow: none !important; }
/* links inside running text stay underlined, so they never rely on colour alone */
body.v2-body main p a:not(.v2-button):not(.m-pill):not(.primary-button):not(.m-link), body.v2-body main li a:not(.v2-button) { text-decoration: underline; text-underline-offset: 2px; }
/* the offer cards are links: keep their type white over the shared link colour */
body.v2-body .m-offer, body.v2-body .m-offer :is(span, strong, small) { color: #fff !important; text-decoration: none !important; }
body.v2-body .m-offer .m-offer__cta { color: #0c0c10 !important; }
body.v2-body .m-voice blockquote, body.v2-body .m-voice figcaption { color: #fff !important; }
/* light buttons on the dark grain fields stay light on hover (the site-wide hover darkens ink buttons only) */
body.v2-body :is(.v2-assisted, .article-cta, .v2-category-guide__fit) :is(.v2-button, .primary-button):hover:not(:disabled) { background: #ececf0 !important; color: #0c0c10 !important; }
body.v2-body .v2-button--secondary:hover:not(:disabled), body.v2-body .v2-button--light:hover:not(:disabled) { background: #f2f2f5 !important; color: #0c0c10 !important; }
/* dark-field headings at section scale, not hero scale */
body.v2-body .v2-assisted h2 { font-size: clamp(34px, 4.2vw, 58px) !important; line-height: 1.02 !important; max-width: 12ch; }
/* section headings at section scale on every page (the old sheet set some at hero scale: one word per line) */
body.v2-body main section h2:not(.m-h2):not(.m-title) { font-size: clamp(32px, 4.2vw, 58px) !important; line-height: 1.03 !important; }
body.v2-body .v2-adapts__copy h2 { max-width: 14ch; }
