/* Dunhill Global — Custom Business Solutions */
.hp {
  --ink: #11120f;
  --soft: #55574f;
  --muted: #696b63;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d8;
  --card: #fffdf8;
  --line: #d6d0c3;
  --line-dark: #aaa99f;
  --red: #b6422e;
  --green: #2b6e4f;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp [hidden] { display: none !important; }
.hp a { color: inherit; }
.hp button, .hp input, .hp textarea, .hp select { font: inherit; }
.hp button, .hp a { -webkit-tap-highlight-color: transparent; }
.hp :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.hp .skip-link { position: fixed; z-index: 999; top: .7rem; left: .7rem; padding: .7rem 1rem; color: #fff; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.hp .dg-nav { position: sticky; top: 0; z-index: 50; color: var(--ink); background: rgba(244, 241, 233, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.hp .dg-nav__inner { max-width: 88rem; }
.hp .dg-nav__links { gap: 1.25rem; }
.hp .dg-nav__links a { font-size: .7rem; }
.hp .dg-nav__links .nav-cta { padding: .72rem 1rem; color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.hp .dg-nav__links .nav-cta:hover { color: #fff; background: var(--red); border-color: var(--red); }

.marketing-hero {
  width: min(100% - 3rem, 88rem);
  min-height: calc(100svh - 67px);
  margin: 0 auto;
  padding: clamp(2.4rem, 4.5vw, 4rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(30rem, .98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.eyebrow { margin: 0 0 1rem; color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.marketing-hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.marketing-hero .eyebrow span { width: 2rem; height: 1px; background: var(--red); }
.marketing-hero h1 { max-width: 13ch; margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(3.35rem, 5.25vw, 5.8rem); font-weight: 600; line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.marketing-hero__lede { max-width: 36rem; margin: 1.35rem 0 0; color: var(--soft); font-size: clamp(1rem, 1.32vw, 1.18rem); line-height: 1.55; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.button { min-height: 3rem; padding: .78rem 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; font-size: .87rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translate(-2px, -2px); }
.hp .button--primary { color: #fff; background: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.hp .button--primary:hover { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 5px 5px 0 var(--ink); }
.button--secondary:hover { color: #fff; background: var(--ink); }
.hp .button--light { color: var(--ink); background: #fff; border-color: #fff; box-shadow: 5px 5px 0 var(--red); }
.hp .button--light:hover { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 5px 5px 0 #fff; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.hero-note { margin: 1.1rem 0 0; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: .67rem; }

.hero-system { position: relative; min-width: 0; background: rgba(255,253,248,.82); border: 1px solid rgba(17,18,15,.78); box-shadow: 18px 20px 48px rgba(44,38,28,.12), 9px 9px 0 rgba(182,66,46,.12); isolation: isolate; }
.hero-system::before { content: none; }
.hero-system__top { min-height: 2.7rem; padding: .52rem .65rem .52rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); color: var(--soft); font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .08em; }
.hero-system__top button { min-height: 2rem; padding: .3rem .5rem; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: .65rem; font-weight: 600; letter-spacing: .03em; }
.hero-system__top button:hover { color: var(--red); }
.hero-system__top button:disabled { color: var(--muted); cursor: default; }
.hero-system__canvas { position: relative; width: 100%; aspect-ratio: 620 / 430; overflow: hidden; background: radial-gradient(circle at 52% 47%, rgba(182,66,46,.08), transparent 31%), linear-gradient(rgba(17,18,15,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,15,.025) 1px, transparent 1px); background-size: auto, 26px 26px, 26px 26px; }
.hero-system__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-path { fill: none; stroke: #777970; stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; transition: stroke 360ms ease, stroke-dashoffset 700ms ease; }
.hero-system__lines marker path { fill: var(--red); }
.flow-dot { fill: var(--red); opacity: .95; transition: transform 420ms ease, opacity 300ms ease; transform-box: fill-box; transform-origin: center; }
.flow-panel { position: absolute; padding: .72rem; background: rgba(255,255,255,.96); border: 1px solid rgba(17,18,15,.75); box-shadow: 0 12px 28px rgba(38,33,26,.1); transition: opacity 360ms ease, transform 520ms cubic-bezier(.2,.75,.2,1), box-shadow 360ms ease, border-color 360ms ease; }
.flow-panel--request { top: 7%; left: 3%; width: 28%; }
.flow-panel--engine { top: 28%; left: 34%; width: 31%; padding: 1rem; color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 18px 40px rgba(17,18,15,.2), 6px 6px 0 rgba(182,66,46,.32); }
.flow-panel--operations { top: 7%; right: 3%; width: 28%; }
.flow-panel--customer { right: 3%; bottom: 9%; width: 31%; display: grid; grid-template-columns: 2rem 1fr 1.4rem; align-items: center; gap: .65rem; border-color: rgba(43,110,79,.58); }
.flow-panel__bar { margin: -.72rem -.72rem .68rem; padding: .48rem .55rem; display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); color: var(--soft); font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .04em; }
.flow-panel__bar b { color: var(--red); font-weight: 600; }
.flow-panel--request > strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; }
.flow-panel--request > p { margin: .25rem 0 .6rem; color: var(--soft); font-size: .64rem; }
.mini-field { padding: .45rem; display: grid; gap: .16rem; background: var(--paper); border: 1px solid var(--line); }
.mini-field span { color: var(--muted); font-size: .58rem; }
.mini-field b { font-size: .65rem; font-weight: 600; }
.engine-mark { width: 2.15rem; height: 2.15rem; margin-bottom: .75rem; display: grid; grid-template-columns: repeat(3,1fr); align-items: end; gap: .2rem; }
.engine-mark span { display: block; background: var(--red); }
.engine-mark span:nth-child(1) { height: 45%; }
.engine-mark span:nth-child(2) { height: 100%; }
.engine-mark span:nth-child(3) { height: 70%; }
.engine-kicker { color: #d1d0c8; font-family: 'JetBrains Mono', monospace; font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; }
.flow-panel--engine > strong { display: block; margin-top: .32rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.08rem; }
.flow-panel--engine ul { list-style: none; margin: .8rem 0 0; padding: .6rem 0 0; border-top: 1px solid #454640; }
.flow-panel--engine li { padding: .24rem 0; color: #e0dfd7; font-size: .62rem; }
.flow-panel--engine li > span { width: .38rem; height: .38rem; margin-right: .4rem; display: inline-block; border-radius: 50%; background: var(--green); }
.ops-card { display: grid; gap: .23rem; }
.ops-card > span { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .58rem; }
.ops-card strong { font-family: 'Space Grotesk', sans-serif; font-size: .96rem; }
.ops-card small { color: var(--soft); font-size: .6rem; }
.ops-card em { width: fit-content; margin-top: .45rem; padding: .3rem .42rem; color: #1e563f; background: #e8f3ec; border: 1px solid #8fbea6; font-size: .58rem; font-style: normal; font-weight: 600; }
.customer-avatar { width: 2rem; height: 2rem; display: grid; place-items: center; color: #fff; background: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: .72rem; }
.flow-panel--customer div:nth-child(2) { display: grid; gap: .15rem; }
.flow-panel--customer span, .flow-panel--customer small { color: var(--soft); font-size: .55rem; }
.flow-panel--customer strong { font-size: .76rem; }
.flow-panel--customer > i { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .65rem; font-style: normal; }
.hero-system__legend { position: absolute; left: 3%; bottom: 6%; width: 52%; display: flex; align-items: center; gap: .32rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: .4rem; letter-spacing: .06em; }
.hero-system__legend i { flex: 1; height: 1px; background: var(--line-dark); }
.hero-system__status { min-height: 2.55rem; margin: 0; padding: .65rem .85rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .66rem; line-height: 1.5; }
.hero-system.is-sequencing .flow-panel { opacity: 1; transform: translateY(7px) scale(.985); box-shadow: none; }
.hero-system.is-sequencing .flow-dot { opacity: .18; transform: scale(.55); }
.hero-system.is-sequencing[data-sequence-phase="1"] [data-hero-node="request"],
.hero-system.is-sequencing[data-sequence-phase="2"] [data-hero-node="request"],
.hero-system.is-sequencing[data-sequence-phase="2"] [data-hero-node="automation"],
.hero-system.is-sequencing[data-sequence-phase="3"] [data-hero-node="request"],
.hero-system.is-sequencing[data-sequence-phase="3"] [data-hero-node="automation"],
.hero-system.is-sequencing[data-sequence-phase="3"] [data-hero-node="operations"],
.hero-system.is-sequencing[data-sequence-phase="4"] .flow-panel { opacity: 1; transform: none; box-shadow: 0 12px 28px rgba(38,33,26,.1); }
.hero-system.is-sequencing[data-sequence-phase="2"] .flow-dot--one,
.hero-system.is-sequencing[data-sequence-phase="3"] .flow-dot--two,
.hero-system.is-sequencing[data-sequence-phase="4"] .flow-dot--three { opacity: 1; transform: scale(1.65); }
.hero-system.is-sequencing[data-sequence-phase="2"] .flow-path--one,
.hero-system.is-sequencing[data-sequence-phase="3"] .flow-path--two,
.hero-system.is-sequencing[data-sequence-phase="4"] .flow-path--three { stroke: var(--red); stroke-dashoffset: -22; }
.hero-system.is-sequencing[data-sequence-phase="4"] .flow-panel--customer > i { animation: approval-pop 520ms cubic-bezier(.2,.9,.2,1.25) both; }
@keyframes approval-pop { 0% { transform: scale(.35); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

.marketing-section { width: min(100% - 3rem, 88rem); margin: 0 auto; padding: clamp(5rem, 8vw, 7rem) 0; scroll-margin-top: 5rem; }
.section-intro { max-width: 58rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-intro--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); align-items: end; gap: 3rem; }
.section-intro h2 { max-width: 15ch; margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.45rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.045em; }
.section-intro > p, .section-intro--split > p { margin: 1.2rem 0 0; color: var(--soft); line-height: 1.7; }
.section-intro--split > p { margin: 0; }

.offer-section { width: 100%; max-width: none; padding-inline: max(1.5rem, calc((100% - 88rem) / 2)); background: var(--paper-deep); border-block: 1px solid var(--line-dark); }
.offer-section .eyebrow { color: #9f3525; }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(22rem, .55fr); gap: 1.4rem; align-items: stretch; }
.system-offer { min-height: 31rem; padding: clamp(1.6rem, 4vw, 3.2rem); display: flex; flex-direction: column; align-items: flex-start; color: #fff; background: var(--ink); box-shadow: 10px 10px 0 var(--red); }
.offer-tag, .website-offers__label { color: #c7c7bf; font-family: 'JetBrains Mono', monospace; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.system-offer h3 { max-width: 14ch; margin: 2.5rem 0 1rem; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: .95; letter-spacing: -.045em; }
.system-price { margin: 0; color: #c7c7bf; }
.system-price strong { color: #fff; font-size: 1.8rem; }
.system-lede { max-width: 36rem; margin: 1.4rem 0; font-size: 1.12rem; line-height: 1.55; }
.system-offer ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.system-offer li { padding: .55rem .7rem; border: 1px solid #4f504a; font-size: .76rem; }
.offer-scope { max-width: 46rem; margin: 0 0 2rem; color: #c7c7bf; font-size: .78rem; line-height: 1.65; }
.system-offer .button { margin-top: auto; }
.website-offers { align-self: end; padding: clamp(1.4rem, 3vw, 2.1rem); background: rgba(255,253,248,.72); border: 1px solid var(--line-dark); }
.website-offers__label { display: block; margin-bottom: 2rem; color: var(--red); }
.website-offers article { padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-top: 1px solid var(--line); }
.website-offers h3 { margin: 0 0 .45rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; }
.website-offers article p { margin: 0; color: var(--soft); font-size: .78rem; line-height: 1.55; }
.website-offers article > strong { flex: 0 0 auto; font-size: .84rem; }
.pricing-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }

.demo-section { border-bottom: 1px solid var(--line-dark); }
.connected-demo { background: var(--card); border: 1px solid var(--ink); box-shadow: 0 24px 60px rgba(40,35,28,.1), 12px 12px 0 var(--line); overflow: hidden; }
.demo-toolbar { min-height: 4.2rem; padding: .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ink); background: var(--paper); }
.view-tabs { position: relative; padding: .2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #ded9ce; border: 1px solid var(--line-dark); isolation: isolate; }
.view-tabs::before { content: ''; position: absolute; z-index: -1; top: .2rem; bottom: .2rem; left: .2rem; width: calc(50% - .2rem); background: var(--ink); transform: translateX(0); transition: transform 260ms cubic-bezier(.2,.75,.2,1); }
.connected-demo[data-active-view="operations"] .view-tabs::before { transform: translateX(100%); }
.view-tabs button, .reset-button { min-height: 2.5rem; padding: .55rem .9rem; border: 0; background: transparent; color: var(--soft); cursor: pointer; font-size: .75rem; font-weight: 600; transition: color 220ms ease, border-color 180ms ease, background 180ms ease; }
.view-tabs button[aria-selected="true"] { color: #fff; }
.view-tabs button.is-next-action:not([aria-selected="true"]) { color: var(--red); box-shadow: inset 0 -2px var(--red); }
.reset-button { border: 1px solid var(--line-dark); }
.reset-button:hover { color: var(--red); border-color: var(--red); }
.demo-progress { list-style: none; margin: 0; padding: 1rem clamp(1rem,4vw,3rem); display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); background: #fbfaf5; }
.demo-progress li { position: relative; display: flex; align-items: center; gap: .65rem; color: var(--muted); }
.demo-progress li:not(:last-child)::after { content: ''; position: absolute; top: 50%; left: calc(100% - 1rem); width: calc(100% - 2.25rem); height: 1px; background: var(--line-dark); transform: translateY(-50%); transition: background 280ms ease; }
.demo-progress li > span { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid var(--line-dark); background: var(--card); font-family: 'JetBrains Mono', monospace; font-size: .6rem; transition: color 240ms ease, background 240ms ease, border-color 240ms ease, transform 240ms ease; }
.demo-progress li > div { display: grid; gap: .12rem; }
.demo-progress strong { color: var(--ink); font-size: .7rem; }
.demo-progress small { font-size: .55rem; }
.demo-progress li.is-complete > span { color: #fff; background: var(--green); border-color: var(--green); }
.demo-progress li.is-complete:not(:last-child)::after { background: var(--green); }
.demo-progress li.is-current > span { color: #fff; background: var(--red); border-color: var(--red); transform: scale(1.08); }
.demo-panel { min-height: 29rem; padding: clamp(1.4rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(12rem, .4fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.demo-panel__intro { padding-top: .4rem; }
.demo-panel__intro span { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.demo-panel__intro h3 { margin: .75rem 0 .65rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; line-height: 1.05; }
.demo-panel__intro p { margin: 0; color: var(--soft); font-size: .82rem; line-height: 1.6; }
.demo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: 1rem; }
.demo-request-form label { display: grid; gap: .38rem; }
.demo-request-form label > span { font-size: .7rem; font-weight: 600; }
.demo-request-form input, .demo-request-form textarea, .demo-request-form select { width: 100%; min-height: 2.75rem; padding: .65rem .7rem; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 0; font-size: .82rem; }
.demo-request-form textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
.demo-request-form :focus { border-color: var(--red); outline: 3px solid rgba(182,66,46,.12); outline-offset: 0; }
.demo-request-form .is-next-action, .operations-actions .is-next-action { box-shadow: 5px 5px 0 rgba(182,66,46,.42); }
.field-wide { grid-column: 1 / -1; }
.customer-request, .operations-request { padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid var(--line-dark); background: #fff; }
.state-enter { animation: state-enter 420ms cubic-bezier(.2,.75,.2,1) both; }
@keyframes state-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.request-card__head { padding-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.request-card__head div { display: grid; gap: .3rem; }
.request-card__head span { color: var(--muted); font-size: .68rem; }
.request-card__head h4 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; }
.status-pill { align-self: start; padding: .4rem .55rem; color: #765015; background: #f8edcf; border: 1px solid #dfc785; font-style: normal; font-size: .66rem; font-weight: 600; }
.status-pill--approved { color: #1e563f; background: #edf6f0; border-color: #8fbea6; }
.request-details { margin: 1rem 0; display: grid; }
.request-detail { padding: .7rem 0; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.request-detail span { color: var(--muted); font-size: .68rem; }
.request-detail strong { font-size: .78rem; font-weight: 500; line-height: 1.55; }
.request-message { margin: 1rem 0; color: var(--soft); font-size: .82rem; line-height: 1.6; }
.operations-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.approval-confirmation { margin: 1rem 0 0; padding: .75rem .85rem; display: flex; align-items: center; gap: .65rem; color: #1e563f; background: #edf6f0; border: 1px solid #8fbea6; font-size: .73rem; animation: approval-row 380ms cubic-bezier(.2,.8,.2,1) both; }
.approval-confirmation i { width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-style: normal; }
@keyframes approval-row { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.text-button { min-height: 2.75rem; padding: .5rem 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-size: .79rem; font-weight: 600; }
.text-button:hover { color: var(--red); border-color: var(--red); }
.demo-empty { padding: 4rem 2rem; text-align: center; border: 1px dashed var(--line-dark); background: var(--paper); }
.demo-empty strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; }
.demo-empty p { color: var(--muted); font-size: .8rem; }
.demo-status { margin: 0; padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; color: var(--soft); background: var(--paper); border-top: 1px solid var(--line); font-size: .75rem; transition: color 220ms ease, background 220ms ease; }
.demo-status > span { flex: 0 0 auto; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; color: #fff; background: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .64rem; }
.connected-demo[data-demo-stage="complete"] .demo-status { color: #1e563f; background: #edf6f0; }
.connected-demo[data-demo-stage="complete"] .demo-status > span { background: var(--green); }
.demo-cta { min-height: 2.75rem; margin-top: 1.8rem; padding-block: .6rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 600; text-underline-offset: .3rem; }
.demo-cta:hover { color: var(--red); }

.problems-section { width: 100%; max-width: none; padding-inline: max(1.5rem, calc((100% - 88rem) / 2)); background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.problem-grid article { min-height: 14rem; padding: 1.5rem; border-right: 1px solid var(--line-dark); }
.problem-grid article:last-child { border-right: 0; }
.problem-number { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .66rem; }
.problem-grid h3 { max-width: 16ch; margin: 3rem 0 .75rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; line-height: 1.12; }
.problem-grid p { margin: 0; color: var(--soft); font-size: .82rem; line-height: 1.6; }
.solutions-section { border-bottom: 1px solid var(--line-dark); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.solution-card { min-height: 24rem; padding: 1.35rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transition: transform 220ms cubic-bezier(.2,.75,.2,1), background 180ms ease, box-shadow 220ms ease; }
.solution-card:hover { transform: translateY(-4px); background: var(--card); box-shadow: 8px 8px 0 rgba(17,18,15,.09); }
.solution-card__index { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .63rem; }
.service-visual { width: 100%; height: auto; margin: 1rem 0 1.2rem; color: var(--ink); overflow: visible; }
.service-visual * { vector-effect: non-scaling-stroke; }
.v-panel, .v-document { fill: rgba(255,255,255,.5); stroke: currentColor; stroke-width: 1.35; }
.v-panel--accent { fill: var(--ink); }
.v-panel--phone { fill: var(--paper); }
.v-line, .v-tick, .v-layer, .v-document, .v-arrow, .v-check { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.v-tick, .v-layer { stroke: #85867e; }
.v-tick--light { stroke: #e1e0d8; }
.v-check { stroke: var(--green); stroke-width: 1.8; }
.v-check--light { stroke: #fff; }
.v-accent, .v-signal { fill: var(--red); }
.v-avatar { fill: var(--ink); }
.v-fill { fill: rgba(182,66,46,.13); stroke: var(--red); stroke-width: 1.2; }
.v-muted-dot { fill: var(--line-dark); }
.solution-card:hover .v-signal--a { animation: visual-flow-a 900ms ease both; }
.solution-card:hover .v-signal--b { animation: visual-flow-b 900ms ease 180ms both; }
.solution-card:hover .v-chart { stroke: var(--red); }
.solution-card:hover .v-panel--accent { fill: var(--red); }
.solution-card:hover .v-arrow { transform: translateX(4px); }
.v-chart, .v-panel--accent, .v-arrow { transition: stroke 220ms ease, fill 220ms ease, transform 220ms ease; transform-box: fill-box; transform-origin: center; }
@keyframes visual-flow-a { 50% { transform: translateX(28px); } }
@keyframes visual-flow-b { 50% { transform: translateX(26px); } }
.solution-card h3 { max-width: 16ch; margin: 0 0 .8rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.45rem; line-height: 1.08; }
.solution-card h3 a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.solution-card h3 a:hover { color: var(--red); }
.solution-card p { margin: 0; color: var(--soft); font-size: .84rem; line-height: 1.6; }
.solution-card ul { list-style: none; margin: auto 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); }
.solution-card li { position: relative; padding: .26rem 0 .26rem 1rem; color: var(--soft); font-size: .76rem; }
.solution-card li::before { content: '→'; position: absolute; left: 0; color: var(--red); }

.process-section { width: 100%; max-width: none; padding-inline: max(1.5rem, calc((100% - 88rem) / 2)); color: #fff; background: var(--ink); }
.process-section .eyebrow { color: #d78070; }
.process-section .section-intro--split > p { color: #c7c7bf; }
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #565750; }
.process-grid li { min-height: 13rem; padding: 1.3rem; border-right: 1px solid #565750; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: #d78070; font-family: 'JetBrains Mono', monospace; font-size: .62rem; }
.process-grid h3 { margin: 3rem 0 .7rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; }
.process-grid p { margin: 0; color: #c7c7bf; font-size: .8rem; line-height: 1.6; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { position: relative; padding: 1.35rem 3.5rem 1.35rem 0; list-style: none; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 1.08rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details div { max-width: 55rem; padding: 0 0 1.35rem; }
.faq-list details p { margin: 0; color: var(--soft); line-height: 1.7; }
.faq-list details[open] div { animation: faq-open 260ms cubic-bezier(.2,.75,.2,1) both; }
@keyframes faq-open { from { opacity: .35; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.contact-section { width: 100%; max-width: none; padding-inline: max(1.5rem, calc((100% - 88rem) / 2)); background: #fff; }
.contact-heading { max-width: 55rem; margin-bottom: 2.7rem; }
.contact-heading h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.6rem, 5.5vw, 5.4rem); line-height: .95; letter-spacing: -.045em; }
.contact-heading > p:last-child { color: var(--soft); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr); gap: clamp(2.5rem, 7vw, 7rem); }
.inquiry-form { position: relative; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--ink); background: var(--card); box-shadow: 12px 12px 0 var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.inquiry-form label { display: grid; gap: .4rem; }
.inquiry-form label > span { font-size: .75rem; font-weight: 600; }
.inquiry-form label b { color: var(--red); }
.inquiry-form label small { color: var(--muted); font-weight: 400; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width: 100%; min-height: 2.8rem; padding: .7rem .75rem; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 0; font-size: .84rem; }
.inquiry-form textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.inquiry-form :focus { border-color: var(--red); outline: 3px solid rgba(182,66,46,.12); outline-offset: 0; }
.form-actions { margin-top: 1.1rem; }
.form-status { margin: 1rem 0 0; padding: .75rem .85rem; color: var(--soft); background: var(--paper); border-left: 3px solid var(--line-dark); font-size: .77rem; line-height: 1.5; }
.form-status--success { color: #1e563f; background: #edf6f0; border-color: var(--green); }
.form-status--error { color: #7f2c20; background: #fcede8; border-color: var(--red); }
.form-privacy { margin: .8rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.form-privacy a { color: var(--ink); text-underline-offset: .18rem; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.contact-aside { padding-top: .25rem; }
.contact-aside__label { display: block; margin-bottom: .8rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-email { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 600; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--red); }
.contact-aside > p { margin: 1rem 0 2rem; color: var(--soft); font-size: .83rem; line-height: 1.65; }
.contact-aside__steps { padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.contact-aside__steps > span { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .64rem; text-transform: uppercase; }
.contact-aside__steps ol { margin: 1rem 0 0; padding-left: 1.25rem; }
.contact-aside__steps li { padding: .38rem 0; color: var(--soft); font-size: .8rem; line-height: 1.5; }

.marketing-footer { color: #fff; background: var(--ink); }
.marketing-footer__main { width: min(100% - 3rem, 88rem); margin: 0 auto; padding: 3rem 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: flex-start; gap: .75rem; }
.footer-brand > div { display: grid; gap: .3rem; }
.footer-brand strong { font-family: 'Space Grotesk', sans-serif; }
.footer-brand span { color: #bdbdb5; font-size: .68rem; }
.marketing-footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .55rem 1rem; }
.marketing-footer nav a { color: #cecec7; font-size: .72rem; text-decoration: none; }
.marketing-footer nav a:hover { color: #fff; }
.footer-contact { display: grid; align-content: start; justify-content: end; gap: .45rem; }
.footer-contact span { color: #aaa9a2; font-size: .66rem; }
.footer-contact a { font-size: .84rem; }
.marketing-footer__bottom { width: min(100% - 3rem, 88rem); margin: 0 auto; padding: 1rem 0 1.4rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #393a35; color: #aaa9a2; font-size: .67rem; }
.client-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.client-links a { font-size: .67rem; }

.legal-page { width: min(100% - 3rem, 58rem); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.legal-page h1 { margin: 0 0 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: .95; letter-spacing: -.05em; }
.legal-page__intro { max-width: 42rem; margin: 0 0 3rem; color: var(--soft); font-size: 1.05rem; line-height: 1.7; }
.legal-page section { padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.legal-page section h2 { margin: 0 0 .75rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; }
.legal-page section p, .legal-page section li { color: var(--soft); line-height: 1.7; }
.legal-page section ul { padding-left: 1.25rem; }
.legal-page a { color: var(--ink); text-underline-offset: .2rem; }


@media (max-width: 1100px) {
  .marketing-hero { grid-template-columns: minmax(0, 1fr) minmax(27rem, .92fr); gap: 2.25rem; }
  .offer-layout { grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr); }
}
@media (max-width: 980px) {
  .hp .dg-nav__links { display: none; }
  .hp .dg-nav__burger { display: inline-block; min-width: 44px; min-height: 44px; }
  .hp .dg-nav__drawer { display: none; }
  .hp .dg-nav__drawer.open { display: block; }
  .hp .dg-nav__drawer a { min-height: 44px; display: flex; align-items: center; }
  .marketing-hero { min-height: auto; grid-template-columns: 1fr; padding-block: 4.5rem; }
  .marketing-hero h1 { max-width: 12ch; }
  .hero-system { width: min(100%, 40rem); justify-self: end; }
  .section-intro--split { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
  .section-intro--split > p { max-width: 42rem; }
  .offer-layout { grid-template-columns: 1fr; }
  .system-offer { min-height: 29rem; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid #565750; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { max-width: 38rem; }
}
@media (max-width: 700px) {
  .marketing-hero, .marketing-section, .marketing-footer__main, .marketing-footer__bottom, .legal-page { width: min(100% - 2rem, 88rem); }
  .offer-section, .problems-section, .process-section, .contact-section { width: 100%; padding-inline: 1rem; }
  .marketing-hero { padding-block: 3.8rem 4.5rem; }
  .marketing-hero h1 { max-width: 10ch; font-size: clamp(3rem, 13.5vw, 4.5rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-system { width: calc(100% - .45rem); justify-self: start; box-shadow: 8px 9px 24px rgba(44,38,28,.1), 6px 6px 0 rgba(182,66,46,.12); }
  .hero-system__top { align-items: flex-start; }
  .hero-system__top > span { max-width: 20ch; line-height: 1.45; }
  .hero-system__top button { min-width: 44px; min-height: 44px; }
  .hero-system__canvas { aspect-ratio: auto; padding: 1rem; display: grid; gap: 1.4rem; overflow: visible; }
  .hero-system__lines { display: none; }
  .flow-panel { position: relative; inset: auto; width: auto; transform: none !important; }
  .flow-panel:not(.flow-panel--customer)::after { content: '↓'; position: absolute; left: 50%; bottom: -1.2rem; color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: .72rem; transform: translateX(-50%); }
  .flow-panel--engine { padding: 1rem; }
  .flow-panel--engine ul { display: grid; grid-template-columns: repeat(3,1fr); gap: .45rem; }
  .flow-panel--engine li { font-size: .58rem; }
  .flow-panel--customer { grid-template-columns: 2rem 1fr 1.4rem; }
  .hero-system__status { font-size: .7rem; }
  .system-offer { min-height: 0; }
  .system-offer .button { margin-top: 0; }
  .website-offers article { flex-direction: column; }
  .demo-toolbar { align-items: stretch; flex-direction: column; }
  .view-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-progress { grid-template-columns: 1fr; gap: .75rem; }
  .demo-progress li { min-height: 2.25rem; }
  .demo-progress li:not(:last-child)::after { top: calc(100% - .1rem); left: .95rem; width: 1px; height: .95rem; transform: none; }

  .demo-progress li > div { padding-right: 0; }
  .demo-panel { min-height: 0; grid-template-columns: 1fr; gap: 1.5rem; }
  .demo-form-grid, .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .request-card__head, .request-detail { grid-template-columns: 1fr; }
  .request-card__head { flex-direction: column; }
  .status-pill { align-self: flex-start; }
  .operations-actions { display: grid; }
  .problem-grid, .solution-grid, .process-grid { grid-template-columns: 1fr; }
  .problem-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-grid article:last-child { border-bottom: 0; }
  .problem-grid h3 { margin-top: 2rem; }
  .solution-card { min-height: 23rem; }
  .service-visual { max-height: 9rem; }
  .process-grid li { min-height: auto; border-right: 0 !important; border-bottom: 1px solid #565750 !important; }
  .process-grid li:last-child { border-bottom: 0 !important; }
  .process-grid h3 { margin-top: 2rem; }
  .marketing-footer__main { grid-template-columns: 1fr; }
  .footer-contact { justify-content: start; }
  .marketing-footer__bottom { flex-direction: column; }
  .marketing-footer nav a, .client-links a { min-height: 44px; display: flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

  .hero-system.is-sequencing .flow-panel { opacity: 1; transform: none; box-shadow: 0 12px 28px rgba(38,33,26,.1); }
  .hero-system.is-sequencing .flow-dot { opacity: .95; transform: none; }
  [data-hero-replay] { display: none; }
}
