/* =========================================================
   GRID & GRIT demo stylesheet
   Layout idea: a light blue gradient that shifts as you scroll,
   a faint "blueprint grid" in the hero, condensed bold headings
   for the "grit", royal blue used only for actions and accents.
   ========================================================= */

/* ---------- 1. Design tokens (CSS variables) ----------
   Change a color here and it changes everywhere. */
:root {
    --page:       #EEF5FF;   /* fallback background under the gradient */
    --surface:    rgba(255, 255, 255, 0.78);  /* see-through white for cards and panels */
    --line:       #C9D7EF;   /* borders and dividers */
    --blue:       #2A4BC9;   /* royal blue: buttons and accents */
    --blue-hover: #1F3FB8;
    --text:       #0F1B33;   /* deep navy for headings and text */
    --muted:      #43527A;   /* softer text for paragraphs */
    --grid-line:  rgba(42, 75, 201, 0.07);

    /* Scroll values that script.js keeps updated:
       --scroll = 0 at the top of the page, 1 at the bottom (moves the gradient)
       --sy     = pixels scrolled so far (drives the parallax) */
    --scroll: 0;
    --sy: 0;

    --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --font-body:    "Figtree", "Segoe UI", Arial, sans-serif;

    --radius: 10px;
    --max-width: 1120px;

    color-scheme: light;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;   /* padding is included in an element's width */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--page);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* The moving background: a fixed layer behind everything.
   The gradient is 3x taller than the screen; as you scroll,
   script.js changes --scroll and the visible slice slides down it. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        170deg,
        #F4F8FF 0%,
        #DCEBFF 25%,
        #C8DEFA 50%,
        #E3EEFF 75%,
        #CFE2FC 100%
    );
    background-size: 100% 300%;
    background-position: 50% calc(var(--scroll) * 100%);
}

/* ---------- Parallax ----------
   The idea: things at different "depths" move at different speeds.
   Each shape is pushed down by (pixels scrolled × its speed).
   speed 0.3 → it moves 30% slower than the page, so it feels far away. */
body { position: relative; }

.parallax {
    position: absolute;
    inset: 0;
    overflow: hidden;          /* shapes never cause sideways scrolling */
    z-index: -1;               /* behind all content, in front of the gradient */
    pointer-events: none;      /* clicks pass straight through */
}

.p-shape {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 18%;
    transform:
        translate3d(0, calc(var(--sy) * var(--speed) * 1px), 0)
        rotate(var(--turn));
    will-change: transform;    /* hint to the browser: animate this smoothly */
}

/* Two layers per floating item:
   .p-item (outer) = the parallax movement from scrolling
   .float  (inner) = a gentle bob that runs on its own
   Splitting them keeps the two movements from overwriting each other. */
.p-item {
    position: absolute;
    transform: translate3d(0, calc(var(--sy) * var(--speed) * 1px), 0);
    will-change: transform;
}

.float {
    animation: bob 9s ease-in-out infinite;
    animation-delay: var(--delay, 0s);   /* different start points, so they don't move in sync */
}

@keyframes bob {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(6px, -14px) rotate(0.6deg); }
    66%      { transform: translate(-5px, 8px) rotate(-0.6deg); }
}

/* Gradient orbs: a radial gradient fades to transparent, so the edges are already soft */
.orb {
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    animation-duration: 18s;             /* orbs drift slower than the UI pieces */
}
.orb-royal { background: radial-gradient(circle, rgba(42, 75, 201, 0.30) 0%, rgba(42, 75, 201, 0.10) 40%, transparent 70%); }
.orb-sky   { background: radial-gradient(circle, rgba(110, 170, 255, 0.45) 0%, rgba(110, 170, 255, 0.14) 40%, transparent 70%); }
.orb-cyan  { background: radial-gradient(circle, rgba(80, 200, 255, 0.32) 0%, rgba(80, 200, 255, 0.10) 40%, transparent 70%); }

/* Keep decorations in the side margins.
   The text column is 1120px wide, so its edges sit 560px either side of the centre (50%).
   We add a 16px safety gap, plus an optional --inset to push an item farther out.
   On narrow screens the margins shrink to nothing, and items slide off the edge (hidden),
   so they can never sit on top of words. */
.side-left  { right: calc(50% + 576px + var(--inset, 0px)); }
.side-right { left:  calc(50% + 576px + var(--inset, 0px)); }

/* Floating UI components */
.ui { opacity: 0.85; }

/* The two chips that float around the sample phone */
.phone-wrap { position: relative; }
.hero-chip {
    position: absolute;
    z-index: 2;
    transform: translateY(calc(var(--sy) * -0.18px));   /* slightly faster than the phone: looks closer */
}
/* They sit beside the phone, never on its screen: left of the left edge, right of the right edge */
.hero-chip-top  { top: 16%; right: calc(50% + 120px); }
.hero-chip-side { top: 58%; left:  calc(50% + 122px); }
@media (max-width: 1250px) {
    .hero-chip-side { display: none; }      /* not enough room beside the phone; keep just one chip */
}

.ui-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 27, 51, 0.12);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

.ui-card svg,
.ui-call svg,
.ui-note-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.ui-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.ui-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1F9D55;
    box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.18);
}
.ui-toggle {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--blue);
    position: relative;
}
.ui-toggle i {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
}

/* A tiny browser window */
.ui-browser { width: 210px; overflow: hidden; }
.ui-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background: #EEF3FC;
    border-bottom: 1px solid var(--line);
}
.ui-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C3CFE6; }
.ui-bar span {
    margin-left: 6px;
    flex: 1;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.68rem;
    color: var(--muted);
}
.ui-body { display: grid; gap: 7px; padding: 14px; }

/* "Skeleton" bars: grey stand-ins for text */
.sk { display: block; height: 7px; border-radius: 4px; background: #DCE4F3; }
.sk-title { height: 11px; width: 75%; background: #C7D3EC; }
.sk-short { width: 55%; }

.ui-btn {
    display: inline-block;
    justify-self: start;
    margin-top: 4px;
    background: var(--blue);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}
.ui-btn-full { justify-self: stretch; text-align: center; }

/* A tiny contact form */
.ui-form { width: 190px; padding: 14px; display: grid; gap: 8px; }
.ui-label { font-size: 0.75rem; }
.ui-input { display: block; height: 22px; border: 1px solid var(--line); border-radius: 6px; background: #F7F9FE; }

/* A "Call now" button */
.ui-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 14px 30px rgba(42, 75, 201, 0.35);
    white-space: nowrap;
}
.ui-call svg { stroke: #FFFFFF; }

/* A mouse pointer */
.ui-cursor svg {
    width: 34px;
    height: 34px;
    fill: var(--text);
    stroke: #FFFFFF;
    stroke-width: 1.5;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 10px rgba(15, 27, 51, 0.25));
}

/* A notification */
.ui-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}
.ui-note-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(42, 75, 201, 0.12);
}

/* A text-message bubble (the kind of edit request a client sends) */
.ui-bubble {
    max-width: 190px;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(15, 27, 51, 0.12);
    font-size: 0.82rem;
    color: var(--text);
}

.p-fill    { background: var(--blue); opacity: 0.16; }
.p-outline { border: 2px solid var(--blue); opacity: 0.28; }

/* A mini 3x3 grid drawn with two repeating gradients, like the logo */
.p-grid {
    opacity: 0.22;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 30%, rgba(238, 245, 255, 1) 30% 35%, transparent 35% 65%, rgba(238, 245, 255, 1) 65% 70%, transparent 70%),
        linear-gradient(transparent 30%, rgba(238, 245, 255, 1) 30% 35%, transparent 35% 65%, rgba(238, 245, 255, 1) 65% 70%, transparent 70%),
        var(--blue);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin: 0;
    text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin: 0; }

a { color: var(--blue); }

img, svg { max-width: 100%; }

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.accent { color: var(--blue); }

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: var(--blue);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 6px;
}

/* DEMO banner: delete with its HTML at launch */
.demo-bar {
    background: var(--blue);
    color: #FFFFFF;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 999px;          /* pill shape */
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary {
    background: var(--blue);
    color: #FFFFFF;
}
.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn-full  { width: 100%; }

.text-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.text-link:hover { color: var(--text); }

/* ---------- 4. Header ---------- */
.site-header {
    position: sticky;              /* stays at the top while scrolling */
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    text-decoration: none;
}
.logo-mark { width: 32px; height: 32px; }
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    color: var(--text);
    white-space: nowrap;
}
.amp { color: var(--blue); }

.main-nav {
    display: flex;
    gap: 28px;
}
.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.main-nav a:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* The small call/text link you asked for */
.call-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
}
.call-link span { color: var(--text); font-weight: 600; }
.call-link:hover span { color: var(--blue); }

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    /* The "grid": two sets of thin lines, one horizontal, one vertical */
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
    /* Parallax: the grid lines drift at 40% of scroll speed, so they feel like a back wall */
    background-position: 0 calc(var(--sy) * 0.4px);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: center;
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 34em;
    margin-top: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    color: var(--muted);
    font-size: 0.95rem;
}
.hero-points li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--blue);
    margin-right: 10px;
    vertical-align: middle;
}

/* ---------- 6. The sample phone (pure CSS) ---------- */
.phone-wrap {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.phone {
    width: 260px;
    padding: 12px;
    border-radius: 36px;
    background: #0F1B33;
    border: 2px solid var(--line);
    box-shadow: 0 30px 60px rgba(15, 27, 51, 0.25), 0 0 0 8px rgba(42, 75, 201, 0.10);
    /* Parallax: the phone rises a little faster than the page, so it feels closer */
    transform: translateY(calc(var(--sy) * -0.12px)) rotate(2deg);
    will-change: transform;
}

.phone-screen {
    background: #f6f4ee;
    color: #1d2a1f;
    border-radius: 26px;
    overflow: hidden;
    min-height: 440px;
    font-size: 0.8rem;
}

.ms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px 12px;
}
.ms-logo { font-weight: 700; color: #2f5d34; }
.ms-menu {
    width: 18px;
    height: 10px;
    border-top: 2px solid #2f5d34;
    border-bottom: 2px solid #2f5d34;
}

.ms-hero {
    background: #2f5d34;
    color: #fff;
    margin: 0 12px;
    padding: 22px 16px;
    border-radius: 14px;
}
.ms-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.05;
    margin-bottom: 14px;
}
.ms-btn {
    display: inline-block;
    background: #f2c14e;
    color: #1d2a1f;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
}

.ms-list { padding: 14px 12px 6px; }
.ms-list p {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e3dfd3;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 8px;
    font-weight: 600;
}
.ms-list b { color: #2f5d34; }

.ms-hours {
    text-align: center;
    color: #5b6a5d;
    padding: 6px 0 18px;
}

.phone-wrap figcaption {
    font-size: 0.82rem;
    color: var(--muted);
}

/* ---------- 7. Sections ---------- */
.section { padding: 88px 0; }

.section-alt {
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}

/* What you get: a grid of features that wraps by itself */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1px;                        /* the 1px gap shows the line color: a grid look */
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature {
    background: var(--surface);
    padding: 30px 28px;
}
.feature h3 { margin: 18px 0 10px; }
.feature p  { color: var(--muted); }

.icon {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Who it's for */
.who {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.who p { color: var(--muted); margin-top: 18px; max-width: 34em; }

.trades {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.trades li {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
}
.trades li:nth-child(-n+3) {        /* first three = your target trades */
    border-color: var(--blue);
    color: var(--blue);
}

/* How it works */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step {
    border-top: 3px solid var(--blue);
    padding-top: 22px;
}
.step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--blue);
    margin-bottom: 12px;
}
.step h3 { margin-bottom: 10px; }
.step p  { color: var(--muted); }

/* Growth line chart (draws itself as you scroll; see script.js part 3) */
.growth-chart {
    margin-bottom: 40px;
    padding: 28px 28px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.growth-chart svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
.chart-grid line { stroke: var(--line); stroke-width: 1.5; }
.chart-grid .v   { stroke-dasharray: 6 8; }

.chart-area { fill: url(#area-fill); }
.chart-line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-point {
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.chart-point .halo { fill: var(--blue); opacity: 0.15; }
.chart-point .dot  { fill: var(--blue); stroke: #FFFFFF; stroke-width: 4; }
.chart-point text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    fill: var(--blue);
    text-anchor: middle;
}
/* Points start hidden only when the scroll animation is running */
.growth-chart.is-animated .chart-point:not(.is-on) {
    opacity: 0;
    transform: scale(0.4);
}

/* About */
.about { max-width: 760px; }
.about p:last-child { color: var(--muted); margin-top: 18px; font-size: 1.1rem; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.12rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 40em; }

/* ---------- 8. Consultation form ---------- */
.consult {
    background:
        radial-gradient(ellipse at top left, rgba(42, 75, 201, 0.12), transparent 60%),
        rgba(255, 255, 255, 0.45);
    border-top: 1px solid var(--line);
}

.consult-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.consult-copy > p { color: var(--muted); margin-top: 18px; }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 16px;
}
.contact-list li { display: grid; gap: 2px; }
.contact-list .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.contact-list a,
.contact-list span:not(.label) {
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--blue); }

.consult-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    display: grid;
    gap: 18px;
}

.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label,
legend {
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0;
}
.optional { color: var(--muted); font-weight: 400; }

input,
select,
textarea {
    width: 100%;
    font: inherit;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 13px;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(42, 75, 201, 0.25);
}

.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.radios input { width: auto; accent-color: var(--blue); }

.form-note { font-size: 0.92rem; color: var(--muted); min-height: 1.4em; }
.form-note.is-error { color: #B42318; }
.form-note.is-demo  { color: var(--blue); }

/* ---------- 9. Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    color: var(--text);
}
.footer-domain { color: var(--blue); font-weight: 600; margin-top: 4px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }

/* ---------- 10. Responsive: tablets and phones ----------
   "When the screen is narrower than X, use these rules instead." */
@media (max-width: 900px) {
    .main-nav { display: none; }            /* hide the section links */
    .ui { display: none; }                  /* not enough room for the floating UI pieces; the orbs stay */
    .hero-chip { display: none; }           /* phone sits under the text here; no room beside it */
    .hero-inner,
    .who,
    .consult-inner { grid-template-columns: 1fr; gap: 44px; }
    .steps { grid-template-columns: 1fr; }
    .hero { padding: 52px 0 64px; }
    .section { padding: 64px 0; }
}

@media (max-width: 560px) {
    .call-link { display: none; }           /* the phone number is in the hero and contact sections */
    .logo-text { font-size: 1.3rem; }
    .logo-mark { width: 26px; height: 26px; }
    .btn-small { padding: 8px 14px; font-size: 0.85rem; }
    .field-row { grid-template-columns: 1fr; }
    .consult-form { padding: 22px; }
    .phone { width: 240px; }
    .growth-chart { padding: 16px 14px 6px; }
}

@media (max-width: 480px) {
    .chart-point text { display: none; }    /* too small to read on narrow phones */
}

/* People who turn off animations in their settings get none */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body::before { background-position: 50% 0; }   /* gradient stays still */
    .p-shape { transform: rotate(var(--turn)); }    /* no parallax movement */
    .p-item, .hero-chip { transform: none; }
    .float { animation: none; }
    .phone { transform: rotate(2deg); }
    .hero { background-position: 0 0; }
    .btn { transition: none; }
    .btn-primary:hover { transform: none; }
}
