/* Layout: dark night-green journey with two cool-light chapters (Try it, Work, Pricing); one bronze accent */
:root {
  --night: #0d1712;
  --forest: #15241c;
  --green: #2f4a3c;
  --mist: #e8ede8;
  --mist-2: #b9c6bd;
  --muted: #8a9a90;
  --bronze: #c8925c;
  --bronze-2: #e0ad7a;
  --paper: #eceff0;
  --ink: #101a15;
  --ink-2: #4c5a52;
  --line-dark: rgba(232, 237, 232, .12);
  --line-light: rgba(16, 26, 21, .12);
  --avail: #4fa06c;
  --reserved: #d6a043;
  --sold: #9aa39d;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--night); color: var(--mist);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.02; }
h3 { font-size: 20px; font-stretch: 100%; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.fine { font-size: 13px; color: var(--muted); }
section { position: relative; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.sec-head { display: grid; gap: 14px; max-width: 900px; margin-bottom: 48px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-items: center; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-mark { position: relative; width: 92px; height: 92px; opacity: 0; transform: scale(.7); }
.intro-mark svg { width: 100%; height: 100%; }
.intro-word { position: absolute; top: calc(50% + 70px); display: flex; gap: .55em; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .12em; }
.intro-word span { opacity: 0; transform: translateY(8px); display: inline-block; }
.intro-line { position: absolute; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); opacity: 0; }
.intro-skip { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter-r); background: none; border: 1px solid var(--line-dark); color: var(--mist-2); font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; cursor: pointer; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(200, 146, 92, .55); border-radius: 50%; transition: width .25s, height .25s, margin .25s, background .25s; display: none; }
.cursor i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--bronze); }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200, 146, 92, .12); }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  html, body, a, button, input, label, select, textarea, .pl, .land-stage, .live-cover, [role="button"] { cursor: none !important; }
}
.cursor.off { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r) 14px var(--gutter);
  transition: background .3s, backdrop-filter .3s;
}
.nav.solid { background: rgba(13, 23, 18, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: inline-block; }
.brand-mark.sm { width: 26px; height: 26px; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 15px; letter-spacing: .12em; display: grid; line-height: 1; }
.brand-word em { font-style: normal; font-weight: 400; font-size: 8.5px; letter-spacing: .62em; color: var(--mist-2); margin-top: 4px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--mist-2); }
.nav-links a:hover { color: var(--mist); }
.nav-cta { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 15px 24px; border-radius: 999px; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--bronze); color: #1a120a; }
.btn-solid:hover { background: var(--bronze-2); }
.btn-line { border: 1px solid rgba(232, 237, 232, .35); color: var(--mist); }
.btn-line:hover { background: rgba(232, 237, 232, .08); }
.btn-xl { font-size: 18px; padding: 20px 32px; }

/* ---------- Hero ---------- */
.hero { min-height: max(640px, 92svh); display: flex; align-items: center; padding-top: 110px; padding-bottom: 90px; overflow: hidden; }
#contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1180px; display: grid; gap: 28px; pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-title { font-size: clamp(46px, 9.4vw, 148px); line-height: .9; font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: inline-block; }
.hero-title b { color: var(--bronze); font-weight: 900; }
.hero-sub { max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: var(--mist-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-readout { position: absolute; left: var(--gutter); bottom: 26px; display: flex; gap: 18px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.hero-scroll { position: absolute; right: var(--gutter-r); bottom: 26px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--bronze), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(80px, 14vw, 180px); }
.say { max-width: 1100px; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(26px, 3.8vw, 52px); line-height: 1.14; letter-spacing: -.01em; }
.say .w { color: rgba(232, 237, 232, .2); transition: color .25s; }
.say .w.lit { color: var(--mist); }
.say .w.hot { color: var(--bronze); }

/* ---------- Services ---------- */
.services { padding-block: 40px 140px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc { background: var(--forest); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .3s, transform .3s; }
.svc:hover { border-color: rgba(200, 146, 92, .5); transform: translateY(-4px); }
.svc-vis { height: 230px; position: relative; background: radial-gradient(120% 90% at 50% 100%, #1d3127, #121f19); display: grid; place-items: center; overflow: hidden; }
.svc-vis svg, .svc-vis canvas { width: 100%; height: 100%; display: block; }
.svc-body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.svc-body p { color: var(--mist-2); font-size: 15px; }
.svc-price { font-family: var(--f-mono); font-size: 13px; color: var(--bronze); }
.vis-phone { width: 118px; height: 200px; border-radius: 20px; border: 2px solid rgba(232, 237, 232, .25); overflow: hidden; margin-top: 30px; }
.vis-feed { display: grid; gap: 8px; padding: 10px; animation: feed 7s linear infinite; }
.vis-feed i { display: block; border-radius: 8px; height: 70px; }
.vis-feed .f1 { background: linear-gradient(140deg, #3b5a49, #2a4236); height: 90px; }
.vis-feed .f2 { background: repeating-linear-gradient(90deg, #4fa06c 0 14px, #1d3127 14px 16px); }
.vis-feed .f3 { background: linear-gradient(90deg, rgba(232, 237, 232, .2) 60%, transparent 60%) top / 100% 10px no-repeat, linear-gradient(90deg, rgba(232, 237, 232, .12) 85%, transparent 85%) 0 18px / 100% 8px no-repeat; height: 40px; }
.vis-feed .f4 { background: var(--bronze); height: 30px; border-radius: 999px; }
@keyframes feed { to { transform: translateY(-50%); } }
.vis-erp { width: min(280px, 82%); background: rgba(232, 237, 232, .06); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px; display: grid; gap: 10px; font-size: 13px; }
.erp-row { display: flex; justify-content: space-between; color: var(--mist-2); }
.erp-row b { font-family: var(--f-mono); color: var(--mist); font-weight: 500; font-variant-numeric: tabular-nums; }
.erp-bar { height: 6px; border-radius: 99px; background: rgba(232, 237, 232, .1); overflow: hidden; }
.erp-bar i { display: block; height: 100%; width: 40%; background: var(--bronze); transition: width 1s ease; }
.vis-erp small { color: var(--muted); font-size: 11px; }

/* ---------- Try it (light chapter) ---------- */
.try { background: var(--paper); color: var(--ink); padding-block: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 60px; align-items: center; border-radius: 36px 36px 0 0; }
.try-copy { display: grid; gap: 22px; max-width: 520px; }
.try-copy > p { color: var(--ink-2); font-size: 17px; }
.try .kicker { color: #9a6534; }
.try-stats { display: flex; gap: 28px; }
.try-stats div { display: grid; }
.try-stats b { font-family: var(--f-display); font-size: 48px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.try-stats div:nth-child(1) b { color: var(--avail); }
.try-stats div:nth-child(2) b { color: #b78325; }
.try-stats span { font-size: 13px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 14px var(--f-body); background: transparent; color: var(--ink); border: 1px solid var(--line-light); padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 50px; height: 28px; border-radius: 99px; background: #c9d0cb; position: relative; transition: background .2s; flex: none; }
.switch .track i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: #b8733a; }
.switch input:checked + .track i { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 2px solid #b8733a; outline-offset: 2px; }
.try .fine { color: #6b776f; }
.phone { position: relative; width: 100%; max-width: 400px; justify-self: center; background: #f8faf8; border-radius: 42px; border: 10px solid #101a15; box-shadow: 0 40px 80px -30px rgba(16, 26, 21, .45); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line-light); }
.phone-top .dot { width: 30px; height: 30px; border-radius: 8px; background: var(--green); flex: none; }
.phone-top b { display: block; font-size: 15px; }
.phone-top small { color: var(--ink-2); font-size: 12px; }
#plotmap { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; max-width: 100%; background: #e3e8de; touch-action: manipulation; }
.pl { stroke: #f8faf8; stroke-width: 2; cursor: pointer; transition: fill .4s, opacity .25s; }
.pl.available { fill: var(--avail); } .pl.reserved { fill: var(--reserved); } .pl.sold { fill: #b7bdb8; }
.pl.dim { opacity: .18; }
.pl.sel { stroke: #b8733a; stroke-width: 5; }
.pl:hover { filter: brightness(1.08); }
.pn { font: 500 11px var(--f-mono); fill: #fff; text-anchor: middle; pointer-events: none; }
.pn.d { fill: #4c5a52; }
.card { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 10px 30px rgba(16, 26, 21, .2); display: grid; gap: 10px; }
.card-h { display: flex; justify-content: space-between; align-items: center; padding-right: 54px; }
.card-h b { font-family: var(--f-display); font-size: 30px; font-weight: 900; line-height: 1; }
.st { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; color: #fff; }
.st.available { background: var(--avail); } .st.reserved { background: var(--reserved); color: #2b1d05; } .st.sold { background: #9aa39d; }
.card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.card dt { font-size: 11px; color: var(--ink-2); }
.card dd { margin: 0; font-family: var(--f-mono); font-size: 14px; }
.card-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; font-size: 16px; background: #eef1ee; border: 0; color: var(--ink); }
.card-act { display: flex; gap: 8px; }
.card-act button { flex: 1; font: 600 13px var(--f-body); padding: 10px; border-radius: 12px; border: 1px solid var(--line-light); background: #fff; color: var(--ink); cursor: pointer; }
.card-act button.p { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 3D land ---------- */
.land { padding-block: 120px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--night); }
.land-stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 80% at 50% 40%, #1e3328, #0b130f); border: 1px solid var(--line-dark); cursor: grab; touch-action: pan-y; }
.land-stage.drag { cursor: grabbing; }
#terrain3d { width: 100%; height: 100%; display: block; }
.land-hint { position: absolute; left: 18px; bottom: 16px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.land-panel { display: grid; gap: 20px; }
.land-panel > p:not(.kicker):not(.fine) { color: var(--mist-2); font-size: 17px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font: 600 14px var(--f-body); background: transparent; color: var(--mist); border: 1px solid var(--line-dark); padding: 9px 15px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--mist); color: var(--ink); }
.range { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--mist-2); max-width: 360px; }
.range output { font-family: var(--f-mono); color: var(--mist); }
.range input { grid-column: 1 / -1; accent-color: var(--bronze); width: 100%; }

/* ---------- Work (light chapter, live case studies) ---------- */
.work { background: var(--paper); color: var(--ink); padding-block: 120px 120px; display: grid; gap: 40px; }
.work .kicker { color: #9a6534; }
.work .sec-head { margin-bottom: 0; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 640px; }
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 64px; border-top: 1px solid var(--line-light); }
.case-text { display: grid; gap: 22px; align-content: start; min-width: 0; }
.case-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8a6034; }
.case-text h3 { font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; font-stretch: 110%; line-height: 1.05; }
.case-steps { margin: 0; display: grid; gap: 14px; }
.case-steps > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px dashed var(--line-light); }
.case-steps dt { font-weight: 700; font-size: 14px; color: var(--ink); }
.case-steps div:first-child dt { color: #a3392b; }
.case-steps div:last-child dt { color: #2e6b45; }
.case-steps dd { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }
.case-steps.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-steps.cols > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.case-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.case-facts li { background: #fff; border: 1px solid var(--line-light); border-radius: 14px; padding: 10px 14px; display: grid; font-size: 12.5px; color: var(--ink-2); }
.case-facts b { font-family: var(--f-display); font-size: 22px; color: var(--ink); font-weight: 800; }
.fine.dark { color: #6b776f; }
.btn-ink { background: var(--ink); color: var(--paper); justify-self: start; }
.btn-ink:hover { background: var(--green); }
.case-vis { position: relative; min-width: 0; display: grid; gap: 12px; justify-items: center; }
.case-wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.case-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: end; }

/* live embeds */
.live { position: relative; width: 100%; height: 100%; background: #e9ece6; }
.live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.live-cover { position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 20px;
  background: linear-gradient(180deg, rgba(16, 26, 21, 0) 30%, rgba(16, 26, 21, .72)); color: #fff; font-family: var(--f-body); transition: opacity .35s; }
.live-cover b { font-size: 17px; margin-top: 130px; background: rgba(16, 26, 21, .88); padding: 8px 16px; border-radius: 99px; }
.live-cover small { font-size: 12.5px; background: rgba(16, 26, 21, .78); padding: 5px 12px; border-radius: 99px; }
.live-cover .pulse { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 2px solid var(--bronze-2); animation: pulse 1.8s ease-out infinite; }
.live-cover .pulse::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--bronze); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.live.on .live-cover { opacity: 0; pointer-events: none; }
.device-phone { width: min(100%, 360px); aspect-ratio: 9 / 18.5; max-width: 100%; border: 10px solid var(--ink); border-radius: 46px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(16, 26, 21, .6); background: var(--ink); }
.device-phone .live { border-radius: 36px; overflow: hidden; }
.device-browser { width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 50px 90px -40px rgba(16, 26, 21, .45); background: #fff; }
.device-browser .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f7f8f6; border-bottom: 1px solid var(--line-light); font-size: 13px; color: var(--ink-2); }
.device-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5d9d3; }
.device-browser .bar span { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-browser .bar a { font-weight: 600; text-decoration: none; color: #8a6034; white-space: nowrap; }
.device-browser .live { height: clamp(460px, 56vw, 720px); }

/* booklet -> ERP demo */
.flow { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.05fr); align-items: center; gap: 0; justify-items: stretch; }
.flow > * { min-width: 0; }
.mini-phone { min-width: 0; overflow: hidden; background: #18130d; color: #f6efe6; border: 8px solid var(--ink); border-radius: 34px; padding: 22px 16px 18px; display: grid; gap: 12px; box-shadow: 0 40px 70px -30px rgba(16, 26, 21, .55); }
.mb-head b { display: block; font-family: var(--f-display); font-size: 20px; }
.mb-head small { color: #cdbfae; font-size: 12.5px; }
.mb-list { display: grid; gap: 8px; }
.mb-list button { width: 100%; text-align: left; font: 500 14px var(--f-body); color: #f6efe6; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 12px 10px 38px; cursor: pointer; position: relative; }
.mb-list button::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; border: 1.5px solid rgba(255, 255, 255, .5); }
.mb-list button[aria-pressed="true"] { background: rgba(231, 147, 46, .18); border-color: #e7932e; }
.mb-list button[aria-pressed="true"]::before { background: #e7932e; border-color: #e7932e; box-shadow: inset 0 0 0 3px #18130d; }
.mb-field { display: grid; gap: 4px; font-size: 12px; color: #cdbfae; }
.mb-field input { width: 100%; min-width: 0; font: 500 14px var(--f-body); background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 9px 10px; }
.mb-send { font: 700 15px var(--f-body); background: #e7932e; color: #1d1305; border: 0; border-radius: 999px; padding: 13px; cursor: pointer; }
.mb-send:active { transform: scale(.98); }
.mb-note { font-size: 11.5px; color: #a8998a; text-align: center; }
.flow-arrow { height: 2px; background: repeating-linear-gradient(90deg, var(--bronze) 0 8px, transparent 8px 14px); position: relative; margin-inline: 8px; }
.flow-arrow span { position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bronze); opacity: 0; }
.wk-erp { background: var(--ink); color: var(--mist); padding: 22px; border-radius: 22px; display: grid; gap: 12px; align-content: start; }
.we-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.we-top b { font-family: var(--f-display); font-size: 20px; white-space: nowrap; }
.we-top span { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-align: right; }
.we-list { display: grid; }
.we-list p { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid var(--line-dark); font-size: 14px; border-radius: 10px; }
.we-list p span { display: grid; }
.we-list small { font-size: 12px; color: var(--muted); }
.we-list em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--mist-2); white-space: nowrap; }
.we-list em.ok { color: #7fc39a; } .we-list em.due { color: var(--bronze-2); }
.we-list p.fresh { background: rgba(79, 160, 108, .16); border-bottom-color: transparent; }

/* ---------- Process ---------- */
.process { padding-block: 140px; }
.road-wrap { position: relative; }
.road { width: 100%; height: 120px; display: block; overflow: visible; }
#road-path { fill: none; stroke: var(--line-dark); stroke-width: 26; stroke-linecap: round; }
#road-dot { fill: var(--bronze); }
.road-dash { fill: none; stroke: var(--bronze); stroke-width: 2; stroke-dasharray: 10 10; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { display: grid; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--bronze); }
.steps b { font-family: var(--f-display); font-size: 22px; font-stretch: 105%; }
.steps span { color: var(--mist-2); font-size: 15px; }

/* ---------- Why ---------- */
.why { min-height: 620px; display: grid; align-items: center; padding-block: 140px; overflow: hidden; }
#trails { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.why-copy { position: relative; max-width: 760px; display: grid; gap: 22px; }
.why-copy h2 { font-size: clamp(28px, 3.8vw, 52px); }
.why-copy p:not(.kicker) { color: var(--mist-2); font-size: 18px; max-width: 600px; }
.why-copy em { color: var(--bronze-2); font-style: normal; }

/* ---------- Contact + footer ---------- */
.contact { padding-block: 120px 140px; display: grid; gap: 26px; justify-items: start; }
.big { font-size: clamp(54px, 12vw, 190px); line-height: .86; font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; }
.contact > p:not(.wa-num) { font-size: 19px; color: var(--mist-2); max-width: 560px; }
.wa-num { font-family: var(--f-mono); color: var(--muted); font-size: 14px; user-select: all; }
.loc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--mist-2); }
.loc span:first-child { color: var(--mist); font-weight: 600; }
.loc span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); margin-right: 10px; vertical-align: 2px; }
.foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; padding: 26px var(--gutter-r) calc(26px + env(safe-area-inset-bottom, 0px)) var(--gutter); border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .svc-grid, .try, .land { grid-template-columns: minmax(0, 1fr); }
  .try { gap: 40px; padding-block: 90px; }
  .land { padding-block: 90px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case, .case-head { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px; }
  .case-head { padding-block: 0; }
  .case-steps.cols { grid-template-columns: minmax(0, 1fr); }
  .device-browser .live { height: 560px; }
}
@media (max-width: 600px) {
  .case-steps > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow-arrow { width: 2px; height: 34px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--bronze) 0 8px, transparent 8px 14px); }
  .flow-arrow span { display: none; }
  .mini-phone { max-width: 320px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-readout { display: none; }
  .nav-cta { padding: 8px 13px; font-size: 13px; }
  .svc-vis { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vis-feed, .hero-scroll i, .live-cover .pulse { animation: none; }
}

/* ---------- Live embeds: posters, phone mode ---------- */
.live .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.device-browser .live .poster { object-position: center; }
.live.loaded .poster { visibility: hidden; }

/* ---------- Full-screen viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 150; background: #f4f6f3; display: flex; flex-direction: column; }
.viewer[hidden] { display: none !important; }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); background: var(--night); color: var(--mist); }
.viewer-bar b { flex: 1; font-size: 15px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-bar button { font: 700 15px var(--f-body); background: var(--bronze); color: #1a120a; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.viewer, .viewer * { cursor: auto !important; }
.viewer-bar button { cursor: pointer !important; }
.viewer-body { position: relative; flex: 1; }
.viewer-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font: 500 15px var(--f-body); }
.viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
/* An iframe with nothing loaded paints white on iPhones; keep it out of the way so the poster shows. */
.live iframe:not([src]) { display: none; }

/* ---------- FAQ ---------- */
.faq { padding-block: 120px 40px; }
.faq-list { display: grid; max-width: 900px; border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(18px, 2vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--bronze); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist-2); padding: 0 0 24px; max-width: 70ch; font-size: 16px; }

/* ---------- Misc ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--bronze); color: #1a120a; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.foot a { color: var(--mist-2); }

/* ---------- Founder ---------- */
.founder { padding-block: 130px 60px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.f-photo { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; }
.f-photo img { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.f-photo:hover img { filter: none; }
.f-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit 26s linear infinite; }
.f-orbit circle { fill: none; stroke: rgba(200, 146, 92, .45); stroke-width: .5; stroke-dasharray: 1 2.4; }
.f-orbit .f-star { fill: var(--bronze); stroke: none; }
@keyframes orbit { to { transform: rotate(360deg); } }
.f-copy { display: grid; gap: 18px; min-width: 0; }
.f-role { color: var(--bronze-2); font-weight: 600; font-size: 17px; }
.f-bio { color: var(--mist-2); font-size: 17px; max-width: 58ch; }
.f-quals { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); max-width: 520px; }
.f-quals li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.f-quals b { font-weight: 600; }
.f-quals span { color: var(--mist-2); }
.f-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.contact .ig-link { margin-top: -10px; }
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 100px 40px; } .f-photo { width: min(80%, 340px); } }
@media (hover: none) { .f-photo img { filter: none; } }
@media (prefers-reduced-motion: reduce) { .f-orbit { animation: none; } }
.btn .ico { width: 1.25em; height: 1.25em; flex: none; }
.intro-mark.lifted { position: fixed; z-index: 102; pointer-events: none; }

.f-cred { margin: -6px 0 0; font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist-2); }

/* Interactive websites: a page that scrolls by itself inside a browser frame */
.svc-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; }
.svc-wide .svc-vis { height: 300px; }
.svc-wide .svc-body { align-content: center; padding: 28px 32px; }
.svc-link { color: var(--bronze-2); font-weight: 600; text-decoration: none; font-size: 15px; }
.vis-web { width: 82%; height: 84%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); display: grid; grid-template-rows: auto 1fr; }
.vw-bar { display: flex; gap: 5px; padding: 7px 9px; background: #eef0ec; }
.vw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cfd4cd; }
.vw-page { overflow: hidden; position: relative; }
.vw-page img, .web-scroll img { width: 100%; display: block; animation: webscroll 26s ease-in-out infinite alternate; }
.web-scroll { height: clamp(420px, 50vw, 640px); overflow: hidden; background: #fff; }
@keyframes webscroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--travel, 0px)); } }
@media (max-width: 900px) {
  .svc-wide { grid-template-columns: minmax(0, 1fr); }
  .svc-wide .svc-vis { height: 220px; }
  .web-scroll { height: 460px; }
}
@media (prefers-reduced-motion: reduce) { .vw-page img, .web-scroll img { animation: none; } }

/* Quick answers */
.ask { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 120; display: grid; justify-items: end; gap: 12px; }
.ask-btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--f-body); background: var(--bronze); color: #1a120a; border: 0; border-radius: 999px; padding: 14px 20px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); cursor: pointer; }
.ask-dot { width: 9px; height: 9px; border-radius: 50%; background: #1a120a; box-shadow: 0 0 0 0 rgba(26, 18, 10, .5); animation: askpulse 2s infinite; }
@keyframes askpulse { 70% { box-shadow: 0 0 0 9px rgba(26, 18, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 18, 10, 0); } }
.ask.open .ask-btn { display: none; }
.ask-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 110px)); background: var(--paper); color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.ask-panel[hidden] { display: none; }
.ask-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--night); color: var(--mist); }
.ask-head > div { flex: 1; display: grid; min-width: 0; }
.ask-head b { font-size: 15px; }
.ask-head small { font-size: 12px; color: var(--mist-2); }
.ask-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(232, 237, 232, .12); color: var(--mist); font-size: 14px; cursor: pointer; }
.ask-log { overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; overscroll-behavior: contain; }
.ask-log p { margin: 0; max-width: 88%; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 0 rgba(16, 26, 21, .06); }
.ask-log p.me { justify-self: end; background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; }
.ask-log a { color: #8a6034; font-weight: 600; }
.ask-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.ask-chips button { flex: none; font: 600 13px var(--f-body); background: #fff; color: var(--ink); border: 1px solid var(--line-light); border-radius: 999px; padding: 8px 13px; cursor: pointer; }
.ask-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line-light); background: #fff; }
.ask-form input { flex: 1; min-width: 0; font: 15px var(--f-body); border: 1px solid var(--line-light); border-radius: 999px; padding: 11px 14px; color: var(--ink); background: var(--paper); }
.ask-form button { width: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; }
.ask, .ask * { cursor: auto !important; }
.ask button, .ask a { cursor: pointer !important; }
body.locked .ask { display: none; }

@media (max-width: 600px) { .ask-btn { padding: 11px 15px; font-size: 14px; } }

/* keep the footer links clear of the Ask Sthira button */
.foot { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 901px) { .foot { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); padding-right: 180px; } }
