/* Akulis — layout: friendly rounded cards on a cool white ground; brand gradient (cyan → blue → violet) from the logo used sparingly; the "i-dot" sphere as a recurring marker */
:root {
  color-scheme: light;
  --bg: #f5f7ff;
  --surface: #ffffff;
  --ink: #141a46;
  --muted: #5b6390;
  --line: #e3e7f8;
  --accent: #1d5cf0;
  --soft: #ebf1ff;
  --navy: #141a46;
  --cyan: #19b8f0;
  --violet: #7a3cf0;
  --grad: linear-gradient(120deg, #19b8f0 0%, #1d5cf0 55%, #7a3cf0 100%);
  --sphere: radial-gradient(circle at 35% 30%, #5fdcff 0%, #1d5cf0 55%, #7a3cf0 100%);
  --ok: #18a058;
  --warn: #e08a14;

  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;

  --s-1: clamp(2.5rem, 5.4vw, 4.2rem);
  --s-2: clamp(1.8rem, 3.2vw, 2.5rem);
  --s-3: 1.3rem;
  --r-lg: 24px;
  --r-md: 18px;
  --shadow: 0 1px 2px rgba(20, 26, 70, 0.04), 0 12px 32px -16px rgba(20, 26, 70, 0.18);
  --wrap: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.07rem; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: var(--s-1); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--s-2); font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: var(--s-3); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 0.86rem; font-weight: 600; color: var(--accent); background: var(--soft);
  padding: 5px 14px 5px 10px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sphere); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; font-weight: 500; padding: 8px 13px; border-radius: 999px; transition: background 0.15s; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--soft); color: var(--accent); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--f-body);
  padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(29, 92, 240, 0.7);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(29, 92, 240, 0.75); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.nav .btn { margin-left: 8px; padding: 10px 18px; color: #fff; }
.nav .btn:hover { background: var(--grad); }
.menu-toggle { display: none; margin-left: auto; background: var(--soft); border: 0; color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 0.95rem var(--f-body); cursor: pointer; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 100px) clamp(48px, 7vw, 88px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; z-index: 0; pointer-events: none; }
.hero::before { width: 460px; height: 460px; background: #9fe4ff; top: -160px; right: 8%; }
.hero::after { width: 380px; height: 380px; background: #c7b2ff; bottom: -200px; right: -60px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .place { margin-top: 24px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Status panel */
.status { background: var(--navy); color: #dfe5ff; border-radius: var(--r-lg); font-family: var(--f-mono); font-size: 0.84rem; box-shadow: 0 30px 60px -28px rgba(20, 26, 70, 0.6); overflow: hidden; position: relative; }
.status::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.status-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; color: #8f98c8; }
.status-head .live { color: #5fe3a0; }
.status-head .live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5fe3a0; margin-right: 7px; vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }
.status ul { list-style: none; margin: 0 12px; padding: 6px 0; background: rgba(255, 255, 255, 0.04); border-radius: 16px; }
.status li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 14px; }
.status li span:last-child { font-variant-numeric: tabular-nums; }
.status .ok { color: #5fe3a0; }
.status .warn { color: #ffbe5c; }
.status .fixed { color: #8f98c8; font-size: 0.78rem; grid-column: 1 / -1; margin-top: -4px; }
.status-foot { padding: 14px 20px 18px; color: #8f98c8; font-size: 0.76rem; font-family: var(--f-body); }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .status-head .live::before { animation: none; } .btn { transition: none; } }

/* Sections */
.section { padding-block: clamp(52px, 7vw, 92px); }
.section.alt { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 46rem; }

/* Service cards (home) */
.rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.row {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.row::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--sphere); box-shadow: 0 8px 18px -8px rgba(122, 60, 240, 0.6); margin-bottom: 6px; }
.row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; background: var(--surface); }
.row p { color: var(--muted); }
.row .tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.row .go { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.row:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.row:first-child p, .row:first-child .tags { color: #b9c1ec; }
.row:first-child .go { color: #7fd8ff; }
@media (prefers-reduced-motion: reduce) { .row { transition: none; } }
@media (max-width: 960px) { .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rows { grid-template-columns: minmax(0, 1fr); } }

/* Band */
.band { padding-block: clamp(20px, 3vw, 32px); }
.band .wrap > .inner, .band .wrap { position: relative; }
.band-card { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: var(--sphere); opacity: 0.55; filter: blur(10px); }
.band-card > * { position: relative; }
.band-card .eyebrow { background: rgba(255, 255, 255, 0.12); color: #fff; }
.band-card h2 { margin: 14px 0 12px; }
.band-card p { max-width: 40rem; color: #c9cff2; }
.band-card .btn { background: #fff; color: var(--navy); box-shadow: none; }
@media (max-width: 720px) { .band-card { grid-template-columns: minmax(0, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split > div { background: var(--surface); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.split p { color: var(--muted); }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Page header */
.page-head { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); }
.page-head::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: #b8e8ff; filter: blur(80px); opacity: 0.6; pointer-events: none; }
.page-head::after { content: ""; position: absolute; width: 360px; height: 360px; right: 18%; top: -200px; border-radius: 50%; background: #d6c8ff; filter: blur(80px); opacity: 0.6; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; }
.page-head h1 { margin: 18px 0 18px; max-width: 48rem; }

/* Service groups */
.group { display: flex; flex-direction: column; gap: 22px; padding-block: 28px; }
.group h2 { font-size: 1.5rem; }
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.item { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.section.alt .item { background: var(--bg); }
.item h3 { font-size: 1.12rem; }
.item p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .items { grid-template-columns: minmax(0, 1fr); } }
.note { margin-top: 28px; padding: 18px 24px; border-radius: var(--r-md); background: var(--soft); color: var(--ink); font-weight: 500; display: flex; gap: 12px; align-items: center; }
.note::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--sphere); }

/* Course */
.course { background: var(--surface); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.course-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: clamp(24px, 4vw, 36px); align-items: end; }
.course-top h2 { margin: 14px 0 10px; }
.course-top p { color: var(--muted); max-width: 38rem; }
.facts { display: grid; gap: 8px; font-size: 0.95rem; color: var(--muted); }
.facts span { background: var(--bg); border-radius: 999px; padding: 6px 14px; }
.facts strong { color: var(--ink); margin-right: 6px; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 clamp(24px, 4vw, 36px) clamp(24px, 4vw, 36px); }
.topic { padding: 22px; border-radius: var(--r-md); background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.topic .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.85rem; }
.topic h3 { font-size: 1.1rem; }
.topic p { color: var(--muted); font-size: 0.98rem; }
.course-foot { padding: 20px clamp(24px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--soft); }
@media (max-width: 880px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .course-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .topics { grid-template-columns: minmax(0, 1fr); } }

/* CTA */
.cta { padding-block: clamp(52px, 7vw, 84px); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 34rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards (support, contact) */
.cards { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card p { color: var(--muted); }
.card .meta { font-size: 0.88rem; color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.dl { display: grid; gap: 8px; margin-top: 6px; }
.dl > div { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--bg); }
.dl span { color: var(--muted); } .dl strong { color: var(--ink); margin-right: 4px; }
.dl .btn { margin: 0; padding: 8px 16px; font-size: 0.92rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; max-width: 44rem; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.steps li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.85rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-list { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px 28px; }
.contact-grid address { font-style: normal; line-height: 1.7; }
.contact-line { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.contact-line .value { font-size: 1.35rem; font-weight: 600; font-family: var(--f-display); word-break: break-word; }
.contact-line .value a { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 52px 32px; font-size: 0.97rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-family: var(--f-display); font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--muted); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; color: var(--muted); margin-top: 16px; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
