/* AM landing — design system from Figma "Imprintec (Copy)" Homepage 1440 */

@font-face {
    font-family: "Novera";
    src:
        url("../../impFonts/novera-modernmedium.woff2") format("woff2"),
        url("../../impFonts/novera-modernmedium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Novera";
    src:
        url("../../impFonts/novera-modernsemibold.woff2") format("woff2"),
        url("../../impFonts/novera-modernsemibold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --am-font: "Novera", "Segoe UI", Arial, sans-serif;
    --am-text: #333333;
    --am-text-soft: #5c5c5c;
    --am-red: #e41f17;
    --am-bg: #eceff3;
    --am-bg-alt: #f5f7fa;
    --am-card-bg: rgba(51, 51, 51, 0.03);
    --am-card-border: rgba(51, 51, 51, 0.06);
    --am-chip-bg: rgba(51, 51, 51, 0.05);
    --am-chip-border: rgba(51, 51, 51, 0.1);
    --am-r-sm: 8px;
    --am-r-md: 16px;
    --am-r-lg: 40px;
    --am-pad-x: 100px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body.am-page {
    font-family: var(--am-font);
    font-weight: 500;
    color: var(--am-text);
    background: var(--am-bg);
    -webkit-font-smoothing: antialiased;
}

.am-page img { display: block; }
.am-page a { text-decoration: none; color: inherit; }
.am-page p { margin: 0; }
.am-page h1, .am-page h2, .am-page h3, .am-page h4 { margin: 0; font-weight: 700; }

.am-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--am-pad-x);
    padding-right: var(--am-pad-x);
}

/* ---------- header ---------- */

.am-header {
    background: var(--am-bg);
    position: relative;
    z-index: 40;
}

.am-header .am-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 34px;
    padding-bottom: 34px;
}

.am-header__logo img { width: 162px; height: auto; }

.am-nav {
    display: flex;
    align-items: center;
    gap: 44px;
}

.am-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--am-text);
    transition: color 160ms ease;
}

.am-nav a:hover { color: var(--am-red); }

.am-nav a svg { width: 16px; height: 16px; stroke: currentColor; }

.am-lang {
    display: inline-flex;
    align-items: center;
    background: rgba(51, 51, 51, 0.05);
    border: 1px solid rgba(51, 51, 51, 0.08);
    border-radius: 100px;
    padding: 4px;
}

.am-lang a {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 16px;
    color: var(--am-text);
}

.am-lang a.is-active {
    background: #e2e5ea;
    font-weight: 700;
}

.am-burger {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.am-burger svg { width: 28px; height: 28px; stroke: var(--am-text); }

/* ---------- shared atoms ---------- */

.am-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: var(--am-chip-bg);
    border: 1px solid var(--am-chip-border);
    border-radius: 100px;
    font-size: 16px;
    line-height: 1;
    background-clip: padding-box;
}

.am-badge span {
    background: linear-gradient(90deg, #333333 0%, var(--am-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.am-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: var(--am-r-md);
    font-family: var(--am-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    white-space: nowrap;
}

.am-btn svg { width: 20px; height: 20px; stroke: currentColor; flex: 0 0 auto; }

.am-btn--dark,
.am-page a.am-btn--dark {
    background: #333333;
    color: #ffffff;
    border: 0;
}

.am-btn--dark:hover { background: #1f1f1f; }

.am-btn--line {
    background: transparent;
    color: var(--am-text);
    border: 2px solid rgba(51, 51, 51, 0.3);
}

.am-btn--line:hover { border-color: rgba(51, 51, 51, 0.55); }

.am-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--am-text);
    white-space: nowrap;
}

.am-chip svg { width: 16px; height: 16px; stroke: var(--am-text); flex: 0 0 auto; }

.am-section { padding: 120px 0; }
.am-section--alt { background: var(--am-bg-alt); }
.am-section--tight { padding-top: 80px; padding-bottom: 80px; }

.am-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 688px;
    margin: 0 auto 48px;
    text-align: center;
}

.am-head h2 {
    font-size: 40px;
    line-height: 1.15;
    color: var(--am-text);
}

.am-head p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

/* ---------- hero ---------- */

.am-hero { background: var(--am-bg); }

.am-hero .am-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.am-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 641px;
}

.am-hero__copy .am-badge { margin-bottom: -4px; }

.am-hero__title {
    font-size: 64px;
    line-height: 1.05;
    color: var(--am-text);
}

.am-hero__sub {
    font-size: 20px;
    line-height: 1.3;
    color: var(--am-text-soft);
}

.am-hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.am-hero__media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 600px;
    flex: 0 0 auto;
}

.am-hero__frame {
    position: relative;
    width: 100%;
    border-radius: var(--am-r-md);
    overflow: hidden;
    filter: drop-shadow(-16px 15px 14px rgba(51, 51, 51, 0.25));
    background: #ffffff;
}

.am-hero__frame img {
    display: block;
    width: 100%;
    height: auto;
}

.am-hero__tag {
    position: absolute;
    top: 40px;
    left: -146px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: var(--am-r-md);
    box-shadow: -4px 4px 20px rgba(51, 51, 51, 0.07);
}

.am-hero__tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid rgba(126, 126, 126, 0.1);
    border-radius: var(--am-r-sm);
}

.am-hero__tag-icon svg { width: 32px; height: 32px; fill: var(--am-red); }

.am-hero__tag p {
    font-size: 20px;
    font-weight: 700;
    color: var(--am-text);
    max-width: 167px;
    line-height: 1.2;
}

/* ---------- logos strip ---------- */

.am-logos {
    background: var(--am-bg-alt);
    padding: 28px 0;
}

.am-logos .am-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.am-logos__label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(51, 51, 51, 0.45);
}

.am-logos__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.am-logos__row img {
    width: 120px;
    height: 80px;
    object-fit: contain;
}

.am-logos__sep {
    width: 1px;
    height: 56px;
    background: rgba(51, 51, 51, 0.12);
    flex: 0 0 auto;
}

/* ---------- split section (text + cards) ---------- */

.am-split {
    display: flex;
    align-items: center;
    gap: 100px;
}

.am-split__txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 1 0;
    min-width: 0;
}

.am-split__txt h2 {
    font-size: 40px;
    line-height: 1.15;
}

.am-split__txt .am-lead {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--am-text);
}

.am-split__txt .am-body {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

.am-split__txt .am-hero__buttons { margin-top: 4px; }

.am-split__stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 499px;
    flex: 0 0 auto;
}

.am-fail-flow__title {
    font-size: 20px;
    color: var(--am-text);
    text-align: center;
    margin-bottom: 10px;
}

.am-fail-flow__arrow {
    display: flex;
    justify-content: center;
}

.am-fail-flow__arrow svg {
    width: 22px;
    height: 22px;
    stroke: var(--am-red);
}

.am-fail {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
}

.am-fail__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(228, 31, 23, 0.08);
    border: 1px solid rgba(228, 31, 23, 0.15);
    border-radius: 10px;
    flex: 0 0 auto;
}

.am-fail__icon svg { width: 20px; height: 20px; stroke: var(--am-red); }

.am-fail p {
    font-size: 18px;
    font-weight: 700;
    color: var(--am-text);
}

/* ---------- benefit cards ---------- */

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

.am-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
}

.am-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #f7f7f7;
    border: 1px solid rgba(126, 126, 126, 0.1);
    border-radius: 10px;
}

.am-card__icon svg { width: 26px; height: 26px; stroke: var(--am-text); }

.am-card h3 {
    font-size: 22px;
    line-height: 1.2;
}

.am-card p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

/* ---------- standalone centered image ---------- */

.am-standalone {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.am-standalone img {
    width: min(520px, 100%);
    height: auto;
    border-radius: var(--am-r-md);
    filter: drop-shadow(-16px 15px 14px rgba(51, 51, 51, 0.25));
}

/* ---------- demo request form ---------- */

.am-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.am-demo__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.am-demo__title {
    font-size: 44px;
    line-height: 1.15;
    color: var(--am-text);
}

.am-demo__sub {
    font-size: 18px;
    line-height: 1.4;
    color: var(--am-text-soft);
    max-width: 560px;
}

.am-demo__panel {
    width: 100%;
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-lg);
    padding: clamp(24px, 5vw, 48px);
}

.am-form-notice {
    padding: 16px 20px;
    border-radius: var(--am-r-md);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

.am-form-notice--success {
    background: rgba(29, 158, 99, 0.1);
    color: #146b45;
    border: 1px solid rgba(29, 158, 99, 0.25);
}

.am-form-notice--error {
    background: rgba(228, 31, 23, 0.08);
    color: var(--am-red);
    border: 1px solid rgba(228, 31, 23, 0.2);
}

.am-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.am-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.am-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.am-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--am-text);
}

.am-form__field--full { grid-column: 1 / -1; }

.am-form__req { color: var(--am-red); margin-left: 2px; }

.am-form__field input,
.am-form__field textarea,
.am-form textarea {
    font-family: var(--am-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--am-text);
    background: #ffffff;
    border: 1px solid rgba(51, 51, 51, 0.18);
    border-radius: 10px;
    padding: 12px 16px;
    resize: vertical;
}

.am-form__field input:focus,
.am-form textarea:focus {
    outline: none;
    border-color: rgba(228, 31, 23, 0.5);
}

.am-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--am-text-soft);
}

.am-form__checkbox input { margin-top: 3px; flex: 0 0 auto; }

.am-form__checkbox a { color: var(--am-text); text-decoration: underline; }

.am-form__submit {
    align-self: flex-start;
    margin-top: 4px;
}

/* ---------- real AM case study ---------- */

.am-casestudy {
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-lg);
    padding: clamp(32px, 5vw, 64px);
}

.am-casestudy__txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 760px;
}

.am-casestudy__txt h2 { font-size: 34px; line-height: 1.2; }

.am-casestudy__txt p {
    font-size: 18px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

.am-casestudy__list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    width: 100%;
}

.am-casestudy__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--am-text);
}

.am-casestudy__list li::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 100px;
    background: rgba(29, 158, 99, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d9e63' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.am-casestudy .am-btn svg { width: 20px; height: 20px; }

/* ---------- how it works: vertical 3-step flow ---------- */

.am-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto 72px;
}

.am-flow__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
}

.am-flow__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    background: rgba(228, 31, 23, 0.08);
    border: 1px solid rgba(228, 31, 23, 0.15);
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--am-red);
}

.am-flow__step h3 { font-size: 20px; margin-bottom: 8px; }

.am-flow__step p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

.am-flow__arrow svg {
    width: 28px;
    height: 28px;
    stroke: var(--am-red);
}

/* ---------- qualification block ---------- */

.am-qualify { align-items: center; gap: 64px; }

.am-qualify .am-split__txt {
    flex: 0 1 440px;
    min-width: 340px;
}

.am-qualify .am-split__txt h2 { font-size: 34px; }

.am-outputs {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-outputs li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--am-text);
}

.am-outputs li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: var(--am-red);
    flex: 0 0 auto;
}

.am-qualify__media {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
    padding: 14px;
}

.am-qualify__media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------- how it works (accordion + media) ---------- */

.am-how {
    display: flex;
    align-items: center;
    gap: 100px;
    width: 100%;
}

.am-steps {
    width: 499px;
    flex: 0 0 auto;
}

.am-step {
    padding: 24px 32px;
    border-left: 1px solid rgba(51, 51, 51, 0.2);
    cursor: pointer;
}

.am-step h3 {
    font-size: 18px;
    color: rgba(51, 51, 51, 0.6);
    transition: color 160ms ease;
}

.am-step p {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(92, 92, 92, 0.7);
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 300ms ease, margin-top 300ms ease;
}

.am-step.is-active {
    background: rgba(51, 51, 51, 0.06);
    border-left: 3px solid var(--am-red);
    padding-left: 30px;
}

.am-step.is-active h3 { color: var(--am-text); }

.am-step.is-active p {
    max-height: 200px;
    margin-top: 16px;
    color: var(--am-text);
}

.am-how__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    flex: 1 1 0;
    min-width: 0;
}

.am-how__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 460px;
}

.am-how__frame {
    position: relative;
    width: 471px;
    max-width: 100%;
    height: 252px;
    border: 1px solid #333333;
    border-radius: var(--am-r-md);
    overflow: hidden;
    background: #101114;
}

.am-how__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 350ms ease;
}

.am-how__frame img.is-active { opacity: 1; }

.am-how__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- showcase (graph card) ---------- */

.am-show {
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.am-show__media {
    width: 508px;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: var(--am-r-md);
    padding: 14px;
}

.am-show__media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.am-show__media figcaption {
    font-size: 14px;
    line-height: 1.45;
    font-style: italic;
    color: var(--am-text-soft);
    padding: 14px 6px 4px;
}

.am-show__txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 1 0;
    min-width: 0;
}

.am-show__txt h2 {
    font-size: 34px;
    line-height: 1.2;
}

.am-show__txt p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

/* ---------- comparison ---------- */

.am-table {
    background: #ffffff;
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
    overflow: hidden;
}

.am-table__head,
.am-table__row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: center;
    padding: 20px 32px;
}

.am-table__head {
    background: rgba(51, 51, 51, 0.04);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--am-text-soft);
}

.am-table__row { border-top: 1px solid rgba(51, 51, 51, 0.08); }

.am-table__challenge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    color: rgba(51, 51, 51, 0.65);
}

.am-table__challenge svg { width: 16px; height: 16px; stroke: var(--am-red); flex: 0 0 auto; }

.am-table__answer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--am-text);
}

.am-table__answer svg { width: 18px; height: 18px; stroke: #1d9e63; flex: 0 0 auto; }

/* ---------- applications ---------- */

.am-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.am-app {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-md);
}

.am-app h3 { font-size: 22px; }

.am-app p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

/* ---------- CTA panel ---------- */

.am-cta {
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-lg);
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.am-cta__txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 688px;
}

.am-cta__txt h2 { font-size: 40px; line-height: 1.15; }

.am-cta__txt p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

.am-cta__buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ---------- standards ---------- */

.am-standards {
    display: flex;
    align-items: center;
    gap: 80px;
    background: var(--am-card-bg);
    border: 1px solid var(--am-card-border);
    border-radius: var(--am-r-lg);
    padding: 40px;
}

.am-standards__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 508px;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: var(--am-r-md);
    padding: 40px 28px;
}

.am-standards__logo img { width: 100%; height: auto; }

.am-standards__txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.am-standards__txt h2 { font-size: 34px; line-height: 1.2; }

.am-standards__txt p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--am-text-soft);
}

/* ---------- footer ---------- */

.am-footer {
    background: #2e2e2e;
    color: #ffffff;
    padding: 80px 0 40px;
}

.am-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.am-footer__top img { width: 330px; max-width: 60vw; height: auto; }

.am-footer__social { display: flex; gap: 16px; }

.am-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    transition: border-color 160ms ease;
}

.am-footer__social a:hover { border-color: #ffffff; }

.am-footer__social svg { width: 20px; height: 20px; fill: #ffffff; }

.am-footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 48px 0;
}

.am-footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.am-footer__cols h4 {
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.am-footer__cols ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.am-footer__cols a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 160ms ease;
}

.am-footer__cols a:hover { color: #ffffff; }

.am-footer__note {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
    :root { --am-pad-x: 48px; }
    .am-hero__title { font-size: 52px; }
    .am-split, .am-how, .am-show, .am-standards { gap: 48px; }
    .am-hero__tag { left: -24px; }
    .am-cards4 { grid-template-columns: repeat(2, 1fr); }
    .am-logos__row { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .am-logos__sep { display: none; }
}

@media (max-width: 980px) {
    .am-nav { display: none; }
    .am-burger { display: block; }
    .am-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #ffffff;
        border-top: 1px solid rgba(51, 51, 51, 0.08);
        box-shadow: 0 24px 40px rgba(51, 51, 51, 0.12);
        padding: 12px 0;
    }
    .am-nav.is-open a { padding: 14px var(--am-pad-x); width: 100%; }

    .am-hero .am-wrap { flex-direction: column; align-items: flex-start; }
    .am-hero__media { width: 100%; }
    .am-hero__tag { left: 16px; top: 16px; }

    .am-split { flex-direction: column; align-items: flex-start; }
    .am-split__stack { width: 100%; }
    .am-qualify__media { width: 100%; flex: 0 0 auto; }

    .am-how { flex-direction: column; }
    .am-steps { width: 100%; }

    .am-show, .am-standards { flex-direction: column; padding: 24px; }
    .am-show__media, .am-standards__logo { width: 100%; }

    .am-apps { grid-template-columns: repeat(2, 1fr); }
    .am-footer__cols { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 640px) {
    :root { --am-pad-x: 20px; }
    .am-section { padding: 72px 0; }
    .am-hero__title { font-size: 38px; }
    .am-hero__sub { font-size: 18px; }
    .am-head h2, .am-cta__txt h2 { font-size: 30px; }
    .am-split__txt h2 { font-size: 30px; }
    .am-show__txt h2, .am-standards__txt h2 { font-size: 26px; }
    .am-cards4, .am-apps { grid-template-columns: 1fr; }
    .am-casestudy__list { grid-template-columns: 1fr; }
    .am-form__row { grid-template-columns: 1fr; }
    .am-demo__title { font-size: 32px; }
    .am-btn { padding: 16px 20px; font-size: 16px; }
    .am-hero__tag { padding: 10px; gap: 10px; }
    .am-hero__tag p { font-size: 15px; }
    .am-hero__tag-icon svg { width: 22px; height: 22px; }
    .am-how__frame { height: auto; aspect-ratio: 471 / 252; }
    .am-table__head, .am-table__row { grid-template-columns: 1fr; gap: 10px; padding: 16px 20px; }
    .am-table__head span:last-child { display: none; }
    .am-footer__cols { grid-template-columns: 1fr; }
    .am-footer__top { flex-direction: column; align-items: flex-start; }
    .am-logos__row img { width: 96px; height: 56px; }
}

/* FAQ */
.am-faq{max-width:800px;margin:0 auto;}
.am-faq__item{border-bottom:1px solid rgba(0,0,0,.08);padding:20px 0;}
.am-faq__item summary{font-family:var(--font-heading,'Novera Modern SemiBold',sans-serif);font-size:1.1rem;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.am-faq__item summary::-webkit-details-marker{display:none;}
.am-faq__item summary::after{content:'+';font-size:1.5rem;flex-shrink:0;transition:transform .2s;}
.am-faq__item[open] summary::after{content:'\2212';}
.am-faq__item p{margin-top:12px;color:var(--text-secondary,#555);line-height:1.7;}
