@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #090c11;
    --bg-soft: #11161d;
    --surface: rgba(18, 23, 31, 0.92);
    --surface-strong: #171d26;
    --surface-alt: #1c2430;
    --text: #f3f6fb;
    --text-muted: #9ca8b8;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --amber: #ff8a1d;
    --amber-strong: #ff6412;
    --amber-soft: rgba(255, 138, 29, 0.16);
    --white-soft: rgba(255, 255, 255, 0.06);
    --success: #5ce4a5;
    --danger: #ff8c8c;
    --note: #ffd477;
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.38);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.22);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.16);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --wrap: min(1280px, 92vw);
    --header-h: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
    margin: 0;
    min-width: 320px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(255, 138, 29, 0.12), transparent 28%),
        radial-gradient(circle at left 10%, rgba(255, 138, 29, 0.08), transparent 20%),
        linear-gradient(180deg, #0b0f14, #090c11 45%, #0d1117);
}

body.nav-open {
    overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.7rem);
}

h2 {
    font-size: clamp(1.65rem, 1.85vw, 2.05rem);
}

h3 {
    font-size: clamp(1.12rem, 1.7vw, 1.42rem);
}

p {
    margin: 0;
    color: var(--text-muted);
}

ul {
    margin: 0;
    padding: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
}

.site-main {
    position: relative;
    z-index: 1;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

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

.skip-link:focus {
    position: fixed;
    top: 14px;
    left: 14px;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #0b0f14;
    z-index: 1000;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(9, 12, 17, 0.8);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(9, 12, 17, 0.94);
    border-color: var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.header-inner {
    min-height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.header-wrap {
    width: min(1480px, 96vw);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 204px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo {
    width: 100%;
    max-width: 204px;
    height: auto;
}

.brand-copy {
    display: none;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.main-nav a {
    padding: 10px 11px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #c5cfdb;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(255, 138, 29, 0.14);
    color: #fff;
}

.main-nav .nav-link-remote {
    position: relative;
    padding-inline: 15px;
    border: 1px solid rgba(255, 138, 29, 0.28);
    background: linear-gradient(135deg, rgba(255, 138, 29, 0.16), rgba(255, 100, 18, 0.1));
    color: #ffe2bf;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.main-nav .nav-link-remote::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb267, #ff6412);
    box-shadow: 0 0 14px rgba(255, 138, 29, 0.55);
    vertical-align: middle;
}

.main-nav .nav-link-remote:hover,
.main-nav .nav-link-remote.is-active {
    background: linear-gradient(135deg, rgba(255, 138, 29, 0.24), rgba(255, 100, 18, 0.18));
    border-color: rgba(255, 138, 29, 0.42);
    color: #fff4e7;
    transform: translateY(-1px);
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 138, 29, 0.32);
    background: linear-gradient(135deg, rgba(255, 138, 29, 0.22), rgba(255, 100, 18, 0.14));
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 16px 30px rgba(255, 100, 18, 0.14);
}

.header-contact .icon-mark {
    color: #ffb267;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.section,
.page-hero {
    padding: 54px 0;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.page-hero {
    padding-top: 42px;
    padding-bottom: 32px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: end;
}

.page-hero-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow-md);
}

.page-hero-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.page-hero-contact {
    padding-bottom: 38px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffc487;
}

.eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--amber), transparent);
}

.lead,
.hero-lead {
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    max-width: 1080px;
}

.hero {
    position: relative;
    overflow: hidden;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(7, 10, 14, 0.96) 0%, rgba(10, 12, 17, 0.88) 48%, rgba(16, 20, 27, 0.72) 100%),
        radial-gradient(circle at 22% 18%, rgba(255, 138, 29, 0.28), transparent 30%);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 12, 17, 0.2), rgba(9, 12, 17, 0.62)),
        radial-gradient(circle at bottom left, rgba(255, 138, 29, 0.14), transparent 30%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 44px;
}

.hero-inner {
    display: block;
}

.hero-copy {
    max-width: none;
}

.hero-copy h1 {
    max-width: 1320px;
    font-size: clamp(2.6rem, 4.25vw, 4.15rem);
    line-height: 0.97;
    text-wrap: balance;
}

.hero-lead {
    margin-top: 16px;
    max-width: 1180px;
}

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

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

.metric-chip {
    padding: 18px 16px;
    min-height: 112px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.metric-chip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.45rem;
    color: #fff;
}

.metric-chip span {
    color: #d0d8e2;
    font-size: 0.87rem;
}

.hero-panel,
.service-card,
.trust-card,
.product-panel,
.software-card,
.software-showcase-card,
.case-card,
.download-card,
.about-panel,
.support-card,
.support-cta,
.contact-panel,
.form-card,
.info-card,
.team-card,
.timeline-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(25, 31, 40, 0.92), rgba(16, 20, 27, 0.94));
    box-shadow: var(--shadow-md);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(0, 2.05fr);
    gap: 26px;
    align-items: start;
    margin-top: 20px;
    padding: 24px 26px;
}

.hero-panel-copy h2 {
    max-width: 360px;
    line-height: 1.02;
}

.panel-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--amber-soft);
    color: #ffc487;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
}

.panel-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    color: #e3eaf3;
    align-content: start;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-list i {
    color: #ffb267;
    margin-top: 4px;
}

.panel-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.panel-note span {
    display: block;
    margin-bottom: 7px;
    color: #a9b4c2;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-note a {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
}

.section-heading {
    max-width: 1120px;
    margin-bottom: 18px;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 1.55vw, 1.82rem);
    max-width: 1080px;
    margin-bottom: 8px;
}

.section-heading p {
    max-width: 1080px;
}

.services-grid,
.trust-grid,
.products-grid,
.support-grid,
.cases-grid,
.downloads-grid,
.team-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 138, 29, 0.3);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.3);
}

.service-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.05);
}

.service-content {
    position: relative;
    padding: 22px 22px 24px;
    flex: 1;
}

.service-icon-badge {
    position: absolute;
    top: -31px;
    left: 22px;
    width: 62px;
    height: 62px;
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(255, 138, 29, 0.22);
    background: linear-gradient(180deg, rgba(9, 12, 17, 0.95), rgba(20, 23, 28, 0.96));
    box-shadow: var(--shadow-sm);
}

.service-icon-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-content h3 {
    margin-top: 14px;
}

.service-content p {
    margin-top: 10px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.service-link i {
    font-size: 0.82rem;
    color: #ffb267;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card,
.product-panel,
.support-card,
.contact-panel,
.form-card,
.info-card {
    padding: 22px;
}

.trust-card strong,
.support-card h3,
.contact-panel h3,
.form-card h3,
.info-card h3 {
    display: block;
    margin-bottom: 10px;
    color: #fff;
}

.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.software-copy-wide {
    max-width: 820px;
    margin-bottom: 28px;
}

.software-copy p + p {
    margin-top: 12px;
}

.software-showcase-grid {
    display: grid;
    gap: 22px;
}

.software-showcase-card,
.download-card {
    padding: 22px;
}

.software-showcase-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 0;
    align-items: stretch;
    height: 100%;
    min-height: 292px;
    background:
        linear-gradient(180deg, rgba(25, 31, 40, 0.96), rgba(16, 20, 27, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.software-showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 138, 29, 0.12), transparent 36%);
    pointer-events: none;
}

.software-showcase-card-featured {
    background:
        linear-gradient(155deg, rgba(255, 138, 29, 0.22), rgba(16, 20, 27, 0.92) 42%),
        linear-gradient(180deg, rgba(25, 31, 40, 0.96), rgba(16, 20, 27, 0.98));
}

.software-showcase-card-remote {
    background:
        linear-gradient(155deg, rgba(61, 139, 255, 0.24), rgba(16, 20, 27, 0.92) 42%),
        linear-gradient(180deg, rgba(25, 31, 40, 0.96), rgba(16, 20, 27, 0.98));
}

.software-showcase-media {
    position: relative;
    min-height: 100%;
    background: #0f131a;
}

.software-showcase-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 15, 20, 0.02), rgba(11, 15, 20, 0.64)),
        linear-gradient(180deg, rgba(11, 15, 20, 0), rgba(11, 15, 20, 0.1));
}

.software-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.software-showcase-media-software img,
.software-showcase-media-darpa img {
    object-fit: cover;
    object-position: top left;
}

.software-showcase-media-remote img {
    object-fit: cover;
    object-position: center center;
}

.software-showcase-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 34px 36px;
}

.software-tag,
.download-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffca95;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.software-showcase-body h3,
.download-card h3 {
    margin-bottom: 0;
}

.software-showcase-body p {
    max-width: 58ch;
}

.software-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #fff;
    font-weight: 700;
}

.inline-link i {
    color: #ffb267;
    font-size: 0.85rem;
}

.product-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 138, 29, 0.14), transparent 35%);
    pointer-events: none;
}

.product-label {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffca95;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-panel h3 {
    position: relative;
    margin-bottom: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: center;
}

.about-panel {
    padding: 26px;
}

.about-panel p + p {
    margin-top: 12px;
}

.about-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.about-media img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.feature-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
}

.feature-item i {
    color: #ffb267;
    margin-top: 4px;
}

.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cases-grid,
.downloads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.case-media {
    min-height: 220px;
    overflow: hidden;
}

.case-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.case-body {
    padding: 22px;
    flex: 1;
}

.case-body h3 {
    margin-bottom: 12px;
}

.support-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}

.support-cta strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.contact-info-list {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.contact-panel,
.form-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-item .icon-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 138, 29, 0.14);
    color: #ffb267;
    margin-top: 0;
}

.contact-item .contact-copy {
    display: grid;
    gap: 4px;
}

.contact-item strong {
    color: #fff;
    font-size: 0.9rem;
}

.contact-item small {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.contact-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #e8eef7;
    font-size: 0.87rem;
    font-weight: 600;
}

.contact-socials {
    margin-top: 16px;
}

.contact-socials p {
    margin-bottom: 12px;
}

.contact-panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-panel-intro {
    margin-top: 6px;
    max-width: 420px;
    font-size: 0.94rem;
}

.contact-panel-footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.contact-panel-footer .social-row {
    width: 100%;
    justify-content: center;
    gap: 18px;
    margin-top: 0;
}

.contact-panel-home .contact-info-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    min-height: 0;
}

.contact-panel-home .contact-panel-footer {
    margin-top: 10px;
    padding-top: 14px;
}

form {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    gap: 14px;
}

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

label {
    display: grid;
    gap: 8px;
    color: #e7edf7;
    font-size: 0.92rem;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #8894a3;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(255, 138, 29, 0.55);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(255, 138, 29, 0.12);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--amber-strong));
    box-shadow: 0 14px 28px rgba(255, 100, 18, 0.24);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.alert.success {
    color: #bef5d7;
    background: rgba(92, 228, 165, 0.12);
    border-color: rgba(92, 228, 165, 0.28);
}

.alert.error {
    color: #ffc5c5;
    background: rgba(255, 140, 140, 0.12);
    border-color: rgba(255, 140, 140, 0.28);
}

.alert.note {
    color: #ffe09c;
    background: rgba(255, 212, 119, 0.12);
    border-color: rgba(255, 212, 119, 0.28);
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    padding: 22px 24px;
}

.timeline-item span {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffca95;
}

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

.team-card {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 18px;
    padding: 22px;
}

.team-card img {
    width: 136px;
    height: 136px;
    border-radius: 22px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.role {
    margin-top: 6px;
    margin-bottom: 10px;
    color: #ffca95;
    font-weight: 600;
}

.site-footer {
    margin-top: 48px;
    padding: 28px 0 18px;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at top left, rgba(255, 138, 29, 0.08), transparent 24%),
        rgba(6, 9, 13, 0.96);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
}

.footer-logo {
    max-width: 220px;
}

.footer-brand-block p {
    margin-top: 12px;
    max-width: 360px;
}

.footer-title {
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-contact-data > span {
    color: #c7d0db;
}

.footer-contact-data a,
.footer-contact-data > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-data a .icon-mark,
.footer-contact-data > span .icon-mark {
    color: #ffb267;
    flex: 0 0 auto;
}

.footer-contact-data > span span:last-child {
    white-space: nowrap;
}

.footer-links a:hover {
    color: #fff;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.social-row-footer {
    margin-top: 14px;
}

.social-row a {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.social-row a .icon-mark {
    color: #ffb267;
}

.social-row a span {
    font-size: 0;
}

.social-row a:hover {
    background: rgba(255, 138, 29, 0.16);
    border-color: rgba(255, 138, 29, 0.32);
    transform: translateY(-1px);
}

.social-link-facebook:hover {
    color: #8bb8ff;
}

.social-link-instagram:hover {
    color: #ff95c8;
}

.social-link-x:hover {
    color: #d9e2f0;
}

.icon-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.icon-mark svg {
    width: 1.08rem;
    height: 1.08rem;
    display: block;
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #9ca8b8;
    font-size: 0.86rem;
}

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

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

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: auto auto auto;
    }

    .main-nav {
        justify-self: end;
    }

    .page-hero-grid,
    .about-grid,
    .contact-grid,
    .footer-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .products-grid,
    .support-grid,
    .cases-grid,
    .downloads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-shell {
        padding-top: 60px;
        padding-bottom: 36px;
    }

    .hero-copy,
    .hero-copy h1,
    .lead,
    .hero-lead,
    .software-copy,
    .section-heading,
    .section-heading h2,
    .section-heading p {
        max-width: none;
    }

    .software-showcase-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .software-showcase-media {
        min-height: 240px;
    }

    .software-showcase-media::after {
        background:
            linear-gradient(180deg, rgba(11, 15, 20, 0.05), rgba(11, 15, 20, 0.72)),
            linear-gradient(180deg, rgba(11, 15, 20, 0), rgba(11, 15, 20, 0.14));
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .header-contact {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 4vw;
        right: 4vw;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 24px;
        background: rgba(11, 15, 21, 0.98);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        text-align: center;
    }

    .main-nav .nav-link-remote {
        padding-inline: 11px;
    }

    .header-inner {
        grid-template-columns: auto auto;
    }

    .hero-metrics,
    .panel-list,
    .services-grid,
    .products-grid,
    .support-grid,
    .cases-grid,
    .downloads-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .support-cta,
    .footer-bottom,
    .contact-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .section,
    .page-hero {
        padding: 48px 0;
    }

    .page-hero {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .brand-mark {
        min-width: 176px;
        min-height: 38px;
    }

    .header-wrap {
        width: min(1200px, calc(100vw - 28px));
    }

    .hero-shell {
        padding-top: 82px;
        padding-bottom: 36px;
    }

    .form-row.two,
    .team-card {
        grid-template-columns: 1fr;
    }

    .team-card img {
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(1200px, calc(100vw - 28px));
    }

    .btn {
        width: 100%;
    }

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

    .hero-actions {
        display: grid;
    }

    .hero-copy h1 {
        text-wrap: pretty;
    }

    .service-content,
    .trust-card,
    .product-panel,
    .software-card,
    .software-showcase-card,
    .case-body,
    .download-card,
    .support-card,
    .support-cta,
    .contact-panel,
    .form-card,
    .about-panel,
    .page-hero-card,
    .team-card,
    .timeline-item {
        padding: 20px;
    }

    .software-showcase-body {
        padding: 22px 20px 20px;
    }

    .software-showcase-media {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
