:root {
  color-scheme: light;
  --paper: #fff;
  --wash: #f4f6f8;
  --ink: #18212b;
  --muted: #596673;
  --rule: #d7dee6;
  --indigo: #3c4da6;
  --indigo-dark: #303f8f;
  --teal: #13a7a0;
  --green: #167a5b;
  --max: 1184px;
  --color-primary: var(--indigo);
  --color-shadow: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 Archivo, Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--indigo); outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
section[id], aside[id], #products { scroll-margin-top: 2rem; }
.wrap { width: min(var(--max), calc(100% - 72px)); margin-inline: auto; }
.site-header { background: var(--ink); color: white; border-bottom: 1px solid #35414e; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.header-inner { min-height: 90px; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; text-decoration: none; font-weight: 860; letter-spacing: -.075em; line-height: 1; }
.brand img { object-fit: contain; }
.brand small { font-size: .76em; font-weight: 410; letter-spacing: -.05em; }
.site-header .brand { font-size: clamp(2.05rem, 3.65vw, 3rem); max-width: 100%; }
.brand-text { display: flex; min-width: 0; align-items: center; gap: clamp(.85rem, 1.65vw, 1.5rem); }
.brand-wordmark { white-space: nowrap; }
.brand-promise { padding-inline-start: clamp(.85rem, 1.65vw, 1.5rem); border-inline-start: 1px solid #536171; color: #d3e1ea; font-size: clamp(.92rem, 1.35vw, 1.19rem); font-weight: 480; line-height: 1.25; letter-spacing: -.02em; }
.brand-promise strong { color: #ace4de; font-weight: 690; }
.site-header .brand img { flex: none; width: clamp(48px, 5vw, 62px); height: clamp(48px, 5vw, 62px); background: #f4faf9; border: 2px solid #ace4de; border-radius: 50%; box-shadow: 3px 3px 0 #13a7a0; }
.site-header .brand small { color: #d3e1ea; }
.site-header a:focus-visible { outline-color: #ace4de; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(.72rem, 1.38vw, 1.25rem); }
nav a { text-decoration: none; font-size: .95rem; font-weight: 680; }
nav a:hover { color: #ace4de; }
nav .contact-link { padding: .56rem .73rem; border: 1px solid #93a6b7; border-radius: 7px; }
nav .contact-link:hover { border-color: #ace4de; }

.hero { background: radial-gradient(ellipse at 84% 22%, #ecf6f5 0%, transparent 49%), var(--wash); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; column-gap: clamp(34px, 6vw, 96px); padding-block: clamp(54px, 6.25vw, 90px) clamp(50px, 6vw, 86px); }
.hero h1 { font-size: clamp(3.3rem, 5.65vw, 5.45rem); font-weight: 780; letter-spacing: -.065em; }
.hero h1 span { display: block; color: var(--indigo); }
.hero-flow { margin-top: 1.42rem; max-width: 34rem; }
.hero-flow-tabs:not([hidden]) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.35vw, .95rem); }
.hero-flow-tabs button { position: relative; min-height: 45px; padding: .5rem .37rem; background: #ffffffb0; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); font: 740 clamp(.78rem, 1.28vw, 1rem)/1.15 Archivo, Arial, sans-serif; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.hero-flow-tabs button:hover { background: white; border-color: #a2b3bf; }
.hero-flow-tabs button[aria-selected="true"] { background: #d5efeb; border-color: #8fc9c1; color: #164d49; }
.hero-flow-tabs button:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + clamp(.08rem, .34vw, .25rem)); width: .28rem; height: .28rem; border-block-start: 1px solid #68807f; border-inline-end: 1px solid #68807f; transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.hero-flow-tabs button:focus-visible { outline-offset: 2px; }
.hero-flow-details { min-block-size: 2.35rem; padding: .64rem .12rem 0; color: #3d4b58; font-size: clamp(.85rem, 1.32vw, .97rem); line-height: 1.42; }
.hero-flow-detail strong { color: var(--ink); }
.hero-flow-detail.is-entering { animation: story-enter 180ms ease-out both; }
.hero-copy > .actions { margin-top: 1.3rem; }
.actions { margin-top: 1.85rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; text-decoration: none; }
.button { padding: .83rem 1.05rem; border-radius: 7px; background: var(--indigo); color: white; }
.button:hover { background: var(--indigo-dark); }
.arrow { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.score { position: relative; margin-top: 12px; border-radius: 13px; background: white; box-shadow: 0 22px 55px -27px #18212b70, 0 0 0 1px #18212b16; }
.score-head { padding: 1.35rem 1.4rem 1.45rem; border-radius: 13px 13px 0 0; background: var(--ink); color: white; }
.score-head p { font-size: .73rem; font-weight: 680; color: #b9c6d3; }
.score-head h2 { margin-top: .44rem; font-size: clamp(1.36rem, 2.55vw, 2.1rem); }
.score-head h2, .score-head p { max-width: 72%; }
.score-mascot { pointer-events: none; position: absolute; z-index: 1; top: -46px; right: .3rem; width: clamp(104px, 15.2vw, 193px); filter: drop-shadow(0 7px 4px #18212b32); }
.score dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1.35rem .66rem; }
.score dl div { padding-inline: clamp(.4rem, 1.3vw, .85rem); }
.score dl div + div { border-left: 1px solid var(--rule); }
.score dt { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.score dd { font-size: clamp(1.16rem, 2.65vw, 2rem); line-height: 1.14; font-weight: 760; letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap; margin: .23rem 0; }
.score dl small { color: var(--green); font-size: .69rem; font-weight: 680; display: block; }
.score-call { margin: 0 .92rem .92rem; border-left: 3px solid var(--teal); padding: .7rem .85rem; background: #eef8f7; font-size: .9rem; }
.score-call strong { display: block; font-size: .75rem; color: #286864; }
.score-call p { margin-top: .16rem; }
.score-footer { padding: .64rem 1.4rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .74rem; }

.workflow { padding-block: clamp(48px, 6.5vw, 96px); }
.section-heading { font-size: clamp(2.15rem, 4.1vw, 3.7rem); font-weight: 760; letter-spacing: -.066em; }
.sample-label { margin-top: .62rem; color: var(--muted); font-size: .94rem; }
.story { margin-top: clamp(22px, 3.5vw, 38px); border: 1px solid var(--rule); border-radius: 17px; overflow: clip; }
.story-tabs:not([hidden]) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px; gap: 5px; background: white; border-bottom: 1px solid var(--rule); }
.story-tabs button { min-height: 48px; padding: .5rem .6rem; color: var(--muted); background: transparent; border: 0; border-radius: 10px; font: 700 .92rem/1.2 Archivo, Arial, sans-serif; cursor: pointer; }
.story-tabs button:hover { background: var(--wash); color: var(--ink); }
.story-tabs button[aria-selected="true"] { background: var(--ink); color: white; }
.story-tabs button:focus-visible, .story-panel:focus-visible { outline: 2px solid var(--indigo); outline-offset: -3px; }
.story-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.25fr); align-items: center; gap: clamp(1.25rem, 4vw, 4rem); min-height: 305px; padding: clamp(1.25rem, 4.6vw, 3.55rem); }
.story-panel + .story-panel:not([hidden]) { border-top: 1px solid var(--rule); }
.story-tabs:not([hidden]) ~ .story-panel { border-top: 0; }
.story-shelf { background: #e8f5f3; }
.story-decision { background: var(--wash); }
.story-follow-up { background: #edf0fd; }
.story-panel.is-entering { animation: story-enter 210ms ease-out both; }
@keyframes story-enter { from { opacity: .56; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.story-copy h3 { max-width: 14ch; font-size: clamp(1.8rem, 3.4vw, 3.15rem); }
.story-copy p { max-width: 28ch; margin-top: .65rem; color: #3d4b58; }
.product-name { display: inline-block; margin-bottom: .7rem; color: var(--indigo-dark); font-weight: 740; text-underline-offset: .2em; }

.story-visual { min-width: 0; padding: clamp(.9rem, 2.5vw, 1.55rem); background: white; border: 1px solid #18212b23; border-radius: 12px; box-shadow: 0 13px 27px -23px #18212b8f; }
.visual-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; gap: .65rem 1.1rem; }
.visual-heading span, .brief span { display: block; color: var(--muted); font-size: .78rem; }
.metric-gain { border-left: 2px solid var(--teal); padding-left: .7rem; }
.metric-gain strong { display: block; color: var(--green); font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.1; letter-spacing: -.04em; }
.availability { margin-top: 1.35rem; }
.bar-labels, .bar-axis { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .73rem; }
.actual-label { color: #1d6561; font-size: .98rem; font-weight: 800; }
.target-label { color: var(--muted); font-weight: 710; }
.bar-track { position: relative; height: 14px; margin-block: .32rem .42rem; background: var(--wash); border-radius: 4px; }
.bar-value { display: block; width: 42%; height: 100%; background: var(--teal); border-radius: inherit; }
.bar-target { position: absolute; top: -3px; bottom: -3px; left: 85%; border-left: 2px dashed var(--ink); }
.bar-axis { color: var(--muted); }
.visual-title { margin-bottom: .62rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.brief { margin: 0; padding: 0 0 0 1.05rem; border-left: 2px solid #c2c9e7; list-style: none; }
.brief li { position: relative; }
.brief li::before { content: ""; position: absolute; top: .42rem; left: -1.36rem; width: .5rem; height: .5rem; background: var(--indigo); border-radius: 50%; }
.brief li + li { margin-top: .82rem; }
.brief strong { display: block; line-height: 1.3; }
.task-title { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 760; line-height: 1.24; letter-spacing: -.035em; }
.task-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: .78rem; padding-top: .67rem; border-top: 1px solid var(--rule); }
.task-details dt { color: var(--muted); font-size: .75rem; }
.task-details dd { color: var(--indigo-dark); font-size: .87rem; font-weight: 720; }

.product-band { padding-bottom: clamp(48px, 6.5vw, 96px); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.product { padding: clamp(1rem, 2.1vw, 1.7rem); border: 1px solid var(--rule); border-radius: 17px; }
.product-analytics { background: #e8f5f3; }
.product-crm { background: #edf0fd; }
.product-copy { margin: .15rem 0 1.05rem; }
.product h2 { font-size: clamp(1.8rem, 3.3vw, 3rem); }
.product p { margin-top: .38rem; color: #3d4b58; }
.screen { min-width: 0; }
.screen img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: top; background: white; }
.screen button { position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in; overflow: hidden; border: 1px solid #18212b38; border-radius: 10px; background: white; box-shadow: 0 16px 31px -22px #18212b95; transition: transform 180ms ease, box-shadow 180ms ease; }
.screen button:hover { transform: translateY(-3px); box-shadow: 0 19px 36px -18px #18212b95; }
.screen-action { position: absolute; bottom: .55rem; right: .55rem; padding: .4rem .65rem; border-radius: 6px; background: var(--ink); color: white; font: 660 .75rem/1.2 Archivo, Arial, sans-serif; }

.screen-dialog { width: min(1320px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: .75rem; border: 1px solid var(--rule); border-radius: 12px; background: white; }
.screen-dialog::backdrop { background: #18212bd9; }
.screen-dialog img { width: 100%; }
.screen-dialog form { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.screen-dialog button { padding: .45rem .8rem; border: 1px solid var(--rule); border-radius: 5px; background: var(--wash); font: inherit; cursor: pointer; }

.contact { background: var(--ink); color: white; }
.contact-inner { padding-block: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 3rem; }
.contact h2 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 35rem; }
.contact .button { background: white; color: var(--ink); }
.contact .button:hover { background: #dcf1ef; }
.contact a:focus-visible { outline-color: white; }
.footer-inner { min-height: 75px; flex-wrap: wrap; padding-block: .7rem; }
.footer-inner p { color: var(--muted); font-size: .8rem; }
.footer-inner .brand { font-size: 1.45rem; }
.footer-inner .brand small { color: var(--muted); }
.footer-inner .brand img { width: 31px; height: 31px; }

@media (max-width: 1240px) {
  .brand-text { flex-direction: column; align-items: flex-start; gap: .26rem; }
  .brand-promise { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .hero-inner { column-gap: 25px; }
  .score-head { padding-inline: 1rem; }
  .score-footer { padding-inline: 1rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { padding-block: .75rem; gap: .8rem 1.2rem; min-height: 72px; flex-wrap: wrap; }
  .site-header .brand { gap: .58rem; }
  nav a { font-size: .86rem; }
  nav .contact-link { padding: .39rem .65rem; }
  .hero-inner { grid-template-columns: 1fr; row-gap: 2.65rem; padding-block: 38px 40px; }
  .hero h1 { max-width: 11.2ch; font-size: clamp(3rem, 11vw, 4.6rem); }
  .score { max-width: 32rem; }
  .score dl div { padding-inline: .6rem; }
  .score-mascot { width: clamp(120px, 25vw, 156px); top: -31px; }
  .story-panel:not([hidden]) { grid-template-columns: 1fr; gap: 1rem; min-height: 0; }
  .story-copy h3, .story-copy p { max-width: none; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 875px) {
  .header-inner { justify-content: flex-start; flex-wrap: wrap; gap: .8rem; }
  nav { width: 100%; gap: .45rem .86rem; border-top: 1px solid #35414e; padding-top: .65rem; }
}
@media (max-width: 385px) {
  .score dl div { padding-inline: .42rem; }
  .story-tabs button { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-flow-detail.is-entering, .story-panel.is-entering { animation: none; }
  .hero-flow-tabs button { transition: none; }
  .screen button { transition: none; }
  .screen button:hover { transform: none; }
}
