* {
    box-sizing: border-box;
}

:root {
    --plum: #6d4e86;
    --plum-strong: #5b3f75;
    --berry: #b84f78;
    --berry-soft: #f8e6ef;
    --blue: #537ca0;
    --blue-soft: #e8f2f8;
    --mint: #dff2eb;
    --paper: #ffffff;
    --wash: #f7f4fb;
    --ink: #40546c;
    --muted: #65788d;
    --line: #c9c4da;
    --focus: #de7399;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.64;
    overflow-wrap: anywhere;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.wrap {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--plum-strong);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    width: 44px;
    height: 36px;
    place-items: center;
    border: 2px solid var(--plum);
    border-left: 9px solid var(--berry);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 8px 10px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-bottom-color: var(--berry);
    color: var(--plum-strong);
}

main {
    display: block;
}

.intro-panel {
    background: linear-gradient(90deg, var(--wash) 0 72%, var(--blue-soft) 72% 100%);
    border-bottom: 1px solid var(--line);
}

.intro-shell {
    padding: 58px 0 48px;
}

.intro-rail {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.rail-code {
    padding-top: 9px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rail-code span {
    display: block;
    width: 54px;
    margin-bottom: 10px;
    border-top: 4px solid var(--berry);
}

.intro-copy {
    max-width: 900px;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--plum-strong);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

h1 {
    margin-bottom: 22px;
    font-size: 40px;
}

h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

p {
    margin: 0 0 16px;
    font-size: 16px;
}

.intro-copy p {
    color: #4d6278;
}

.fact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 26px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fact-strip span {
    padding: 11px 18px 11px 0;
    margin-right: 18px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.fact-strip span + span {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.cta-set {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.action-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 2px solid var(--plum);
    background: var(--plum);
    color: var(--paper);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.action-link.alt {
    border-color: var(--berry);
    background: var(--paper);
    color: var(--berry);
}

.action-link:hover {
    transform: translateY(-1px);
    background: var(--plum-strong);
    border-color: var(--plum-strong);
}

.action-link.alt:hover {
    background: var(--berry-soft);
    color: var(--plum-strong);
}

.action-link:active {
    transform: translateY(1px);
}

.service-band {
    border-bottom: 1px solid var(--line);
}

.service-band.tint {
    background: var(--blue-soft);
}

.service-band.soft {
    background: var(--berry-soft);
}

.service-band.mint {
    background: var(--mint);
}

.band-inner {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 34px;
    padding: 44px 0;
}

.band-marker {
    align-self: start;
    padding-top: 5px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.band-marker::after {
    content: "";
    display: block;
    width: 54px;
    margin-top: 11px;
    border-top: 4px solid var(--plum);
}

.band-copy {
    min-width: 0;
    max-width: 940px;
}

.band-copy.wide {
    max-width: none;
}

.device-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 22px 0 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.device-ribbon span {
    color: var(--plum-strong);
    font-size: 15px;
    font-weight: 800;
}

.repair-lines {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.repair-lines li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
}

.repair-lines strong {
    color: var(--plum-strong);
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 22px 0 16px;
    padding: 18px 0;
    border-top: 4px solid var(--berry);
    border-bottom: 1px solid var(--line);
}

.price-line strong {
    color: var(--plum-strong);
    font-size: 30px;
    line-height: 1;
}

.price-line span {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.time-table {
    max-width: 720px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.time-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.time-row span {
    font-size: 16px;
}

.time-row strong {
    color: var(--plum-strong);
}

.cta-band {
    border-bottom: 1px solid var(--line);
    background: var(--plum);
    color: var(--paper);
}

.cta-band .band-inner {
    padding-top: 36px;
    padding-bottom: 36px;
}

.cta-band .band-marker,
.cta-band h2,
.cta-band p {
    color: var(--paper);
}

.cta-band .band-marker::after {
    border-top-color: #ef9dbc;
}

.cta-band .action-link {
    border-color: var(--paper);
    background: var(--paper);
    color: var(--plum-strong);
}

.cta-band .action-link.alt {
    border-color: #ef9dbc;
    background: transparent;
    color: var(--paper);
}

.cta-band .action-link:hover {
    background: var(--berry-soft);
    color: var(--plum-strong);
}

.cta-band .action-link.alt:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--paper);
}

.local-note {
    background: var(--paper);
}

.local-note .wrap {
    padding-top: 24px;
    padding-bottom: 24px;
}

.local-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--wash);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
}

.footer-brand {
    color: var(--plum-strong);
    font-size: 15px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--plum-strong);
    text-decoration: underline;
}

.footer-links .privacy {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .wrap {
        width: min(100% - 44px, 980px);
    }

    .intro-panel {
        background: var(--wash);
    }

    .intro-rail,
    .band-inner {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .wrap {
        width: min(100% - 34px, 720px);
    }

    .header-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .intro-shell {
        padding: 42px 0 38px;
    }

    .intro-rail,
    .band-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rail-code,
    .band-marker {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 0;
    }

    .rail-code span,
    .band-marker::after {
        width: 38px;
        margin: 0;
        border-top-width: 3px;
    }

    .band-inner {
        padding: 36px 0;
    }

    .fact-strip span + span {
        padding-left: 0;
        border-left: 0;
    }

    .fact-strip span {
        width: 100%;
        margin-right: 0;
        padding: 8px 0;
        border-bottom: 1px solid var(--line);
    }

    .fact-strip span:last-child {
        border-bottom: 0;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: min(100% - 26px, 480px);
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        padding-left: 0;
        padding-right: 14px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .cta-set {
        flex-direction: column;
    }

    .action-link {
        width: 100%;
    }

    .price-line,
    .time-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .price-line strong {
        font-size: 28px;
    }
}
