/* =============================================================
   FaxSafe – home page sections (2026 redesign).
   Shared tokens, header, footer and buttons: faxsafe-site.css.
   ============================================================= */

/* ── Hero ── */
.hero {
    position: relative; overflow: hidden;
    padding-bottom: 120px;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, .9), transparent 60%),
        radial-gradient(700px 520px at 10% 90%, rgba(226, 231, 240, .9), transparent 65%),
        #eef0f3;
}
.hero::after { /* curved bottom edge */
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -80px; height: 160px;
    background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start;
    padding-top: 36px;
}
.hero-copy { padding-top: 8px; }
.hero h1 {
    margin: 22px 0 22px;
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.08; font-weight: 400; letter-spacing: -.035em;
    color: var(--fs-ink);
}
.hero h1 em { display: block; }
.hero-lead { display: none; font-size: 17px; color: var(--fs-muted); margin-bottom: 18px; }
.hero-checks { display: grid; gap: 14px; margin-bottom: 30px; font-size: 16px; }
.hero-rating { display: none; margin-top: 14px; justify-content: center; }

/* Free-test card */
.test-card {
    padding: 14px; border-radius: var(--fs-radius-lg);
    background: #fff; box-shadow: var(--fs-shadow-lg);
    border: 1px solid rgba(16, 19, 28, .05);
}
.test-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #eef0f4; }
.test-tabs button {
    min-height: 36px; border: 1.5px solid transparent; border-radius: 999px;
    background: transparent; font: 600 13.5px var(--fs-font); color: var(--fs-text); cursor: pointer;
}
.test-tabs button.is-active { background: #dfe8fb; border-color: #8ea8de; color: var(--fs-primary); }
.test-panel { display: grid; gap: 12px; padding: 14px 6px 6px; }
.test-form { display: grid; gap: 12px; }
.test-panel[hidden] { display: none; }
.test-sample { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #f1f2f4; font-size: 13px; color: var(--fs-muted); }
.test-sample strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--fs-ink); }
.test-sample-ic {
    flex: none; display: flex; flex-direction: column; gap: 4px; justify-content: center;
    width: 40px; height: 50px; padding: 0 8px; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.test-sample-ic i { display: block; height: 3px; border-radius: 2px; background: #c9d1e0; }
.test-sample-ic i:first-child { background: var(--fs-primary); width: 70%; }
.test-label { font-size: 13.5px; font-weight: 600; color: var(--fs-ink); }
.test-number { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.test-number select, .test-number input {
    height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--fs-line);
    font: 500 15px var(--fs-font); color: var(--fs-ink); background: #fff;
}
.test-number input::placeholder { color: #a3a9b6; }
.test-number select:focus, .test-number input:focus { outline: none; border-color: var(--fs-accent); box-shadow: 0 0 0 3px rgba(62, 100, 179, .15); }
.test-panel .fs-btn-outline { min-height: 40px; font-size: 13.5px; font-weight: 500; }

.test-log {
    margin-top: 10px; padding: 14px 16px; border-radius: 14px;
    background: #111522; color: #d5dbe7;
    font: 400 12px/1.9 var(--fs-mono); letter-spacing: .02em;
}
.test-log-head { display: flex; justify-content: space-between; color: #7c8496; text-transform: uppercase; font-size: 10.5px; margin-bottom: 4px; }
.test-log time { color: #7c8496; margin-right: 12px; }
.test-log-ok { color: #4ade80 !important; }
.test-log > div:not(.test-log-head) { opacity: 0; animation: logIn .4s ease forwards; }
.test-log > div:nth-child(2) { animation-delay: .4s; }
.test-log > div:nth-child(3) { animation-delay: 1.1s; }
.test-log > div:nth-child(4) { animation-delay: 1.8s; }
.test-log > div:nth-child(5) { animation-delay: 2.6s; }
@keyframes logIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* ── One account ── */
.devices { padding-top: 40px; }
.devices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.devices-lead { display: none; margin: 14px 0 0; }
.devices h2 { margin-bottom: 28px; }
.devices-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.device-card { padding: 20px; border-radius: var(--fs-radius); border: 1px solid; box-shadow: var(--fs-shadow); }
.device-card h3 { margin: 14px 0 8px; font-size: 16px; font-weight: 700; color: var(--fs-ink); }
.device-card p { font-size: 14px; color: var(--fs-muted); margin-bottom: 14px; }
.device-card-blue { background: #edf3fe; border-color: #d9e5fb; }
.device-card-violet { background: #f2f0fd; border-color: #e3defa; }
.device-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: var(--fs-primary); }
.device-ic svg { width: 20px; height: 20px; }
.device-card-violet .device-ic { background: #6b5bd2; }
.device-card-violet .fs-tags span { color: #5a4bc4; }
.device-ic-sm { width: 26px; height: 26px; border-radius: 8px; }
.device-ic-sm svg { width: 15px; height: 15px; }
.account-card { padding: 20px; border-radius: var(--fs-radius); background: #fff; border: 1px solid var(--fs-line); box-shadow: var(--fs-shadow); }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.account-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fs-ink); }
.account-sync { padding: 3px 10px; border-radius: 999px; background: var(--fs-green-bg); color: #15803d; font-size: 12px; font-weight: 600; }
.account-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 13.5px; }
.account-list li { position: relative; padding-left: 26px; }
.account-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px;
    background: var(--fs-primary); color: #fff; font-size: 11px; font-weight: 700;
}
.account-note { margin-top: 18px; font-size: 13px; color: var(--fs-muted); }
.account-note a { color: var(--fs-primary); font-weight: 600; }
.devices-side { display: flex; flex-direction: column; gap: 20px; }
.devices-visual { display: block; flex: 1; }
.devices-visual img { width: 100%; max-width: 560px; margin: 0 auto; border-radius: var(--fs-radius-lg); }
.devices-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── How to send online (blue band + app mock) ── */
.send-online {
    position: relative; padding: 112px 0 120px; color: #fff; text-align: center; overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, .07) 62%, rgba(255, 255, 255, .07) 80%, transparent 80%),
        linear-gradient(160deg, #3d5fa8 0%, #34549a 100%);
}
.send-online::before, .send-online::after {
    content: ""; position: absolute; left: -10%; right: -10%; height: 140px; background: #fff;
}
.send-online::before { top: -100px; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.send-online::after { bottom: -90px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #eef0f4; }
.send-online-title { color: #fff; }
.send-online-lead { max-width: 560px; margin: 14px auto 40px; color: rgba(255, 255, 255, .85); font-size: 17px; }
.send-online-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* The mock is drawn in em so the whole window scales with its width (1em = width/110). */
.mock-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; container-type: inline-size; }
.mock {
    font-size: calc(100cqw / 110); /* 10px at 1100px wide */
    text-align: left; color: var(--fs-text);
    background: #fff; border-radius: 1.4em; overflow: hidden;
    box-shadow: 0 3em 6em rgba(8, 18, 48, .35);
}
.mock-chrome { position: relative; display: flex; align-items: center; height: 3.4em; padding: 0 1.4em; background: #f4f5f8; border-bottom: 1px solid var(--fs-line); }
.mock-dots { display: flex; gap: .6em; }
.mock-dots i { width: 1.1em; height: 1.1em; border-radius: 50%; background: #ff5f57; }
.mock-dots i:nth-child(2) { background: #febc2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-url { position: absolute; left: 50%; transform: translateX(-50%); width: 36em; padding: .4em 1em; border-radius: .7em; background: #fff; font-size: 1.15em; color: var(--fs-muted); text-align: center; }
.mock-body { display: grid; grid-template-columns: 19em 1fr; }
.mock-side { display: flex; flex-direction: column; gap: .3em; padding: 1.8em 1.4em; border-right: 1px solid var(--fs-line); background: #fafbfc; }
.mock-brand { margin-bottom: 1.4em; font-size: 1.7em; font-weight: 700; color: var(--fs-ink); }
.mock-brand span { padding: .1em .5em; border-radius: .5em; background: #e4ecfb; color: var(--fs-primary); font-size: .55em; vertical-align: middle; }
.mock-nav { display: flex; justify-content: space-between; padding: .8em 1em; border-radius: .8em; font-size: 1.3em; }
.mock-nav b { padding: 0 .5em; border-radius: .6em; background: #eef0f4; font-size: .85em; font-weight: 600; }
.mock-nav.is-active { background: #e4ecfb; color: var(--fs-primary); font-weight: 600; }
.mock-plan { margin-top: auto; padding: 1em; border-radius: .9em; background: #fff; border: 1px solid var(--fs-line); font-size: 1.15em; }
.mock-plan strong { display: block; color: var(--fs-ink); }
.mock-plan span { color: var(--fs-green); }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 2.4em; border-bottom: 1px solid var(--fs-line); font-size: 1.25em; color: var(--fs-muted); }
.mock-top b { color: var(--fs-ink); }
.mock-user { display: flex; align-items: center; gap: .7em; }
.mock-user i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #f6c7a8; color: #7a3d1a; font-style: normal; font-weight: 700; font-size: .8em; }
.mock-user span { display: flex; flex-direction: column; line-height: 1.2; font-size: .9em; }
.mock-content { display: grid; grid-template-columns: 1fr 24em; gap: 2.4em; padding: 2.4em; }
.mock-h { font-size: 2.4em; font-weight: 600; color: var(--fs-ink); letter-spacing: -.02em; }
.mock-sub { margin: .3em 0 1.8em; font-size: 1.3em; color: var(--fs-muted); }
.mock-box { margin-bottom: 1.2em; padding: 1.4em; border: 1px solid var(--fs-line); border-radius: 1.1em; font-size: 1.25em; }
.mock-box > b { display: block; margin-bottom: .8em; color: var(--fs-ink); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: .8em; }
.mock-row + .mock-row { margin-top: .8em; }
.mock-row b { color: var(--fs-ink); }
.mock-link { color: var(--fs-primary); font-size: .9em; }
.mock-select { flex: none; padding: .6em .9em; border: 1px solid var(--fs-line); border-radius: .7em; }
.mock-input { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: .6em .9em; border: 1.5px solid #8ea8de; border-radius: .7em; color: var(--fs-ink); }
.mock-input em { padding: .15em .6em; border-radius: 1em; background: var(--fs-green-bg); color: #15803d; font-style: normal; font-size: .8em; }
.mock-note { margin-top: .8em; border-color: var(--fs-line); color: var(--fs-text); font-size: .95em; }
.mock-drop { display: flex; flex-direction: column; align-items: center; padding: 1.6em; border: 1.5px dashed #b9c8e8; border-radius: .9em; background: #f5f8fe; color: var(--fs-text); }
.mock-drop small { color: var(--fs-muted); font-size: .8em; }
.mock-toggle { display: inline-flex; align-items: center; gap: .5em; font-size: .9em; color: var(--fs-muted); }
.mock-toggle i { width: 2.6em; height: 1.5em; border-radius: 1em; background: var(--fs-primary); position: relative; }
.mock-toggle i::after { content: ""; position: absolute; right: .2em; top: .2em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.2em; border-top: 1px solid var(--fs-line); font-size: 1.2em; }
.mock-foot > span:first-child { display: flex; flex-direction: column; color: var(--fs-muted); font-size: .9em; }
.mock-foot b { color: var(--fs-ink); }
.mock-ghost, .mock-send { display: inline-block; padding: .6em 1.2em; border-radius: 2em; border: 1px solid var(--fs-line); margin-left: .5em; }
.mock-send { background: #9fb3dc; border-color: #9fb3dc; color: #fff; font-weight: 600; }
.mock-preview { align-self: start; padding: 1.4em; border: 1px solid var(--fs-line); border-radius: 1.1em; font-size: 1.15em; }
.mock-sheet { margin: 1em 0; padding: 1.4em; border-radius: .6em; background: #fff; box-shadow: 0 .3em 1.2em rgba(0, 0, 0, .1); font-size: .9em; }
.mock-fax { font-size: 1.6em; font-weight: 800; }
.mock-kv { display: grid; grid-template-columns: 4em 1fr; padding: .25em 0; color: var(--fs-ink); }
.mock-kv span { color: var(--fs-muted); }
.mock-lines { display: grid; gap: .5em; margin-top: 1em; }
.mock-lines i { height: .5em; border-radius: .3em; background: #e5e8ee; }
.mock-lines i:nth-child(2) { width: 80%; }
.mock-lines i:nth-child(3) { width: 60%; }
.mock-lock { font-size: .9em; color: var(--fs-muted); }

/* ── How it works ── */
.steps { background: #eef0f4; }
.steps-lead { margin-top: 10px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 20px 20px 26px; border-radius: var(--fs-radius-lg); background: #fff; box-shadow: var(--fs-shadow); transition: background .2s, color .2s; }
.step-no { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fs-accent); transition: background .2s, color .2s; }
/* Figma "Step card" Hover: the card turns blue, its text white. */
.step-card:hover { background: #3d5f98; }
.step-card:hover .step-no { background: rgba(255, 255, 255, .2); color: #fff; }
.step-card:hover h3 { color: #fff; }
.step-card:hover p { color: rgba(255, 255, 255, .86); }
.step-card img { width: 100%; aspect-ratio: 880 / 580; object-fit: cover; border-radius: 14px; }
.step-card h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: var(--fs-ink); transition: color .2s; }
.step-card p { font-size: 14.5px; color: var(--fs-muted); }
.steps-cta-bottom { display: none; }

/* ── Pricing ── */
.pricing { background: #eef0f4; padding-top: 24px; }
.period-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--fs-shadow); }
.period-toggle button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 600 13.5px var(--fs-font); color: var(--fs-text); cursor: pointer; }
.period-toggle button[aria-pressed="true"] { background: var(--fs-primary); color: #fff; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan-card { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; color: #fff; box-shadow: var(--fs-shadow-lg); }
.plan-send { background: radial-gradient(500px 300px at 30% 0%, rgba(70, 100, 190, .35), transparent 70%), linear-gradient(160deg, #141c38, #10162b); }
.plan-receive { background: linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .07) 75%, transparent 75%), linear-gradient(160deg, #4d71ba, #3456a0); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-top h3 { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.plan-badge { padding: 4px 12px; border-radius: 999px; background: #4f6fb5; font-size: 12px; font-weight: 600; }
.plan-tagline { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.plan-price { margin: 22px 0 6px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.plan-amount { font-size: 52px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.plan-unit { margin-left: 6px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.plan-billing { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .8); }
.plan-features { display: grid; gap: 10px; margin: 18px 0 26px; font-size: 14.5px; flex: 1; }
.plan-features li::before { background-color: #fff; }
.pricing-note { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--fs-muted); line-height: 1.8; }
.pricing-note a { color: var(--fs-primary); font-weight: 600; }

/* ── Two ways ── */
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way-card { display: block; padding: 20px 20px 28px; border-radius: 22px; background: #0d3135; color: #fff !important; box-shadow: var(--fs-shadow-lg); transition: transform .2s; }
.way-card:hover { transform: translateY(-3px); }
.way-card img { width: 100%; aspect-ratio: 876 / 424; object-fit: contain; border-radius: 14px; background: #105864; }
.way-card h3 { margin: 22px 0 6px; font-size: 22px; font-weight: 400; }
.way-card p { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ── Reviews (continuous marquee) ── */
.reviews { position: relative; overflow: hidden; padding-bottom: 150px; }
.reviews::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -80px; height: 150px; background: #eef0f4; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.faq { padding-top: 40px; }
.reviews-track { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-list { display: flex; gap: 20px; width: max-content; padding: 6px 0 12px; animation: marquee 60s linear infinite; }
.reviews-track:hover .reviews-list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.review-card { display: flex; flex-direction: column; gap: 14px; width: 300px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--fs-line); box-shadow: var(--fs-shadow); }
.review-card .fs-stars { font-size: 14px; }
.review-card p { flex: 1; font-size: 14.5px; color: var(--fs-text); }
.review-src { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--fs-ink); }
.review-ic { width: 34px; height: 34px; border-radius: 50%; background: #e4ecfb center / 16px no-repeat; }
.review-ic-ios { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath fill='%233a5a9b' d='M11.57 3.19c.73-.84 1.22-2.02 1.09-3.19-1.05.04-2.32.67-3.08 1.52-.68.75-1.27 1.94-1.11 3.09 1.17.09 2.37-.57 3.1-1.42M14.2 10.63c.03 3.02 2.77 4.03 2.8 4.04-.02.07-.44 1.44-1.44 2.85-.87 1.22-1.77 2.43-3.2 2.46-1.4.02-1.85-.8-3.45-.8-1.6 0-2.1.77-3.42.82-1.37.05-2.42-1.32-3.3-2.53C.4 14.98-.97 10.45.87 7.39c.91-1.52 2.55-2.48 4.32-2.51 1.35-.02 2.62.87 3.45.87.82 0 2.55-1.07 4.17-.92.68.03 2.59.27 3.82 1.99-.1.06-2.28 1.3-2.25 3.81'/%3E%3C/svg%3E"); }
.review-ic-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%233a5a9b' d='M7.6 28.6L20.3 15.8 7.8 3.3C7.4 3.6 7 4.2 7 4.8v22.3c0 .6.3 1.1.6 1.5zM30 14.4c1.3.7 1.3 2.5 0 3.2l-5.1 2.8-4.6-4.6 4.4-4.4L30 14.4zM24.9 20.4l-4.6-4.6L7.6 28.6c.6.5 1.4.6 2.2.2l15.1-8.4zM7.8 3.3l12.5 12.5 4.4-4.4L9.8 3.2c-.7-.3-1.4-.3-2 .1z'/%3E%3C/svg%3E"); }
.reviews-dots { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
.reviews-dots i { width: 8px; height: 8px; border-radius: 99px; background: #cbd3e1; transition: width .2s, background .2s; }
.reviews-dots i.is-active { width: 22px; background: var(--fs-primary); }

/* ── FAQ background on the home page ── */
.faq { background: #eef0f4; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr 420px; gap: 32px; }
}
@media (max-width: 900px) {
    .hero { padding-bottom: 90px; }
    .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
    .hero .fs-pill { justify-self: start; }
    .test-card { margin-bottom: 20px; }
    .hero-stores { margin-bottom: 14px; }
    .hero h1 { margin: 18px 0 14px; font-size: clamp(30px, 7vw, 44px); }
    .hero h1 em { display: inline; }
    .hero-lead { display: block; }
    .hero-checks { gap: 12px; margin-bottom: 24px; }
    .hero-copy { display: contents; }
    .hero-copy > * { order: 0; }
    .test-card { order: 1; }
    .hero-stores { order: 2; justify-content: center; }
    .hero-rating { display: flex; order: 3; margin-top: 0; }
    .test-log-long { display: none; }
    .devices-grid { grid-template-columns: 1fr; gap: 32px; }
    .devices-lead { display: block; }
    .devices h2 { margin-bottom: 0; }
    .devices-cards { margin-top: 24px; }
    .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .steps-cta-top { display: none; }
    .steps-cta-bottom { display: flex; width: max-content; margin: 28px auto 0; }
    .plans-grid, .ways-grid { grid-template-columns: minmax(0, 520px); }
    .send-online { padding: 110px 0 100px; }
}
@media (max-width: 640px) {
    .devices-cards, .account-list { grid-template-columns: 1fr; }
    .hero::after, .reviews::after { height: 90px; bottom: -50px; }
    .send-online::before, .send-online::after { height: 90px; }
    .send-online::before { top: -60px; }
    .send-online::after { bottom: -60px; }
    .plan-card { padding: 22px; }
    .plan-amount { font-size: 44px; }
    .period-toggle button { padding: 0 12px; font-size: 12.5px; }
    /* Reviews: swipe instead of marquee */
    .reviews-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask: none; mask: none; padding: 0 20px; scrollbar-width: none; }
    .reviews-track::-webkit-scrollbar { display: none; }
    .reviews-list { animation: none; gap: 14px; }
    .reviews-list [data-clone] { display: none; }
    .review-card { width: calc(100vw - 56px); scroll-snap-align: center; }
    .reviews-dots { display: flex; }
    .send-online-cta { flex-direction: column; gap: 10px; }
    .mock-url { width: 30em; }
}
