:root {
    --navy: #0b2456;
    --navy-2: #153a75;
    --blue: #1269df;
    --blue-2: #2d85f3;
    --blue-50: #eef6ff;
    --blue-100: #dcecff;
    --green: #38a745;
    --green-2: #55bd62;
    --green-50: #effaf1;
    --ink: #162c56;
    --muted: #617394;
    --line: #dbe6f4;
    --surface: #ffffff;
    --surface-soft: #f7faff;
    --surface-blue: #f1f7ff;
    --shadow-sm: 0 8px 24px rgba(27, 65, 120, .08);
    --shadow: 0 18px 48px rgba(27, 65, 120, .12);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --container: 1180px;
    --q-blue: #0d63d8;
    --q-blue-2: #1269d5;
    --q-soft-blue: #eef6ff;
    --q-hero-end: #f2f7fd;
    --q-soft: #f7f9fd;
    --q-white: #ffffff;
    --q-border: #dce6f2;
    --q-featured-border: #b4d2f8;
    --q-muted: #5d7090;
    --q-success: #078861;
    --q-footer: #0a214b;
    --q-footer-text: #d5e1f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: #cfe5ff; color: var(--navy); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-soft { background: var(--surface-soft); }
.section-blue { background: linear-gradient(180deg, #f5f9ff 0%, #edf5ff 100%); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--green);
  background: var(--green-50);
  border: 1px solid #ccefd2;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.eyebrow.blue { color: var(--blue); background: var(--blue-50); border-color: var(--blue-100); }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2, .page-hero h1 { margin: 14px 0 14px; color: var(--navy); letter-spacing: -.04em; line-height: 1.12; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.section-heading p, .page-hero p { color: var(--muted); font-size: 1.08rem; }
.h3 { font-size: 1.35rem; margin: 0 0 8px; line-height: 1.3; color: var(--navy); }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--navy); color: white; padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon-lg { width: 30px; height: 30px; }
.icon-xl { width: 42px; height: 42px; }
.icon-bubble {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.icon-bubble.green { color: var(--green); background: var(--green-50); border-color: #d4efd7; }
.icon-bubble.sm { width: 42px; height: 42px; border-radius: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #0a58c5); box-shadow: 0 10px 24px rgba(18, 105, 223, .22); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(18, 105, 223, .3); }
.btn-outline { color: var(--blue); background: #fff; border-color: #a8cbf8; }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-50); }
.btn-soft { color: var(--navy); background: var(--surface-blue); border-color: var(--blue-100); }
.btn-green { color: #fff; background: linear-gradient(135deg, var(--green), #249435); box-shadow: 0 10px 24px rgba(56, 167, 69, .2); }
.btn-sm { min-height: 38px; padding-inline: 14px; font-size: .9rem; }
.btn-link { color: var(--blue); font-weight: 800; }
.btn-link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(219, 230, 244, .8);
  backdrop-filter: blur(14px);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 900; letter-spacing: -.04em; font-size: 1.25rem; }
.brand-mark { width: 35px; height: 35px; }
.brand .quick { color: var(--navy); }
.brand .digits { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav > a, .nav-dropdown > button { color: #30466d; font-size: .92rem; font-weight: 700; background: none; border: 0; padding: 12px 0; }
.site-nav > a:hover, .site-nav > a.active, .nav-dropdown > button:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 5px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 225px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .18s ease;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #30466d; font-weight: 700; font-size: .9rem; }
.dropdown-menu a:hover { background: var(--blue-50); color: var(--blue); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    radial-gradient(circle at 84% 18%, rgba(45,133,243,.15), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(85,189,98,.10), transparent 24%),
    #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: linear-gradient(rgba(18,105,223,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,105,223,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(2.75rem, 6vw, 5.1rem); line-height: .99; letter-spacing: -.06em; color: var(--navy); }
.hero .lead { max-width: 640px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.23rem); }
.hero .actions { margin-top: 28px; }
.hero-notes { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 18px; color: #4e668c; font-size: .85rem; font-weight: 700; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-card {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid #dfeaf7;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,247,255,.92));
  box-shadow: var(--shadow);
}
.hero-card::before, .hero-card::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); }
.hero-card::before { width: 180px; height: 180px; right: 12px; top: 28px; background: rgba(220,236,255,.7); }
.hero-card::after { width: 140px; height: 140px; left: 18px; bottom: 18px; background: rgba(224,247,228,.7); }
.hero-illustration { position: relative; z-index: 1; width: 100%; }
.float-card { position: absolute; z-index: 2; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 800; }
.float-card.one { left: -18px; top: 58px; }
.float-card.two { right: -18px; bottom: 56px; }
.float-card .ok { color: var(--green); }

.trust-strip { margin-top: -10px; position: relative; z-index: 3; }
.trust-panel { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.trust-item { padding: 25px 20px; text-align: center; position: relative; }
.trust-item:not(:last-child)::after { content:""; position:absolute; right:0; top:24%; width:1px; height:52%; background:var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 1.45rem; }
.trust-item span { color: var(--muted); font-size: .83rem; font-weight: 700; }
.stars { color: #f4b400; letter-spacing: 2px; font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2,1fr); }
.card-grid.four { grid-template-columns: repeat(4,1fr); }
.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c6daf4; }
.card h3 { margin: 18px 0 8px; color: var(--navy); line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 800; font-size: .9rem; }

.steps-horizontal { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.steps-horizontal::before { content:""; position:absolute; top:36px; left:12%; right:12%; border-top:2px dashed #c8daf1; }
.step-mini { position: relative; z-index:1; text-align:center; }
.step-mini .step-icon { width:74px; height:74px; margin:0 auto 14px; display:grid; place-items:center; border-radius:50%; color:var(--blue); background:#fff; border:1px solid var(--blue-100); box-shadow:var(--shadow-sm); }
.step-mini:nth-child(2) .step-icon, .step-mini:nth-child(4) .step-icon { color:var(--green); background:var(--green-50); border-color:#d3edd6; }
.step-number { width:25px; height:25px; margin:0 auto 8px; display:grid; place-items:center; border-radius:50%; background:var(--blue); color:#fff; font-size:.75rem; font-weight:900; }
.step-mini:nth-child(2) .step-number, .step-mini:nth-child(4) .step-number { background:var(--green); }
.step-mini h3 { margin:0 0 7px; font-size:1rem; color:var(--navy); }
.step-mini p { margin:0; color:var(--muted); font-size:.86rem; }

.cta-card { display:grid; grid-template-columns: .8fr 1.2fr; gap:32px; align-items:center; padding:38px; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(135deg,#f4f8ff,#eef9f0); overflow:hidden; }
.cta-card h2 { margin:0 0 10px; color:var(--navy); font-size:clamp(1.8rem,4vw,2.7rem); line-height:1.15; letter-spacing:-.04em; }
.cta-card p { color:var(--muted); }
.cta-art { min-height:220px; display:grid; place-items:center; }

.security-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:20px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.security-item { display:flex; align-items:center; gap:12px; padding:8px 10px; }
.security-item strong { display:block; font-size:.88rem; color:var(--navy); }
.security-item span { color:var(--muted); font-size:.78rem; }

.page-hero { position:relative; overflow:hidden; padding:76px 0 64px; background:linear-gradient(160deg,#fff 5%,#eef6ff 100%); border-bottom:1px solid var(--line); }
.page-hero::after { content:""; position:absolute; width:420px; height:420px; right:-120px; top:-190px; border-radius:50%; background:radial-gradient(circle,rgba(18,105,223,.14),transparent 65%); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { max-width:850px; font-size:clamp(2.55rem,5vw,4.4rem); }
.page-hero p { max-width:700px; margin-bottom:0; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:var(--muted); font-size:.86rem; font-weight:700; }
.breadcrumbs a:hover { color:var(--blue); }

.process-list { width:min(100%,860px); margin:0 auto; display:grid; gap:22px; }
.process-card { position:relative; display:grid; grid-template-columns:82px 1fr 230px; gap:24px; align-items:center; min-height:210px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); }
.process-card:not(:last-child)::after { content:"↓"; position:absolute; left:50%; bottom:-31px; transform:translateX(-50%); color:#9bb3d4; font-size:24px; font-weight:500; }
.process-number { width:44px; height:44px; display:grid; place-items:center; color:#fff; background:var(--blue); border-radius:50%; font-weight:900; }
.process-card:nth-child(even) .process-number { background:var(--green); }
.process-card h2 { margin:0 0 8px; font-size:1.3rem; color:var(--navy); }
.process-card p { margin:0; color:var(--muted); }
.process-art { min-height:150px; display:grid; place-items:center; border-radius:18px; background:linear-gradient(145deg,#f3f8ff,#eef8f0); }
.completion-card { width:min(100%,860px); margin:28px auto 0; display:flex; justify-content:center; align-items:center; gap:20px; padding:28px; border:1px solid #d4ead7; border-radius:var(--radius); background:var(--green-50); color:#277c33; text-align:center; }

.topic-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.topic-card { padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; text-align:center; transition:.2s ease; }
.topic-card:hover { transform:translateY(-4px); border-color:#b9d4f5; box-shadow:var(--shadow-sm); }
.topic-card .icon-bubble { margin:0 auto; }
.topic-card h3 { margin:14px 0 4px; font-size:1rem; color:var(--navy); }
.topic-card p { margin:0; font-size:.82rem; color:var(--muted); }
.search-box { position:relative; max-width:720px; margin:24px 0 0; }
.search-box input { width:100%; height:56px; padding:0 58px 0 18px; border:1px solid #bcd0ec; border-radius:13px; outline:none; background:#fff; box-shadow:var(--shadow-sm); }
.search-box input:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(18,105,223,.1); }
.search-box button { position:absolute; right:7px; top:7px; width:42px; height:42px; border:0; border-radius:10px; background:var(--green); color:#fff; }
.help-hero-grid { display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:38px; }
.help-art { min-height:300px; display:grid; place-items:center; }
.article-list { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; }
.article-row { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:17px 20px; border-bottom:1px solid var(--line); font-weight:700; color:#31476e; }
.article-row:last-child { border-bottom:0; }
.article-row:hover { background:var(--blue-50); color:var(--blue); }

.feature-split { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center; }
.feature-list { display:grid; gap:16px; }
.feature-list-item { display:flex; gap:14px; }
.feature-list-item .check { width:26px; height:26px; display:grid; place-items:center; flex:0 0 auto; margin-top:2px; border-radius:50%; color:#fff; background:var(--green); font-size:.8rem; font-weight:900; }
.feature-list-item h3 { margin:0 0 3px; font-size:1rem; color:var(--navy); }
.feature-list-item p { margin:0; color:var(--muted); font-size:.92rem; }
.dashboard-mock { padding:18px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow); }
.mock-top { display:flex; justify-content:space-between; align-items:center; padding:4px 4px 15px; }
.mock-dots { display:flex; gap:6px; }
.mock-dots span { width:8px; height:8px; border-radius:50%; background:#c8d7eb; }
.mock-body { display:grid; grid-template-columns:115px 1fr; min-height:330px; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.mock-sidebar { padding:18px 12px; background:#f3f7fd; border-right:1px solid var(--line); }
.mock-nav { height:12px; margin-bottom:14px; border-radius:6px; background:#d7e4f5; }
.mock-nav.active { background:#8dbaf0; }
.mock-main { padding:22px; }
.mock-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mock-kpi { height:76px; border-radius:12px; background:linear-gradient(145deg,#edf5ff,#f8fbff); border:1px solid var(--line); }
.mock-table { margin-top:16px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.mock-row { height:44px; border-bottom:1px solid var(--line); background:#fff; }
.mock-row:last-child { border-bottom:0; }

.pricing-wrap { max-width:980px; margin:0 auto; }
.volume-tabs { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:28px; }
.volume-tab { min-height:42px; padding:0 16px; border:1px solid var(--line); border-radius:999px; background:#fff; color:#445a7e; font-weight:800; }
.volume-tab.active { color:#fff; background:var(--blue); border-color:var(--blue); }
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.price-card { padding:36px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow-sm); }
.price-card.featured { border-color:#b4d2f8; box-shadow:0 20px 54px rgba(18,105,223,.16); }
.price-card .tag { display:inline-flex; padding:5px 10px; border-radius:999px; color:var(--green); background:var(--green-50); font-weight:800; font-size:.75rem; }
.price { margin:18px 0 4px; color:var(--navy); font-size:3.2rem; line-height:1; font-weight:900; letter-spacing:-.05em; }
.price small { font-size:.95rem; color:var(--muted); letter-spacing:0; }
.price-card ul { list-style:none; padding:0; margin:24px 0; display:grid; gap:11px; }
.price-card li { display:flex; gap:10px; color:#465b7f; }
.price-card li::before { content:"✓"; color:var(--green); font-weight:900; }
.included-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.included-item { display:flex; align-items:flex-start; gap:10px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fff; color:#455a7d; font-size:.9rem; }
.included-item::before { content:"✓"; color:var(--green); font-weight:900; }

/* =========================================================
   PRICING CALCULATOR
   ========================================================= */

.calculator-section {
    padding: 58px 0;
    background: var(--blue-50, #f6f9fd);
}


    /* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

    .calculator-section .section-heading {
        text-align: center;
        margin-bottom: 34px;
    }

        .calculator-section .section-heading h2 {
            margin: 0 0 8px;
            color: var(--navy);
        }

        .calculator-section .section-heading p {
            margin: 0;
            color: var(--muted);
            font-size: .95rem;
        }


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.calculator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(250px, .58fr);
    gap: 18px;
    align-items: start;
}


/* ---------------------------------------------------------
   CARDS
   --------------------------------------------------------- */

.calculator-card,
.summary-card {
    background: #fff;
    border: 1px solid var(--line, #dce5f0);
    border-radius: 16px;
    box-shadow: var(--shadow-sm, 0 4px 16px rgba(20, 50, 90, .05));
}

.calculator-card {
    padding: 28px;
}

.summary-card {
    padding: 24px;
}


    /* ---------------------------------------------------------
   LEFT CARD HEADING
   --------------------------------------------------------- */

    .calculator-card h2,
    .summary-card h2 {
        margin: 0 0 7px;
        color: var(--navy);
        font-size: 1.45rem;
        line-height: 1.25;
        font-weight: 800;
    }

.calculator-description {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.5;
}

.muted {
    color: var(--muted);
}


/* ---------------------------------------------------------
   FORM ROWS
   --------------------------------------------------------- */

.field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 125px;
    gap: 14px;
    align-items: end;
    padding: 18px 0;
    border-bottom: 1px solid var(--line, #e4ebf3);
}

.field-info {
    min-width: 0;
}

.field-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
    font-size: .95rem;
}

.field-row small {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   INPUTS / SELECTS
   --------------------------------------------------------- */

.calculator-section input,
.calculator-section select {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 10px 11px;
    border: 1px solid #cddbeb;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    font-size: .95rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .calculator-section input:focus,
    .calculator-section select:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(18, 105, 223, .08);
    }


/* ---------------------------------------------------------
   STATE HEADER
   --------------------------------------------------------- */

.state-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
}

.state-heading h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
}

.state-heading small {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   ADD STATE BUTTON
   --------------------------------------------------------- */

.add-state-btn {
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid #cddbeb;
    border-radius: 10px;
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .add-state-btn:hover {
        background: var(--blue-50);
        border-color: var(--blue);
    }

#q1099-site-theme .add-state-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =========================================================
   PRICING CALCULATOR
   ========================================================= */

.calculator-section {
    padding: 58px 0;
    background: var(--q-soft);
}


/* Calculator heading */
.calculator-heading {
    margin-bottom: 28px;
}

    .calculator-heading h2 {
        margin-bottom: 7px;
    }

    .calculator-heading p {
        color: var(--q-muted);
    }


/* Main two-column layout */
.calculator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(250px, .58fr);
    gap: 18px;
    align-items: start;
}


/* =========================================================
   LEFT CARD
   ========================================================= */

.calculator-card,
.summary-card {
    background: var(--q-white);
    border: 1px solid var(--q-border);
    border-radius: 16px;
    padding: 24px;
}


    /* Left heading */
    .calculator-card h2 {
        margin: 0 0 7px;
        color: var(--q-navy);
        font-size: 1.35rem;
    }


/* Description */
.calculator-description {
    margin: 0 0 18px;
    color: var(--q-muted);
    font-size: .95rem;
}


/* =========================================================
   FORM ROWS
   ========================================================= */

.field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 125px;
    gap: 14px;
    align-items: end;
    padding: 14px 0;
    border-bottom: 1px solid var(--q-border);
}


.field-info {
    min-width: 0;
}


    .field-info label {
        display: block;
        margin-bottom: 5px;
        color: var(--q-navy);
        font-weight: 600;
    }


    .field-info small {
        display: block;
        color: var(--q-muted);
        font-size: .85rem;
    }


/* Inputs */
.calculator-card input,
.calculator-card select {
    width: 100%;
    box-sizing: border-box;
/*    border: 1px solid var(--q-border);*/
    border-radius: 10px;
    padding: 10px 11px;
/*    color: var(--q-text);
    background: var(--q-white);*/
    font-size: .95rem;
    outline: none;
}


/* Main NEC/MISC input */
.field-row input {
    height: 44px;
}


/* Focus */
.calculator-card input:focus,
.calculator-card select:focus {
    border-color: var(--q-blue);
    box-shadow: 0 0 0 3px rgba(18, 105, 223, .08);
}


/* =========================================================
   STATE HEADER
   ========================================================= */

.state-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    margin-bottom: 4px;
}


.state-heading {
    min-width: 0;
}


    .state-heading h3 {
        margin: 0 0 4px;
        color: var(--q-navy);
        font-size: 1rem;
        font-weight: 700;
    }


    .state-heading small {
        display: block;
        color: var(--q-muted);
        font-size: .85rem;
    }


/* Add state */
.add-state-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 10px;
    padding: 10px 17px;
    border: 1px solid var(--q-border);
    background: var(--q-white);
    color: var(--q-blue);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}


    .add-state-btn:hover {
        border-color: var(--q-blue);
        background: var(--q-soft-blue);
        color: var(--q-blue);
    }


/* =========================================================
   STATE LIST
   ========================================================= */

.state-list {
    display: grid;
    gap: 12px;
    width: 100%;
}


/*
   State       = 50%
   NEC records = 30%
   Remove      = 20%
*/
.state-line {
    display: grid;
    grid-template-columns: 50fr 30fr 20fr;
    gap: 10px;
    align-items: end;
    width: 100%;
}


.state-field {
    min-width: 0;
    width: 100%;
}


    .state-field label {
        display: block;
        margin-bottom: 6px;
        color: var(--q-navy);
        font-size: .85rem;
        font-weight: 600;
        line-height: 1.2;
    }


/* =========================================================
   STATE SELECT
   ========================================================= */

.state-select {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid var(--q-border);
    border-radius: 10px;
    background: var(--q-white);
    color: var(--q-text);
    font-size: .95rem;
    outline: none;
    cursor: pointer;
}


    .state-select:focus {
        border-color: var(--q-blue);
        box-shadow: 0 0 0 3px rgba(18, 105, 223, .08);
    }


/* =========================================================
   NEC RECORDS
   ========================================================= */

.nec-records {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid var(--q-border);
    border-radius: 10px;
    background: var(--q-white);
    color: var(--q-text);
    font-size: .95rem;
    outline: none;
}


    .nec-records:focus {
        border-color: var(--q-blue);
        box-shadow: 0 0 0 3px rgba(18, 105, 223, .08);
    }


/* =========================================================
   REMOVE BUTTON
   ========================================================= */

.state-field-remove {
    min-width: 0;
}


.remove-label {
    visibility: hidden;
}


.remove-state {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid var(--q-border);
    border-radius: 10px;
    background: var(--q-white);
    color: var(--q-text);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}


    .remove-state:hover {
        border-color: var(--q-blue);
        background: var(--q-soft-blue);
        color: var(--q-blue);
    }


/* =========================================================
   CALCULATOR NOTE
   ========================================================= */

.calculator-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--q-soft);
    color: var(--q-muted);
    font-size: .9rem;
    line-height: 1.5;
}


/* =========================================================
   RIGHT SUMMARY
   ========================================================= */

.summary-card h2 {
    margin: 0 0 7px;
    color: var(--q-navy);
    font-size: 1.35rem;
}


.summary-card .muted {
    margin: 0 0 18px;
    color: var(--q-muted);
    line-height: 1.45;
}


/* Summary rows */
.sum-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--q-border);
    color: var(--q-text);
}


    .sum-line output {
        color: var(--q-navy);
        font-weight: 500;
        text-align: right;
    }


    /* Total */
    .sum-line.total {
        border-bottom: 0;
        padding-top: 18px;
        font-weight: 500;
    }


        .sum-line.total output {
            color: var(--q-navy);
            font-size: 1.7em;
            font-weight: 700;
        }


/* CTA */
.summary-cta {
    width: 100%;
    margin-top: 12px;
}


.summary-note {
    margin: 10px 0 0;
    color: var(--q-muted);
    font-size: .85rem;
    line-height: 1.45;
}

/* ---------------------------------------------------------
   CALCULATOR NOTE
   --------------------------------------------------------- */

.calculator-note {
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 4px solid var(--blue);
    border-radius: 0 9px 9px 0;
    background: var(--blue-50);
    color: #445a7f;
    font-size: .9rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   RIGHT SUMMARY
   --------------------------------------------------------- */

.summary-card h2 {
    margin-bottom: 7px;
}

.summary-card > .muted {
    margin: 0 0 12px;
    font-size: .95rem;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   SUMMARY ROWS
   --------------------------------------------------------- */

.sum-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line, #e4ebf3);
    color: #465b7f;
    font-size: .95rem;
}

    .sum-line output {
        color: var(--navy);
        font-weight: 700;
        text-align: right;
    }


    /* ---------------------------------------------------------
   TOTAL
   --------------------------------------------------------- */

    .sum-line.total {
        border-bottom: 0;
        padding-top: 18px;
        color: var(--navy);
        font-weight: 700;
    }

        .sum-line.total output {
            color: var(--navy);
            font-size: 1.7rem;
            font-weight: 800;
        }


/* ---------------------------------------------------------
   SUMMARY CTA
   --------------------------------------------------------- */

.summary-cta {
    width: 100%;
    margin-top: 12px;
}


/* ---------------------------------------------------------
   SUMMARY DISCLAIMER
   --------------------------------------------------------- */

.summary-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 820px) {

    .calculator-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr);
        gap: 22px;
    }
}


@media (max-width: 640px) {

    .calculator-section {
        padding: 42px 0;
    }

        .calculator-section .section-heading {
            margin-bottom: 26px;
        }

            .calculator-section .section-heading h2 {
                font-size: 1.8rem;
            }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card,
    .summary-card {
        padding: 20px;
    }

    .state-head {
        align-items: flex-start;
    }
}


@media (max-width: 420px) {

    .field-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .field-row input {
            max-width: 100%;
        }

    .state-head {
        flex-direction: column;
    }

    .add-state-btn {
        width: 100%;
        text-align: center;
    }

    .state-line {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .remove-state {
        width: 100%;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 820px) {

    .calculator-grid {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr);
        gap: 18px;
    }


    .calculator-card,
    .summary-card {
        padding: 22px;
    }


    .state-line {
        grid-template-columns: 50fr 30fr 20fr;
        gap: 8px;
    }


    .remove-state {
        padding-left: 7px;
        padding-right: 7px;
        font-size: .8rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .calculator-section {
        padding: 42px 0;
    }


    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .calculator-card,
    .summary-card {
        padding: 20px;
    }


    /* NEC / MISC */
    .field-row {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
    }


        .field-row input {
            width: 100%;
            height: 44px;
        }


    /* State heading */
    .state-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }


    .add-state-btn {
        width: 100%;
        text-align: center;
    }


    /* State row becomes vertical */
    .state-line {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .state-field {
        width: 100%;
    }


    .state-select,
    .nec-records,
    .remove-state {
        width: 100%;
    }


    .remove-label {
        display: none;
    }


    .summary-card {
        width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .calculator-card,
    .summary-card {
        padding: 16px;
    }


        .calculator-card h2,
        .summary-card h2 {
            font-size: 1.2rem;
        }


    .state-heading small {
        font-size: .8rem;
    }


    .state-select,
    .nec-records,
    .remove-state {
        height: 42px;
    }
}

/* =========================================
   STATE FILING DETAILS
   ========================================= */

#q1099-site-theme .state-details {
    padding: 58px 0;
}

#q1099-site-theme .state-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr);
    gap: 28px;
    align-items: center;
}

#q1099-site-theme .state-fee-lockup {
    border-left: 4px solid var(--q-blue);
    padding-left: 20px;
}

    #q1099-site-theme .state-fee-lockup .card-tag {
        margin: 0 0 10px;
        color: var(--q-blue);
        font-size: .85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    #q1099-site-theme .state-fee-lockup h2 {
        margin: 0 0 14px;
        color: var(--q-navy);
    }

    #q1099-site-theme .state-fee-lockup .price-value {
        margin: 0 0 8px;
        color: var(--q-navy);
        font-size: 1.05rem;
    }

        #q1099-site-theme .state-fee-lockup .price-value strong {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--q-blue);
        }

    #q1099-site-theme .state-fee-lockup .muted {
        margin: 0;
        color: var(--q-muted);
    }

#q1099-site-theme .state-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

#q1099-site-theme .state-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--q-featured-border);
    background: var(--q-soft-blue);
    color: var(--q-blue);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
}

#q1099-site-theme .example-box {
    border: 1px solid var(--q-featured-border);
    border-radius: 16px;
    padding: 22px;
    background: var(--q-soft-blue);
}

    #q1099-site-theme .example-box h3 {
        margin: 0 0 12px;
        color: var(--q-navy);
    }

#q1099-site-theme .example-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    color: var(--q-muted);
}

    #q1099-site-theme .example-line strong {
        color: var(--q-navy);
        font-weight: 700;
        white-space: nowrap;
    }

#q1099-site-theme .example-total {
    padding-top: 12px;
    border-top: 1px solid var(--q-featured-border);
    font-weight: 500;
}

    #q1099-site-theme .example-total span {
        color: var(--q-navy);
    }

    #q1099-site-theme .example-total strong {
        font-size: 1.1rem;
    }

/* =========================================================
   STATE FILING DETAILS
   Matches the template design
   ========================================================= */

.state-details {
    padding: 58px 0;
    background: var(--q-white);
}

.state-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr);
    gap: 28px;
    align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.state-fee-lockup {
    border-left: 4px solid var(--q-blue);
    padding-left: 20px;
}

    .state-fee-lockup .card-tag {
        margin: 0 0 18px;
        color: var(--q-blue);
        font-size: 1rem;
        font-weight: 500;
    }

    .state-fee-lockup h2 {
        margin: 0 0 24px;
    }

    .state-fee-lockup .price-value {
        margin: 0 0 8px;
    }

        .state-fee-lockup .price-value strong {
            font-size: 1.7rem;
            font-weight: 500;
            color: var(--q-navy);
        }

    .state-fee-lockup .muted {
        margin: 0;
        max-width: 650px;
    }


/* =========================================================
   STATE CHIPS
   ========================================================= */

.state-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.state-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--q-featured-border);
    background: var(--q-soft-blue);
    color: var(--q-blue);
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   EXAMPLE BOX
   ========================================================= */

.example-box {
    border: 1px solid var(--q-featured-border);
    border-radius: 16px;
    padding: 22px;
    background: var(--q-soft-blue);
}

    .example-box h3 {
        margin: 0 0 12px;
    }

.example-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

    .example-line span {
        color: var(--q-navy);
    }

    .example-line strong {
        color: var(--q-navy);
        white-space: nowrap;
    }

.example-total {
    padding-top: 12px;
    margin-top: 14px;
    border-top: 1px solid var(--q-featured-border);
    font-weight: 500;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .state-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .state-fee-lockup {
        padding-left: 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .state-details {
        padding: 42px 0;
    }

    .state-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .state-fee-lockup {
        border-left-width: 3px;
        padding-left: 15px;
    }

        .state-fee-lockup h2 {
            margin-bottom: 18px;
        }

        .state-fee-lockup .price-value strong {
            font-size: 1.5rem;
        }

    .state-chips {
        gap: 7px;
        margin-top: 15px;
    }

    .state-chip {
        padding: 7px 10px;
        font-size: .9rem;
    }

    .example-box {
        padding: 18px;
        border-radius: 14px;
    }

    .example-line {
        align-items: flex-start;
        margin: 11px 0;
    }
}

.trust-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.trust-card { display:flex; gap:18px; padding:28px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow-sm); }
.trust-card h3 { margin:0 0 6px; color:var(--navy); }
.trust-card p { margin:0; color:var(--muted); }
.badge-wall { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.trust-badge { min-height:130px; display:grid; place-items:center; padding:18px; text-align:center; border:1px solid var(--line); border-radius:18px; background:#fff; font-weight:800; color:var(--navy); }

.faq-layout { display:grid; grid-template-columns:260px 1fr; gap:36px; align-items:start; }
.faq-sidebar { position:sticky; top:102px; padding:18px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.faq-sidebar a { display:block; padding:10px 12px; border-radius:10px; color:#4d6285; font-weight:700; font-size:.9rem; }
.faq-sidebar a:hover { color:var(--blue); background:var(--blue-50); }
.accordion { display:grid; gap:12px; }
.accordion-item { border:1px solid var(--line); border-radius:15px; background:#fff; overflow:hidden; }
.accordion-button { width:100%; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:19px 20px; border:0; background:#fff; color:var(--navy); text-align:left; font-weight:800; }
.accordion-button:hover { background:var(--blue-50); }
.accordion-button .plus { width:26px; height:26px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:var(--blue); background:var(--blue-50); transition:transform .2s; }
.accordion-item.open .plus { transform:rotate(45deg); }
.accordion-panel { display:none; padding:0 20px 20px; color:var(--muted); }
.accordion-item.open .accordion-panel { display:block; }
.accordion-panel ul { margin-bottom:0; }

.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:32px; }
.contact-info { display:grid; gap:14px; }
.contact-tile { display:flex; gap:14px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.contact-tile strong { display:block; color:var(--navy); }
.contact-tile span, .contact-tile a { color:var(--muted); }
.form-card { padding:30px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:var(--shadow-sm); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1 / -1; }
.field label { color:var(--navy); font-weight:800; font-size:.88rem; }
.field input, .field textarea, .field select { width:100%; border:1px solid #cddbeb; border-radius:11px; background:#fff; outline:none; color:var(--ink); }
.field input, .field select { height:48px; padding:0 14px; }
.field textarea { min-height:145px; padding:13px 14px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(18,105,223,.08); }
.form-note { margin:12px 0 0; color:var(--muted); font-size:.82rem; }
.field-error { display:block; min-height:1.2em; margin-top:6px; color:#b42318; font-size:.875rem; }
.attachment-summary { display:flex; align-items:center; gap:10px; margin-top:8px; color:#334e68; font-size:.9rem; }
.attachment-remove { border:0; background:none; color:#1269df; cursor:pointer; text-decoration:underline; padding:0; font:inherit; }
.form-status { display:none; margin-top:14px; padding:12px 14px; border-radius:10px; background:var(--green-50); color:#277c33; font-weight:700; }
.form-status.show { display:block; }
.form-status.error { background:#fff1f0; color:#b42318; }
.form-status.success { background:var(--green-50); color:#277c33; }

.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow-sm); }
.blog-thumb { min-height:190px; display:grid; place-items:center; background:linear-gradient(135deg,#eaf4ff,#eef9f0); }
.blog-body { padding:22px; }
.blog-meta { color:var(--muted); font-size:.8rem; font-weight:700; }
.blog-card h2 { margin:9px 0 8px; font-size:1.16rem; line-height:1.35; color:var(--navy); }
.blog-card p { margin:0; color:var(--muted); font-size:.92rem; }
.article-content { color:#3b4f72; }
.article-content h2 { margin:38px 0 12px; color:var(--navy); font-size:1.65rem; line-height:1.25; }
.article-content h3 { margin:28px 0 10px; color:var(--navy); }
.article-content p, .article-content li { color:#465b7f; }
.article-content .callout { margin:26px 0; padding:20px; border-left:4px solid var(--blue); border-radius:0 14px 14px 0; background:var(--blue-50); }

.legal-layout { display:grid; grid-template-columns:240px 1fr; gap:38px; align-items:start; }
.legal-toc { position:sticky; top:102px; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.legal-toc strong { display:block; margin-bottom:8px; color:var(--navy); }
.legal-toc a { display:block; padding:7px 0; color:var(--muted); font-size:.85rem; }
.legal-toc a:hover { color:var(--blue); }
.legal-content { color:#455a7d; }
.legal-content h2 { margin:38px 0 10px; color:var(--navy); font-size:1.45rem; scroll-margin-top:100px; }
.legal-content h2:first-child { margin-top:0; }
.legal-content h3 { color:var(--navy); }
.legal-content .legal-note { padding:16px 18px; border:1px solid #f0d8a6; border-radius:13px; background:#fff9ec; color:#785c1e; }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:14px; }
.table-responsive { overflow:auto; border:1px solid var(--line); border-radius:14px; }
.pricing-table { width:100%; border-collapse:collapse; min-width:650px; }
table { width:100%; border-collapse:collapse; min-width:650px; }
th, td { padding:13px 14px; text-align:left; border-bottom:1px solid var(--line); }
th { color:var(--navy); background:#f4f8fd; }
tr:last-child td { border-bottom:0; }

.auth-page { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; background:#fff; }
.auth-art { position:relative; display:grid; place-items:center; padding:48px; overflow:hidden; background:linear-gradient(145deg,#edf5ff,#eef9f0); }
.auth-art::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(255,255,255,.45); }
.auth-art > div { position:relative; z-index:1; max-width:520px; text-align:center; }
.auth-art h1 { color:var(--navy); font-size:clamp(2.1rem,4vw,3.5rem); line-height:1.1; letter-spacing:-.04em; }
.auth-panel { display:grid; place-items:center; padding:40px; }
.auth-box { width:min(100%,460px); }
.auth-box .brand { margin-bottom:38px; }
.auth-box h2 { margin:0; color:var(--navy); font-size:2rem; letter-spacing:-.04em; }
.auth-box > p { color:var(--muted); }
.auth-box .field { margin-top:14px; }
.auth-box .btn { width:100%; margin-top:18px; }
.auth-row { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:12px; color:var(--muted); font-size:.88rem; }
.checkbox { display:flex; align-items:center; gap:8px; }
.divider { display:flex; align-items:center; gap:12px; margin:22px 0; color:#8a9ab4; font-size:.82rem; }
.divider::before, .divider::after { content:""; height:1px; flex:1; background:var(--line); }

.site-footer { padding:62px 0 24px; color:#d5e1f7; background:#0a214b; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:32px; }
.footer-brand p { max-width:360px; color:#aebfdb; }
.footer-title { margin:0 0 14px; color:#fff; font-size:.95rem; }
.footer-links { display:grid; gap:9px; }
.footer-links a { color:#b8c7df; font-size:.88rem; }
.footer-links a:hover { color:#fff; }
.footer-contact { margin-top:18px; display:grid; gap:8px; color:#b8c7df; font-size:.86rem; }
.footer-bottom { margin-top:42px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.12); color:#9fb2d1; font-size:.8rem; }
.footer-bottom p { margin:0; max-width:800px; }

.toast { position:fixed; right:20px; bottom:20px; z-index:1200; max-width:360px; padding:14px 16px; border:1px solid #cfe7d3; border-radius:12px; background:#f0faf2; color:#277c33; box-shadow:var(--shadow); transform:translateY(20px); opacity:0; pointer-events:none; transition:.2s ease; }
.toast.show { transform:translateY(0); opacity:1; }

@media (max-width: 1020px) {
  .site-nav { position:fixed; inset:77px 0 auto 0; display:none; flex-direction:column; align-items:stretch; gap:0; max-height:calc(100vh - 77px); overflow:auto; padding:20px; background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .menu-open .site-nav { display:flex; }
  .site-nav > a, .nav-dropdown > button { width:100%; padding:13px 10px; text-align:left; }
  .nav-dropdown > button { justify-content:space-between; }
  .dropdown-menu { position:static; transform:none; min-width:0; display:none; opacity:1; visibility:visible; box-shadow:none; margin:0 0 8px; }
  .nav-dropdown.open .dropdown-menu { display:block; }
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { transform:none; }
  .header-actions .login { display:none; }
  .menu-toggle { display:grid; place-items:center; }
  .hero-grid, .help-hero-grid, .feature-split { grid-template-columns:1fr; }
  .hero-card { min-height:430px; }
  .float-card.one { left:10px; }
  .float-card.two { right:10px; }
  .card-grid.four, .badge-wall { grid-template-columns:repeat(2,1fr); }
  .steps-horizontal { grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .steps-horizontal::before { display:none; }
  .security-bar { grid-template-columns:repeat(2,1fr); }
  .process-card { grid-template-columns:70px 1fr; }
  .process-art { grid-column:2; }
  .footer-grid { grid-template-columns:1.5fr repeat(2,1fr); }
  .faq-layout, .legal-layout { grid-template-columns:1fr; }
  .faq-sidebar, .legal-toc { position:static; }
  .contact-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:repeat(2,1fr); }
  .price-grid { grid-template-columns:repeat(2,1fr); }
  .calculator-grid { grid-template-columns:1fr; }
  .auth-page { grid-template-columns:1fr; }
  .auth-art { display:none; }
}

@media (max-width: 740px) {
  .container, .narrow { width:min(calc(100% - 28px), var(--container)); }
  .section { padding:68px 0; }
  .section-sm { padding:44px 0; }
  .header-inner { height:68px; }
  .site-nav { inset:69px 0 auto; max-height:calc(100vh - 69px); }
  .header-actions .btn-primary { display:none; }
  .hero { padding:58px 0 50px; }
  .hero h1 { font-size:clamp(2.55rem,14vw,4.1rem); }
  .hero-card { min-height:345px; padding:14px; border-radius:24px; }
  .float-card { display:none; }
  .trust-panel { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2)::after { display:none; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .card-grid, .card-grid.two, .card-grid.four, .topic-grid, .price-grid, .included-grid, .trust-grid, .blog-grid { grid-template-columns:1fr; }
  .steps-horizontal { grid-template-columns:1fr; }
  .cta-card { grid-template-columns:1fr; padding:26px; text-align:center; }
  .cta-card .actions { justify-content:center; }
  .cta-art { min-height:170px; }
  .security-bar { grid-template-columns:1fr; }
  .page-hero { padding:58px 0 48px; }
  .process-card { grid-template-columns:48px 1fr; padding:22px; gap:16px; }
  .process-art { grid-column:1 / -1; min-height:125px; }
  .completion-card { flex-direction:column; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .mock-body { grid-template-columns:80px 1fr; min-height:270px; }
  .mock-main { padding:14px; }
  .mock-kpis { grid-template-columns:1fr; }
  .mock-kpi:nth-child(n+2) { display:none; }
  .price-card { padding:28px 22px; }
  .calculator-grid { grid-template-columns:1fr; }
  .state-item { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1 / -1; }
  .footer-bottom { flex-direction:column; }
  .auth-panel { padding:26px 18px; }
}

@media (max-width: 460px) {
  .brand { font-size:1.08rem; }
  .brand-mark { width:31px; height:31px; }
  .trust-item { padding:20px 10px; }
  .card { padding:23px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .actions .btn { width:100%; }
}

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


/* ==========================================================
   Quick1099 Design Refinement — Simple & Friendly (v2)
   Matches the supplied reference: compact typography, restrained
   spacing, soft cards, centered content, and a professional header.
   ========================================================== */
:root {
  --navy: #112a5c;
  --navy-2: #24477f;
  --blue: #176bd6;
  --blue-2: #4a90e2;
  --blue-50: #f2f7fe;
  --blue-100: #dceafa;
  --green: #46ad4e;
  --green-2: #61bf68;
  --green-50: #f2faf2;
  --ink: #172d59;
  --muted: #657693;
  --line: #dce6f2;
  --surface-soft: #f7faff;
  --surface-blue: #f2f7fd;
  --shadow-sm: 0 6px 20px rgba(24, 62, 110, .07);
  --shadow: 0 15px 38px rgba(24, 62, 110, .10);
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 18px;
  --container: 1100px;
}

html { font-size: 15px; }
body {
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  background: #fff;
}
p { margin-top: 0; }
.container { width: min(calc(100% - 38px), var(--container)); }
.narrow { width: min(calc(100% - 38px), 780px); }
.section { padding: 58px 0; }
.section-sm { padding: 38px 0; }
.section-heading { max-width: 650px; margin-bottom: 30px; }
.section-heading h2,
.page-hero h1 { letter-spacing: -.032em; }
.section-heading h2 { margin: 10px 0 10px; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.section-heading p,
.page-hero p { font-size: .98rem; }
.h3 { font-size: 1.16rem; }
.eyebrow { min-height: 26px; padding: 4px 9px; font-size: .68rem; font-weight: 700; }

.icon { width: 18px; height: 18px; }
.icon-lg { width: 25px; height: 25px; }
.icon-xl { width: 34px; height: 34px; }
.icon-bubble { width: 46px; height: 46px; border-radius: 14px; }
.icon-bubble.sm { width: 36px; height: 36px; border-radius: 11px; }

.btn {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #1269d5; box-shadow: 0 5px 14px rgba(18, 105, 213, .18); }
.btn-primary:hover { box-shadow: 0 7px 17px rgba(18, 105, 213, .22); }
.btn-sm { min-height: 34px; padding-inline: 13px; font-size: .73rem; }
.btn-link { font-size: .76rem; font-weight: 700; }
.actions { gap: 9px; }

.site-header {
  background: rgba(255,255,255,.97);
  border-bottom-color: #e7edf5;
  box-shadow: 0 1px 0 rgba(17,42,92,.02);
}
.header-inner { height: 62px; justify-content: flex-start; gap: 0; }
.brand { flex: 0 0 auto; line-height: 0; }
.brand-logo { display: block; width: 142px; height: auto; max-height: 34px; object-fit: contain; }
.site-nav { margin-left: 38px; gap: 25px; }
.site-nav > a,
.nav-dropdown > button { padding: 10px 0; color: #263b63; font-size: .75rem; font-weight: 650; }
.nav-dropdown > button .icon { width: 14px; height: 14px; }
.header-actions { margin-left: auto; gap: 12px; }
.menu-toggle { width: 38px; height: 38px; border: 0; border-radius: 8px; }
.dropdown-menu { min-width: 210px; border-radius: 12px; box-shadow: 0 14px 34px rgba(24,62,110,.12); }
.dropdown-menu a { padding: 9px 10px; font-size: .76rem; font-weight: 650; }

.hero {
  padding: 56px 0 38px;
  background: #fff;
}
.hero::before { display: none; }
.hero-grid { grid-template-columns: 1.02fr .98fr; gap: 42px; }
.hero h1 {
  margin: 14px 0 13px;
  max-width: 540px;
  color: var(--navy);
  font-size: clamp(2.55rem, 4.3vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.047em;
}
.hero .lead { max-width: 540px; font-size: .98rem; line-height: 1.65; }
.hero .actions { margin-top: 21px; }
.hero-notes { margin-top: 16px; gap: 16px; font-size: .69rem; font-weight: 600; }
.hero-notes .icon { width: 14px; height: 14px; color: var(--green); }
.hero-card {
  min-height: 350px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-card::before { width: 205px; height: 205px; right: 18px; top: 18px; background: #eff5fe; }
.hero-card::after { width: 128px; height: 128px; left: 40px; bottom: 18px; background: #eff8f0; }
.hero-illustration { width: min(100%, 470px); }

.trust-strip { margin-top: 0; }
.trust-panel {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f5f9fe);
  box-shadow: none;
}
.trust-item { padding: 18px 16px; }
.trust-item strong { font-size: 1.03rem; }
.trust-item span { font-size: .68rem; font-weight: 600; }
.stars { margin: 2px 0; font-size: .65rem; letter-spacing: 1px; }

.home-steps { padding-top: 46px; }
.steps-horizontal { gap: 20px; }
.steps-horizontal::before { top: 31px; border-top-width: 1px; }
.step-mini .step-icon { width: 62px; height: 62px; margin-bottom: 11px; box-shadow: none; }
.step-number { width: 21px; height: 21px; margin-bottom: 7px; font-size: .65rem; }
.step-mini h3 { font-size: .82rem; }
.step-mini p { max-width: 190px; margin: 0 auto; font-size: .69rem; line-height: 1.5; }

.card-grid { gap: 15px; }
.card {
  padding: 22px;
  border-radius: 14px;
  box-shadow: none;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card h3 { margin: 14px 0 6px; font-size: .98rem; }
.card p { font-size: .84rem; }

.cta-card {
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  padding: 25px 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f3f7fd, #f8fbff);
}
.cta-card h2 { margin-bottom: 8px; font-size: clamp(1.55rem, 3vw, 2rem); }
.cta-card p { font-size: .86rem; }
.cta-art { min-height: 175px; }
.cta-art svg { max-height: 205px; }

.security-bar { gap: 8px; padding: 14px 16px; border-radius: 13px; }
.security-item { gap: 9px; padding: 6px 8px; }
.security-item strong { font-size: .74rem; }
.security-item span { font-size: .64rem; }

.page-hero {
  padding: 49px 0 43px;
  background: linear-gradient(160deg, #fff 8%, #f5f9fe 100%);
}
.page-hero::after { width: 310px; height: 310px; right: -90px; top: -160px; }
.page-hero h1 { margin: 10px 0 9px; font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero p { max-width: 620px; }
.breadcrumbs { font-size: .72rem; }
.page-hero-center .container { text-align: center; }
.page-hero-center h1,
.page-hero-center p { margin-left: auto; margin-right: auto; }
.page-hero-center::after { left: 50%; right: auto; transform: translateX(-50%); opacity: .45; }

.process-list { width: min(100%, 760px); gap: 22px; }
.process-card {
  grid-template-columns: 48px 1fr 205px;
  gap: 18px;
  min-height: 162px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: none;
}
.process-card:not(:last-child)::after { bottom: -28px; font-size: 19px; }
.process-number { width: 32px; height: 32px; font-size: .78rem; }
.process-card h2 { margin-bottom: 6px; font-size: 1rem; }
.process-card p { font-size: .75rem; line-height: 1.55; }
.process-art { min-height: 118px; border-radius: 12px; }
.process-art > div { font-size: .72rem; }
.completion-card { width: min(100%,760px); padding: 20px; border-radius: 14px; }

.help-hero { padding-bottom: 26px; }
.help-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 28px; }
.help-hero h1 { margin-top: 0; }
.help-art { min-height: 225px; }
.help-art svg { max-height: 260px; }
.search-box { max-width: 560px; margin-top: 18px; }
.search-box input { height: 43px; padding: 0 48px 0 14px; border-radius: 8px; box-shadow: none; font-size: .78rem; }
.search-box button { right: 5px; top: 5px; width: 33px; height: 33px; border-radius: 6px; }
.topic-grid { gap: 12px; }
.topic-card { padding: 18px 14px; border-radius: 12px; }
.topic-card:hover { transform: translateY(-2px); }
.topic-card h3 { margin: 11px 0 3px; font-size: .82rem; }
.topic-card p { font-size: .68rem; }
.article-list { border-radius: 12px; }
.article-row { padding: 13px 15px; font-size: .78rem; }

.feature-split { gap: 42px; }
.feature-list { gap: 13px; }
.feature-list-item h3 { font-size: .9rem; }
.feature-list-item p { font-size: .79rem; }
.dashboard-mock { padding: 14px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.mock-body { min-height: 280px; border-radius: 12px; }

.volume-tab { min-height: 35px; padding: 0 13px; font-size: .72rem; }
.price-grid { gap: 16px; }
.price-card { padding: 27px; border-radius: 16px; box-shadow: none; }
.price-card.featured { box-shadow: var(--shadow-sm); }
.price { font-size: 2.45rem; }
.price-card li { font-size: .82rem; }
.included-item { padding: 12px; border-radius: 11px; font-size: .78rem; }

.trust-card { padding: 21px; border-radius: 14px; box-shadow: none; }
.trust-badge { min-height: 105px; border-radius: 13px; font-size: .82rem; }

.faq-layout { grid-template-columns: 220px 1fr; gap: 28px; }
.faq-sidebar { top: 82px; padding: 13px; border-radius: 12px; }
.faq-sidebar a { padding: 8px 9px; font-size: .76rem; }
.accordion { gap: 9px; }
.accordion-item { border-radius: 11px; }
.accordion-button { padding: 15px 16px; font-size: .84rem; }
.accordion-panel { padding: 0 16px 16px; font-size: .82rem; }

.contact-grid { gap: 24px; }
.contact-tile { padding: 16px; border-radius: 12px; }
.form-card { padding: 24px; border-radius: 15px; box-shadow: none; }
.field input, .field select { height: 42px; }
.field label { font-size: .78rem; }

.blog-grid { gap: 16px; }
.blog-card { border-radius: 14px; box-shadow: none; }
.blog-thumb { min-height: 155px; }
.blog-body { padding: 18px; }
.blog-card h2 { font-size: 1rem; }
.blog-card p { font-size: .8rem; }

.legal-layout { grid-template-columns: 215px 1fr; gap: 30px; }
.legal-toc { top: 82px; border-radius: 12px; }
.legal-content { font-size: .88rem; }
.legal-content h2 { font-size: 1.28rem; }

.auth-page { grid-template-columns: .92fr 1.08fr; }
.auth-art { padding: 36px; }
.auth-art h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.auth-panel { padding: 34px; }
.auth-box { width: min(100%, 420px); }
.auth-box .brand { margin-bottom: 28px; }
.auth-box .brand-logo { width: 170px; }
.auth-box h2 { font-size: 1.65rem; }

.site-footer { padding: 46px 0 21px; }
.footer-grid { gap: 25px; }
.footer-brand .brand-logo { width: 160px; }
.footer-brand p,
.footer-contact,
.footer-links a { font-size: .75rem; }
.footer-title { font-size: .82rem; }
.footer-bottom { margin-top: 30px; padding-top: 17px; font-size: .68rem; }

@media (max-width: 1020px) {
  .header-inner { height: 62px; }
  .site-nav {
    inset: 63px 0 auto 0;
    max-height: calc(100vh - 63px);
    margin-left: 0;
    padding: 16px 20px;
  }
  .site-nav > a,
  .nav-dropdown > button { font-size: .82rem; }
  .header-actions .login { display: none; }
  .hero-grid { gap: 25px; }
  .hero-card { min-height: 320px; }
}

@media (max-width: 760px) {
  html { font-size: 15px; }
  body { font-size: 14px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 46px 0; }
  .section-sm { padding: 33px 0; }
  .header-inner { height: 58px; }
  .brand-logo { width: 132px; max-height: 31px; }
  .site-nav { inset: 59px 0 auto; max-height: calc(100vh - 59px); }
  .header-actions .btn-primary { display: none; }
  .hero { padding: 42px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .hero-card { min-height: 280px; margin-top: 5px; }
  .hero-illustration { max-height: 310px; }
  .trust-panel { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 16px 10px; }
  .steps-horizontal { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .steps-horizontal::before { display: none; }
  .step-mini p { max-width: 155px; }
  .cta-card { grid-template-columns: 1fr; padding: 24px; text-align: left; }
  .cta-card .actions { justify-content: flex-start; }
  .cta-art { min-height: 145px; }
  .security-bar { grid-template-columns: repeat(2,1fr); }
  .page-hero { padding: 40px 0 35px; }
  .help-hero-grid { grid-template-columns: 1fr; }
  .help-art { min-height: 170px; }
  .topic-grid { grid-template-columns: repeat(2,1fr); }
  .process-card { grid-template-columns: 38px 1fr; }
  .process-art { grid-column: 1 / -1; min-height: 100px; }
  .completion-card { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .hero h1 { font-size: 2.3rem; }
  .hero-notes { display: grid; gap: 8px; }
  .steps-horizontal { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .security-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

/* ==========================================================
   Quick1099 v3 — Current-site information architecture
   Readable typography + supplied Simple & Friendly design
   ========================================================== */
:root {
  --container: 1360px;
}

html { font-size: 17px; }
body { font-size: 17px; line-height: 1.65; }
p, li { font-size: 1rem; }

/* Header: exact current Quick1099 navigation, larger and easier to read. */
.header-inner { height: 76px; gap: 0; }
.brand-logo { width: 176px; max-height: 42px; object-fit: contain; }
.site-nav { margin-left: 34px; gap: 22px; white-space: nowrap; }
.site-nav > a,
.site-nav > .nav-link {
  position: relative;
  padding: 26px 0 24px;
  color: #263b63;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.2;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.site-nav > a:hover::after,
.site-nav > a.active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; gap: 12px; padding-left: 24px; }
.header-actions .login { font-size: .91rem; }
.btn { font-size: .91rem; min-height: 48px; }
.btn-sm { min-height: 42px; padding-inline: 17px; font-size: .86rem; }
.menu-toggle { width: 44px; height: 44px; }

/* Preserve the professional scale of the reference while avoiding tiny text. */
.eyebrow { font-size: .78rem; min-height: 34px; padding: 6px 13px; }
.hero .lead { font-size: 1.06rem; }
.hero-notes { font-size: .78rem; }
.trust-item strong { font-size: 1.05rem; }
.trust-item span { font-size: .78rem; line-height: 1.45; }
.section-heading p, .page-hero p { font-size: 1rem; }
.step-mini h3 { font-size: .94rem; }
.step-mini p { font-size: .82rem; line-height: 1.55; }
.card h3 { font-size: 1.06rem; }
.card p { font-size: .91rem; }
.cta-card p { font-size: .94rem; }
.security-item strong { font-size: .82rem; }
.security-item span { font-size: .73rem; }
.process-card h2 { font-size: 1.12rem; }
.process-card p { font-size: .9rem; }
.topic-card h3 { font-size: .98rem; }
.topic-card p { font-size: .82rem; }
.article-row { font-size: .9rem; }
.feature-list-item h3 { font-size: 1.02rem; }
.feature-list-item p { font-size: .9rem; }
.volume-tab { font-size: .85rem; }
.price-card li, .included-item { font-size: .9rem; }
.accordion-button { font-size: .96rem; }
.accordion-panel { font-size: .92rem; }
.field label { font-size: .88rem; }
.blog-card h2 { font-size: 1.12rem; }
.blog-card p { font-size: .9rem; }
.blog-meta { font-size: .78rem; }

/* Illustrated inner-page hero pattern. */
.illustrated-page-hero { padding: 46px 0 34px; overflow: hidden; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .72fr);
  align-items: center;
  gap: 48px;
}
.page-hero-copy { position: relative; z-index: 2; }
.page-hero-copy h1 { margin-top: 12px; font-size: clamp(2.35rem, 4vw, 3.55rem); }
.page-hero-copy p { max-width: 690px; font-size: 1.03rem; }
.page-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.page-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf5ff, #f0faf2);
}
.page-visual-svg { position: relative; width: min(100%, 470px); max-height: 315px; }

/* Additional homepage content, using the same clean illustrated card language. */
.visual-feature-card { padding-top: 18px; text-align: center; }
.mini-picture { min-height: 150px; display: grid; place-items: center; margin: -4px -4px 8px; }
.mini-picture svg { width: min(100%, 230px); height: 190px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.tool-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 1rem; }
.tool-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.tool-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-100);
  border-radius: 15px;
  color: var(--blue);
  background: var(--blue-50);
  font-size: 1.45rem;
  font-weight: 900;
}
.tool-icon.green { color: var(--green); background: var(--green-50); border-color: #d4efd7; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.testimonial-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.testimonial-card > p { margin: 0 0 24px; color: var(--ink); font-size: 1rem; }
.quote-mark { position: absolute; right: 24px; top: 8px; color: #d8e8fb; font: 700 4.5rem/1 Georgia, serif; }
.person { display: flex; align-items: center; gap: 13px; }
.person strong, .person span { display: block; }
.person strong { color: var(--navy); font-size: .91rem; }
.person span { color: var(--muted); font-size: .78rem; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-50); font-size: .75rem; font-weight: 850; }
.avatar.green { color: var(--green); background: var(--green-50); }
.illustrated-thumb { min-height: 185px; }
.illustrated-thumb svg { width: 230px; max-height: 160px; height: 195px; }
.center-action { display: flex; justify-content: center; margin-top: 28px; }

/* Legal and policy pages now contain usable content rather than placeholders. */
.policy-hero { padding-bottom: 38px; }
.effective-date { margin: 0 0 26px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); color: var(--muted); }
.effective-date span { margin: 0 8px; }
.policy-section { scroll-margin-top: 96px; }
.policy-section + .policy-section { margin-top: 34px; padding-top: 6px; }
.legal-content { font-size: .96rem; line-height: 1.72; }
.legal-content p, .legal-content li { font-size: .96rem; }
.legal-content h2 { margin: 0 0 12px; font-size: 1.45rem; }
.legal-content h3 { margin: 20px 0 8px; font-size: 1.08rem; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy-callout { margin: 18px 0; padding: 16px 18px; border: 1px solid #cde3fb; border-radius: 12px; background: #f3f8fe; color: var(--navy); }
.legal-toc a { font-size: .84rem; line-height: 1.35; }

/* Footer labels and links match the current public site. */
.current-site-footer { grid-template-columns: 1.55fr .82fr .78fr 1.08fr .92fr; }
.footer-brand .brand-logo { width: 190px; max-height: 46px; }
.footer-brand p { font-size: .86rem; }
.footer-contact, .footer-links a { font-size: .82rem; }
.footer-title { font-size: .92rem; }
.footer-cta { min-height: 42px; margin-top: 4px; padding-inline: 17px; font-size: .82rem; }
.footer-bottom { font-size: .76rem; }

@media (max-width: 1260px) {
  .header-inner { height: 72px; }
  .brand-logo { width: 166px; max-height: 40px; }
  .site-nav {
    position: fixed;
    inset: 73px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 73px);
    overflow: auto;
    margin-left: 0;
    padding: 18px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    white-space: normal;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav > a, .site-nav > .nav-link { width: 100%; padding: 15px 10px; font-size: 1rem; text-align: left; border-bottom: 1px solid #edf2f8; }
  .site-nav > a::after { display: none; }
  .header-actions .login { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .page-hero-grid { grid-template-columns: 1fr .72fr; gap: 28px; }
  .current-site-footer { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 820px) {
  html { font-size: 16px; }
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .brand-logo { width: 150px; max-height: 36px; }
  .site-nav { inset: 69px 0 auto; max-height: calc(100vh - 69px); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-visual { min-height: 220px; }
  .page-visual-svg { max-height: 245px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .current-site-footer { grid-template-columns: 1fr 1fr; }
  .current-site-footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .header-actions { padding-left: 8px; }
  .brand-logo { width: 138px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 19px; }
  .current-site-footer { grid-template-columns: 1fr; }
  .current-site-footer .footer-brand { grid-column: auto; }
  .page-visual { min-height: 195px; }
  .page-visual-svg { max-height: 215px; }
  .legal-content p, .legal-content li { font-size: .96rem; }
}

/* ==========================================================
   Quick1099 v4 — Premium professional illustration system
   Approved business-cartoon artwork + refined SaaS styling
   ========================================================== */
:root {
  --navy: #071b3f;
  --navy-2: #12356b;
  --blue: #0d63d8;
  --blue-2: #2c82ee;
  --green: #24a548;
  --green-2: #43b960;
  --teal: #18b8a5;
  --ink: #172d52;
  --muted: #5d7090;
  --line: #d9e5f3;
  --surface-soft: #f7f9fd;
  --shadow-sm: 0 10px 30px rgba(16, 50, 99, .075);
  --shadow: 0 24px 65px rgba(16, 50, 99, .13);
  --radius: 18px;
  --radius-lg: 26px;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

/* Larger, more confident navigation without crowding the header. */
.site-header { background: rgba(255,255,255,.96); }
.header-inner { height: 82px; }
.brand-logo { width: 184px; max-height: 45px; }
.site-nav { gap: 24px; margin-left: 38px; }
.site-nav > a,
.site-nav > .nav-link {
  padding-block: 29px 27px;
  color: #263c62;
  font-size: .95rem;
  font-weight: 780;
  letter-spacing: -.01em;
}
.header-actions .login { color: #1d345b; font-size: .95rem; }
.btn { min-height: 50px; padding-inline: 22px; border-radius: 10px; font-size: .95rem; }
.btn-sm { min-height: 44px; padding-inline: 18px; font-size: .91rem; }

/* Premium hero: minimal background, softer framing, professional artwork. */
.hero {
  padding: 82px 0 78px;
  background:
    radial-gradient(circle at 81% 24%, rgba(13,99,216,.105), transparent 27%),
    radial-gradient(circle at 73% 82%, rgba(36,165,72,.075), transparent 22%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.hero::before { opacity: .16; background-size: 56px 56px; }
.hero-grid { grid-template-columns: minmax(0,1.02fr) minmax(430px,.98fr); gap: 58px; }
.hero h1 {
    max-width: 760px;
    margin-top: 18px;
    font-size: clamp(2.35rem, 4vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}
.hero .lead { max-width: 660px; color: #526684; font-size: 1.12rem; line-height: 1.72; }
.hero-notes { font-size: .86rem; }
.eyebrow { font-size: .82rem; padding: 7px 14px; }

.hero-card {
  min-height: 455px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: 28px;
  background: linear-gradient(145deg,#fff 4%,#f5f9ff 72%,#f3fbf5 100%);
  box-shadow: 0 26px 72px rgba(16,50,99,.14);
}
.hero-card::before { width: 210px; height: 210px; right: -28px; top: 18px; background: rgba(213,231,253,.58); }
.hero-card::after { width: 170px; height: 170px; left: -24px; bottom: -32px; background: rgba(218,244,224,.58); }
.professional-art {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.98) contrast(1.015);
}
.hero-professional-art { width: min(100%, 680px); border-radius: 22px; mix-blend-mode: multiply; }
.professional-float {
  border-color: rgba(190,211,236,.9);
  color: #20385e;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(15,49,96,.12);
  backdrop-filter: blur(10px);
}
.professional-float::before { content: "✓"; display:inline-grid; place-items:center; width:20px; height:20px; margin-right:7px; border-radius:50%; color:#fff; background:var(--green); font-size:.68rem; }

/* Trust and content cards use a quieter, more expensive-looking treatment. */
.trust-panel,
.card,
.topic-card,
.testimonial-card,
.blog-card,
.tool-card,
.process-card,
.price-card,
.article-list,
.dashboard-mock {
  border-color: #dce6f2;
  box-shadow: var(--shadow-sm);
}
.card:hover,
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(16,50,99,.12); }
.trust-item strong { font-size: 1.12rem; }
.trust-item span { font-size: .82rem; }
.section-heading { max-width: 790px; }
.section-heading h2 { font-size: clamp(2.2rem,3.8vw,3.3rem); }
.section-heading p, .page-hero p { font-size: 1.07rem; }
.card h3 { font-size: 1.13rem; }
.card p { font-size: .97rem; line-height: 1.68; }
.step-mini h3 { font-size: 1rem; }
.step-mini p { font-size: .89rem; }

/* Professional CTA image cards. */
.cta-card {
  grid-template-columns: .9fr 1.1fr;
  padding: 44px;
  border-color: #d9e6f4;
  background: linear-gradient(135deg,#f7faff 0%,#fff 47%,#f3faf4 100%);
  box-shadow: var(--shadow-sm);
}
.cta-art { min-height: 230px; overflow: hidden; border-radius: 20px; }
.support-professional-art { width: min(100%, 480px); border-radius: 20px; mix-blend-mode: multiply; }
.cta-card h2 { font-size: clamp(2rem,3.6vw,2.9rem); }
.cta-card p { font-size: 1rem; }

/* Professional inner-page visuals. */
.page-hero { padding: 64px 0 54px; background: linear-gradient(155deg,#fff 8%,#f2f7fd 100%); }
.page-hero-grid { grid-template-columns: minmax(0,1.02fr) minmax(360px,.78fr); }
.page-hero-copy h1 { font-size: clamp(2.65rem,4.4vw,3.9rem); }
.page-visual {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: 26px;
  background: linear-gradient(145deg,#fff,#f3f8ff 70%,#f1faf3);
  box-shadow: var(--shadow-sm);
}
.page-visual::before { width: 300px; height: 300px; opacity: .65; }
.page-professional-art { width: min(100%, 540px); border-radius: 22px; mix-blend-mode: multiply; }
.contact-professional-art { width: min(100%, 470px); }

/* Help Center matches the approved panel: professional support agent, clear search. */
.help-hero {
    padding: 20px 0 26px;
}
.help-art {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: 26px;
  background: linear-gradient(145deg,#fff,#f2f7ff 68%,#f3faf4);
  box-shadow: var(--shadow-sm);
}


.help-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}
.help-professional-art { width: min(100%, 470px); border-radius: 20px; mix-blend-mode: multiply; }
.search-box input { height: 60px; padding-left: 20px; font-size: 1rem; }
.search-box button { top: 7px; width: 46px; height: 46px; }
.topic-card { padding: 27px 22px; }
.topic-card h3 { font-size: 1.04rem; }
.topic-card p { font-size: .9rem; }
.article-row { padding: 19px 22px; font-size: .97rem; }

/* How It Works adopts the polished visual cards from the approved concept. */
.process-list { width: min(100%, 980px); gap: 24px; }
.process-card {
  grid-template-columns: 62px minmax(0,1fr) 270px;
  min-height: 224px;
  padding: 30px 32px;
  border-radius: 20px;
}
.process-number { width: 42px; height: 42px; }
.process-card h2 { font-size: 1.3rem; }
.process-card p { font-size: .98rem; line-height: 1.68; }
.process-art {
  min-height: 166px;
  overflow: hidden;
  border: 1px solid #e0e9f4;
  border-radius: 18px;
  background: linear-gradient(145deg,#fff,#f2f7ff);
}
.process-art-image { display:block; width:100%; height:166px; object-fit:cover; object-position:center; }
.completion-card { padding: 30px; border-radius: 20px; box-shadow: var(--shadow-sm); }

/* Authentication pages receive the same premium visual language. */
.auth-art {
  background: linear-gradient(145deg,#f4f8ff 0%,#fff 48%,#f2faf4 100%);
}
.auth-professional-art {
  width: min(100%, 610px);
  margin: 24px auto 0;
  border: 1px solid #dce7f4;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  mix-blend-mode: multiply;
}
.auth-art h1 { letter-spacing: -.045em; }

/* Slightly larger supporting text throughout, while retaining compact hierarchy. */
.tool-card h3 { font-size: 1.06rem; }
.tool-card p,
.blog-card p,
.feature-list-item p,
.price-card li,
.included-item { font-size: .94rem; }
.blog-card h2 { font-size: 1.2rem; }
.footer-links a, .footer-contact { font-size: .86rem; }
.footer-title { font-size: .98rem; }

@media (max-width: 1260px) {
  .header-inner { height: 76px; }
  .brand-logo { width: 170px; max-height: 42px; }
  .site-nav { inset: 77px 0 auto; max-height: calc(100vh - 77px); }
  .site-nav > a, .site-nav > .nav-link { font-size: 1.03rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-card { min-height: 410px; }
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { width: min(100%,760px); min-height: 390px; margin-inline:auto; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-visual, .help-art { width:min(100%,720px); margin-inline:auto; }
  .process-card { grid-template-columns: 54px 1fr 230px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: 70px; }
  .brand-logo { width: 150px; max-height: 37px; }
  .site-nav { inset: 71px 0 auto; max-height: calc(100vh - 71px); }
  .hero { padding: 58px 0 56px; }
  .hero h1 { font-size: clamp(2.55rem,12vw,3.5rem); }
  .hero .lead { font-size: 1.04rem; }
  .hero-card { min-height: 320px; padding: 12px; border-radius: 22px; }
  .professional-float { display:none; }
  .cta-card { grid-template-columns: 1fr; padding: 28px; }
  .cta-art { order: -1; min-height: 190px; }
  .process-card { grid-template-columns: 48px 1fr; padding: 24px; }
  .process-art { grid-column: 1 / -1; min-height: 190px; }
  .process-art-image { height: 190px; object-fit: contain; }
  .page-visual, .help-art { min-height: 240px; border-radius: 20px; }
  .help-professional-art, .page-professional-art { max-height: 260px; width:auto; }
}

@media (max-width: 520px) {
  .btn { font-size: .94rem; }
  .hero-card { min-height: 260px; }
  .section { padding: 68px 0; }
  .section-heading h2 { font-size: 2.05rem; }
  .cta-card { padding: 22px; }
  .page-hero { padding: 46px 0 38px; }
  .page-hero-copy h1 { font-size: 2.55rem; }
  .process-card { grid-template-columns: 1fr; }
  .process-number { margin-bottom: -8px; }
  .process-art { min-height: 160px; }
  .process-art-image { height: 160px; }
}

/* Final image-fit refinements. */
.hero-card .float-card.one { left: 18px; top: 34px; }
.hero-card .float-card.two { right: 18px; bottom: 28px; }
.help-professional-art { width: auto; max-height: 310px; }
.contact-professional-art { width: auto; max-height: 300px; }
.support-professional-art { width: auto; max-height: 250px; }
.auth-professional-art { max-height: 430px; object-fit: contain; }
@media (max-width: 760px) {
  .support-professional-art { max-height: 205px; }
  .help-professional-art, .contact-professional-art { max-height: 230px; }
}


/* ==========================================================
   Quick1099 v5 — Combined, professional navigation
   ========================================================== */
.site-header {
  overflow: visible;
  background: rgba(255,255,255,.975);
  box-shadow: 0 1px 0 rgba(20,55,105,.055);
}
.header-inner {
  position: relative;
  height: 84px;
  overflow: visible;
}
.brand-logo { width: 184px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: 44px;
  overflow: visible;
}
.site-nav > .nav-link,
.nav-dropdown > .nav-dropdown-toggle {
  position: relative;
  width: auto;
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #22385d;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.012em;
  cursor: pointer;
  white-space: nowrap;
}
    .site-nav > .nav-link:hover,
    .site-nav > .nav-link.active,
    .nav-dropdown:hover > .nav-dropdown-toggle,
    .nav-dropdown.open > .nav-dropdown-toggle,
    .nav-dropdown.active > .nav-dropdown-toggle {
        color: var(--blue);
        border-bottom-color: var(--blue);
    }
.site-nav > .nav-link::after { display: none !important; }
.nav-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown { position: relative; height: 84px; display: flex; align-items: center; }
.dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 330px;
    min-width: 330px;

    padding: 12px;

    border: 1px solid #d9e5f3;
    border-radius: 18px;

    background: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dropdown-heading {
  padding: 5px 10px 9px;
  color: #70809a;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dropdown-menu .dropdown-link {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 12px;
  color: #243b61;
  text-decoration: none;
}
.dropdown-menu .dropdown-link:hover,
.dropdown-menu .dropdown-link.active {
  color: var(--blue);
  background: linear-gradient(135deg,#f1f7ff,#f7fbff);
}
.dropdown-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e6f8;
  border-radius: 12px;
  color: var(--blue);
  background: #f3f8ff;
}
.dropdown-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dropdown-copy { min-width: 0; display: block; }
.dropdown-copy strong { display: block; color: inherit; font-size: .91rem; font-weight: 820; line-height: 1.25; }
.dropdown-copy small { display: block; margin-top: 3px; color: #71819b; font-size: .76rem; font-weight: 560; line-height: 1.35; }
.header-actions { margin-left: auto; gap: 15px; padding-left: 30px; }
.header-actions .login { color: #23395d; font-size: 1rem; font-weight: 760; }
.header-actions .btn-sm { min-height: 46px; padding-inline: 20px; font-size: .95rem; }
.mobile-nav-actions { display: none; }

@media (min-width: 1121px) and (max-width: 1260px) {
  .header-inner { height: 78px; }
  .brand-logo { width: 165px; }
  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 19px;
    max-height: none;
    overflow: visible;
    margin-left: 27px;
    padding: 0;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
  }
  .nav-dropdown { height: 78px; }
  .site-nav > .nav-link,
  .nav-dropdown > .nav-dropdown-toggle {
    min-height: 78px;
    width: auto;
    padding: 0;
    border-bottom: 3px solid transparent;
    font-size: .9rem;
  }
  .site-nav > .nav-link.active,
  .nav-dropdown.active > .nav-dropdown-toggle { border-bottom-color: var(--blue); }
  .menu-toggle { display: none; }
  .header-actions { padding-left: 20px; gap: 10px; }
  .header-actions .login { display: inline-flex; font-size: .9rem; }
  .header-actions .btn-sm { min-height: 43px; padding-inline: 15px; font-size: .86rem; }
}

@media (max-width: 1120px) {
  .header-inner { height: 76px; }
  .brand-logo { width: 168px; }
  .site-nav {
    position: fixed;
    inset: 77px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 77px);
    overflow-y: auto;
    margin: 0;
    padding: 14px 22px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 22px 48px rgba(15,48,95,.15);
  }
  .menu-open .site-nav { display: flex; }
  .nav-dropdown { height: auto; display: block; border-bottom: 1px solid #e9eff6; }
  .site-nav > .nav-link,
  .nav-dropdown > .nav-dropdown-toggle {
    width: 100%;
    min-height: 0;
    justify-content: space-between;
    padding: 16px 8px;
    border: 0;
    border-bottom: 1px solid #e9eff6;
    color: #1e355a;
    font-size: 1.04rem;
    text-align: left;
  }
  .nav-dropdown > .nav-dropdown-toggle { border-bottom: 0; }
  .site-nav > .nav-link.active,
  .nav-dropdown.active > .nav-dropdown-toggle { color: var(--blue); }
  .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    display: none;
    margin: 0 0 12px;
    padding: 7px;
    border: 0;
    border-radius: 14px;
    background: #f7faff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-heading { display: none; }
  .dropdown-menu .dropdown-link { grid-template-columns: 38px minmax(0,1fr); padding: 10px 8px; }
  .dropdown-icon { width: 38px; height: 38px; border-radius: 10px; }
  .dropdown-copy strong { font-size: .91rem; }
  .dropdown-copy small { font-size: .76rem; }
  .header-actions .login { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 6px 2px; }
  .mobile-login { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b9d1ee; border-radius: 10px; color: var(--blue); font-weight: 800; }
  .mobile-nav-actions .btn { min-height: 48px; }
}

@media (max-width: 560px) {
  .header-inner { height: 70px; }
  .brand-logo { width: 148px; }
  .site-nav { inset: 71px 0 auto; max-height: calc(100vh - 71px); padding-inline: 14px; }
  .header-actions .btn-primary { display: none; }
  .mobile-nav-actions { grid-template-columns: 1fr; }
}
.faq-group {
    display: none;
}

    .faq-group.active {
        display: block;
    }

.faq-sidebar a.active {
    color: #2563eb;
    font-weight: 600;
}
.accordion-button-static {
    cursor: default;
    user-select: text;
}

.static-panel {
    display: block;
}

.accordion-button-static .plus {
    display: none;
}
.accordion-item {
    margin-bottom : 5px !important;
}
.faq-sidebar .faq-category {
    display: block;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    transition: all .2s ease;
/*    border-left: 4px solid transparent;*/
}

    .faq-sidebar .faq-category:hover {
        background: none;
        color: #0d63d8;
    }

    .faq-sidebar .faq-category.active {
/*        background: #eaf3ff;*/
        color: #0d63d8;
        font-weight: 600;
        border-left-color: #2563eb;
/*        box-shadow: 0 2px 8px rgba(37,99,235,.08);*/
    }

.search-results {
    margin-top: 16px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .search-results .article-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        text-decoration: none;
        color: #31476e;
        border-bottom: 1px solid var(--line);
    }

        .search-results .article-row:last-child {
            border-bottom: none;
        }

        .search-results .article-row:hover {
            background: #f7fbff;
        }

.search-result-empty {
    padding: 16px 20px;
    color: #666;
}
.search-box {
    position: relative;
}

    .search-box input {
        padding-right: 60px; /* or 70px */
    }
.error-card {
        max-width: 850px;
        margin: 0 auto;
        padding: 40px;
        background: #fff;
        border: 1px solid #e1e8f0;
        border-radius: 20px;
        box-shadow: 0 10px 35px rgba(17, 42, 92, 0.08);
    }

        .error-card h2 {
            margin-top: 0;
            color: #112a5c;
        }

        .error-card p {
            color: #5f6f82;
            line-height: 1.7;
        }

        .error-card code {
            word-break: break-all;
        }

    .error-actions {
        display: flex;
        gap: 12px;
        margin-top: 25px;
        flex-wrap: wrap;
    }

    @media (max-width: 767px) {
        .error-card {
            padding: 25px 20px;
        }

        .error-actions {
            flex-direction: column;
        }

            .error-actions .btn {
                width: 100%;
                text-align: center;
            }
    }
/* Contact form alerts follow the WebApp alert component: severity, icon, title, and message. */
.form-card .form-status {
  display: none;
  align-items: flex-start;
  gap: 15px;
  margin-top: 14px;
  padding: 20px;
  border: 1.5px solid #17a2b8;
  border-radius: 12px;
  background: linear-gradient(135deg, #d1ecf1 0%, #cff4fc 100%);
  box-shadow: 0 6px 12px rgba(23, 162, 184, .25);
  color: #0c5460;
  font-weight: 400;
  line-height: 1.5;
}
.form-card .form-status.show { display: flex; }
.form-card .form-status.success {
  border-color: #28a745;
  background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
  box-shadow: 0 6px 12px rgba(40, 167, 69, .35);
  color: #155724;
}
.form-card .form-status.error {
  border-color: #dc3545;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  box-shadow: 0 6px 12px rgba(220, 53, 69, .35);
  color: #721c24;
}
.form-card .form-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17a2b8, #00bcd4);
  box-shadow: 0 3px 6px rgba(0, 188, 212, .35);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.form-card .form-status-icon::before { content: "…"; margin-top: -7px; }
.form-card .form-status.success .form-status-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 3px 6px rgba(40, 199, 151, .35);
}
.form-card .form-status.success .form-status-icon::before { content: "✓"; margin-top: 0; }
.form-card .form-status.error .form-status-icon {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
  box-shadow: 0 3px 6px rgba(253, 126, 20, .35);
}
.form-card .form-status.error .form-status-icon::before { content: "!"; margin-top: 0; }
.form-card .form-status-content { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding-top: 2px; }
.form-card .form-status-title { display: block; color: inherit; font-size: 16px; }
.form-card .form-status-message { color: inherit; font-size: 14px; line-height: 1.5; }
.form-card .form-status-actions { display: none; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.form-card .form-status.show.success .form-status-actions,
.form-card .form-status.show.error .form-status-actions { display: flex; }
.form-card .form-status-button { padding: 8px 14px; border-radius: 6px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.form-card .form-status-button-primary { border: 1px solid currentColor; background: #28a745; color: #fff; }
.form-card .form-status-button-secondary { border: 1px solid currentColor; background: #fff; color: inherit; }
.form-card .form-status.error .form-status-button-primary { background: #dc3545; }
