/* StructuredIT — site styles */
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #64748b;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e2e8f0;
  --brand: #1d4ed8;
  --brand-deep: #1e3a8a;
  --accent: #0d9488;
  --on-brand: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --ink-soft: #a5b4c8;
    --ink-faint: #8392a8;
    --bg: #0b1120;
    --bg-alt: #111a2e;
    --line: #1f2b44;
    --brand: #60a5fa;
    --brand-deep: #1e3a8a;
    --accent: #2dd4bf;
    --on-brand: #0b1120;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.logo span b { color: var(--brand); font-weight: 750; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 550; font-size: .97rem; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a.cta { background: var(--brand); color: var(--on-brand); }
.nav a.cta:hover { background: var(--brand-deep); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
section { padding: 84px 0; }
.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); }

.hero { padding: 104px 0 92px; background:
  radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(600px 300px at 0% 110%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.hero h1 { max-width: 18ch; }
.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; }

/* Grids & cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; left: 26px; font-weight: 800; color: var(--accent); letter-spacing: .05em; }

.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--ink-soft); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/14px no-repeat; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--ink-soft); }

/* Service detail */
.service { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
@media (min-width: 820px) { .service { grid-template-columns: 1fr 1fr; gap: 56px; } }
.service h2 { font-size: 1.7rem; }
.service p { color: var(--ink-soft); }
.service ul { margin: 0; color: var(--ink-soft); display: grid; gap: 6px; }
.service h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-deep), #0f766e); color: #fff; border-radius: 20px; padding: 56px clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.cta-band .btn { background: #fff; color: var(--brand-deep); }
.cta-band .btn:hover { background: #e0e7ff; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list .label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.contact-list a, .contact-list .value { font-size: 1.2rem; font-weight: 600; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 12px; }
.notfound .actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--ink-faint); font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: var(--ink); font-size: .95rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .88rem; }

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 72px 0 64px; }
  .nav a { padding: 6px 9px; font-size: .92rem; }
}
