/* Free tools and the bounce code library: a lighter, workbench-style look that is separate from the marketing pages. */
.mt-head { position: relative; padding: 56px 0 46px; background-color: #f3f6fc; background-image: linear-gradient(rgba(7,28,77,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7,28,77,.045) 1px, transparent 1px); background-size: 34px 34px; border-bottom: 1px solid #e3e9f4; }
.mt-head .container { max-width: 1100px; }
.mt-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; margin: 10px 0 12px; color: #0b1b3d; max-width: 820px; }
.mt-head p { max-width: 720px; color: #4a5b7c; font-size: 1.1rem; line-height: 1.65; margin: 0; }
.mt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #7a88a8; }
.mt-crumbs a { color: #5b6b8c; text-decoration: none; } .mt-crumbs a:hover { color: #ff3951; }
.mt-eyebrow { display: inline-block; margin-top: 18px; padding: 4px 12px; border-radius: 6px; background: #071c4d; color: #ff8a99; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.mt-codebadge { display: inline-block; margin-top: 18px; padding: 8px 18px; border-radius: 10px; background: #071c4d; color: #ff8a99; font: 800 clamp(1.4rem, 3vw, 2rem) ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.mt-head--permanent .mt-codebadge { box-shadow: 6px 6px 0 #ff3951; } .mt-head--temporary .mt-codebadge { box-shadow: 6px 6px 0 #f5a524; } .mt-head--sender .mt-codebadge { box-shadow: 6px 6px 0 #4f7cff; }
.mt-search { margin-top: 26px; max-width: 560px; } .mt-search input { width: 100%; padding: 15px 20px; border: 2px solid #d6deee; border-radius: 14px; background: #fff; font-size: 16px; } .mt-search input:focus { outline: none; border-color: #ff3951; box-shadow: 0 0 0 4px rgba(255,57,81,.12); }

.mt-work { padding: 46px 0 80px; background: #fff; } .mt-work .container { max-width: 1100px; }
.mt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.mt-side { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 991px) { .mt-grid { grid-template-columns: 1fr; } .mt-side { position: static; } }
.mt-card { padding: 22px 24px; border: 1px solid #e3e9f4; border-radius: 16px; background: #f7f9fd; }
.mt-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 12px; }
.mt-card p { color: #5b6b8c; font-size: .95rem; line-height: 1.6; }
.mt-card--cta { background: linear-gradient(160deg, #040f2e, #0a2a6c); border: 0; color: #fff; } .mt-card--cta h3 { color: #fff; } .mt-card--cta p { color: #c4d0ea; }
.mt-card ul { margin: 0; padding-left: 18px; color: #4a5b7c; line-height: 1.7; }
.mt-links { list-style: none; padding: 0 !important; display: grid; gap: 4px; } .mt-links a { display: block; padding: 8px 10px; border-radius: 10px; color: #0b1b3d; text-decoration: none; font-weight: 600; font-size: .95rem; } .mt-links a:hover { background: #fff; color: #ff3951; } .mt-links b { font: 700 .82rem ui-monospace, SFMono-Regular, Menlo, monospace; color: #ff3951; margin-right: 6px; }

/* tool panel */
.mt-panel { border-radius: 18px; overflow: hidden; background: #071c4d; box-shadow: 0 24px 60px rgba(7,28,77,.22); margin-bottom: 34px; }
.mt-panel__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,.07); } .mt-panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b4f86; } .mt-panel__bar i:nth-child(1) { background: #ff6b7e; } .mt-panel__bar i:nth-child(2) { background: #ffc857; } .mt-panel__bar i:nth-child(3) { background: #4ade80; }
.mt-panel__bar span { margin-left: 12px; font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: #8fa2cf; }
.mt-panel .mb-tool { padding: 22px; overflow: visible; }
.mt-panel .mb-tool__form { display: grid; gap: 14px; }
.mt-panel .mb-tool__row { display: grid; gap: 6px; } .mt-panel .mb-tool__row span { color: #c4d0ea; font-size: 13.5px; font-weight: 600; }
.mt-panel .mb-tool__row input { padding: 14px 16px; border-radius: 12px; border: 2px solid transparent; background: #fff; font-size: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } .mt-panel .mb-tool__row input:focus { outline: none; border-color: #ff3951; }
.mt-run { padding: 14px 26px; border: 0; border-radius: 12px; background: #ff3951; color: #fff; font: 800 15.5px 'Plus Jakarta Sans', sans-serif; cursor: pointer; justify-self: start; box-shadow: 0 10px 24px rgba(255,57,81,.4); } .mt-run:hover { background: #e02a42; } .mt-run:disabled { opacity: .7; }
.mt-panel .mb-tool__note { margin: 0; color: #8fa2cf; font-size: 13px; }
.mt-panel .mb-tool__out { margin: 18px 0 0; padding: 18px; border-radius: 14px; background: #fff; border: 0; color: #0b1b3d; } .mt-panel .mb-tool__out:empty { display: none; }
.mt-panel .mb-tool__err { color: #c1243b; margin: 0; }

/* article body */
.mt-prose { color: #3a4660; font-size: 1.04rem; line-height: 1.75; }
.mt-prose h2 { font-size: 1.35rem; font-weight: 800; color: #0b1b3d; margin: 34px 0 14px; }
.mt-prose__lead { font-size: 1.15rem; color: #0b1b3d; margin-bottom: 8px; }
.mt-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } .mt-twocol h2 { margin-top: 24px; } .mt-twocol ul { padding-left: 18px; }
@media (max-width: 767px) { .mt-twocol { grid-template-columns: 1fr; } }
.mt-twocol--hub { margin-top: 44px; align-items: start; }
.mt-cards { list-style: none; padding: 0; display: grid; gap: 10px; } .mt-cards li { padding: 14px 18px; border-radius: 12px; background: #f7f9fd; border: 1px solid #e3e9f4; }
.mt-steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 10px; } .mt-steps li { counter-increment: st; position: relative; padding: 14px 18px 14px 58px; border-radius: 12px; background: #fff; border: 1px solid #e3e9f4; } .mt-steps li::before { content: counter(st); position: absolute; left: 14px; top: 11px; width: 30px; height: 30px; border-radius: 50%; background: #ff3951; color: #fff; display: grid; place-items: center; font: 800 14px 'Plus Jakarta Sans', sans-serif; }
.mt-note { margin-top: 18px; padding: 16px 20px; border-radius: 12px; background: #fff0f2; border-left: 4px solid #ff3951; color: #3a4660; }
.mt-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; } .mt-glance > div { padding: 16px 20px; border-radius: 14px; background: #f7f9fd; border: 1px solid #e3e9f4; } .mt-glance small { display: block; color: #7a88a8; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; } .mt-glance b { font-size: 1.02rem; color: #0b1b3d; }
@media (max-width: 767px) { .mt-glance { grid-template-columns: 1fr; } }

/* hub tiles */
.mt-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.mt-tile { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; background: #f7f9fd; border: 1px solid #e3e9f4; text-decoration: none; color: #0b1b3d; transition: transform .18s, box-shadow .18s, border-color .18s; }
.mt-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(7,28,77,.12); border-color: #ff3951; color: #0b1b3d; }
.mt-tile--single, .mt-tile--errors { grid-column: span 3; } .mt-tile--single { background: linear-gradient(160deg, #040f2e, #0a2a6c); border: 0; color: #fff; } .mt-tile--single:hover { color: #fff; }
.mt-tile__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #071c4d; color: #ff8a99; font: 800 15px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-tile--single .mt-tile__ic { background: rgba(255,255,255,.12); }
.mt-tile strong { font: 800 1.15rem 'Plus Jakarta Sans', sans-serif; } .mt-tile__tx { color: #5b6b8c; line-height: 1.55; flex: 1; } .mt-tile--single .mt-tile__tx { color: #c4d0ea; } .mt-tile em { font-style: normal; font-weight: 700; color: #ff3951; }
@media (max-width: 991px) { .mt-tiles { grid-template-columns: 1fr 1fr; } .mt-tile, .mt-tile--single, .mt-tile--errors { grid-column: span 1; } }
@media (max-width: 575px) { .mt-tiles { grid-template-columns: 1fr; } }

/* bounce code grid */
.mt-group { font-size: 1.15rem; font-weight: 800; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid #d6deee; } .mt-group--permanent { border-color: #ff3951; } .mt-group--temporary { border-color: #f5a524; } .mt-group--sender { border-color: #4f7cff; }
.mt-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mt-code { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: #f7f9fd; border: 1px solid #e3e9f4; border-left: 5px solid #d6deee; text-decoration: none; color: #3a4660; transition: background .15s, transform .15s; }
.mt-code:hover { background: #fff; transform: translateX(3px); color: #0b1b3d; } .mt-code b { font: 800 1rem ui-monospace, SFMono-Regular, Menlo, monospace; color: #0b1b3d; }
.mt-code--permanent { border-left-color: #ff3951; } .mt-code--temporary { border-left-color: #f5a524; } .mt-code--sender { border-left-color: #4f7cff; }
.mt-none { padding: 20px; color: #5b6b8c; }
