/* Amilma system: shared components for corporate pages (ams-). Scoped under .ams so legacy pages are not affected. */
.ams {
    --ams-ink: #10213d;
    --ams-muted: #526681;
    --ams-blue: #0865df;
    --ams-red: #c7223b;
    --ams-line: #dfe7f1;
    --ams-soft: #f5f8fc;
    --ams-navy: #0b1a33;
    overflow-x: clip;
    color: var(--ams-ink);
    font-family: var(--primary-font, "Manrope", sans-serif);
    font-size: 17px;
    line-height: 1.6;
    background: #fff;
}

.ams *,
.ams *::before,
.ams *::after {
    box-sizing: border-box;
}

.ams a {
    text-decoration: none;
}

.ams img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ams h1,
.ams h2,
.ams h3,
.ams h4 {
    margin: 0;
    color: var(--ams-ink);
    font-weight: 800;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.ams h1 {
    font-size: clamp(42px, 4.9vw, 70px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.ams h2 {
    font-size: clamp(34px, 3.9vw, 54px);
    line-height: 1.05;
}

.ams h3 {
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.ams h1 span,
.ams h2 span {
    color: var(--ams-blue);
}

.ams :where(p) {
    margin: 0;
    color: var(--ams-muted);
}

.ams :where(ul, ol) {
    margin: 0;
    padding: 0;
}

.ams-wrap {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.ams-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ams-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ams-eyebrow::before {
    content: "";
    flex: none;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}

.ams-lead {
    max-width: 580px;
    margin-top: 26px;
    color: var(--ams-muted);
    font-size: 18px;
    line-height: 1.7;
}

/* Buttons and actions */
.ams-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.ams-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}

.ams-btn span {
    display: inline-block;
    transition: transform .3s ease;
}

.ams-btn:hover span {
    transform: translateX(4px);
}

.ams-btn-primary {
    background: var(--ams-blue);
    color: #fff;
    box-shadow: 0 14px 30px rgba(8, 101, 223, .28);
}

.ams-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(8, 101, 223, .36);
}

.ams-btn-outline {
    border: 1px solid #c4d3e6;
    background: rgba(255, 255, 255, .72);
    color: var(--ams-ink);
}

.ams-btn-outline:hover {
    border-color: var(--ams-blue);
    color: var(--ams-blue);
}

.ams-btn-white {
    background: #fff;
    color: var(--ams-ink);
}

.ams-btn-white:hover {
    color: var(--ams-blue);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
}

.ams-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
}

.ams-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

/* Hero */
.ams-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
    background:
        radial-gradient(55% 60% at 88% 8%, rgba(8, 101, 223, .16), transparent 70%),
        radial-gradient(40% 50% at 4% 96%, rgba(199, 34, 59, .10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--ams-soft) 100%);
}

.ams-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.ams-hero-center {
    text-align: center;
}

.ams-hero-center .ams-eyebrow {
    justify-content: center;
}

.ams-hero-center .ams-lead {
    margin-inline: auto;
}

.ams-hero-center .ams-actions {
    justify-content: center;
}

.ams-hero-visual {
    position: relative;
}

.ams-hero .ams-eyebrow,
.ams-hero h1,
.ams-hero .ams-lead,
.ams-hero .ams-actions,
.ams-hero-visual {
    animation: ams-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.ams-hero h1 {
    animation-delay: .08s;
}

.ams-hero .ams-lead {
    animation-delay: .16s;
}

.ams-hero .ams-actions {
    animation-delay: .24s;
}

.ams-hero-visual {
    animation-delay: .2s;
}

/* Images and floating visuals */
.ams-art {
    width: 100%;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(16, 33, 61, .14);
}

.ams-float {
    animation: ams-bob 8s ease-in-out infinite;
}

.ams-float-delay {
    animation-delay: -3s;
}

/* Sections */
.ams-section {
    padding: clamp(72px, 9vw, 120px) 0;
    background: #fff;
}

.ams-section-soft {
    background: var(--ams-soft);
}

.ams-section-dark {
    background: var(--ams-navy);
}

.ams-section-dark h2,
.ams-section-dark h3,
.ams-section-dark h4 {
    color: #fff;
}

.ams-section-dark h2 span {
    color: #7fb2ff;
}

.ams-section-dark p {
    color: rgba(255, 255, 255, .78);
}

.ams-section-dark .ams-eyebrow {
    color: #ff9aaa;
}

.ams-section-tight {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

.ams-head {
    max-width: 780px;
}

.ams-head p:not(.ams-eyebrow) {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
}

.ams-head-center {
    margin-inline: auto;
    text-align: center;
}

.ams-head-center .ams-eyebrow {
    justify-content: center;
}

/* Grids */
.ams-grid {
    display: grid;
    gap: 24px;
    margin-top: 56px;
}

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

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

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

/* Cards */
.ams-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px;
    border: 1px solid var(--ams-line);
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    transition: translate .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.ams-card:hover {
    translate: 0 -6px;
    border-color: #c4d7ef;
    box-shadow: 0 24px 50px rgba(16, 33, 61, .10);
}

.ams-card h3 {
    margin-top: 22px;
}

.ams-card p {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.68;
}

.ams-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ams-blue);
    font-size: 15px;
    font-weight: 700;
}

.ams-card-link span {
    display: inline-block;
    transition: transform .3s ease;
}

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

.ams-card-dark {
    border-color: rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, #14284a 0%, #0f2038 100%);
}

.ams-card-dark h3 {
    color: #fff;
}

.ams-card-dark p {
    color: rgba(255, 255, 255, .76);
}

.ams-card-dark:hover {
    border-color: rgba(127, 178, 255, .4);
}

.ams-card-dark .ams-card-link {
    color: #7fb2ff;
}

.ams-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(8, 101, 223, .10);
    color: var(--ams-blue);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.ams-icon svg {
    width: 24px;
    height: 24px;
}

.ams-icon-red {
    background: rgba(199, 34, 59, .10);
    color: var(--ams-red);
}

.ams-icon-green {
    background: rgba(21, 163, 74, .12);
    color: #0f8a3e;
}

.ams-icon-dark {
    background: var(--ams-ink);
    color: #fff;
}

/* Status badges */
.ams-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef3fa;
    color: var(--ams-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
}

.ams-status::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
}

.ams-status-live {
    background: rgba(21, 163, 74, .12);
    color: #0f7a3a;
}

.ams-status-prep {
    background: rgba(245, 158, 11, .15);
    color: #9a5b00;
}

.ams-status-setup {
    background: rgba(8, 101, 223, .10);
    color: #0a57bf;
}

.ams-status-preview {
    background: rgba(124, 58, 237, .12);
    color: #5b21b6;
}

/* Promo tiles (Microsoft-style product boxes) */
.ams-tiles {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.ams-tile {
    --ams-accent: #7fb2ff;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    padding: clamp(28px, 3.6vw, 52px);
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(160deg, #0f2140 0%, #1d4a8f 100%);
    box-shadow: 0 24px 60px rgba(8, 22, 46, .16);
    transition: translate .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}

.ams-tile:hover {
    translate: 0 -6px;
    box-shadow: 0 36px 80px rgba(8, 22, 46, .24);
}

.ams-tile-wide {
    grid-column: span 12;
    flex-direction: row;
    align-items: flex-end;
    min-height: 580px;
}

.ams-tile-half {
    grid-column: span 6;
}

.ams-tile-third {
    grid-column: span 4;
    min-height: 540px;
}

.ams-tile-navy {
    --ams-accent: #7fb2ff;
    background: radial-gradient(90% 80% at 100% 0%, rgba(127, 178, 255, .25), transparent 60%), linear-gradient(160deg, #0b1a33 0%, #13305a 100%);
}

.ams-tile-green {
    --ams-accent: #22f60f;
    background: radial-gradient(90% 80% at 100% 0%, rgba(34, 246, 15, .22), transparent 60%), linear-gradient(160deg, #0a0d0b 0%, #13231a 100%);
}

.ams-tile-purple {
    --ams-accent: #ffb81c;
    background: radial-gradient(90% 70% at 100% 0%, rgba(255, 184, 28, .22), transparent 60%), linear-gradient(160deg, #170b33 0%, #2b1556 60%, #1d1140 100%);
}

.ams-tile-red {
    --ams-accent: #ff8a99;
    background: radial-gradient(90% 80% at 100% 0%, rgba(255, 138, 153, .24), transparent 60%), linear-gradient(160deg, #2a0b14 0%, #5c1426 100%);
}

.ams-tile-white {
    --ams-accent: #0865df;
    color: var(--ams-ink);
    background: linear-gradient(160deg, #ffffff 0%, #eef4fb 100%);
    border: 1px solid var(--ams-line);
    box-shadow: 0 20px 50px rgba(16, 33, 61, .08);
}

.ams-tile-mint {
    --ams-accent: #15a34a;
    color: #0c2016;
    background: radial-gradient(90% 70% at 100% 0%, rgba(21, 163, 74, .18), transparent 60%), linear-gradient(160deg, #f6fbf7 0%, #e7f6ec 100%);
}

.ams-tile-sand {
    --ams-accent: #c7223b;
    color: var(--ams-ink);
    background: radial-gradient(90% 70% at 100% 0%, rgba(199, 34, 59, .10), transparent 60%), linear-gradient(160deg, #fffaf7 0%, #fbeee9 100%);
}

.ams-tile-white p,
.ams-tile-mint p,
.ams-tile-sand p {
    color: var(--ams-muted);
}

.ams-tile-copy {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin-bottom: 40px;
}

.ams-tile-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: .8;
}

.ams-tile h3 {
    color: inherit;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.04;
}

.ams-tile-text {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.62;
    color: inherit;
    opacity: .86;
}

.ams-tile .ams-status {
    margin-top: 18px;
}

.ams-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 50px;
    margin-top: 28px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--ams-accent);
    color: #0a0d0b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ams-tile-cta span {
    display: inline-block;
    transition: transform .3s ease;
}

.ams-tile-cta:hover {
    color: #0a0d0b;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.ams-tile-cta:hover span {
    transform: translate(2px, -2px);
}

.ams-tile-navy .ams-tile-cta,
.ams-tile-red .ams-tile-cta {
    color: #0b1a33;
}

.ams-tile-cta-dark {
    background: var(--ams-ink);
    color: #fff;
}

.ams-tile-cta-dark:hover {
    color: #fff;
}

.ams-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.ams-points li {
    list-style: none;
    padding-left: 24px;
    background: radial-gradient(circle at 5px .72em, var(--ams-accent, #0865df) 0 5px, transparent 5.5px) no-repeat 0 0 / 100% 100%;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.ams-points li::before {
    content: none;
}

.ams-points-plain li {
    color: var(--ams-muted);
    font-weight: 500;
}

.ams-tile-shot {
    position: relative;
    z-index: 1;
    display: block;
    margin: auto -12% -90px 0;
}

.ams-tile-wide .ams-tile-shot {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 -64px -96px 0;
}

.ams-frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .32);
}

.ams-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%);
    transform: translateX(-100%);
    transition: transform 1s ease;
    pointer-events: none;
}

.ams-tile:hover .ams-frame::after {
    transform: translateX(100%);
}

.ams-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #edf1f6;
    border-bottom: 1px solid #d9e1ec;
}

.ams-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cdd6e3;
}

.ams-bar b {
    margin-left: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: #5b6b82;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.ams-frame img {
    width: 100%;
    transition: scale .8s cubic-bezier(.2, .7, .2, 1);
}

.ams-tile:hover .ams-frame img {
    scale: 1.03;
}

/* CSS-only visuals for products without a screenshot */
.ams-letter {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--ams-accent, #0865df), #10213d);
    box-shadow: 0 30px 60px rgba(8, 22, 46, .25);
    color: #fff;
    font-size: 56px;
    font-weight: 800;
}

.ams-mock {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.ams-mock-bar {
    height: 14px;
    width: 40%;
    border-radius: 999px;
    background: var(--ams-accent, #0865df);
    opacity: .85;
}

.ams-mock-row {
    height: 12px;
    border-radius: 999px;
    background: #e7edf6;
}

.ams-mock-row-short {
    width: 60%;
}

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

.ams-mock-cell {
    height: 64px;
    border-radius: 12px;
    background: #f1f5fb;
}

/* Steps */
.ams-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 56px;
}

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

.ams-step {
    position: relative;
    padding: 30px 26px;
    border: 1px solid var(--ams-line);
    border-radius: 24px;
    background: #fff;
}

.ams-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--ams-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.ams-step h3 {
    font-size: 20px;
}

.ams-step p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.65;
}

/* FAQ (native details, no script) */
.ams-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.ams-faq-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.ams-faq details {
    padding: 24px 26px;
    border: 1px solid var(--ams-line);
    border-radius: 22px;
    background: #fff;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.ams-faq details[open] {
    border-color: #c4d7ef;
    box-shadow: 0 16px 36px rgba(16, 33, 61, .08);
}

.ams-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    color: var(--ams-ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
}

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

.ams-faq summary::after {
    content: "+";
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(8, 101, 223, .1);
    color: var(--ams-blue);
    font-size: 18px;
    font-weight: 800;
    transition: transform .3s ease;
}

.ams-faq details[open] summary::after {
    transform: rotate(45deg);
}

.ams-faq details p {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.68;
}

/* Tables */
.ams-table-wrap {
    margin-top: 48px;
    overflow-x: auto;
    border: 1px solid var(--ams-line);
    border-radius: 24px;
    background: #fff;
}

.ams-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.ams-table th,
.ams-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--ams-line);
    color: var(--ams-muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}

.ams-table th {
    background: #f7f9fd;
    color: var(--ams-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ams-table td:first-child {
    color: var(--ams-ink);
    font-weight: 700;
}

.ams-table tr:last-child td {
    border-bottom: 0;
}

/* Split layout */
.ams-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 84px);
    align-items: center;
}

.ams-split-reverse .ams-split-copy {
    order: 2;
}

.ams-split-copy p:not(.ams-eyebrow) {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.7;
}

.ams-split-visual {
    position: relative;
}

/* Notes */
.ams-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
    padding: 20px 22px;
    border: 1px solid #f7d89a;
    border-radius: 20px;
    background: #fff7e6;
    color: #6b4a00;
    font-size: 15px;
    line-height: 1.6;
}

.ams-note-info {
    border-color: #c7dcfa;
    background: #eef5ff;
    color: #163b6e;
}

/* Closing call to action */
.ams-cta {
    padding: 0 0 clamp(72px, 9vw, 120px);
    background: #fff;
}

.ams-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(36px, 5vw, 66px);
    overflow: hidden;
    border-radius: 36px;
    color: #fff;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(8, 101, 223, .6), transparent 62%),
        radial-gradient(55% 110% at 0% 100%, rgba(199, 34, 59, .5), transparent 62%),
        #10213d;
}

.ams-cta-box h2 {
    color: #fff;
}

.ams-cta-box p:not(.ams-eyebrow) {
    max-width: 560px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.6;
}

.ams-cta-box .ams-eyebrow {
    color: #ff9aaa;
}

.ams-cta-actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 12px;
}

/* Entrance and scroll motion (scroll-driven where supported; content stays visible otherwise) */
@keyframes ams-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ams-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ams-bob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@supports (animation-timeline: view()) {
    .ams-head,
    .ams-card,
    .ams-tile,
    .ams-step,
    .ams-faq details,
    .ams-table-wrap,
    .ams-cta-box,
    .ams-split-copy,
    .ams-split-visual,
    .ams-note,
    .ams-mock {
        animation: ams-rise linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 34%;
    }
}

@media (min-width: 1100px) {
    .ams-tile-wide .ams-tile-copy {
        flex: 0 1 470px;
        max-width: 470px;
        margin-bottom: 0;
    }

    .ams-tile-wide .ams-tile-shot {
        margin: 0 -64px -96px 40px;
    }
}

/* Responsive */
@media (max-width: 1099.98px) {
    .ams-hero-grid,
    .ams-split {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

    .ams-tile-half,
    .ams-tile-third,
    .ams-tile-wide {
        grid-column: span 12;
    }

    .ams-tile-wide {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .ams-tile-shot,
    .ams-tile-wide .ams-tile-shot {
        margin: auto -4% -90px 0;
    }

    .ams-faq {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 767.98px) {
    .ams-wrap {
        width: calc(100% - 32px);
    }

    .ams-grid-2,
    .ams-grid-3,
    .ams-grid-4,
    .ams-steps,
    .ams-steps-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .ams-tile {
        min-height: 0;
        padding: 28px 24px;
        border-radius: 26px;
    }

    .ams-tile h3 {
        font-size: 36px;
    }

    .ams-tile-shot,
    .ams-tile-wide .ams-tile-shot {
        margin: auto -24px -48px 0;
    }

    .ams-card {
        padding: 28px 24px;
    }

    .ams-cta-box {
        border-radius: 28px;
    }

    .ams-lead {
        font-size: 16.5px;
    }
}

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

    .ams-card:hover,
    .ams-tile:hover {
        translate: none !important;
    }

    .ams-tile:hover .ams-frame img {
        scale: none !important;
    }
}

/* Team profile */
.ams-portrait {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(16, 33, 61, .16);
}

.ams-portrait-initials {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #c7223b 0%, #7d1224 100%);
    color: #fff;
    font-size: 96px;
    font-weight: 800;
}

.ams-bio {
    max-width: 780px;
    color: var(--ams-muted);
    font-size: 18px;
    line-height: 1.75;
}

.ams-bio p + p {
    margin-top: 18px;
}
