/* Singelton – website styles */
:root {
  --ink: #12161C;
  --ink-2: #3B424B;
  --muted: #4A515A;
  --bg: #F5F6F3;
  --white: #FFFFFF;
  --line: #DDE0DA;
  --accent: #1F3FCC;
  --accent-hover: #152C91;
  --accent-light: #7C9BFF;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-logo: "Sora", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--font-logo); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo .dot { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
.lang { display: flex; gap: 4px; font-size: 13px; font-weight: 600; }
.lang a { padding: 6px 8px; border-radius: 6px; color: var(--muted); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--white); }
.btn { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; line-height: 1.2; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); padding: 16px 26px; font-size: 16px; border-radius: 12px; }
.btn-dark:hover { background: #2A3138; color: var(--white); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); padding: 16px 26px; font-size: 16px; border-radius: 12px; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: max(220px, 23.61vw); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: calc(max(220px, 23.61vw) + 64px); display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { max-width: 800px; font-weight: 700; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
.lead { max-width: 620px; font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }

/* Sections */
.section { padding-top: 110px; padding-bottom: 110px; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--bg); }
.section .wrap { display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; max-width: 600px; }
.section-head p { max-width: 430px; font-size: 17px; color: var(--muted); }
.section-dark .section-head p { color: #B9BFC7; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { padding: 32px; border-radius: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-size: 23px; letter-spacing: -0.01em; }
.card p { color: var(--ink-2); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-weight: 500; }
.chips li { padding: 12px 18px; border: 1px solid #3A414B; border-radius: 999px; }
.chips li.chip-ai { border-color: var(--accent-light); color: #AFC1FF; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--accent); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-2); }

.clients { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.client { padding: 36px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, transform .15s; }
.client:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.client-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 16px; }
.client-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.badge { padding: 6px 12px; border-radius: 999px; background: #E8ECFF; color: var(--accent); font-size: 14px; font-weight: 600; }
.client-desc { color: var(--ink-2); }
.client-link { font-size: 15px; font-weight: 600; color: var(--accent); }

/* Contact */
.contact-box { border-radius: 24px; background: var(--accent); color: var(--white); padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.contact-box h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.contact-box p { font-size: 18px; color: #E3E8FF; margin-top: 16px; }
.contact-mail { padding: 18px 28px; border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.contact-mail:hover { background: #E8ECFF; color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.footer-info { display: flex; flex-direction: column; gap: 4px; }
.footer-info .logo { font-size: 24px; padding-bottom: 8px; }
.footer-info a { color: var(--muted); }
.footer-side { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header { position: static; }
  .nav { gap: 8px 18px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 260px; }
  .hero-mountains { height: 200px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section .wrap { gap: 36px; }
  .footer-side { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .client { transition: none; }
}
