/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 16, 2026
    Project:    medeiroswebdesign.com business website
    Filename:   styles.css

    Colors (HEX) and contrast checks (WCAG AA needs 4.5:1 for normal text)
    #0b1220  night navy   page dark background
    #111c33  deep navy    cards on dark
    #0f172a  ink          body text on white        17.8:1 on #ffffff
    #475569  slate        muted text on white        7.5:1 on #ffffff
    #1d4ed8  signal blue  links and buttons          6.7:1 on #ffffff
    #f5b301  gold         main call to action        10.4:1 with #0b1220 text
    #cbd5e1  mist         body text on dark          12.6:1 on #0b1220
    #93c5fd  sky          small labels on dark        9.9:1 on #0b1220
    #f4f6fb  cloud        tinted section background
*/

/* ----- Reset and base (element selectors) ----- */

/* Every element sizes itself with its border and padding included. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Smooth scrolling for the jump links, with room for the sticky header. */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Page defaults. Inter is the reading font. */
body {
    margin: 0 0 0 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #0f172a;
    background-color: #ffffff;
}

/* Images never overflow their box (Responsive Design lesson). */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Headings use Space Grotesk, tight and bold. */
h1,
h2,
h3 {
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

/* Main page heading, phone size first. */
h1 {
    font-size: 2.15rem;
}

/* Section headings. */
h2 {
    font-size: 1.75rem;
}

/* Card and step headings. */
h3 {
    font-size: 1.2rem;
}

/* Paragraph spacing. */
p {
    margin: 0 0 16px 0;
}

/* Links are blue and underlined so color is not the only signal. */
a {
    color: #1d4ed8;
    text-underline-offset: 3px;
}

/* Links darken on hover. */
a:hover {
    color: #0b1220;
}

/* A clear outline for keyboard users on every focusable element. */
a:focus-visible,
.table-box:focus-visible,
summary:focus-visible,
.menu-check:focus-visible + .menu-icon {
    outline: 3px solid #f5b301;
    outline-offset: 3px;
}

/* ----- Layout helpers (class selectors) ----- */

/* Centers content and keeps a gutter on phones. */
.wrap {
    max-width: 1180px;
    margin: 0 auto 0 auto;
    padding: 0 20px 0 20px;
}

/* Standard vertical space for a page section. */
.section {
    padding: 64px 0 64px 0;
}

/* A light grey-blue band to separate sections. */
.section-tint {
    background-color: #f4f6fb;
}

/* A dark navy band with light text. */
.section-dark {
    background-color: #0b1220;
    color: #cbd5e1;
}

/* Headings inside dark bands turn white. */
.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

/* Links inside dark bands use the light sky blue. */
.section-dark a {
    color: #93c5fd;
}

/* Small uppercase label above a heading. */
.eyebrow {
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1d4ed8;
    margin: 0 0 12px 0;
}

/* The label switches to sky blue on dark backgrounds. */
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
    color: #93c5fd;
}

/* Larger intro paragraph under a heading. */
.lead {
    font-size: 1.12rem;
    color: #475569;
    max-width: 720px;
}

/* Intro paragraphs on dark backgrounds use the mist color. */
.section-dark .lead,
.hero .lead,
.page-hero .lead {
    color: #cbd5e1;
}

/* Centers a section heading block. */
.center {
    text-align: center;
}

/* A centered intro paragraph needs auto side margins. */
.center .lead {
    margin: 0 auto 16px auto;
}

/* Space between a section intro and the content under it. */
.section-head {
    margin: 0 0 36px 0;
}

/* ----- Buttons (class selectors) ----- */

/* Shared button shape. Links styled as buttons, never color alone. */
.btn {
    display: inline-block;
    padding: 14px 24px 14px 24px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Buttons lift a little on hover. */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.25);
}

/* Gold is the main call to action. */
.btn-gold,
.section-dark a.btn-gold {
    background-color: #f5b301;
    color: #0b1220;
}

/* Gold button keeps its dark text on hover. */
.btn-gold:hover {
    color: #0b1220;
}

/* Blue button for light backgrounds. */
.btn-blue {
    background-color: #1d4ed8;
    color: #ffffff;
}

/* Blue button keeps white text on hover. */
.btn-blue:hover {
    color: #ffffff;
}

/* Outline button for dark backgrounds. */
.btn-ghost,
.section-dark a.btn-ghost {
    border-color: #93c5fd;
    color: #ffffff;
}

/* Outline button keeps white text on hover. */
.btn-ghost:hover {
    color: #ffffff;
}

/* Outline button for light backgrounds. */
.btn-line {
    border-color: #1d4ed8;
    color: #1d4ed8;
}

/* A row of buttons that wraps on phones. */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0 0;
}

/* Centers a button row under centered text. */
.center .btn-row,
.btn-row.center {
    justify-content: center;
}

/* ----- Header and navigation ----- */

/* Sticky white header that stays on top while scrolling. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* Logo on the left, menu button on the right. */
.head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0 10px 0;
    position: relative;
}

/* The logo is a link home with the mark and the business name. */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    color: #0b1220;
    text-decoration: none;
}

/* Size of the round logo mark. */
.logo img {
    width: 44px;
    height: 44px;
}

/* The checkbox that opens the menu is invisible but still focusable. */
.menu-check {
    position: absolute;
    right: 0;
    top: 14px;
    width: 96px;
    height: 40px;
    opacity: 0;
    margin: 0 0 0 0;
    cursor: pointer;
}

/* The visible menu button drawn by the label. */
.menu-icon {
    padding: 8px 14px 8px 14px;
    border: 2px solid #0b1220;
    border-radius: 8px;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

/* The navigation is hidden on phones until the box is checked. */
.site-nav {
    display: none;
    flex-basis: 100%;
}

/* Checking the box shows the navigation (Responsive Lab pattern). */
.menu-check:checked ~ .site-nav {
    display: block;
}

/* The nav list has no bullets and stacks on phones. */
.site-nav ul {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0 0 8px 0;
}

/* Each nav link is a full-width row on phones. */
.site-nav a {
    display: block;
    padding: 12px 4px 12px 4px;
    border-top: 1px solid #e2e8f0;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
}

/* Hover and current page show a blue underline. */
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* The phone number in the nav is a gold button. */
.site-nav a.nav-call {
    margin: 10px 0 0 0;
    padding: 12px 18px 12px 18px;
    border: 0;
    border-radius: 10px;
    background-color: #f5b301;
    color: #0b1220;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

/* ----- Home hero ----- */

/* Dark hero with a soft blue glow in the corner. */
.hero {
    background-color: #0b1220;
    background-image: radial-gradient(circle at 85% 0%, #1e3a8a 0%, #0b1220 55%);
    color: #cbd5e1;
    padding: 56px 0 64px 0;
    overflow: hidden;
}

/* The hero heading is white. */
.hero h1 {
    color: #ffffff;
}

/* The gold word group inside the hero heading. */
.hero h1 span {
    color: #f5b301;
}

/* Text first, artwork second, stacked on phones. */
.hero-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Three short promises under the buttons. */
.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 26px 0 0 0;
    padding: 0 0 0 0;
    font-size: 0.95rem;
    color: #ffffff;
}

/* The check icon in front of each promise. */
.hero-points i {
    color: #f5b301;
    margin: 0 6px 0 0;
}

/* The artwork box is the positioning parent for the phone. */
.hero-art {
    position: relative;
    padding: 0 0 30px 0;
}

/* A browser window frame around a demo screenshot. */
.browser {
    border-radius: 12px;
    background-color: #1e293b;
    padding: 30px 0 0 0;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    margin: 0 0 0 0;
}

/* Three window dots drawn in the frame's top bar. */
.browser::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #f87171;
    box-shadow: 16px 0 0 #fbbf24, 32px 0 0 #4ade80;
}

/* A phone frame that overlaps the browser frame's corner. */
.phone {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 26%;
    border: 5px solid #0b1220;
    border-radius: 18px;
    outline: 2px solid #475569;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin: 0 0 0 0;
}

/* ----- Number strip ----- */

/* Four facts in a row that wraps to two by two on phones. */
.stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 0;
    padding: 28px 0 28px 0;
}

/* One fact. Two fit per row on phones. */
.stat {
    flex: 1 1 50%;
    padding: 12px 8px 12px 8px;
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
}

/* The big number in each fact. */
.stat strong {
    display: block;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 2.1rem;
    line-height: 1.1;
    color: #0b1220;
}

/* ----- Cards ----- */

/* A flexible row of cards that wraps. */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* One card. Full width on phones. Column layout so links line up at the bottom. */
.card {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 28px 26px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

/* The middle text grows so the last line of every card lines up (SeaBubbles trick). */
.card p {
    flex-grow: 1;
}

/* Cards on dark bands are deep navy. */
.section-dark .card {
    background-color: #111c33;
    border-color: #1e293b;
    box-shadow: none;
}

/* Round icon badge at the top of a card. */
.card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #dbeafe;
    color: #1d4ed8;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 18px 0;
}

/* The price line on a service card. */
.price {
    flex-grow: 0;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0b1220;
    margin: 0 0 12px 0;
}

/* The small words next to a price. */
.price small {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
}

/* The link at the bottom of a card does not grow. */
.card .card-link {
    flex-grow: 0;
    margin: 0 0 0 0;
    font-weight: 600;
}

/* A highlighted card with a blue border and a badge. */
.card-pop {
    border: 2px solid #1d4ed8;
    position: relative;
}

/* The small badge pinned to the top of the highlighted card. */
.badge {
    position: absolute;
    top: -14px;
    left: 24px;
    flex-grow: 0;
    padding: 3px 12px 3px 12px;
    border-radius: 20px;
    background-color: #1d4ed8;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 0 0 0;
}

/* Check mark lists used on price cards and the services page. */
.ticks {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0 0 0 0;
}

/* Each list row leaves room for its icon. */
.ticks li {
    position: relative;
    padding: 0 0 8px 28px;
}

/* The icon sits in the left gutter of its row. */
.ticks i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #1d4ed8;
}

/* Icons in the "not offered" list are slate, and the words say no too. */
.ticks-no i {
    color: #475569;
}

/* ----- Demo gallery ----- */

/* The grid of demo screenshots, built with flex wrap. */
.demo-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* One demo. Full width on phones. */
.demo-card {
    flex: 0 0 100%;
}

/* The whole card is one link to the live demo. */
.demo-card a {
    display: block;
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Cards lift and get a blue border on hover and focus. */
.demo-card a:hover,
.demo-card a:focus-visible {
    transform: translateY(-4px);
    border-color: #1d4ed8;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

/* The screenshot fills the top of the card. */
.demo-card img {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
}

/* The trade name, for example "Food truck website". */
.demo-trade {
    display: block;
    padding: 14px 16px 2px 16px;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

/* The fictional business name and town under the trade. */
.demo-name {
    display: block;
    padding: 0 16px 6px 16px;
    font-size: 0.9rem;
    color: #475569;
}

/* The "View live demo" line at the bottom of a card. */
.demo-go {
    display: block;
    padding: 0 16px 16px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: underline;
}

/* The notice that says the demos are fictional concept designs. */
.note {
    padding: 16px 20px 16px 20px;
    border-left: 5px solid #f5b301;
    border-radius: 0 10px 10px 0;
    background-color: #fff8e1;
    font-size: 0.98rem;
    margin: 0 0 32px 0;
}

/* The jump links to each kind of business. */
.cat-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 8px 0;
    padding: 0 0 0 0;
}

/* Each jump link is a rounded pill. */
.cat-nav a {
    display: block;
    padding: 8px 16px 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    background-color: #ffffff;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

/* Pills turn navy on hover. */
.cat-nav a:hover {
    background-color: #0b1220;
    border-color: #0b1220;
    color: #ffffff;
}

/* A group of demos for one kind of business. */
.cat {
    padding: 44px 0 0 0;
}

/* The small count next to a group heading. */
.cat h2 span {
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0;
}

/* The "Back to top" link under each group. */
.to-top {
    margin: 18px 0 0 0;
    font-size: 0.9rem;
}

/* ----- Steps ----- */

/* The numbered list of steps uses a CSS counter for the big numbers. */
.steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* One step. Full width on phones, with room for its number. */
.step {
    flex: 1 1 100%;
    counter-increment: step;
    position: relative;
    padding: 24px 24px 24px 78px;
    border-radius: 16px;
    background-color: #111c33;
    border: 1px solid #1e293b;
}

/* The step number in a gold circle. */
.step::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f5b301;
    color: #0b1220;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Step text has no extra space under its last paragraph. */
.step p {
    margin: 0 0 0 0;
}

/* Steps on a light background (the process page) use white cards. */
.steps-light .step {
    background-color: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

/* The payment label on a step, such as "First third due". */
.pay {
    display: inline-block;
    margin: 12px 0 0 0;
    padding: 3px 12px 3px 12px;
    border-radius: 20px;
    background-color: #dbeafe;
    color: #1e3a8a;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ----- Split rows and quotes ----- */

/* Two blocks side by side on wide screens, stacked on phones. */
.split {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* A customer question with my answer under it. */
.answer {
    flex: 1 1 100%;
    margin: 0 0 0 0;
    padding: 26px 26px 26px 26px;
    border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid #1d4ed8;
}

/* The question line of an answer card. */
.answer h3 {
    font-size: 1.1rem;
}

/* The last paragraph in an answer card has no bottom space. */
.answer p:last-child {
    margin: 0 0 0 0;
}

/* The list of towns as rounded tags. */
.towns {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0 0;
    padding: 0 0 0 0;
}

/* One town tag. */
.towns li {
    padding: 8px 16px 8px 16px;
    border-radius: 30px;
    background-color: #111c33;
    border: 1px solid #334155;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Town tags that are links keep white text. */
.section-dark .towns a {
    color: #ffffff;
}

/* ----- Sub page hero and breadcrumb ----- */

/* Dark title band at the top of every inside page. */
.page-hero {
    background-color: #0b1220;
    background-image: radial-gradient(circle at 90% 0%, #1e3a8a 0%, #0b1220 60%);
    color: #cbd5e1;
    padding: 40px 0 48px 0;
}

/* The inside page heading is white. */
.page-hero h1 {
    color: #ffffff;
    max-width: 860px;
}

/* The breadcrumb trail is a small inline list. */
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px 0;
    padding: 0 0 0 0;
    font-size: 0.88rem;
}

/* A slash between breadcrumb steps. */
.breadcrumb li + li::before {
    content: "/";
    margin: 0 8px 0 0;
    color: #93c5fd;
}

/* Breadcrumb links are sky blue on the dark band. */
.breadcrumb a {
    color: #93c5fd;
}

/* ----- Price table ----- */

/* Lets a wide table scroll inside its own box on small phones. */
.table-box {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background-color: #ffffff;
}

/* The price table fills its box and keeps a readable width on phones. */
.price-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

/* The table caption reads like a small heading. */
.price-table caption {
    padding: 16px 18px 12px 18px;
    text-align: left;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cell padding and row lines. */
.price-table th,
.price-table td {
    padding: 14px 18px 14px 18px;
    border-top: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

/* The header row is navy with white text. */
.price-table thead th {
    background-color: #0b1220;
    color: #ffffff;
    font-size: 0.9rem;
}

/* The price column is bold and never wraps. */
.price-table td.num {
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

/* ----- Questions and answers ----- */

/* One question that opens and closes. */
.faq details {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    margin: 0 0 12px 0;
}

/* The question line is the clickable part. */
.faq summary {
    padding: 18px 20px 18px 20px;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
}

/* An open question gets a blue border. */
.faq details[open] {
    border-color: #1d4ed8;
}

/* The answer text under an open question. */
.faq details p {
    padding: 0 20px 0 20px;
}

/* Group headings on the questions page. */
.faq h2 {
    margin: 40px 0 18px 0;
    font-size: 1.4rem;
}

/* ----- Reading pages ----- */

/* Keeps long text at a comfortable line length. */
.prose {
    max-width: 760px;
}

/* Headings inside long text get space above them. */
.prose h2 {
    margin: 40px 0 14px 0;
}

/* A pulled-out line in my own words. */
.pull {
    margin: 28px 0 28px 0;
    padding: 6px 0 6px 22px;
    border-left: 5px solid #f5b301;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1.35;
    color: #0b1220;
}

/* The quick facts box on the about page. */
.facts {
    padding: 26px 26px 10px 26px;
    border-radius: 16px;
    background-color: #f4f6fb;
    border: 1px solid #e2e8f0;
}

/* Fact list rows. */
.facts li {
    margin: 0 0 8px 0;
}

/* ----- Contact page ----- */

/* The big line on a contact card, such as the phone number. */
.contact-big {
    flex-grow: 0;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ----- Call to action band ----- */

/* The blue band near the bottom of every page. */
.cta-band {
    background-color: #1e3a8a;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #0b1220 100%);
    color: #dbeafe;
    padding: 60px 0 60px 0;
    text-align: center;
}

/* The band heading is white. */
.cta-band h2 {
    color: #ffffff;
}

/* The band text is centered with a comfortable width. */
.cta-band p {
    max-width: 640px;
    margin: 0 auto 16px auto;
}

/* ----- Footer ----- */

/* Dark footer with small light text. */
.site-footer {
    background-color: #060b16;
    color: #cbd5e1;
    padding: 48px 0 28px 0;
    font-size: 0.95rem;
}

/* Footer columns stack on phones. */
.foot-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Footer column headings. */
.site-footer h2 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: 0;
}

/* Footer lists have no bullets. */
.site-footer ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* Space between footer list rows. */
.site-footer li {
    margin: 0 0 8px 0;
}

/* Footer links are light and underlined. */
.site-footer a {
    color: #ffffff;
}

/* Footer links turn gold on hover. */
.site-footer a:hover {
    color: #f5b301;
}

/* The copyright line under the footer columns. */
.foot-note {
    margin: 34px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid #1e293b;
    font-size: 0.88rem;
}

/* ----- ID selectors ----- */

/* The demo gallery page keeps a little extra room above its first group. */
#all-demos {
    padding-top: 40px;
}

/* ----- Small tablets, 576px and up ----- */
@media (min-width: 576px) {

    /* Bigger main heading. */
    h1 {
        font-size: 2.6rem;
    }

    /* Two demos per row. */
    .demo-card {
        flex: 0 0 calc((100% - 22px) / 2);
    }

    /* Two cards per row. */
    .card {
        flex: 1 1 calc((100% - 22px) / 2);
    }

    /* Two answer cards per row. */
    .answer {
        flex: 1 1 calc((100% - 22px) / 2);
    }
}

/* ----- Tablets, 768px and up ----- */
@media (min-width: 768px) {

    /* Bigger section headings. */
    h2 {
        font-size: 2.1rem;
    }

    /* More vertical room for sections. */
    .section {
        padding: 84px 0 84px 0;
    }

    /* Four facts in one row. */
    .stat {
        flex: 1 1 25%;
    }

    /* Two steps per row. */
    .step {
        flex: 1 1 calc((100% - 22px) / 2);
    }

    /* Footer columns sit side by side. */
    .foot-row {
        flex-direction: row;
        justify-content: space-between;
    }

    /* The first footer column is wider for the business description. */
    .foot-about {
        flex: 0 1 340px;
    }
}

/* ----- Laptops, 992px and up ----- */
@media (min-width: 992px) {

    /* Largest main heading. */
    h1 {
        font-size: 3.3rem;
    }

    /* The menu button and its checkbox are not needed on wide screens. */
    .menu-check,
    .menu-icon {
        display: none;
    }

    /* The navigation is always visible and sits beside the logo. */
    .site-nav {
        display: block;
        flex-basis: auto;
    }

    /* Nav links line up in a row. */
    .site-nav ul {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    /* Nav links lose their phone row borders and tighten up to fit one row. */
    .site-nav a {
        padding: 10px 7px 10px 7px;
        border-top: 0;
        font-size: 0.86rem;
    }

    /* The call button sits at the end of the row. */
    .site-nav a.nav-call {
        margin: 0 0 0 6px;
        padding: 10px 12px 10px 12px;
    }

    /* The business name in the logo is a little smaller beside the full menu. */
    .logo {
        font-size: 0.98rem;
    }

    /* Hero text and artwork sit side by side. */
    .hero-row {
        flex-direction: row;
        align-items: center;
    }

    /* The hero text takes a little less than half. */
    .hero-text {
        flex: 1 1 46%;
    }

    /* The hero artwork takes the rest. */
    .hero-art {
        flex: 1 1 54%;
    }

    /* More room around the hero. */
    .hero {
        padding: 84px 0 96px 0;
    }

    /* Three demos per row. */
    .demo-card {
        flex: 0 0 calc((100% - 44px) / 3);
    }

    /* Three cards per row. */
    .card {
        flex: 1 1 calc((100% - 44px) / 3);
    }

    /* Three answer cards per row. */
    .answer {
        flex: 1 1 calc((100% - 44px) / 3);
    }

    /* Split rows go side by side. */
    .split {
        flex-direction: row;
        align-items: flex-start;
    }

    /* Each half of a split row shares the width. */
    .split > * {
        flex: 1 1 50%;
    }
}

/* ----- Desktops, 1200px and up ----- */
@media (min-width: 1200px) {

    /* Four demos per row in the full gallery. */
    .demo-grid-4 .demo-card {
        flex: 0 0 calc((100% - 66px) / 4);
    }

    /* Roomier nav links at full size. */
    .site-nav a {
        padding: 10px 13px 10px 13px;
        font-size: 0.96rem;
    }

    /* The call button gets its full padding back. */
    .site-nav a.nav-call {
        margin: 0 0 0 10px;
        padding: 12px 18px 12px 18px;
    }

    /* The logo name returns to full size. */
    .logo {
        font-size: 1.08rem;
    }
}

/* ----- Motion preference ----- */
@media (prefers-reduced-motion: reduce) {

    /* No smooth scrolling for people who turn motion off. */
    html {
        scroll-behavior: auto;
    }

    /* No hover movement for people who turn motion off. */
    .btn,
    .demo-card a {
        transition: none;
    }
}
