/* ============================================================
   IoT Connect — Design System v2
   Light theme · glassmorphism · gradient accents · pixel-perfect
   ============================================================ */

:root {
    --grad: linear-gradient(135deg, #10b981 0%, #0891b2 50%, #2563eb 100%);
    --grad-soft: linear-gradient(135deg, rgba(16,185,129,.14), rgba(8,145,178,.14), rgba(37,99,235,.14));
    --header-height: 76px;
    --section-pad-y: 96px;
    --section-pad-y-mobile: 80px;
    --content-max: 1200px;
    --content-px: 24px;
}

* { scrollbar-color: #0891b2 #e2e8f0; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: linear-gradient(#10b981,#0891b2); border-radius: 8px; }

html { scroll-behavior: smooth; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection { background: #0891b2; color: #fff; }

/* ---------- Container & layout consistency ---------- */
.container-wide {
    width: 100%;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--content-px);
    padding-right: var(--content-px);
}

/* ---------- Backgrounds ---------- */
.bg-site {
    background:
        radial-gradient(900px 600px at 15% -10%, rgba(16,185,129,.10), transparent 60%),
        radial-gradient(900px 600px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(800px 500px at 50% 110%, rgba(8,145,178,.08), transparent 60%),
        #f6f9ff;
}

.bg-site-2 {
    background:
        radial-gradient(700px 450px at 10% 0%, rgba(8,145,178,.08), transparent 60%),
        radial-gradient(700px 450px at 90% 100%, rgba(16,185,129,.08), transparent 60%),
        #eef3fa;
}

.bg-site-3 {
    background:
        radial-gradient(600px 400px at 80% 0%, rgba(124,58,237,.08), transparent 60%),
        radial-gradient(600px 400px at 10% 100%, rgba(16,185,129,.08), transparent 60%),
        #e7edf8;
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(100,116,139,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100,116,139,.07) 1px, transparent 1px);
    background-size: 44px 44px;
}

/* ---------- Text gradient ---------- */
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% 200%;
    animation: gradShift 8s ease infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradShift 8s ease infinite;
}

/* ---------- Header / Nav precision ---------- */
:root {
    --header-height: 74px;
}

header#site-header {
    transition: box-shadow .25s ease;
}
header#site-header.has-shadow {
    box-shadow: 0 6px 24px -18px rgba(15,23,42,0.25);
}

#header-accent {
    pointer-events: none;
    will-change: width;
}

header nav a,
header nav button {
    display: inline-flex;
    align-items: center;
}

#services-menu {
    top: calc(100% + 10px);
    transform-origin: top center;
    animation: dropdownIn .2s cubic-bezier(.4,0,.2,1);
}
@keyframes dropdownIn {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
#services-menu.hidden {
    display: none;
}
#services-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
#services-menu a .fa-solid,
#services-menu a .fa,
#services-menu a .fas {
    width: 1rem;
    text-align: center;
}

/* ---------- Glass cards ---------- */
.glass {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px -8px rgba(15, 23, 42, 0.08);
    transition: transform .35s cubic-bezier(.4,0,.2,1), border-color .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 145, 178, .30);
    box-shadow: 0 24px 60px -18px rgba(8, 145, 178, .22);
}

.glow-card {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,255,255,.78));
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    box-shadow: 0 8px 32px -8px rgba(15, 23, 42, 0.08);
    transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 200px at var(--mx,50%) 0%, rgba(8,145,178,.14), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 1;
}

.glow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px -20px rgba(8, 145, 178, .25);
}
.glow-card:hover::before { opacity: 1; }

.card-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(8,145,178,.45);
    flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 600;
    border-radius: 999px;
    padding: .85rem 1.75rem;
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 14px 34px -10px rgba(8,145,178,.45);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px -12px rgba(37,99,235,.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: #fff;
    border: 1px solid rgba(15,23,42,.12);
    color: #0f172a;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(8,145,178,.5);
    background: rgba(8,145,178,.06);
    box-shadow: 0 8px 24px -8px rgba(8, 145, 178, .20);
}

.btn-ghost:active {
    transform: translateY(0);
}

/* ---------- Chips / badges ---------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem 1rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0e7490;
    background: rgba(8,145,178,.10);
    border: 1px solid rgba(8,145,178,.25);
    backdrop-filter: blur(6px);
    line-height: 1.2;
}

/* ---------- Sections ---------- */
.section {
    padding: var(--section-pad-y-mobile) 0;
    position: relative;
}
@media (min-width: 768px) {
    .section { padding: var(--section-pad-y) 0; }
}

.section-head {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .section-head { margin-bottom: 5rem; }
}
.section-head .chip { margin-bottom: 1.25rem; }

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

.section-sub {
    color: #64748b;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.02rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ---------- Stats ---------- */
.stat-number {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-line {
    height: 3px;
    border-radius: 99px;
    background: var(--grad);
    width: 44px;
    margin: .75rem auto 0;
}

/* ---------- Divider ---------- */
.divider-gradient {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(8,145,178,.35), transparent);
}

/* ---------- Orbs (animated) ---------- */
.orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: .4;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(30px,-40px) scale(1.15); }
}

.animate-float { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 30s linear infinite;
    align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .glass {
    height: 88px;
    min-width: 180px;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-0 { transition-delay: .05s; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ---------- Feature list ---------- */
.feature-line { display: flex; align-items: flex-start; gap: .75rem; }
.feature-check {
    flex-shrink: 0;
    margin-top: .15rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    box-shadow: 0 8px 18px -6px rgba(8,145,178,.45);
}

/* ---------- Process steps ---------- */
.steps-wrap {
    position: relative;
}
.steps-connector {
    position: absolute;
    top: 22px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(16,185,129,.4), rgba(8,145,178,.4), rgba(37,99,235,.4));
    z-index: 0;
}
@media (max-width: 767px) {
    .steps-connector { display: none; }
}

.step-num {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 12px 26px -8px rgba(8,145,178,.4);
    position: relative;
    z-index: 1;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-top: 1.25rem;
    background: rgba(8,145,178,.10);
    border: 1px solid rgba(8,145,178,.30);
    color: #0891b2;
}
.step-title {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.125rem;
    margin-top: 1rem;
    margin-bottom: 0;
}
.step-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 0.5rem;
    margin-bottom: 0;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Image treatment ---------- */
.img-frame {
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 80px -30px rgba(15,23,42,.18);
    overflow: hidden;
    background: #fff;
}

/* ---------- Footer link ---------- */
.foot-link {
    color: #64748b;
    transition: color .25s ease, transform .25s ease;
    display: inline-block;
}
.foot-link:hover {
    color: #0e7490;
    transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.faq-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    transition: border-color .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.faq-item.open {
    border-color: rgba(8,145,178,.35);
    box-shadow: 0 12px 40px -12px rgba(8, 145, 178, .18);
}
.faq-toggle {
    transition: color .25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}
.faq-item.open .faq-toggle { color: #0e7490; }
.faq-toggle i {
    flex-shrink: 0;
    transition: transform .3s ease;
}

/* ---------- Form inputs (consistent) ---------- */
.form-input {
    width: 100%;
    padding: .85rem 1.1rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.10);
    color: #0f172a;
    font-size: 0.95rem;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
    outline: none;
    line-height: 1.4;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
    border-color: rgba(8, 145, 178, .55);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, .10);
    background: #fff;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
}

/* ---------- Nav link underline ---------- */
.nav-link {
    position: relative;
    color: #475569;
    transition: color .2s ease, background-color .2s ease;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    letter-spacing: -0.005em;
}
.nav-link:hover {
    background: rgba(8, 145, 178, 0.06);
    color: #0891b2;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--grad);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
    opacity: 0.95;
}
.nav-link:hover::after,
.nav-link.is-active::after {
    transform: translateX(-50%) scaleX(1);
}
.nav-link.is-active {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.07);
}

/* ---------- Tag / badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.badge-emerald {
    background: rgba(16,185,129,.12);
    color: #047857;
    border: 1px solid rgba(16,185,129,.25);
}
.badge-amber {
    background: rgba(217,119,6,.12);
    color: #b45309;
    border: 1px solid rgba(217,119,6,.25);
}
.badge-rose {
    background: rgba(225,29,72,.12);
    color: #be123c;
    border: 1px solid rgba(225,29,72,.25);
}
.badge-cyan {
    background: rgba(8,145,178,.12);
    color: #0e7490;
    border: 1px solid rgba(8,145,178,.25);
}

/* ---------- Table styling ---------- */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 1rem;
}
.data-table thead th {
    background: #f1f5f9;
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.data-table tbody td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: #334155;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .2s ease; }
.data-table tbody tr:hover { background: rgba(248, 250, 252, 0.8); }

/* ---------- Alert / notice ---------- */
.alert {
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
}
.alert-yellow {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.alert-yellow svg { color: #d97706; flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Hero precision ---------- */
#hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}
#hero .hero-content {
    padding-top: 2rem;
    padding-bottom: 6rem;
}
@media (min-width: 768px) {
    #hero .hero-content {
        padding-top: 3rem;
        padding-bottom: 8rem;
    }
}

/* ---------- Industry / Feature cards alignment ---------- */
.card-grid {
    display: grid;
    gap: 1.5rem;
}
.card-grid .glow-card,
.card-grid .glass-card {
    align-self: stretch;
}

.industry-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px -8px rgba(8,145,178,.4);
}
.industry-title {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}
.industry-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    flex: 1;
}
.industry-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0891b2;
    transition: gap .25s ease;
}
.industry-cta:hover {
    gap: 1rem;
}

.feature-title {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.125rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
    line-height: 1.35;
}
.feature-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-top: 0.5rem;
    margin-bottom: 0;
    flex: 1;
}

/* ---------- Solutions showcase ---------- */
.solution-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100%;
}
@media (min-width: 640px) {
    .solution-card {
        grid-template-columns: 40% 60%;
    }
}
.solution-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}
.solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.solution-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.solution-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px -8px rgba(8,145,178,.4);
    flex-shrink: 0;
}
.solution-title {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.25;
}
.solution-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}
.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0891b2;
    transition: gap .25s ease;
}
.solution-cta:hover {
    gap: 1rem;
}

/* ---------- Testimonials ---------- */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.testimonial-text {
    color: #334155;
    line-height: 1.7;
    margin: 0;
    font-size: 0.98rem;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.testimonial-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px -8px rgba(8,145,178,.4);
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}
.testimonial-role {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0.1rem 0 0 0;
}

/* ---------- Newsletter card ---------- */
.newsletter-card {
    padding: 2.5rem 1.75rem;
}
@media (min-width: 768px) {
    .newsletter-card {
        padding: 3rem;
    }
}
.newsletter-title {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 1.25rem 0 0 0;
    line-height: 1.25;
}
.newsletter-sub {
    color: #64748b;
    margin: 0.75rem 0 0 0;
    line-height: 1.65;
}
.newsletter-form {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
    .newsletter-form .form-input {
        flex: 1;
        border-radius: 999px !important;
    }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Focus ring accessibility ---------- */
:focus-visible {
    outline: 2px solid #0891b2;
    outline-offset: 2px;
    border-radius: 4px;
}
