:root {
    --ink: #14221f;
    --muted: #5d6c68;
    --paper: #f6f8f4;
    --white: #ffffff;
    --forest: #123b36;
    --forest-deep: #092b28;
    --teal: #00a88f;
    --blue: #2369d8;
    --coral: #f05f3b;
    --gold: #e5b341;
    --line: #d9e0dc;
    --shadow: 0 18px 50px rgba(9, 43, 40, 0.14);
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

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

.site-shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(20, 34, 31, 0.09);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand img,
.footer-brand img {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.05rem;
}

.brand-copy span {
    margin-top: 4px;
    font-size: 0.72rem;
    opacity: 0.8;
}

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

.site-nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 650;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 2px;
    background: var(--gold);
    transition: right 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
    right: 0;
}

.nav-cta {
    padding: 10px 16px;
    color: var(--ink);
    background: var(--gold);
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
    position: relative;
    min-height: 84svh;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--forest-deep);
    border-bottom: 8px solid var(--gold);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 150px;
    padding-bottom: 66px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--forest);
}

.eyebrow.light {
    color: #9be5da;
}

.hero h1 {
    max-width: 940px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.4rem;
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-lead {
    max-width: 760px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 750;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--gold);
}

.button-primary:hover {
    background: #f0c75e;
}

.button-secondary {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.button-light {
    color: var(--forest-deep);
    background: var(--white);
}

.button-accent {
    color: var(--white);
    background: var(--coral);
}

.button-accent:hover {
    background: #d94d2c;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 840px;
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-proof div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding-right: 24px;
}

.hero-proof strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    color: var(--gold);
}

.hero-proof span {
    max-width: 150px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    line-height: 1.35;
}

.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.trust-grid p {
    margin: 0;
    font-weight: 750;
}

.trust-grid ul {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.86rem;
}

.trust-grid li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--teal);
}

.section {
    padding-block: 112px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2,
.product-intro h2,
.impact-copy h2,
.contact-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.services {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    min-height: 360px;
    padding: 36px;
    background: var(--white);
}

.service-card:nth-child(2) {
    border-top: 5px solid var(--blue);
}

.service-card:nth-child(3) {
    border-bottom: 5px solid var(--coral);
}

.service-number {
    color: var(--teal);
    font-size: 0.74rem;
    font-weight: 850;
}

.service-card h3 {
    max-width: 360px;
    margin: 40px 0 14px;
    font-size: 1.5rem;
    line-height: 1.25;
}

.service-card p {
    max-width: 510px;
    margin: 0;
    color: var(--muted);
}

.service-card ul,
.tab-panel ul {
    display: grid;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 650;
}

.service-card li::before,
.tab-panel li::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--gold);
}

.product-section {
    color: var(--white);
    background: var(--forest-deep);
}

.product-intro {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    align-items: end;
    margin-bottom: 52px;
}

.product-intro p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.product-stage {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 54px;
    align-items: center;
}

.product-visual,
.product-detail {
    min-width: 0;
}

.product-window {
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.demo-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0d2420;
}

.demo-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.demo-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
}

.demo-link img {
    border-radius: 10px;
    margin-bottom: 6px;
}

.demo-link-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}

.demo-link-title.is-disabled {
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.demo-link-url {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.demo-link-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.demo-link-cta:hover,
.demo-link-cta:focus-visible {
    transform: translateY(-2px);
}

.demo-window figcaption {
    margin: 0;
    padding: 12px 16px;
    color: var(--muted);
    background: #f7f9f6;
    font-size: 0.78rem;
}

.window-bar {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    color: var(--muted);
    background: #edf2ef;
    border-bottom: 1px solid var(--line);
}

.window-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aebcb6;
}

.window-bar > span:nth-child(1) {
    background: var(--coral);
}

.window-bar > span:nth-child(2) {
    background: var(--gold);
}

.window-bar > span:nth-child(3) {
    background: var(--teal);
}

.window-bar strong {
    margin-left: 7px;
    font-size: 0.7rem;
}

.window-body {
    min-height: 430px;
    display: grid;
    grid-template-columns: 150px 1fr;
}

.window-body aside {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 22px 12px;
    color: rgba(255, 255, 255, 0.72);
    background: var(--forest);
}

.window-body aside img {
    width: 54px;
    height: 54px;
    margin: 0 8px 18px;
    object-fit: contain;
    background: var(--white);
    border-radius: 5px;
}

.window-body aside span {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.69rem;
}

.window-body aside .active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-preview {
    min-width: 0;
    padding: 28px;
    background: #f7f9f6;
}

.dashboard-topline {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-topline div {
    display: grid;
}

.dashboard-topline small {
    color: var(--muted);
}

.dashboard-topline strong {
    font-size: 1.22rem;
}

.dashboard-topline > span {
    padding: 4px 8px;
    color: #087260;
    background: #d9f5ef;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 800;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.dashboard-metrics div {
    display: grid;
    padding: 15px 12px;
    background: var(--white);
    border: 1px solid #e2e8e4;
    border-radius: 5px;
}

.dashboard-metrics strong {
    font-size: 1.25rem;
}

.dashboard-metrics span {
    color: var(--muted);
    font-size: 0.64rem;
}

.dashboard-chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 22px;
    padding: 22px 20px 0;
    background: var(--white);
    border: 1px solid #e2e8e4;
    border-radius: 5px;
}

.dashboard-chart span {
    flex: 1;
    min-width: 8px;
    background: var(--teal);
    border-radius: 2px 2px 0 0;
}

.dashboard-chart span:nth-child(2n) {
    background: var(--blue);
}

.dashboard-chart span:nth-child(5) {
    background: var(--gold);
}

.dashboard-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.dashboard-list span {
    padding: 5px 8px;
    color: var(--muted);
    background: #eaf0ec;
    border-radius: 3px;
    font-size: 0.66rem;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
}

.tabs button {
    min-height: 42px;
    padding: 8px;
    color: rgba(255, 255, 255, 0.66);
    background: transparent;
    border: 0;
    border-radius: 3px;
    font-size: 0.76rem;
    font-weight: 750;
    cursor: pointer;
}

.tabs button[aria-selected="true"] {
    color: var(--ink);
    background: var(--white);
}

.tab-panel {
    min-height: 360px;
    padding-top: 38px;
}

.tab-panel h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;
}

.tab-panel p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.tab-panel ul {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 550;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #9be5da;
    text-decoration: none;
    font-weight: 800;
}

.text-link span {
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.sector-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 72px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sector-band span {
    padding: 18px;
    background: var(--forest-deep);
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.82rem;
    text-align: center;
}

.impact-section {
    background: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 90px;
    align-items: start;
}

.large-copy {
    margin: 26px 0 18px;
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.45;
}

.impact-copy > p:not(.eyebrow):not(.large-copy) {
    color: var(--muted);
}

.dark-link {
    margin-top: 16px;
    color: var(--forest);
}

.impact-points {
    border-top: 1px solid var(--line);
}

.impact-points > div {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.impact-points span {
    grid-row: 1 / span 2;
    color: var(--coral);
    font-size: 0.76rem;
    font-weight: 850;
}

.impact-points h3 {
    margin: 0;
    font-size: 1.13rem;
}

.impact-points p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.approach-section {
    background: var(--paper);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background: var(--line);
    border: 1px solid var(--line);
    list-style: none;
}

.process-list li {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 44px;
    padding: 28px;
    background: var(--white);
}

.process-list > li > span {
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 850;
}

.process-list h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
}

.process-list p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-section {
    padding-block: 110px;
    color: var(--white);
    background: var(--forest);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 90px;
    align-items: start;
}

.contact-copy > p:not(.eyebrow) {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.contact-links {
    display: grid;
    gap: 12px;
    margin-top: 38px;
}

.contact-links a {
    display: grid;
    text-decoration: none;
}

.contact-links span {
    color: #9be5da;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-links strong {
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.contact-form {
    padding: 34px;
    color: var(--ink);
    background: var(--white);
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #fbfcfa;
    border: 1px solid #bdc9c4;
    border-radius: 4px;
}

.field input,
.field select {
    min-height: 48px;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--teal);
    outline: 2px solid rgba(0, 168, 143, 0.15);
}

.field [aria-invalid="true"] {
    border-color: #b3261e;
}

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 4px;
    color: #9f201a;
    font-size: 0.73rem;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.form-submit p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.form-submit .button {
    flex: 0 0 auto;
}

.site-footer {
    padding-block: 34px;
    color: rgba(255, 255, 255, 0.73);
    background: #061f1c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
}

.footer-brand div {
    display: grid;
}

.footer-brand strong {
    color: var(--white);
    font-size: 0.9rem;
}

.footer-brand span {
    font-size: 0.76rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 22px;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-grid > p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    max-width: 360px;
    padding: 13px 16px;
    color: var(--white);
    background: var(--ink);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 3.4rem;
    }

    .product-stage,
    .impact-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .product-detail {
        max-width: 720px;
    }

    .tab-panel {
        min-height: 280px;
    }

    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-copy {
        max-width: 680px;
    }
}

@media (max-width: 820px) {
    .site-shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        display: grid;
        gap: 0;
        padding: 18px 16px 26px;
        color: var(--ink);
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(20, 34, 31, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:not(.nav-cta)::after {
        display: none;
    }

    .site-nav .nav-cta {
        margin-top: 12px;
        text-align: center;
        border-bottom: 0;
    }

    .hero {
        min-height: 820px;
    }

    .hero-inner {
        padding-top: 130px;
    }

    .hero-proof {
        gap: 20px;
    }

    .hero-proof div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .product-intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sector-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .demo-frame {
        aspect-ratio: auto;
        min-height: 240px;
    }

    .demo-link {
        padding: 16px;
        gap: 6px;
    }

    .demo-link img {
        width: 38px;
        height: 38px;
        margin-bottom: 2px;
    }

    .demo-link-title {
        font-size: 0.95rem;
    }

    .demo-link-cta {
        margin-top: 6px;
        padding: 9px 16px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-copy span {
        max-width: 210px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-inner {
        padding-bottom: 42px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        display: grid;
    }

    .hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-proof div {
        padding-right: 0;
    }

    .hero-proof strong {
        font-size: 1.55rem;
    }

    .hero-proof span {
        font-size: 0.66rem;
    }

    .trust-grid {
        align-items: start;
        flex-direction: column;
        padding-block: 22px;
    }

    .trust-grid ul {
        gap: 10px 20px;
    }

    .section {
        padding-block: 78px;
    }

    .section-heading h2,
    .product-intro h2,
    .impact-copy h2,
    .contact-copy h2 {
        font-size: 2.2rem;
    }

    .service-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .service-card h3 {
        margin-top: 28px;
    }

    .window-body {
        min-height: 390px;
        grid-template-columns: 72px 1fr;
    }

    .window-body aside {
        align-items: center;
        padding-inline: 8px;
    }

    .window-body aside img {
        width: 42px;
        height: 42px;
        margin-inline: 0;
    }

    .window-body aside span {
        width: 40px;
        height: 8px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        background: rgba(255, 255, 255, 0.18);
    }

    .dashboard-preview {
        padding: 18px 14px;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-metrics div {
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
    }

    .dashboard-chart {
        height: 110px;
        padding-inline: 12px;
    }

    .dashboard-list span:nth-child(n + 3) {
        display: none;
    }

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

    .tab-panel {
        min-height: auto;
        padding-bottom: 30px;
    }

    .tab-panel h3 {
        font-size: 1.65rem;
    }

    .sector-band {
        grid-template-columns: 1fr 1fr;
    }

    .contact-section {
        padding-block: 76px;
    }

    .process-list li {
        min-height: 230px;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-submit {
        align-items: stretch;
        flex-direction: column;
    }

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

    .footer-links {
        justify-content: start;
    }
}

@media (max-width: 390px) {
    .brand-copy span {
        display: none;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero-proof span {
        word-break: break-word;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

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