/* CarInsurs — small custom layer on top of Tailwind CDN utilities */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800&display=swap");

:root {
    --olive: #1E5A8A;
    --olive-deep: #0F3A5F;
    --terra: #E76F2A;
    --sand: #ECE0C7;
    --sand-soft: #FBF6EC;
    --ink: #1A1A1A;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Barlow", system-ui, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4 {
    font-family: "Barlow Condensed", "Barlow", sans-serif;
    letter-spacing: .01em;
    text-transform: none
}

/* Graphic signature: thin coloured rule under headings */
.rule-accent {
    position: relative;
    padding-bottom: 14px
}

.rule-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 76px;
    background: linear-gradient(90deg, var(--terra) 0 60%, var(--olive) 60% 100%);
    border-radius: 2px;
}

.rule-accent-center::after {
    left: 50%;
    transform: translateX(-50%)
}

.rule-thin {
    height: 1px;
    background: linear-gradient(90deg, rgba(182, 92, 54, .55), rgba(91, 107, 51, .35), transparent)
}

.field {
    width: 100%;
    border: 1px solid #D6CAB0;
    background: #fff;
    border-radius: 8px;
    padding: .65rem .8rem;
    font-size: .95rem
}

.field:focus {
    outline: 2px solid var(--olive);
    outline-offset: 1px
}

.err {
    color: #B91C1C;
    font-size: .8rem;
    margin-top: .25rem;
    display: none
}

.err.show {
    display: block
}

.field.invalid {
    border-color: #B91C1C;
    background: #FEF2F2
}

.note {
    border-left: 3px solid var(--terra);
    background: #fff;
    padding: .9rem 1rem;
    border-radius: 0 8px 8px 0
}

.link-u {
    text-decoration: underline;
    text-underline-offset: 3px
}

[hidden] {
    display: none !important
}

.policy p {
    margin-bottom: 1rem;
    line-height: 1.75
}

.policy h2 {
    margin-top: 2rem
}

.policy ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.7
}