:root {
    --buman-ink: #122734;
    --buman-muted: #526672;
    --buman-accent: #ffd05c;
    --buman-line: #dce5e9;
    --buman-surface: #f0f5f7;
    --buman-dark: #102b38;
}

body.index-page {
    padding-top: 0;
    background: #fff;
    color: var(--buman-ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.buman-wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.buman-header { background: white; border-bottom: 1px solid var(--buman-line); }
.buman-header__inner, .buman-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}
.buman-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: .06em;
    text-decoration: none;
    white-space: nowrap;
}
.buman-brand span {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    border-radius: 9px;
    background: var(--buman-accent);
    color: var(--buman-ink);
    letter-spacing: 0;
}
.buman-header__nav, .buman-footer nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 40px); }
.buman-header__nav a, .buman-footer nav a { color: inherit; text-decoration: none; font-weight: 650; }
.buman-header__nav a:hover, .buman-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.buman-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--buman-accent);
    color: var(--buman-ink);
    font-weight: 750;
    text-decoration: none;
}
.buman-button:hover { background: #ffe295; color: var(--buman-ink); }
.buman-button--outline { border-color: #9db5bf; background: transparent; color: white; }
.buman-button--outline:hover { background: #254754; color: white; }
.buman-header__cta { background: var(--buman-dark); color: white; }

section.buman-hero { padding: 0; background: var(--buman-dark); color: white; overflow: hidden; }
.buman-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
.buman-hero__copy { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 85px); }
.buman-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: inherit;
    font-size: clamp(2.15rem, 5.2vw, 5.05rem);
    font-weight: 780;
    letter-spacing: -.055em;
    line-height: 1.02;
}
.buman-hero p { max-width: 530px; margin-bottom: 28px; color: #d1e1e8; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.buman-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.buman-hero__visual, .buman-card__visual {
    display: grid;
    place-items: center;
    background-image:
        linear-gradient(to right, #91acb52b 1px, transparent 1px),
        linear-gradient(to bottom, #91acb52b 1px, transparent 1px);
    background-size: 20px 20px;
}
.buman-hero__visual {
    min-height: clamp(240px, 29vw, 407px);
    margin-left: 22px;
    border: 1px solid #6f96a55c;
    border-radius: 18px;
    background-color: #183b49;
    background-size: 27px 27px;
    color: #80a5b4;
}
.buman-machine {
    position: relative;
    width: 57%;
    aspect-ratio: 1.8;
    border: 2px solid currentColor;
    border-bottom-width: 5px;
    border-radius: 4px 4px 1px 1px;
}
.buman-machine::before, .buman-machine::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 8%;
    height: 18%;
    border: 2px solid currentColor;
    border-top: 0;
}
.buman-machine::before { left: 7%; }
.buman-machine::after { right: 7%; }
.buman-machine__head, .buman-machine__bed { position: absolute; inset-inline: 8%; border: 2px solid currentColor; }
.buman-machine__head { top: 10%; height: 25%; background: #95bdca32; }
.buman-machine__bed { bottom: 11%; height: 25%; background: #95bdca32; }
.buman-hero__visual .buman-machine { box-shadow: 0 0 50px #88c4dd1a; }
.buman-hero__visual .buman-machine__head { border-bottom-color: var(--buman-accent); }

.buman-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 27px;
    border: 1px solid var(--buman-line);
    border-radius: 12px;
    background: var(--buman-line);
    overflow: hidden;
}
.buman-shortcuts a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 66px;
    padding: 12px;
    background: white;
    color: var(--buman-ink);
    font-weight: 700;
    text-decoration: none;
}
.buman-shortcuts a:hover { background: var(--buman-surface); }
.buman-shortcuts i { color: #386375; font-size: 20px; }

.buman-section { margin-block: clamp(32px, 6vw, 74px); scroll-margin-top: 20px; }
.buman-section__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.buman-section h1, .buman-section h2 { margin: 0; color: inherit; font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 780; letter-spacing: -.04em; }
.buman-text-link { color: #24536a; font-weight: 700; text-underline-offset: .23em; }
.buman-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.buman-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--buman-line); border-radius: 13px; background: #fff; color: var(--buman-ink); text-decoration: none; }
.buman-card:hover { border-color: #638392; color: var(--buman-ink); }
.buman-card__visual { aspect-ratio: 1.62; overflow: hidden; background-color: var(--buman-surface); color: #829faa; }
.buman-card__visual img { width: 100%; height: 100%; object-fit: contain; }
.buman-card__body { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding: 16px; }
.buman-card h3 { margin: 0; color: inherit; font-size: clamp(.9rem, 1.3vw, 1.09rem); font-weight: 730; line-height: 1.32; overflow-wrap: anywhere; }
.buman-card__arrow { color: #356478; line-height: 1; }
.buman-callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; border-radius: 16px; padding: clamp(24px, 4vw, 52px); background: var(--buman-surface); }
.buman-callout p { margin: 10px 0 0; color: var(--buman-muted); }
.buman-footer { background: var(--buman-dark); color: white; }
.buman-footer .buman-brand:hover { color: white; }
.buman-footer__inner { min-height: 104px; }
.buman-brand:focus-visible, .buman-button:focus-visible, .buman-card:focus-visible { outline: 3px solid #4e97af; outline-offset: 3px; }

@media (max-width: 960px) {
    .buman-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .buman-wrap { width: calc(100% - 32px); }
    .buman-header__inner, .buman-footer__inner { flex-wrap: wrap; gap: 12px; padding-block: 13px; }
    .buman-header__nav { font-size: .9rem; }
    .buman-header__cta { display: none; }
    .buman-hero__inner { grid-template-columns: 1fr; }
    .buman-hero__copy { padding-block: 37px 24px; }
    .buman-hero__visual { min-height: 0; aspect-ratio: 1.9; margin: 0 0 22px; }
    .buman-shortcuts { grid-template-columns: 1fr; }
    .buman-shortcuts a { justify-content: flex-start; min-height: 45px; }
    .buman-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .buman-card__body { padding: 11px; }
}
