/* rtc.padevgroup.com. Same navy, cyan and Segoe UI as the printed collateral.
   Two readers: an older resident on a phone, and a community manager at a desk.
   Type is large on purpose and the phone number is the loudest thing on the page. */

:root {
    --navy: #0b2a4f;
    --ink: #06204a;
    --cyan: #12cdf7;
    --tint: #eaf2fd;
    --text: #22304d;
    --muted: #4a5a80;
    --paper: #ffffff;
    --ok: #0b5d2e;
    --bad: #9c1c1c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 118.75%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: #0a3fa8; text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 4px solid var(--cyan);
    outline-offset: 3px;
}

.skip { position: absolute; left: -999rem; top: 0; background: var(--paper); padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar: the number stays on screen while the page scrolls. */
.top { position: sticky; top: 0; z-index: 10; background: var(--navy); border-bottom: 3px solid var(--cyan); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
/* The logo sits left of the company name, always. Its file is the colour mark on this navy,
   with a glow that needs no room of its own, so the margins pull it in. */
.firm { display: flex; align-items: center; gap: 0.3rem; color: #fff; text-decoration: none; line-height: 1.15; min-width: 0; }
.mark { flex: none; display: block; width: 3.8rem; height: 3.8rem; margin: -0.6rem 0 -0.6rem -0.5rem; }
.call-short { display: none; }
.firm-name { display: block; font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.firm-tag { display: block; color: var(--cyan); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; margin-top: 0.1rem; }
/* On a phone the bar holds the logo, the name and a button that dials; the number itself is the
   biggest thing in the hero just below. */
@media (max-width: 34rem) {
    .mark { width: 2.9rem; height: 2.9rem; }
    .firm-name { font-size: 1.05rem; }
    .firm-tag { font-size: 0.55rem; white-space: normal; max-width: 7.2rem; line-height: 1.2; }
    .call-full { display: none; }
    .call-short { display: inline; }
}
a[href^="tel:"] { white-space: nowrap; }
.top-call {
    flex: none;
    background: var(--cyan);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 3rem 0 3.25rem; }
.hero-service { color: var(--cyan); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.6rem; }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; max-width: 14ch; }
.hero-lead { font-size: 1.15rem; max-width: 34rem; margin-top: 1.2rem; color: #e3effc; }
.hero-phone { display: inline-block; margin-top: 2rem; text-decoration: none; color: var(--cyan); }
.hero-phone-label { display: block; font-size: 1rem; font-weight: 600; color: #fff; }
.hero-phone-number { display: block; font-size: clamp(2.5rem, 10vw, 4.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.hero-phone:hover .hero-phone-number { text-decoration: underline; text-decoration-thickness: 0.06em; }
.paths { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }
.paths a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #5f86bd;
    border-radius: 0.5rem;
    padding: 0.7rem 1.1rem;
}
.paths a:hover { border-color: var(--cyan); }

/* Sections */
.band { padding: 3.5rem 0; }
.band-tint { background: var(--tint); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy a { color: var(--cyan); }

h2 { color: var(--ink); font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
h3 { color: var(--ink); font-size: 1.3rem; line-height: 1.25; font-weight: 700; margin-top: 2.2rem; }
h4 { color: var(--ink); font-size: 1.08rem; font-weight: 700; margin-top: 1.6rem; }
.band-navy h2 { color: #fff; }

p { max-width: 40rem; margin-top: 0.9rem; }
.lead { font-size: 1.18rem; margin-top: 1.1rem; }
h3.pitch { font-size: 1.55rem; margin-top: 1.5rem; }
.pilot-terms { font-weight: 600; color: var(--ink); border-left: 5px solid var(--cyan); padding-left: 1rem; margin-top: 1.4rem; }
.rule-above { border-top: 2px solid #c9d9f2; padding-top: 2.2rem; margin-top: 2.8rem; }

.split { display: grid; grid-template-columns: 1fr; column-gap: 3.5rem; }
@media (min-width: 46rem) { .split { grid-template-columns: 1fr 1fr; } }

ul.dots, ul.bars { list-style: none; margin-top: 0.7rem; }
ul.dots li, ul.bars li { position: relative; padding-left: 1.5rem; margin: 0.5rem 0; max-width: 34rem; }
ul.dots li::before {
    content: "";
    position: absolute; left: 0.15rem; top: 0.62em;
    width: 0.5rem; height: 0.5rem; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 1px #0e9cc0;
}
/* "Not included" reads differently from the lists of what is offered. */
ul.bars li::before {
    content: "";
    position: absolute; left: 0.05rem; top: 0.78em;
    width: 0.75rem; height: 0.16rem;
    background: var(--muted);
}

/* The three steps are a real sequence, so they are numbered. */
ol.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 46rem) { ol.steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
ol.steps li { counter-increment: step; position: relative; padding-left: 3rem; min-height: 2.3rem; font-weight: 600; color: var(--ink); }
ol.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

.note { background: var(--tint); border-radius: 0.75rem; padding: 0.4rem 1.5rem 1.5rem; margin-top: 2.5rem; }
.note h3 { margin-top: 1.2rem; }

/* Contact */
.reach { margin-top: 0.6rem; }
.reach a { font-size: clamp(2rem, 7vw, 2.9rem); font-weight: 700; text-decoration: none; line-height: 1.15; }
.reach-small a { font-size: 1.25rem; text-decoration: underline; overflow-wrap: anywhere; }
.reach a:hover { text-decoration: underline; }

form { margin-top: 1.2rem; }
label { display: block; font-weight: 600; margin-top: 1.1rem; }
.optional { font-weight: 400; color: #cfe6fb; }
input, select, textarea {
    display: block; width: 100%;
    font: inherit; color: var(--text);
    background: #fff;
    border: 2px solid #8fb0dd; border-radius: 0.5rem;
    padding: 0.7rem 0.8rem; margin-top: 0.35rem;
    min-height: 3rem;
}
textarea { resize: vertical; }
.hint { font-size: 0.92rem; color: #cfe6fb; margin-top: 0.5rem; }
button {
    font: inherit; font-weight: 700;
    background: var(--cyan); color: var(--ink);
    border: 0; border-radius: 0.5rem;
    padding: 0.85rem 1.6rem; margin-top: 1.5rem; min-height: 3.2rem;
    cursor: pointer;
}
button:hover { background: #5fdcfa; }
button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }

.status { border-radius: 0.5rem; padding: 0.8rem 1rem; margin-top: 1.2rem; font-weight: 600; background: #fff; }
.status-ok { color: var(--ok); border-left: 6px solid var(--ok); }
.status-bad { color: var(--bad); border-left: 6px solid var(--bad); }

.foot { background: var(--ink); color: #cfe6fb; padding: 1.6rem 0 2rem; font-size: 0.92rem; }
.foot a { color: #fff; }
.foot p { max-width: none; }

/* 404 page */
.lost { padding: 4rem 0; }
.lost .reach a { color: #0a3fa8; }
