:root
{
    --paper: #eef2f3;
    --ink: #17242b;
    --accent: #0f6e86;
    --muted: #52646c;
    --line: #bbc8cc;
    --surface: #e3e9eb;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.6 Arial, sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
input, select
{
    font: inherit;
    color: inherit;
}
a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible
{
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.topline
{
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    font: 10px/1.5 Consolas, monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--ink);
    color: #d7e3e6;
}
header
{
    display: flex;
    height: 85px;
    padding: 0 40px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.brand
{
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1.5px;
}
.brand span
{
    font-size: 11px;
    vertical-align: top;
    margin-left: 4px;
}
nav
{
    display: flex;
    gap: 25px;
    font-size: 13px;
}
.call
{
    display: inline-flex;
    background: var(--accent);
    color: white;
    padding: 10px 12px 10px 22px;
    border-radius: 40px;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    white-space: nowrap;
}
.call span
{
    background: #e5f0f3;
    color: var(--accent);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
}
section
{
    padding: 100px max(40px, calc((100% - 1120px) / 2));
}
.hero
{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    padding: 0 0 0 40px;
    min-height: 650px;
    gap: 20px;
}
.hero-copy
{
    padding: 48px 0 35px;
    align-self: center;
    z-index: 1;
}
.meta
{
    font: 11px/1.7 Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: .8px;
}
h1, h2, h3
{
    font-weight: 700;
    line-height: .98;
    letter-spacing: -2px;
}
h1
{
    font-size: clamp(44px, 5.3vw, 78px);
    margin: 28px 0;
}
h1 span
{
    color: var(--accent);
}
h2
{
    font-size: clamp(38px, 4.5vw, 58px);
    margin: 0 0 25px;
}
h3
{
    letter-spacing: -.5px;
    font-size: 21px;
}
.hero-copy > p:not(.meta)
{
    max-width: 470px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    color: var(--muted);
}
.actions
{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 28px 0;
}
.under
{
    border-bottom: 1px solid;
    font-size: 13px;
}
.hero-art
{
    background: #c6d3d5;
    position: relative;
    overflow: hidden;
}
.hero-art svg
{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}
.hero-art > span
{
    position: absolute;
    bottom: 20px;
    left: 24px;
    padding: 12px;
    background: var(--paper);
    color: var(--ink);
}
.statement
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}
.statement > div > p
{
    font-size: 22px;
    line-height: 1.55;
    letter-spacing: -.5px;
}
.triage
{
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding-top: 15px;
}
.fields
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label
{
    display: block;
    font-size: 13px;
}
select, input
{
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    padding: 12px;
    background: transparent;
    margin-top: 7px;
    border-radius: 0;
}
#advice
{
    color: var(--accent);
    font-weight: 700;
}
.repair-panel
{
    background: var(--ink);
    margin: 0 16px;
    border-radius: 24px;
    color: #a4c2ca;
    padding: 40px 30px;
    text-align: center;
}
.repair-panel svg
{
    max-width: 850px;
    width: 100%;
}
.branches
{
    animation: repair 3.2s ease-out both;
    animation-play-state: paused;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}
.repair-panel.seen .branches
{
    animation-play-state: running;
}
@keyframes repair
{
    0% { stroke-dashoffset: 1000; }
    44%, 74% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 1000; }
}
.surface
{
    background: var(--surface);
}
.heading
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 35px;
}
.table-head, .price
{
    display: grid;
    grid-template-columns: 2fr .8fr 1.5fr .8fr;
    gap: 15px;
    align-items: baseline;
}
.table-head
{
    font: 11px Consolas, monospace;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 15px;
}
.price
{
    padding: 25px 0;
    border-top: 1px solid var(--line);
}
.price strong
{
    font-weight: 400;
    font-size: 20px;
}
.price span
{
    font-size: 13px;
}
.price b
{
    font: 17px Consolas, monospace;
    text-align: right;
}
.estimate
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 25px;
}
.estimate input
{
    width: 95px;
    display: inline-block;
    margin-left: 15px;
}
output
{
    font: 16px Consolas, monospace;
    color: var(--accent);
}
.step
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    border-top: 1px solid var(--line);
    padding: 28px 0;
}
.step h3
{
    margin: 0;
}
.step p
{
    color: var(--muted);
    margin-bottom: 0;
}
.glass
{
    padding-top: 20px;
}
.glass-columns
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
ul
{
    list-style: none;
    padding: 0;
}
li
{
    border-top: 1px solid var(--line);
    padding: 16px 0;
}
details
{
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding: 22px 0;
}
summary
{
    cursor: pointer;
    font-size: 20px;
}
.area-search
{
    max-width: 350px;
    margin: 30px 0;
}
#area-list
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
}
.area
{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.area span
{
    font: 11px Consolas, monospace;
}
.quote
{
    text-align: center;
    max-width: 880px;
    padding-inline: 40px;
    margin: auto;
}
blockquote
{
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -.8px;
    margin: 0 0 30px;
}
.call-panel
{
    background: var(--accent);
    border-radius: 24px;
    margin: 0 16px 16px;
    color: white;
    text-align: center;
    padding: 70px 20px;
}
.call-panel > a:first-of-type
{
    display: block;
    font-size: clamp(35px, 6vw, 78px);
    font-weight: 700;
    letter-spacing: -2px;
}
footer
{
    background: var(--ink);
    color: #c4d2d7;
    overflow: hidden;
}
footer > div:first-child
{
    display: flex;
    gap: 50px;
    justify-content: space-between;
    padding: 50px 40px 10px;
    font-size: 12px;
}
footer p
{
    max-width: 320px;
}
footer nav
{
    flex-direction: column;
    gap: 8px;
}
.giant
{
    font-size: 16.8vw;
    font-weight: 800;
    letter-spacing: -1vw;
    line-height: .8;
    margin: 40px 0 -12px;
}
.mobile-call
{
    display: none;
}
@media (max-width: 767px)
{
    body
    {
        padding-bottom: 65px;
    }
    .topline
    {
        padding: 10px 20px;
        font-size: 9px;
    }
    .topline span, header nav, header > .call
    {
        display: none;
    }
    header
    {
        height: 70px;
        padding: 0 22px;
    }
    header::after
    {
        content: "MOBILE GLASS REPAIR";
        font: 9px Consolas, monospace;
        max-width: 80px;
    }
    .hero
    {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    .hero-art
    {
        order: -1;
        height: 340px;
    }
    .hero-art svg
    {
        height: 540px;
        top: -90px;
    }
    .hero-copy
    {
        padding: 35px 22px;
    }
    h1
    {
        font-size: 42px;
        letter-spacing: -2px;
    }
    .actions
    {
        flex-direction: column;
        align-items: start;
    }
    section
    {
        padding: 60px 22px;
    }
    .statement, .heading, .step, .glass-columns, .fields
    {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .statement > div > p
    {
        font-size: 20px;
    }
    .repair-panel
    {
        padding: 30px 12px;
    }
    .price
    {
        grid-template-columns: 1fr auto;
    }
    .price strong
    {
        font-size: 18px;
    }
    .price b
    {
        grid-row: 1;
        grid-column: 2;
        font-size: 16px;
    }
    .price span
    {
        grid-column: 1 / -1;
    }
    .table-head
    {
        display: none;
    }
    .estimate
    {
        flex-direction: column;
        align-items: start;
    }
    .estimate input
    {
        margin-left: 0;
        display: block;
    }
    #area-list
    {
        grid-template-columns: 1fr;
    }
    .quote
    {
        padding: 65px 25px;
    }
    blockquote
    {
        font-size: 25px;
    }
    footer > div:first-child
    {
        flex-direction: column;
        padding: 35px 25px;
        gap: 15px;
    }
    footer nav
    {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .mobile-call
    {
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        display: flex;
        justify-content: space-between;
        padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
        background: var(--accent);
        color: white;
        font-size: 13px;
        z-index: 30;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    .branches
    {
        animation: none;
        opacity: 0;
    }
}
