:root {
  --ink: #111827;
  --muted: #4B5563;
  --bg: #FFFFFF;
  --bg-alt: #F5F5FA;
  --line: #E5E7EB;
  --brand: #3730A3;
  --brand-dark: #2A2482;
  --brand-soft: #EEF0FF;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F3F4F6;
    --muted: #B4B8C2;
    --bg: #0E0F14;
    --bg-alt: #161821;
    --line: #262A36;
    --brand: #A5B4FC;
    --brand-dark: #C7D2FE;
    --brand-soft: #1E2140;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand.small { font-size: 1.05rem; color: #FFFFFF; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.menu-toggle, .menu-button { display: none; }
@media (max-width: 760px) {
  .menu-button { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
  .menu-button span, .menu-button span::before, .menu-button span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
  .menu-button span::before { position: absolute; top: -7px; }
  .menu-button span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle:checked ~ .nav { display: flex; }
}

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; background: var(--brand); color: #FFFFFF; text-decoration: none; font-weight: 600; border: 0; font-size: 1rem; font-family: inherit; cursor: pointer; }
@media (prefers-color-scheme: dark) { .button { color: #0E0F14; } }
.button:hover { background: var(--brand-dark); }
.button.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.button.light { background: #FFFFFF; color: #2A2482; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

/* hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 64px; background: radial-gradient(1200px 500px at 85% 10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker { color: var(--brand); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.note { color: var(--muted); font-size: .9rem; }
.hero-art { position: relative; height: 520px; }
.phone { position: absolute; width: 230px; height: auto; border-radius: 34px; box-shadow: 0 24px 60px rgba(17, 24, 39, .22); border: 6px solid #111827; background: #111827; }
.p1 { left: 8%; top: 40px; transform: rotate(-6deg); }
.p2 { right: 4%; top: 0; transform: rotate(5deg); }
.hero-mark { position: absolute; left: 40%; bottom: 0; width: 110px; background: var(--bg); border-radius: 28px; padding: 14px; box-shadow: 0 10px 30px rgba(55, 48, 163, .25); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 340px; max-width: 420px; margin-inline: auto; width: 100%; }
  .phone { width: 140px; border-radius: 24px; border-width: 4px; }
  .p1 { left: 4%; top: 30px; }
  .p2 { right: 4%; }
  .hero-mark { width: 84px; border-radius: 22px; padding: 10px; left: calc(50% - 42px); }
}

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 46rem; margin-bottom: 36px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.service p { color: var(--muted); }
.service ul, .checks { padding: 0; margin: 12px 0 0; list-style: none; }
.service li, .checks li { padding-left: 22px; position: relative; margin: 6px 0; }
.service li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px; }
.feature { display: flex; gap: 20px; padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.feature:hover, .project:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17, 24, 39, .08); }
.feature-shot { width: 130px; height: auto; align-self: flex-start; border-radius: 18px; border: 4px solid #111827; background: #111827; }
.feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.feature-head img { border-radius: 11px; }
.feature-head h3 { margin: 0; }
.feature p, .project p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags span { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.group-title { font-size: 1.3rem; margin: 36px 0 16px; }
.group-title:first-of-type { margin-top: 0; }
.feature-wide { flex-direction: column; }
.feature-shot.wide { width: 100%; border-radius: 12px; border-width: 1px; border-color: var(--line); background: var(--bg); aspect-ratio: 3 / 2; object-fit: cover; object-position: top left; }
.more { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); font-weight: 600; }
@media (max-width: 520px) { .feature { flex-direction: column; } .feature-shot { width: 160px; } }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.project { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.project img { border-radius: 12px; flex-shrink: 0; }
.project h3 { margin: 0 0 4px; font-size: 1.02rem; }
.project p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.steps li { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--bg); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
.about { max-width: 820px; }
.about p { font-size: 1.08rem; color: var(--muted); }

.cta { text-align: center; background: linear-gradient(135deg, #3730A3, #1E1B4B); color: #FFFFFF; border-radius: 28px; padding: clamp(36px, 6vw, 64px) 24px; }
.cta p { color: #E0E7FF; margin-bottom: 24px; }

/* form */
.form { display: grid; gap: 16px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.small { font-size: .85rem; color: var(--muted); margin: 0; }
.status { min-height: 1.5em; font-weight: 600; }

/* footer */
.foot { background: #0E0F14; color: #C9CCD6; padding: 40px 0 24px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 10px 0 0; font-size: .9rem; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot nav a { color: #FFFFFF; text-decoration: none; }
.copy { font-size: .8rem; margin-top: 24px; color: #8C90A0; }
.legal { overflow-wrap: anywhere; }
