/* diwanmail.com theme on top of Bootstrap 4.6: dark slate, orange CTA, cyan primary, Inter. */
:root {
  --dark-1: #1c2533;
  --dark-2: #232d3b;
  --dark-3: #2a3647;
  --dark-line: rgba(255, 255, 255, .09);
  --hero: linear-gradient(135deg, #1c2533 0%, #232d3b 50%, #2a3647 100%);
  --cta: #f97316;
  --cta-hover: #ea580c;
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --primary-soft: #ecfeff;
  --cta-soft: #fff7ed;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --fail: #dc2626;
  --fail-soft: #fef2f2;
  --radius: .5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .12), 0 8px 10px -6px rgba(15, 23, 42, .08);
}

/* --- Bootstrap overrides --- */
body { font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
a { color: var(--primary-hover); }
a:hover { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { color: var(--text); letter-spacing: -.02em; line-height: 1.2; }
h1, .h1 { font-weight: 800; }
h2, .h2 { font-weight: 750; font-size: calc(1.4rem + 1.1vw); }
h3, .h3 { font-weight: 650; font-size: 1.15rem; }
@media (min-width: 1200px) { h2, .h2 { font-size: 2.25rem; } }
.text-muted { color: var(--muted) !important; }
.lead { font-weight: 400; }
.container { max-width: 1200px; }
.narrow { max-width: 780px; }

.btn { font-weight: 600; border-radius: var(--radius); transition: all .15s ease; }
.btn-lg { font-size: 1.025rem; padding: .8rem 1.5rem; }
.btn-sm { border-radius: .4rem; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-primary:focus, .btn-cta:focus { box-shadow: 0 0 0 .2rem rgba(6, 182, 212, .35); }
.btn-cta { background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: 0 4px 14px rgba(249, 115, 22, .35); }
.btn-cta:hover, .btn-cta:focus, .btn-cta:active { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-cta:hover { transform: translateY(-1px); }
.btn-outline-secondary { color: var(--text); border-color: var(--border); background: #fff; }
.btn-outline-secondary:hover { color: var(--primary-hover); border-color: var(--primary); background: #fff; }
.input-group-append .btn-outline-secondary { color: var(--muted); border-color: #ced4da; }
.form-control { border-radius: var(--radius); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(6, 182, 212, .2); }
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--primary); border-color: var(--primary); }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 .2rem rgba(6, 182, 212, .25); }
label { font-weight: 600; font-size: .9rem; color: var(--text-2); }
.custom-control-label { font-weight: 400; }
.alert { border-radius: var(--radius); }
.card { border-color: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.badge { font-weight: 600; }
.progress { background: var(--border); border-radius: 999px; height: .5rem; }
.progress-bar { background: var(--primary); border-radius: 999px; }
.progress-bar.bg-warning { background: var(--cta) !important; }
.table thead th { border-top: 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.table td, .table th { border-color: var(--border); vertical-align: middle; }
.nav-pills .nav-link { color: var(--text-2); font-weight: 500; border-radius: var(--radius); }
.nav-pills .nav-link.active { background: var(--primary-soft); color: var(--primary-hover); }

/* --- Navigation --- */
.ms-nav { background: var(--dark-2); border-bottom: 1px solid var(--dark-line); min-height: 68px; }
.brand { display: inline-flex; align-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { margin-right: .6rem; }
.brand:hover { color: #fff; }
.brand b { color: var(--cta); font-weight: 800; }
.ms-nav .nav-link { color: #cbd5e1 !important; font-weight: 500; font-size: .95rem; border-radius: var(--radius); padding: .45rem .75rem !important; }
.ms-nav .nav-link:hover, .ms-nav .nav-link.active { color: #fff !important; background: rgba(255, 255, 255, .06); }
.ms-nav .navbar-toggler { border-color: var(--dark-line); }
.nav-sep { width: 1px; height: 22px; background: var(--dark-line); margin: 0 10px; }
@media (max-width: 991.98px) {
  .ms-nav .navbar-collapse { padding: 10px 0 16px; }
}

/* --- Hero --- */
.hero { background: var(--hero); color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .22), transparent 65%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .16), transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.display-hero { color: #fff; font-size: calc(1.9rem + 2vw); font-weight: 800; }
@media (min-width: 1200px) { .display-hero { font-size: 3.25rem; } }
.eyebrow { display: inline-flex; align-items: center; padding: .35rem .85rem; border-radius: 999px; font-size: .825rem; font-weight: 600;
  background: rgba(6, 182, 212, .12); color: #67e8f9; border: 1px solid rgba(6, 182, 212, .3); margin-bottom: 1.25rem; }
.eyebrow i { margin-right: .5rem; }
.accent { background: linear-gradient(90deg, #22d3ee, #06b6d4 40%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead, .page-hero .lead { color: #cbd5e1; font-size: 1.15rem; max-width: 36em; }
.hero-points { color: #94a3b8; font-size: .9rem; }
.hero-points .list-inline-item { margin-right: 1.25rem; }
.hero-points i { color: var(--primary); margin-right: .35rem; }

.mock { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5); overflow: hidden; color: var(--text);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 991.98px) { .mock { transform: none; } }
.mock-head { display: flex; align-items: center; padding: 12px 16px; background: var(--light); border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.mock-title { margin-left: 10px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.mock-body { padding: 14px; }
.mock-check { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .85rem; }
.mock-check i { color: var(--ok); grid-row: span 2; font-size: 1.1rem; }
.mock-check span { font-weight: 700; }
.mock-check em { font-style: normal; color: var(--muted); font-size: .75rem; }
.mock-chart { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin: 6px 4px; }
.mock-chart-head { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.mock-chart-head b { color: var(--ok); }
.bars { display: flex; align-items: flex-end; height: 90px; }
.bars span { flex: 1; margin: 0 3px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #22d3ee, #06b6d4); }
.bars .b1 { height: 40%; } .bars .b2 { height: 55%; } .bars .b3 { height: 48%; } .bars .b4 { height: 62%; } .bars .b5 { height: 70%; }
.bars .b6 { height: 58%; } .bars .b7 { height: 76%; } .bars .b8 { height: 81%; } .bars .b9 { height: 66%; } .bars .b10 { height: 88%; }
.bars .b11 { height: 72%; } .bars .b12 { height: 92%; background: linear-gradient(180deg, #fb923c, #f97316); }
.mock-tile { border-radius: var(--radius); background: var(--light); padding: 10px; display: grid; font-size: .78rem; color: var(--muted); }
.mock-tile i { color: var(--cta); font-size: 1rem; margin-bottom: 4px; }
.mock-tile b { color: var(--text); font-size: .85rem; }

/* --- Strips --- */
.stats-strip { background: var(--dark-1); color: #fff; border-top: 1px solid var(--dark-line); }
.stat { padding: 28px 16px; border-right: 1px solid var(--dark-line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: #94a3b8; font-size: .875rem; }
@media (max-width: 767.98px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
}
.trust { padding: 34px 0; border-bottom: 1px solid var(--border); }
.trust-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 14px; }
.trust-row { color: #475569; font-weight: 600; }
.trust-row .list-inline-item { margin: 6px 16px; }
.trust-row i { color: var(--primary); margin-right: .35rem; }

/* --- Sections --- */
.section { padding: 88px 0; }
@media (max-width: 767.98px) { .section { padding: 60px 0; } }
.section-alt { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.kicker { display: inline-block; color: var(--cta); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6rem; }
.muted-lg { color: var(--muted); font-size: 1.075rem; }
.link-arrow { font-weight: 600; }
.link-arrow i { margin-left: .35rem; }
.page-hero { background: var(--hero); color: #fff; padding: 72px 0 64px; }
.page-hero.slim { padding: 52px 0 44px; }
.page-hero h1 { color: #fff; max-width: 22em; font-size: calc(1.6rem + 1.6vw); }
@media (min-width: 1200px) { .page-hero h1 { font-size: 2.75rem; } }
.page-hero.slim h1 { font-size: calc(1.5rem + 1vw); }

.step { position: relative; padding: 34px 28px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.step > i { font-size: 1.6rem; color: var(--primary); margin-bottom: 14px; display: block; }
.step p { color: var(--muted); margin: 0; }
.step-n { position: absolute; top: -14px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--cta); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .9rem; box-shadow: 0 4px 10px rgba(249, 115, 22, .35); }

.feature { background: #fff; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all .2s ease; }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.ficon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 18px; }
.ficon.cyan { background: var(--primary-soft); color: var(--primary-hover); }
.ficon.orange { background: var(--cta-soft); color: var(--cta-hover); }

.checks { list-style: none; padding: 0; margin: 1.5rem 0; }
.checks li { position: relative; padding-left: 2rem; color: var(--text-2); margin-bottom: .7rem; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--primary-soft); color: var(--primary-hover); font-size: .7rem; display: flex; align-items: center; justify-content: center; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 10px; }
.panel-row { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.panel-row:last-child { border-bottom: 0; }
.panel-row > i { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--light);
  color: var(--primary-hover); flex: none; margin-right: 14px; }
.panel-row.ok > i { background: var(--ok-soft); color: var(--ok); }
.panel-row.warn > i { background: var(--warn-soft); color: var(--warn); }
.panel-row div { display: grid; min-width: 0; }
.panel-row span { color: var(--muted); font-size: .85rem; }
.panel-row progress { margin-left: auto; width: 110px; }
progress { -webkit-appearance: none; appearance: none; height: 8px; border: 0; border-radius: 999px; background: var(--border); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--border); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--primary); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--primary); border-radius: 999px; }

.why-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.why-list li { display: flex; margin-bottom: 1.25rem; }
.why-list i { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--cta-soft); color: var(--cta-hover); display: flex;
  align-items: center; justify-content: center; margin-right: 1rem; }
.why-list div { display: grid; }
.why-list span { color: var(--muted); }
.why-card { background: var(--hero); color: #e2e8f0; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-xl); }
.why-card h3 { color: #fff; }
.why-card h3 i { color: var(--primary); margin-right: .5rem; }
.why-card ol { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.why-card li { counter-increment: s; display: flex; align-items: center; margin-bottom: .8rem; }
.why-card li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: rgba(6, 182, 212, .18); color: #67e8f9;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex: none; margin-right: .8rem; }

/* --- Plans --- */
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--cta); box-shadow: var(--shadow-xl); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.plan-tag { color: var(--muted); font-size: .875rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; margin-top: .4rem; }
.price b { color: var(--text); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin-right: .2rem; }
.price span span, .price > span { color: var(--muted); font-size: .95rem; }
.price-note { color: var(--muted); font-size: .8rem; min-height: 1.3em; margin-bottom: 1.1rem; }
.plan-list { list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .9rem; color: var(--text-2); }
.plan-list li { display: flex; margin-bottom: .55rem; }
.plan-list i { color: var(--primary); width: 1rem; margin: .25rem .6rem 0 0; flex: none; font-size: .85rem; }
.plan-list.small { font-size: .825rem; margin-top: .6rem; }
.plan-list.small i { color: var(--ok); }
.plan h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--border); }
[data-cycle="month"] .when-year, [data-cycle="year"] .when-month { display: none !important; }
.cycle-toggle { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1px solid var(--dark-line); border-radius: 999px; padding: 4px; margin-top: 1.5rem; }
.cycle-toggle a { color: #cbd5e1; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.cycle-toggle a.active { background: #fff; color: var(--text); }
.save { background: var(--cta); color: #fff; margin-left: .35rem; }
.pricing-section { padding-top: 64px; }
.compare-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.compare { font-size: .9rem; min-width: 760px; }
.compare th, .compare td { padding: 14px 16px; vertical-align: top; }
.compare thead th { font-size: 1rem; text-transform: none; letter-spacing: -.01em; color: var(--text); background: var(--light); }
.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare tr:first-child td, .compare tr:first-child th { border-top: 0; }
.compare .hl { background: #fffaf5; }
.compare thead .hl { background: var(--cta-soft); color: var(--cta-hover); }
.yes { color: var(--ok); }
.faq { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--muted); font-size: .8rem; transition: transform .2s; margin-left: 1rem; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* --- CTA band and footer --- */
.cta-band { background: linear-gradient(120deg, #0e7490, #06b6d4 55%, #22d3ee); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #ecfeff; font-size: 1.075rem; }
.ms-footer { background: var(--dark-1); color: #94a3b8; padding: 64px 0 0; font-size: .925rem; }
.ms-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.ms-footer a { color: #94a3b8; display: block; padding: .25rem 0; }
.ms-footer a:hover { color: #fff; }
.ms-footer .brand { display: inline-flex; color: #fff; padding: 0; }
.footer-about { max-width: 26em; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding: 22px 0; font-size: .85rem; }
.footer-bottom span { margin: 4px 0; }

/* --- Legal --- */
.legal-nav { position: sticky; top: 92px; }
.prose { color: var(--text-2); }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }

/* --- Auth --- */
.auth { min-height: calc(100vh - 68px); }
.auth-side { background: var(--hero); color: #cbd5e1; position: relative; overflow: hidden; display: flex; align-items: center; }
.auth-side::before { content: ""; position: absolute; width: 480px; height: 480px; right: -200px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .2), transparent 65%); }
.auth-side-inner { position: relative; padding: 64px 56px; max-width: 560px; margin-left: auto; }
@media (max-width: 991.98px) { .auth-side-inner { padding: 40px 24px; margin: 0; } }
.auth-side h2 { color: #fff; font-size: 1.9rem; }
.auth-side .checks li { color: #cbd5e1; }
.auth-side .checks li::before { background: rgba(6, 182, 212, .18); color: #67e8f9; }
.auth-side a { color: #67e8f9; }
.plan-pill { display: inline-flex; align-items: center; padding: .6rem 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dark-line); color: #fff; margin-bottom: 1.5rem; }
.plan-pill i { margin-right: .5rem; }
.plan-pill b { color: var(--cta); margin: 0 .25rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 56px 16px; background: var(--light); }
.auth-card { width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-card.wide { max-width: 540px; }
.auth-card .card-body { padding: 2.25rem; }
@media (max-width: 575.98px) { .auth-card .card-body { padding: 1.5rem 1.25rem; } }
.auth-card h1 { font-size: 1.65rem; margin-bottom: .3rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pw-meter { height: .25rem; }
.plan-picker { margin-left: -4px; margin-right: -4px; }
.plan-picker > div { padding-left: 4px; padding-right: 4px; }
.plan-opt { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem .8rem; cursor: pointer; margin: 0; position: relative;
  transition: all .15s; height: 100%; }
.plan-opt b { display: block; color: var(--text); }
.plan-opt span { font-weight: 400; color: var(--muted); font-size: .8rem; }
.plan-opt input { position: absolute; opacity: 0; }
.plan-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.plan-opt:has(input:focus-visible) { box-shadow: 0 0 0 .2rem rgba(6, 182, 212, .35); }
.empty-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft);
  color: var(--primary-hover); font-size: 1.8rem; margin-bottom: 1rem; }
.empty-state { padding: 40px 0; }

/* --- Portal --- */
.portal { background: var(--light); min-height: calc(100vh - 68px); padding: 36px 0 72px; }
.portal-head h1 { font-size: 1.8rem; margin: 0; }
.portal-head p { margin: .2rem 0 0; color: var(--muted); }
.portal-tabs { border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: nowrap; overflow-x: auto; }
.portal-tabs .nav-link { color: var(--muted); font-weight: 600; border: 0; border-bottom: 2px solid transparent; border-radius: 0; white-space: nowrap; font-size: .925rem; }
.portal-tabs .nav-link.active { color: var(--text); border-bottom-color: var(--cta); background: none; }
.portal-tabs .nav-link:hover { color: var(--text); }
.card-title-row { display: flex; align-items: center; margin-bottom: 1rem; }
.card-title-row h2 { font-size: 1.15rem; margin: 0; }
.card-title-row .right { margin-left: auto; font-size: .85rem; font-weight: 600; }
.metric .label { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.metric .label i { color: var(--primary); margin-right: .35rem; }
.metric .value { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; margin: .25rem 0 .5rem; }
.metric .value small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.plan-card { background: var(--hero); color: #cbd5e1; border: 0; }
.plan-card h2 { color: #fff; font-size: 1.15rem; }
.plan-card .plan-big { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.plan-card .plan-big small { font-size: .95rem; color: #94a3b8; font-weight: 500; }
.plan-card ul { list-style: none; padding: 0; margin: 1rem 0; font-size: .875rem; }
.plan-card li { margin-bottom: .4rem; }
.plan-card li i { color: var(--primary); width: 1.2rem; }
.quick-btn { display: flex; align-items: center; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-weight: 600; background: #fff; margin-bottom: 10px; transition: all .15s; }
.quick-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-md); color: var(--text); }
.quick-btn > i:first-child { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft);
  color: var(--primary-hover); flex: none; margin-right: 12px; }
.quick-btn.orange > i:first-child { background: var(--cta-soft); color: var(--cta-hover); }
.quick-btn span { display: grid; font-size: .95rem; }
.quick-btn small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.quick-btn .go { margin-left: auto; color: var(--muted); font-size: .8rem; }
.onboard { list-style: none; padding: 0; margin: 0; counter-reset: ob; }
.onboard li { display: flex; align-items: flex-start; margin-bottom: 12px; }
.onboard li::before { counter-increment: ob; content: counter(ob); width: 28px; height: 28px; flex: none; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: var(--light); border: 1px solid var(--border); font-weight: 700; font-size: .8rem; color: var(--muted); margin-right: 12px; }
.onboard li.done::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; background: var(--ok-soft); color: var(--ok); border-color: #a7f3d0; }
.onboard li div { display: grid; }
.onboard li span { color: var(--muted); font-size: .875rem; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-fail { background: var(--fail-soft); color: var(--fail); }
.badge-muted { background: var(--light); color: var(--muted); border: 1px solid var(--border); }
.empty { color: var(--muted); padding: 18px 0; text-align: center; }
.empty i { display: block; font-size: 1.6rem; margin-bottom: .5rem; color: #cbd5e1; }
.option { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; cursor: pointer; position: relative; background: #fff;
  height: 100%; margin: 0; font-weight: 400; }
.option input { position: absolute; opacity: 0; }
.option:has(input:checked) { border-color: var(--cta); box-shadow: 0 0 0 1px var(--cta); background: #fffaf5; }
.option b { display: block; font-size: 1.1rem; color: var(--text); }
.option .opt-price { display: block; font-weight: 700; color: var(--text); }
.option small { display: block; color: var(--muted); }
.option.current::after { content: "Current"; position: absolute; top: 12px; right: 12px; font-size: .7rem; font-weight: 700; color: var(--ok); background: var(--ok-soft);
  padding: .1rem .5rem; border-radius: 999px; }
.msg { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 18px; background: #fff; max-width: 88%; margin-bottom: 14px; }
.msg.staff { background: var(--primary-soft); border-color: #a5f3fc; margin-left: auto; }
.msg header { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.msg header b { color: var(--text); margin-right: .5rem; }
.msg p { margin: 0; white-space: pre-wrap; }
@media (max-width: 575.98px) { .msg { max-width: 100%; } }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: .925rem; }
dl.kv dt { color: var(--muted); font-weight: 400; }
dl.kv dd { margin: 0; font-weight: 500; }
progress.meter { width: 100%; display: block; }
progress.warn::-webkit-progress-value { background: var(--cta); }
progress.warn::-moz-progress-bar { background: var(--cta); }
progress.full::-webkit-progress-value { background: var(--fail); }
progress.full::-moz-progress-bar { background: var(--fail); }

/* PC & Mobile Mail Setup */
.text-cyan { color: var(--primary-hover); }
.setup-card dl.kv { grid-template-columns: max-content 1fr; font-size: .9rem; }
.setup-card code { color: #be185d; }
.copy-btn { padding: .05rem .5rem; font-size: .75rem; margin-left: .25rem; }
.faq-body { padding: 0 20px 14px; color: var(--text-2); }
.faq-body ol { margin: 0; padding-left: 1.2rem; }
.faq-body li { margin-bottom: .35rem; }
.setup-notes { padding-left: 1.1rem; margin: 0; font-size: .9rem; color: var(--text-2); }
.setup-notes li { margin-bottom: .5rem; }
