/*
 * Account Security page — Figma "FlymyMall Footer Pages (5)".
 * Desktop frame 1440 wide, 1080 content column.
 */
.fmm-as {
    --as-ink: #111111;
    --as-muted: #6B6B6B;
    --as-line: #E7E7E7;
    --as-yellow: #FBBF24;
    --as-cream: #FEF8E1;
    --as-grey: #F8F8F8;
    color: var(--as-ink);
}
.fmm-as *, .fmm-as *::before, .fmm-as *::after { box-sizing: border-box; }
.fmm-as-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.fmm-as-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 45px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
    color: var(--as-ink); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.fmm-as-btn--yellow { background: var(--as-yellow); }
.fmm-as-btn--yellow:hover { background: #F5B10C; }
.fmm-as-btn--outline { background: #fff; border-color: #D9D9D9; }
.fmm-as-btn--outline:hover { border-color: var(--as-ink); }
.fmm-as-btn--outline2 { background: transparent; border-color: #D9D9D9; }
.fmm-as-btn--outline2:hover { border-color: var(--as-ink); }
.fmm-as-btn--dark { background: var(--as-ink); color: #fff; }
.fmm-as-btn--dark:hover { background: #2B2B2B; }

/* Hero */
.fmm-as-hero { background: linear-gradient(100deg, #FFFFFF 38%, var(--as-cream) 100%); padding: 72px 0 84px; }
.fmm-as-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; align-items: center; }
.fmm-as-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    background: #FFFBEB; border: 1px solid #F3DFA6; font-size: 13px; font-weight: 700;
}
.fmm-as-pill svg { width: 14px; height: 14px; color: var(--as-yellow); }
.fmm-as-hero h1 { margin: 24px 0 22px; font-size: 46px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.fmm-as-hero__grid > div > p { margin: 0 0 30px; max-width: 580px; font-size: 17px; line-height: 1.65; color: #555; }
.fmm-as-hero__acts { display: flex; flex-wrap: wrap; gap: 14px; }
.fmm-as-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 28px 0 0; padding: 0; font-size: 14px; color: #555; }
.fmm-as-trust li { display: inline-flex; align-items: center; gap: 8px; }
.fmm-as-trust i { display: inline-flex; width: 16px; height: 16px; color: #16A34A; }
.fmm-as-trust i svg { width: 100%; height: 100%; }
.fmm-as-hero__media { position: relative; }
.fmm-as-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 500 / 390; object-fit: cover; border-radius: 20px; }
.fmm-as-hero__badge {
    position: absolute; left: -24px; bottom: -22px; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: #fff; border: 1px solid var(--as-line); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, .08);
}
.fmm-as-hero__badge > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--as-cream); color: var(--as-yellow); }
.fmm-as-hero__badge > span svg { width: 20px; height: 20px; }
.fmm-as-hero__badge b { display: block; font-size: 15px; }
.fmm-as-hero__badge em { display: block; font-style: normal; font-size: 13px; color: var(--as-muted); margin-top: 2px; }

/* Sections */
.fmm-as-sec { padding: 96px 0; background: #fff; }
.fmm-as-sec--grey { background: var(--as-grey); }
.fmm-as-sec--cream { background: var(--as-cream); }
.fmm-as-head { max-width: 760px; margin-bottom: 52px; }
.fmm-as-head > span, .fmm-as-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--as-yellow); }
.fmm-as-head > span.is-orange { color: #EA8A00; }
.fmm-as-head h2 { margin: 14px 0 0; font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.fmm-as-head p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--as-muted); }
.fmm-as-sec--cream .fmm-as-head { margin-left: auto; margin-right: auto; max-width: 640px; text-align: center; }

/* Practice cards */
.fmm-as-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fmm-as-cards article { padding: 31px; border: 1px solid var(--as-line); border-radius: 16px; background: #fff; }
.fmm-as-cards i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--as-cream); color: var(--as-yellow); margin-bottom: 36px; }
.fmm-as-cards i svg { width: 100%; height: 100%; }
.fmm-as-cards b { display: block; font-size: 19px; font-weight: 700; }
.fmm-as-cards span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--as-muted); }

/* Secure login */
.fmm-as-login { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 60px; align-items: center; }
.fmm-as-login__media img { display: block; width: 100%; height: auto; aspect-ratio: 500 / 440; object-fit: cover; border-radius: 20px; }
.fmm-as-login h2 { margin: 14px 0 0; font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.fmm-as-login__lead { margin: 16px 0 34px; font-size: 17px; line-height: 1.6; color: var(--as-muted); }
.fmm-as-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 26px; }
.fmm-as-steps li { display: flex; gap: 18px; }
.fmm-as-steps li > i {
    display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    background: var(--as-ink); color: #fff; font-style: normal; font-size: 15px; font-weight: 700;
}
.fmm-as-steps li > i.is-yellow { background: var(--as-yellow); color: var(--as-ink); }
.fmm-as-steps b { display: block; font-size: 16px; font-weight: 700; }
.fmm-as-steps span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--as-muted); }

/* Phishing */
.fmm-as-phish { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fmm-as-phish article { padding: 31px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(17, 17, 17, .05); }
.fmm-as-phish h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 20px; font-weight: 700; }
.fmm-as-phish h3 i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; }
.fmm-as-phish h3 i svg { width: 100%; height: 100%; }
.fmm-as-phish h3 i.is-red { background: #FEF2F2; color: #DC2626; }
.fmm-as-phish h3 i.is-green { background: #F0FDF4; color: #16A34A; }
.fmm-as-phish ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fmm-as-phish li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: #333; }
.fmm-as-phish li svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 3px; }
.fmm-as-phish li svg.is-red { color: #DC2626; }
.fmm-as-phish li svg.is-green { color: #16A34A; }
.fmm-as-report {
    display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 23px 27px;
    border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(17, 17, 17, .05);
}
.fmm-as-report i { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--as-cream); color: var(--as-yellow); }
.fmm-as-report i svg { width: 100%; height: 100%; }
.fmm-as-report p { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; color: #444; }
.fmm-as-report .fmm-as-btn { flex-shrink: 0; border-radius: 999px; padding: 0 24px; }

/* Troubleshooter */
.fmm-as-tool { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 44px; align-items: start; }
.fmm-as-tool__list { display: grid; gap: 14px; }
.fmm-as-tool__list button {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border: 1px solid var(--as-line); border-radius: 12px; background: #fff;
    font-family: inherit; font-size: 16px; font-weight: 700; color: var(--as-ink); text-align: left; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.fmm-as-tool__list button:hover { border-color: #CFCFCF; }
.fmm-as-tool__list button.is-on { background: #FFFBEB; border: 2px solid var(--as-ink); padding: 17px 19px; }
.fmm-as-tool__list button > i { display: inline-flex; flex-shrink: 0; width: 20px; height: 20px; color: #9CA3AF; }
.fmm-as-tool__list button.is-on > i { color: var(--as-yellow); }
.fmm-as-tool__list button > i svg { width: 100%; height: 100%; }
.fmm-as-tool__list button > span { flex: 1; }
.fmm-as-tool__chev { flex-shrink: 0; color: #999; }
.fmm-as-tool__panel { padding: 38px; border-radius: 18px; background: var(--as-grey); }
.fmm-as-tool__panel h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.fmm-as-tool__panel h3 i { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--as-cream); color: var(--as-yellow); }
.fmm-as-tool__panel h3 i svg { width: 100%; height: 100%; }
.fmm-as-tool__panel > p { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #555; }
.fmm-as-tool__panel ol { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 20px; }
.fmm-as-tool__panel ol li { display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: #444; }
.fmm-as-tool__panel ol i {
    display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: var(--as-ink); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; margin-top: -3px;
}
.fmm-as-tool__acts { display: flex; flex-wrap: wrap; gap: 14px; }

/* Tablet */
@media (max-width: 1060px) {
    .fmm-as-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; }
    .fmm-as-login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
    .fmm-as-tool { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .fmm-as-hero__grid, .fmm-as-login { grid-template-columns: 1fr; }
    .fmm-as-hero__media, .fmm-as-login__media { max-width: 560px; }
    .fmm-as-hero__badge { left: 12px; }
    .fmm-as-cards { grid-template-columns: 1fr; max-width: 520px; }
    .fmm-as-phish { grid-template-columns: 1fr; }
    .fmm-as-report { flex-wrap: wrap; }
}

/* Phone */
@media (max-width: 560px) {
    .fmm-as-wrap { padding: 0 16px; }
    .fmm-as-hero { padding: 40px 0 56px; }
    .fmm-as-hero h1 { font-size: 31px; margin: 18px 0 16px; }
    .fmm-as-hero__grid > div > p { font-size: 15px; margin-bottom: 24px; }
    .fmm-as-hero__acts { flex-direction: column; }
    .fmm-as-hero__acts .fmm-as-btn { width: 100%; }
    .fmm-as-trust { gap: 14px; margin-top: 22px; font-size: 13px; }
    .fmm-as-hero__badge { left: 12px; bottom: -20px; padding: 12px 14px; }
    .fmm-as-sec { padding: 56px 0; }
    .fmm-as-head { margin-bottom: 32px; }
    .fmm-as-head h2, .fmm-as-login h2 { font-size: 26px; }
    .fmm-as-head p, .fmm-as-login__lead { font-size: 15px; }
    .fmm-as-cards article { padding: 22px 18px; }
    .fmm-as-cards i { margin-bottom: 18px; }
    .fmm-as-steps { gap: 20px; margin-bottom: 28px; }
    .fmm-as-login .fmm-as-btn, .fmm-as-tool__acts .fmm-as-btn { width: 100%; }
    .fmm-as-phish article { padding: 22px 18px; }
    .fmm-as-report { padding: 18px; }
    .fmm-as-report .fmm-as-btn { width: 100%; }
    .fmm-as-tool__list button { padding: 14px 15px; font-size: 15px; }
    .fmm-as-tool__list button.is-on { padding: 13px 14px; }
    .fmm-as-tool__panel { padding: 22px 16px; }
    .fmm-as-tool__panel h3 { font-size: 21px; }
    .fmm-as-tool__panel h3 i { width: 44px; height: 44px; }
    .fmm-as-tool__acts { flex-direction: column; }
}
