:root {
  --ink: #10233f;
  --ink-soft: #4f6177;
  --paper: #f7f4ee;
  --white: #ffffff;
  --accent: #e66c3d;
  --accent-soft: #f6d7c9;
  --teal: #1b7f79;
  --line: rgba(16, 35, 63, 0.14);
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--white); }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; letter-spacing: .04em; }
.brand strong { font-weight: 850; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--ink); border-radius: 12px; }
.brand-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; }
.brand-mark circle { fill: var(--accent); stroke: var(--accent); }
.site-header nav { display: flex; gap: 2rem; align-items: center; }
.site-header nav a { text-decoration: none; font-size: .93rem; font-weight: 650; }
.nav-contact { padding: .72rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; }

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 5rem;
  align-items: center;
  padding: 80px 0 100px;
}
.eyebrow { margin: 0 0 1.2rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.5rem; max-width: 780px; font-size: clamp(3rem, 6.3vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.lead { max-width: 680px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.3rem; border-radius: 9px; text-decoration: none; font-weight: 750; }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 32px rgba(16, 35, 63, .18); }
.button-primary:hover { background: #1a3558; transform: translateY(-1px); }
.text-link { text-underline-offset: 5px; font-weight: 700; }

.hero-visual { align-self: stretch; min-height: 470px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: var(--white); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.hero-visual > p { margin: 0; max-width: 270px; color: rgba(255,255,255,.74); font-size: .95rem; }
.network-grid { position: relative; min-height: 360px; }
.network-grid::before { content: ""; position: absolute; inset: -60px; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 38px 38px; transform: rotate(-8deg); }
.line { position: absolute; height: 2px; background: linear-gradient(90deg, var(--accent), var(--teal)); transform-origin: left center; opacity: .75; }
.line-a { width: 230px; left: 64px; top: 82px; transform: rotate(30deg); }
.line-b { width: 195px; left: 55px; top: 243px; transform: rotate(-27deg); }
.line-c { width: 205px; left: 190px; top: 150px; transform: rotate(56deg); }
.node { position: absolute; z-index: 2; display: flex; gap: .65rem; align-items: center; color: rgba(255,255,255,.88); font-size: .82rem; }
.node i { display: block; width: 18px; height: 18px; background: var(--accent); border: 4px solid rgba(255,255,255,.15); outline: 1px solid var(--accent); border-radius: 50%; }
.node b { font-weight: 650; }
.node-a { left: 42px; top: 66px; }
.node-b { right: 20px; top: 178px; }
.node-c { left: 36px; bottom: 62px; }
.node-d { right: 28px; top: 44px; }
.node-d i { background: var(--teal); outline-color: var(--teal); }

.section { padding: 110px max(24px, calc((100% - 1180px) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.expertises { color: var(--white); background: var(--ink); }
.expertises .eyebrow { color: #71c8c0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.card { min-height: 310px; padding: 2.2rem; background: var(--ink); }
.card.featured { background: #183253; }
.card-number { display: block; margin-bottom: 5.8rem; color: #71c8c0; font-size: .8rem; font-weight: 800; }
.card h3 { font-size: 1.35rem; }
.card p { color: rgba(255,255,255,.68); }

.method { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7rem; align-items: start; }
.method-intro > p:last-child { max-width: 580px; color: var(--ink-soft); font-size: 1.05rem; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--teal); border-radius: 50%; font-weight: 800; }
.steps strong { display: block; margin-bottom: .25rem; font-size: 1.15rem; }
.steps p { margin-bottom: 0; color: var(--ink-soft); }

.proof { min-height: 140px; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 4rem); color: var(--white); background: var(--accent); }
.proof p { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.65rem); font-weight: 800; }
.proof span { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; opacity: .7; }

.contact { padding: 110px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: end; background: var(--white); }
.contact > div:first-child > p:last-child { max-width: 650px; color: var(--ink-soft); }
.contact-panel { padding: 2rem; color: var(--white); background: var(--ink); border-radius: 16px; }
.contact-panel p { margin-bottom: .5rem; color: #71c8c0; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel a { display: block; margin-bottom: 1.4rem; overflow-wrap: anywhere; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 750; text-underline-offset: 5px; }
.contact-panel span { color: rgba(255,255,255,.65); font-size: .9rem; }

footer { padding: 46px max(24px, calc((100% - 1180px) / 2)); color: rgba(255,255,255,.74); background: #0b192d; }
.footer-brand { color: var(--white); }
footer > p { margin: 1rem 0 2.2rem; }
footer > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
footer a { text-underline-offset: 4px; }

.legal-page { min-height: 100vh; background: var(--white); }
.legal-main { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-main h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.legal-main h2 { margin-top: 3rem; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main a { text-underline-offset: 4px; }
.back-link { display: inline-block; margin-bottom: 2rem; font-weight: 700; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-contact) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { min-height: 430px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 2rem; }
  .method, .contact { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .site-header, .hero { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-contact { padding: .6rem .8rem; font-size: .84rem !important; }
  .hero { padding: 58px 0 70px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .hero-visual { min-height: 390px; padding: 1.2rem; }
  .line-a { width: 175px; }
  .line-b { width: 145px; }
  .line-c { width: 155px; left: 135px; }
  .section, .contact { padding-top: 78px; padding-bottom: 78px; }
  .proof { min-height: 110px; gap: .6rem; }
  .proof p { font-size: .95rem; }
  footer > div { flex-direction: column; }
}

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