:root {
    --bg: #ffffff;
    --bg-soft: #f7f7fb;
    --surface: #ffffff;
    --surface-muted: #f4f5ff;
    --text: #1d1e20;
    --heading: #111827;
    --muted: #5f6368;
    --muted-2: #8a8f98;
    --border: #e6e8ef;
    --border-strong: #d7d9e3;
    --primary: #673de6;
    --primary-dark: #4c1d95;
    --primary-soft: #ebe4ff;
    --green: #00a86b;
    --blue: #1a73e8;
    --yellow: #fbbc04;
    --red: #ea4335;
    --dark: #111827;
    --footer: #1d1e20;
    --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.07);
    --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
    --font-body: "Inter", Arial, "Helvetica Neue", sans-serif;
    --font-heading: "Poppins", "Inter", Arial, "Helvetica Neue", sans-serif;
    --font-mono: "Inter", Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: -0.004em;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section-pad {
    padding: 88px 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    transform: translateY(-160%);
    background: var(--dark);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand-logo {
    width: 44px;
    height: 44px;
}

.brand-text {
    color: var(--heading);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    color: #3c4043;
    font-weight: 500;
    letter-spacing: -0.006em;
    padding: 11px 13px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    color: var(--primary);
    background: var(--primary-soft);
    outline: none;
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--primary);
    margin-left: 6px;
    border: 1px solid var(--primary);
    box-shadow: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible,
.site-nav .nav-cta.is-active {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    place-items: center;
    padding: 11px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--heading);
    border-radius: 99px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
    text-wrap: balance;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 4.9vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.028em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    line-height: 1.32;
    letter-spacing: -0.012em;
}

p {
    text-wrap: pretty;
}

.hero-lead,
.section-heading p,
.contact-copy p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 34px;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.095em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 6px #dcfce7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: -0.012em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    color: var(--heading);
    background: #fff;
    border-color: var(--border-strong);
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-light {
    color: var(--primary);
    background: #fff;
    border-color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 76px;
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    align-items: center;
    gap: 54px;
}

.hero-copy h1 {
    max-width: 820px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span {
    color: #3c4043;
    font-weight: 500;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 9px 13px;
    border-radius: 999px;
}

.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.dashboard-card,
.platform-panel,
.feature-card,
.pricing-card,
.testimonial-card,
.contact-form,
.process-card,
.page-hero-card,
.content-card,
.service-card,
.resource-card,
.process-mini-list > div {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}

.main-dashboard {
    position: relative;
    width: min(100%, 500px);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.dashboard-topbar,
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.dashboard-topbar strong,
.panel-header strong {
    display: block;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.mini-label {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-pill {
    color: var(--green);
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: 600;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.metric-card {
    padding: 18px;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.metric-card.accent {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.metric-card span,
.metric-card small {
    display: block;
}

.metric-card span {
    color: inherit;
    opacity: 0.74;
    font-weight: 500;
    font-size: 0.85rem;
}

.metric-card strong {
    display: block;
    font-size: 1.78rem;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
    margin: 7px 0 2px;
}

.metric-card small {
    color: inherit;
    opacity: 0.78;
}

.chart-wrap {
    display: flex;
    align-items: end;
    gap: 12px;
    min-height: 172px;
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.chart-wrap span {
    flex: 1;
    min-width: 18px;
    border-radius: 999px 999px 8px 8px;
    background: var(--primary);
    animation: growBars 1.1s ease both;
}

.chart-wrap span:nth-child(2),
.chart-wrap span:nth-child(5) {
    background: var(--blue);
}

.chart-wrap span:nth-child(3),
.chart-wrap span:nth-child(6) {
    background: var(--green);
}

.chart-wrap span:nth-child(4) {
    background: var(--yellow);
}

.activity-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.activity-list > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.activity-list p {
    margin: 0;
}

.activity-list strong,
.activity-list small {
    display: block;
}

.activity-list small {
    color: var(--muted);
}

.activity-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--primary);
}

.activity-icon.second {
    background: var(--green);
}

.floating-card {
    position: absolute;
    z-index: 2;
    color: var(--heading);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 600;
    animation: float 5.5s ease-in-out infinite;
}

.floating-card-one {
    top: 64px;
    right: 10px;
}

.floating-card-two {
    left: 0;
    bottom: 80px;
    animation-delay: -2.2s;
}

.stats-strip {
    padding: 34px 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-item {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
}

.stat-item strong,
.stat-item span {
    display: block;
}

.stat-item strong {
    color: var(--primary);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    line-height: 1;
    letter-spacing: -0.052em;
    font-variant-numeric: tabular-nums;
}

.stat-item span {
    color: var(--muted);
    margin-top: 8px;
    font-weight: 500;
}

.section-heading {
    max-width: 730px;
}

.section-heading.centered {
    margin: 0 auto 52px;
    text-align: center;
}

.solutions-section,
.process-section,
.contact-section,
.platform-section,
.faq-section,
.pricing-section,
.testimonials-section {
    background: var(--bg);
}

.platform-section,
.process-section,
.faq-section,
.contact-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-grid,
.service-detail-grid,
.solution-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card,
.service-card,
.resource-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: var(--radius-lg);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.resource-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.feature-card p,
.process-card p,
.pricing-card p,
.testimonial-card span,
.faq-list p,
.site-footer p,
.service-card p,
.resource-card p,
.content-card p,
.page-hero-card p {
    color: var(--muted);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
}

.feature-icon::before {
    content: "";
    width: 26px;
    height: 26px;
    background: currentColor;
    mask: var(--icon) center / contain no-repeat;
    -webkit-mask: var(--icon) center / contain no-repeat;
}

.icon-dashboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h7V4H4v9Zm0 7h7v-5H4v5Zm9 0h7v-9h-7v9Zm0-16v5h7V4h-7Z'/%3E%3C/svg%3E"); }
.icon-automation { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 2.58 1.39 4.84 3.46 6.06L7 22h10l-1.46-6.94A7 7 0 0 0 12 2Zm0 4 1.1 2.2 2.4.35-1.75 1.7.42 2.4L12 11.52l-2.17 1.13.42-2.4-1.75-1.7 2.4-.35L12 6Z'/%3E%3C/svg%3E"); }
.icon-security { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.1 3.41 9.86 8 11 4.59-1.14 8-5.9 8-11V5l-8-3Zm-1 14-4-4 1.41-1.41L11 13.17l5.59-5.58L18 9l-7 7Z'/%3E%3C/svg%3E"); }
.icon-api { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7a4 4 0 1 1 3.46 3.96v2.08A4 4 0 1 1 8 17a3.99 3.99 0 0 1 1.46-3.08v-3.84A3.99 3.99 0 0 1 8 7Zm8 10a4 4 0 0 1-3.46-1.96v-2.08A4 4 0 1 1 16 17Z'/%3E%3C/svg%3E"); }
.icon-ai { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 9.5 8.5 3 11l6.5 2.5L12 20l2.5-6.5L21 11l-6.5-2.5L12 2Zm-7 14-1 3-3 1 3 1 1 3 1-3 3-1-3-1-1-3Zm14-1-1.3 3.7L14 20l3.7 1.3L19 25l1.3-3.7L24 20l-3.7-1.3L19 15Z'/%3E%3C/svg%3E"); }
.icon-scale { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19h16v2H4v-2Zm1-2 4-10 4 10H5Zm10 0 4-10 4 10h-8ZM12 3h8v2h-7v3h-2V5H4V3h8Z'/%3E%3C/svg%3E"); }

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    align-items: center;
    gap: 54px;
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 600;
}

.platform-panel {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
}

.panel-header {
    justify-content: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.window-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.window-dot.red { background: var(--red); }
.window-dot.yellow { background: var(--yellow); }
.window-dot.green { background: var(--green); }

.architecture-stack {
    display: grid;
    gap: 16px;
}

.architecture-stack div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.architecture-stack span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: var(--primary);
    border-radius: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.architecture-stack small {
    color: var(--muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-card {
    padding: 26px;
    border-radius: var(--radius-lg);
}

.process-card > span {
    display: inline-block;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 14px;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}

.cta-band {
    padding: 70px 0;
    color: #fff;
    background: var(--primary);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-inner h2 {
    max-width: 780px;
    margin-bottom: 0;
    color: #fff;
}

.cta-inner .eyebrow {
    color: #fff;
    opacity: 0.86;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: #fff;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}

.popular-badge {
    align-self: flex-start;
    color: #fff;
    background: var(--primary);
    border-radius: 999px;
    padding: 7px 11px;
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pricing-card > strong {
    display: block;
    font-size: 2.25rem;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 14px;
}

.pricing-card ul {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 22px 0 28px;
    list-style: none;
}

.pricing-card li,
.service-card li {
    position: relative;
    padding-left: 26px;
    color: #3c4043;
    font-weight: 500;
}

.pricing-card li::before,
.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.pricing-card .btn {
    margin-top: auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    margin: 0;
    padding: 26px;
    border-radius: var(--radius-lg);
}

.testimonial-card blockquote {
    margin: 0 0 24px;
    font-size: 1.05rem;
    font-weight: 500;
}

.testimonial-card figcaption strong,
.testimonial-card figcaption span {
    display: block;
}

.faq-layout {
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    box-shadow: none;
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--primary);
    font-size: 1.3rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    padding: 0 24px 20px;
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
    gap: 60px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-cards div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.contact-cards strong,
.contact-cards a,
.contact-cards span {
    display: block;
}

.contact-cards strong {
    margin-bottom: 5px;
}

.contact-cards a,
.contact-cards span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.contact-form {
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row.two-inputs {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

label {
    font-weight: 500;
    color: var(--heading);
    letter-spacing: -0.01em;
}

input,
textarea,
select {
    width: 100%;
    color: var(--heading);
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 14px 15px;
    font-weight: 500;
    letter-spacing: -0.008em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-submit {
    width: 100%;
}

.form-note {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 14px 0 0;
    text-align: center;
}

.form-note code {
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 6px;
    padding: 2px 5px;
    font-family: var(--font-mono);
    font-size: 0.84em;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 500;
}

.form-alert.success {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.form-alert.error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecaca;
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.site-footer {
    padding: 70px 0 28px;
    color: #d5d7dd;
    background: var(--footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 40px;
}

.footer-brand {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand .brand-text {
    color: #fff;
}

.site-footer p {
    max-width: 470px;
    color: #aeb4c0;
}

.footer-grid strong,
.footer-grid a {
    display: block;
}

.footer-grid strong {
    color: #fff;
    margin-bottom: 14px;
}

.footer-grid a:not(.brand) {
    color: #aeb4c0;
    margin-bottom: 9px;
    transition: color 0.2s ease;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus-visible {
    color: #fff;
    outline: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #aeb4c0;
    font-size: 0.94rem;
}

/* Multi-page sections */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.compact-hero {
    padding-top: 86px;
    padding-bottom: 86px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
    gap: 48px;
    align-items: center;
}

.page-hero h1 {
    max-width: 880px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span::before {
    content: "/";
    margin-right: 10px;
    color: var(--muted-2);
}

.page-hero-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
}

.page-hero-card strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.page-hero-card p {
    margin-bottom: 0;
}

.page-hero-card a {
    color: var(--primary);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.content-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
}

.compact-list {
    margin-top: 22px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card,
.resource-card {
    display: flex;
    flex-direction: column;
}

.service-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
}

.inline-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.inline-link:hover::after,
.inline-link:focus-visible::after {
    transform: translateX(4px);
}

.process-mini-list {
    display: grid;
    gap: 15px;
}

.process-mini-list > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
}

.process-mini-list span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--primary);
    border-radius: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.process-mini-list strong {
    font-size: 1.06rem;
}

.process-mini-list p {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
}

.resource-card > span {
    display: inline-flex;
    width: fit-content;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid #ded2ff;
    border-radius: 999px;
    padding: 7px 11px;
    margin-bottom: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-card h2 {
    font-size: 1.24rem;
    line-height: 1.18;
    letter-spacing: -0.032em;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes growBars {
    from { transform: scaleY(0.35); transform-origin: bottom; opacity: 0.5; }
    to { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 1080px) {
    :root {
        --container: 940px;
    }

    .hero-grid,
    .two-column,
    .contact-grid {
        gap: 42px;
    }

    .feature-grid,
    .pricing-grid,
    .testimonial-grid,
    .service-detail-grid,
    .solution-grid,
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .stats-grid,
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .section-pad {
        padding: 76px 0;
    }

    .header-inner {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-grid;
    }

    .site-nav {
        position: fixed;
        top: 74px;
        left: 20px;
        right: 20px;
        display: grid;
        gap: 8px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow-md);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a,
    .site-nav .nav-cta {
        width: 100%;
        border-radius: 14px;
        margin-left: 0;
    }

    .hero-grid,
    .two-column,
    .contact-grid,
    .faq-layout,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-visual {
        min-height: auto;
    }

    .floating-card {
        display: none;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .compact-hero {
        padding-top: 68px;
        padding-bottom: 68px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-text {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    h1 {
        font-size: clamp(2.1rem, 11vw, 3.25rem);
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .trust-row span {
        width: 100%;
        text-align: center;
    }

    .metric-grid,
    .feature-grid,
    .pricing-grid,
    .testimonial-grid,
    .process-grid,
    .stats-grid,
    .form-row.two-inputs,
    .footer-grid,
    .value-grid,
    .service-detail-grid,
    .solution-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .main-dashboard,
    .contact-form,
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .page-hero-card,
    .content-card,
    .service-card,
    .resource-card {
        border-radius: 22px;
    }

    .chart-wrap {
        gap: 8px;
        padding: 14px;
    }

    .chart-wrap span {
        min-width: 12px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
