:root {
  color-scheme: light;
  --ink: #15101f;
  --ink-2: #292437;
  --paper: #f7f2ea;
  --paper-2: #fffaf2;
  --line: rgba(21, 16, 31, 0.13);
  --muted: #675f72;
  --violet: #7950df;
  --violet-2: #4f2ca4;
  --emerald: #25a56b;
  --cyan: #1397ad;
  --gold: #caa256;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(21, 16, 31, 0.16);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(121, 80, 223, 0.22);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-150%);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.header-solid {
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(21, 16, 31, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0.72;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 720;
  opacity: 0.82;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(121, 80, 223, 0.12);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(121, 80, 223, 0.32);
}

.btn-primary:hover {
  background: var(--violet-2);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled .btn-outline,
.site-header.header-solid .btn-outline,
.btn-outline.dark {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
}

.btn-soft {
  background: rgba(37, 165, 107, 0.12);
  color: #0c6a43;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-2);
  font-weight: 850;
}

.text-link::after {
  content: "";
  width: 18px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) left 4px / 16px 2px no-repeat,
    linear-gradient(45deg, transparent 47%, currentColor 49% 56%, transparent 58%) right center / 9px 9px no-repeat;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: clip;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 8, 25, 0.92), rgba(13, 8, 25, 0.62) 46%, rgba(13, 8, 25, 0.2)),
    url("../assets/hero-dashboard.png") center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(21, 16, 31, 0.76), rgba(21, 16, 31, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  padding: 150px 0 76px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5.35rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 46px 0 0;
  width: min(100%, 700px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div:last-child {
  border-right: 0;
  padding-left: 18px;
}

.hero-proof dt {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 72px 0;
}

.band-light {
  background: var(--paper-2);
}

.band-ink {
  background: var(--ink);
  color: var(--white);
}

.band-sage {
  background: #ecf4ee;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.page-intro h1,
.content-block h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.page-intro p,
.content-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.band-ink .section-heading p,
.band-ink .content-block p {
  color: rgba(255, 255, 255, 0.68);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.article-card,
.case-card,
.value-card,
.step-card,
.contact-card,
.stat-card,
.tool-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.band-ink .service-card,
.band-ink .case-card,
.band-ink .step-card,
.band-ink .tool-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.service-mark,
.case-label,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(121, 80, 223, 0.12);
  color: var(--violet-2);
  font-size: 0.78rem;
  font-weight: 850;
}

.band-ink .service-mark,
.band-ink .case-label,
.band-ink .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #d8cbff;
}

.service-card h3,
.article-card h3,
.case-card h3,
.value-card h3,
.step-card h3,
.tool-card h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.service-card p,
.article-card p,
.case-card p,
.value-card p,
.step-card p,
.tool-card p {
  margin: 0;
  color: var(--muted);
}

.band-ink .service-card p,
.band-ink .case-card p,
.band-ink .step-card p,
.band-ink .tool-card p {
  color: rgba(255, 255, 255, 0.66);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.62fr);
  gap: 64px;
  align-items: center;
}

.visual-frame {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background: url("../assets/hero-dashboard.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 16, 31, 0.06), rgba(21, 16, 31, 0.26));
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.band-ink .process-list span {
  background: var(--white);
  color: var(--ink);
}

.process-list strong {
  display: block;
  margin-bottom: 3px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.band-ink .process-list p {
  color: rgba(255, 255, 255, 0.66);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.metric-strip div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  min-height: 48svh;
  display: flex;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 8, 25, 0.94), rgba(13, 8, 25, 0.74) 52%, rgba(13, 8, 25, 0.22)),
    url("../assets/hero-dashboard.png") center / cover no-repeat;
  overflow: clip;
}

.page-intro {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  padding: 150px 0 72px;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 18px;
  max-width: 820px;
  font-size: 1.16rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.58;
}

.content-block {
  max-width: 720px;
}

.content-block .lead-dark {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.18rem;
}

.quote-band {
  padding: 34px;
  border-left: 4px solid var(--violet);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(21, 16, 31, 0.08);
}

.quote-band p {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card time {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.case-card ul,
.tool-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.case-card li + li,
.tool-card li + li {
  margin-top: 8px;
}

.band-ink .case-card ul,
.band-ink .tool-card ul {
  color: rgba(255, 255, 255, 0.68);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.logo-cloud span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.48fr);
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-2);
  font-weight: 850;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(21, 16, 31, 0.18);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(121, 80, 223, 0.13);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.contact-card {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card p,
.contact-card a {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card a:hover {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  color: var(--white);
}

.site-footer {
  background: #0f0b18;
  color: var(--white);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(160px, 0.4fr));
  gap: 34px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(390px, 100%);
    padding: 96px 24px 28px;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: -20px 0 60px rgba(21, 16, 31, 0.2);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-panel.is-open {
    transform: translateX(0);
  }

  .nav-links {
    display: grid;
    gap: 8px;
  }

  .nav-links a {
    min-height: 48px;
    padding-inline: 14px;
  }

  .section-heading,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .visual-frame {
    min-height: 360px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86svh;
    background-position: center right 36%;
  }

  .hero-content {
    padding: 116px 0 52px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .page-intro h1 {
    font-size: 3.35rem;
  }

  .hero .lead {
    font-size: 1.06rem;
    max-width: 33ch;
  }

  .hero-proof,
  .grid-2,
  .grid-3,
  .grid-4,
  .field-grid,
  .metric-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .hero-proof div:last-child,
  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0;
  }

  .metric-strip div {
    border-bottom-color: var(--line);
  }

  .hero-proof div:last-child,
  .metric-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 0;
  }

  .section.compact {
    padding: 56px 0;
  }

  .section-heading h2,
  .content-block h2 {
    font-size: 2.15rem;
  }

  .page-intro {
    padding: 116px 0 56px;
  }

  .page-hero {
    min-height: 44svh;
  }

  .visual-frame {
    min-height: 280px;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .page-intro h1 {
    font-size: 2.7rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-card,
  .article-card,
  .case-card,
  .value-card,
  .step-card,
  .contact-card,
  .stat-card,
  .tool-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
