:root { --bg: #f5f6f3; --ink: #121417; --muted: #5c656e; --line: #e1e3dc; --blue: #1d4ed8; --card: #ffffff; }
* { box-sizing: border-box; }
body.sg {
    margin: 0;
    color: var(--ink);
    font-family: Sora, "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(18, 20, 23, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 20, 23, 0.035) 1px, transparent 1px),
        var(--bg);
    background-size: 28px 28px, 28px 28px, auto;
}
.sg-cell:hover, .sg-catalog a:hover { border-color: rgba(29, 78, 216, 0.45); }
body.nav-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 40; }
.sg-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.sg-float { position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; padding: 14px 12px 0; }
.sg-pill { width: min(1160px, 100%); display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 8px 8px 8px 16px; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(16px); }
.sg-mark { display: inline-flex; flex: none; }
.sg-pill nav { display: flex; gap: 14px; }
.sg-pill nav a { color: var(--muted); font-size: 0.88rem; }
.sg-pill nav a.is-on, .sg-pill nav a:hover { color: var(--ink); }
.sg-pill-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sg-chip, .sg-go { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 999px; font-size: 0.82rem; }
.sg-chip { box-shadow: inset 0 0 0 1px var(--line); }
.sg-chip.is-pay, .sg-go { background: var(--ink); color: #fff; }
.sg-go.is-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sg-pill-end span { display: flex; gap: 6px; font-size: 0.75rem; color: var(--muted); padding-right: 8px; }
.sg-pill-end .is-on { color: var(--blue); }
.sg-burger { display: none; }
.sg-hero { width: min(1160px, calc(100% - 32px)); margin: 36px auto 10px; }
.sg-hero p { margin: 0; color: var(--blue); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
h1 { margin: 8px 0 0; font-size: clamp(3.1rem, 7vw, 6.4rem); line-height: 0.92; letter-spacing: -0.06em; max-width: 12ch; }
.sg-hero-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-top: 18px; }
.sg-hero-row p { max-width: 34rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.sg-hero-row div { display: flex; gap: 8px; }
.sg-bento { width: min(1160px, calc(100% - 32px)); margin: 28px auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sg-metric, .sg-cell, .sg-box, .sg-brand-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.sg-metric strong { display: block; font-size: 1.7rem; letter-spacing: -0.04em; }
.sg-metric span, .sg-cell span, .sg-lead, .sg-copy { color: var(--muted); }
.sg-cell { min-height: 150px; display: flex; flex-direction: column; gap: 8px; }
.sg-cell.is-span { grid-column: span 2; background: var(--ink); color: #fff; }
.sg-cell.is-span span, .sg-cell.is-span small { color: rgba(255,255,255,.72); }
.sg-cell small { color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
.sg-cell.is-note { grid-column: span 2; }
.sg-ink { background: var(--ink); color: #f5f6f3; padding: 64px 0; margin-top: 10px; }
.sg-ink h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.05em; }
.sg-ink p { color: rgba(245,246,243,.7); }
.sg-ink ol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-ink b { color: #93c5fd; }
.sg-ink strong, .sg-catalog strong { display: block; margin: 6px 0; }
.sg-ink span { color: rgba(245,246,243,.68); }
.sg-catalog { padding: 54px 0; }
.sg-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.sg-catalog a, .sg-lines a { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sg-brands { padding-bottom: 40px; }
.sg-brands .sg-wrap { display: flex; gap: 18px; flex-wrap: wrap; }
.sg-brands a { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.05em; }
.sg-brands p { width: min(1160px, calc(100% - 32px)); margin: 8px auto 0; color: var(--muted); }
.sg-page { padding: 28px 0 64px; }
.sg-kicker { color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.sg-page h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.sg-two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }
.sg-narrow { max-width: 760px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.sg-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; }
.sg-box { margin-top: 18px; }
.sg-brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sg-mails { display: grid; gap: 6px; }
.sg-form { display: grid; gap: 12px; }
.sg-form label { display: grid; gap: 6px; font-size: 0.8rem; }
.sg-field { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 10px 12px; color: var(--ink); }
button.sg-btn, .sg-form .sg-btn { background: var(--blue); color: #fff; border: 0; border-radius: 999px; min-height: 42px; padding: 0 16px; cursor: pointer; }
.sg-hp { position: absolute; left: -9999px; }
.sg-note.is-ok { color: #166534; }
.sg-note.is-bad { color: #9f1239; }
.sg-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.sg-foot p { color: var(--muted); }
.sg-foot div { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 980px) {
    .sg-float { justify-content: stretch; gap: 8px; }
    .sg-burger { display: inline-flex; align-items: center; margin: 0; border: 0; background: var(--ink); color: #fff; border-radius: 999px; min-height: 44px; padding: 0 14px; flex: none; }
    .sg-pill { width: auto; flex: 1; min-width: 0; }
    .sg-pill nav, .sg-pill-end { display: none; }
    .sg-pill.is-open { position: absolute; left: 12px; right: 12px; top: 62px; width: auto; flex-wrap: wrap; border-radius: 24px; }
    .sg-pill.is-open nav, .sg-pill.is-open .sg-pill-end { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 8px; }
    .sg-pill.is-open nav a, .sg-pill.is-open .sg-chip, .sg-pill.is-open .sg-go { min-height: 40px; }
    .sg-hero { margin-top: 18px; }
    .sg-hero-row, .sg-bento, .sg-ink ol, .sg-catalog a, .sg-lines a, .sg-two, .sg-brand-grid, .sg-head { display: grid; grid-template-columns: 1fr; }
    .sg-cell.is-span, .sg-cell.is-note { grid-column: auto; }
    h1 { max-width: none; font-size: clamp(2.35rem, 12vw, 3.6rem); }
    .sg-brands a { font-size: 1.8rem; }
    .sg-foot div { align-items: flex-start; }
}
