
:root {
  --ink: #0A1020;
  --ink-soft: #182033;
  --text: #182033;
  --muted: #667085;
  --paper: #F8F5EF;
  --paper-2: #EFE8DD;
  --white: #FFFFFF;
  --line: rgba(10,16,32,.14);
  --line-strong: rgba(10,16,32,.22);
  --blue: #1647FF;
  --green: #17A77C;
  --sand: #E8DDCF;
  --radius: 24px;
  --shadow: 0 22px 70px rgba(10,16,32,.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(22, 71, 255, .08), transparent 32rem),
    radial-gradient(circle at 8% 18%, rgba(23, 167, 124, .08), transparent 28rem),
    var(--paper);
  line-height: 1.55;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
p { color: var(--text); }
img, svg { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 16px; }

.site-header,
.hero,
.page-hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248,245,239,.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(10,16,32,.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

.brand-symbol {
  display: none;
}

.brand-text {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(10,16,32,.06);
}

.main-nav .nav-button {
  margin-left: 4px;
  padding: 12px 17px;
  background: var(--ink);
  color: white;
}

.main-nav .nav-button:hover {
  background: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  border-radius: 14px;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.eyebrow,
.section-label,
.tag {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 760;
}

.lead {
  max-width: 710px;
  color: #465167;
  font-size: clamp(18px, 1.7vw, 21px);
}

.wide-text {
  max-width: 880px;
  color: #465167;
  font-size: 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 36px;
  align-items: center;
  min-height: 610px;
  margin-top: 48px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.50)),
    linear-gradient(90deg, rgba(10,16,32,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10,16,32,.035) 1px, transparent 1px);
  background-size: auto, 86px 86px, 86px 86px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

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

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(22,71,255,.18);
}

.button-primary:hover { background: var(--ink); }

.button-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.62);
}

.hero-panel {
  min-height: 410px;
  padding: 24px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
  box-shadow: 0 24px 70px rgba(10,16,32,.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  font-weight: 700;
}

.signal {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(23,167,124,.16);
}

.terminal-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-card p {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.terminal-card p:last-child { border-bottom: 0; }

.terminal-card span {
  color: #7EE6C4;
  margin-right: 12px;
}

.section { margin-top: 104px; }
.section.compact { max-width: 940px; }

.section-head,
.cta,
.split,
.proof-section,
.contact-layout,
.method-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.text-link {
  justify-self: end;
  align-self: end;
  font-weight: 800;
  color: var(--blue);
}

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

.expertise-card,
.case-card,
.value-card,
.service-tile,
.contact-main,
.contact-aside,
.company-facts,
.legal-text {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
}

.expertise-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, background .18s ease;
}

.expertise-card:hover,
.service-tile:hover {
  transform: translateY(-3px);
  background: white;
}

.expertise-card span,
.service-tile span {
  margin-bottom: auto;
  color: var(--green);
  font-weight: 900;
}

.expertise-card p,
.case-card p,
.value-card p,
.service-tile p,
.method-steps p,
.faq details p {
  color: #536077;
}

.proof-section {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 32px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.proof-section h2,
.proof-section p { color: inherit; }

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
}

.proof-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.proof-list p {
  margin-bottom: 0;
  color: rgba(255,255,255,.74);
}

.case-grid,
.values,
.facts-grid,
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.case-card,
.value-card,
.contact-main,
.contact-aside,
.legal-text {
  padding: 28px;
}

.case-card .tag { margin-bottom: 30px; }

.cta {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 10%, rgba(22,71,255,.10), transparent 20rem),
    rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  align-items: center;
}

.cta .button { justify-self: end; }

.page-hero {
  margin-top: 56px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.54)),
    linear-gradient(90deg, rgba(10,16,32,.030) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10,16,32,.030) 1px, transparent 1px);
  background-size: auto, 86px 86px, 86px 86px;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(38px, 5.2vw, 66px);
}

.keyword-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.keyword-line span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: #465167;
  font-size: 13px;
  font-weight: 750;
}

.rich-text p {
  color: #465167;
  font-size: 18px;
}

.company-facts {
  padding: 30px;
}

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

.facts-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.facts-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.service-tile {
  min-height: 230px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, background .18s ease;
}

.service-tile span {
  margin-bottom: 42px;
}

.check-list ul,
.use-cases {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.use-cases li {
  position: relative;
  padding: 16px 16px 16px 46px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  font-weight: 700;
}

.check-list li:before,
.use-cases li:before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 16px;
  color: var(--green);
  font-weight: 900;
}

.problem-section {
  max-width: 940px;
}

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

.method-steps div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.70);
}

.method-steps span {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 900;
}

.method-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.method-steps p { margin-bottom: 0; }

.faq {
  max-width: 900px;
}

.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq details p {
  padding: 0 20px 18px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  font-weight: 800;
}

.contact-layout { align-items: stretch; }

.contact-main h2,
.contact-aside h2,
.legal-text h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.contact-aside a,
.legal-text a,
.company-facts a {
  color: var(--blue);
  font-weight: 800;
}

.legal-text {
  max-width: 900px;
}

.legal-text h2 {
  margin-top: 30px;
}

.legal-text h2:first-child { margin-top: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  gap: 28px;
  margin-top: 104px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 8px;
  color: #536077;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo {
  width: 140px;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-button { display: block; }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(248,245,239,.97);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .main-nav .nav-button {
    margin-left: 0;
    text-align: center;
  }

  .hero,
  .section-head,
  .cta,
  .split,
  .proof-section,
  .contact-layout,
  .method-block,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 340px;
  }

  .expertise-grid,
  .case-grid,
  .values,
  .facts-grid,
  .service-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .text-link,
  .cta .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    top: 8px;
  }

  .brand-logo {
    width: 130px;
  }

  .hero,
  .page-hero {
    margin-top: 34px;
    padding: 24px;
    border-radius: 26px;
  }

  .section {
    margin-top: 72px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -.04em;
  }

  h2 {
    font-size: 30px;
    letter-spacing: -.035em;
  }

  .lead,
  .wide-text {
    font-size: 17px;
  }

  .expertise-grid,
  .case-grid,
  .values,
  .facts-grid,
  .service-tiles,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .expertise-card,
  .service-tile {
    min-height: auto;
  }

  .expertise-card span,
  .service-tile span {
    margin-bottom: 34px;
  }

  .proof-section,
  .cta {
    padding: 24px;
    border-radius: 26px;
  }
}
