/* app.css: Finance Management template library (forked from the template library stylesheets). */
.hdr-search { display: flex; justify-content: center; }
.hdr-search form { position: relative; width: 100%; max-width: 520px; }
.hdr-search input {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.hdr-search input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 176, 0.15); }
.hdr-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.header-utils .util-link {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-utils .util-link:hover { color: var(--navy); text-decoration: underline; }
.header-utils .util-link b { color: var(--blue); font-weight: 700; }
.header-utils .util-paid {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--good);
  background: #e7f6ee;
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
@media (max-width: 989px) {
  .hdr-search { display: none; }
  .header-utils .util-link { max-width: 120px; }
}

.lib-hero { padding: 38px 0 8px; }
.lib-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 8px; }
.lib-hero p { color: var(--muted); margin: 0 0 20px; max-width: 720px; }
.lib-hero .eyebrow { margin-bottom: 0.5rem; }
.search-box { position: relative; max-width: 760px; }
.search-box input {
  width: 100%;
  font: inherit;
  font-size: 1.08rem;
  padding: 17px 20px 17px 52px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 176, 0.14); }
.search-box svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
.search-box .clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
}
.search-box .clear:hover { background: var(--tint); color: var(--navy); }
.search-box .clear[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 18px 0 6px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-group .fl { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { font-weight: 500; opacity: 0.7; margin-left: 4px; }
.filters select, .filter-panel select {
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
  color: var(--navy);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  max-width: 320px;
}
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 18px; color: var(--muted); font-size: 0.9rem; }
.result-bar b { color: var(--navy); }
.result-bar .reset { background: none; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 0.9rem; }

.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; padding-bottom: 40px; }
.lib-grid .card .card-media { aspect-ratio: 40 / 21; border-bottom: 1px solid var(--line); }
.lib-grid .card .card-media img { object-fit: cover; object-position: top; }
.card .card-meta { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }

.card .card-price { margin-left: auto; white-space: nowrap; }
.card .card-dl { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); }
.card .card-price s { color: var(--muted); opacity: 0.75; }
.card .card-price { color: var(--navy); font-weight: 600; }
.anchor-line { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.5; }
.fmt-badge {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--blue);
}
.fmt-badge.fmt-xlsx { background: #e7f6ee; color: var(--good); }
.fmt-badge.fmt-pdf { background: #fdeceb; color: #c0392b; }
.fmt-badge.fmt-zip { background: #f1eefb; color: #6b4fbb; }
.card .card-done {
  margin-left: auto;
  color: var(--good);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card .card-done svg { width: 14px; height: 14px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty b { color: var(--navy); display: block; font-size: 1.1rem; margin-bottom: 6px; }
.more-row { text-align: center; padding: 6px 0 60px; }
.more-row .btn--outline { animation: none; }

.quota {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  background: var(--tint); border: 1px solid #d8e6f7; border-radius: 12px;
  padding: 12px 16px; margin: 4px 0 18px; font-size: 0.92rem; color: var(--navy);
}
.quota[hidden] { display: none; }
.quota .dots { display: inline-flex; gap: 5px; }
.quota .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7d7ec; display: inline-block; }
.quota .dots i.used { background: var(--blue); }
.quota .spacer { flex: 1; }
.quota a.btn { padding: 9px 16px; font-size: 0.88rem; animation: none; }
.quota.quota--paid { background: #e7f6ee; border-color: #bfe6cf; color: #146b43; }

.product .media-list { columns: 1; }
.product .media-item .media-btn { cursor: default; }
.product .media-item img { aspect-ratio: 40 / 21; object-fit: cover; object-position: top; }
.product .media-item .media-caption { display: inline-block; }
.doc-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.86rem; color: var(--muted); margin: 0 0 16px; }
.doc-facts span { display: inline-flex; align-items: center; gap: 6px; }
.doc-facts svg { width: 15px; height: 15px; color: var(--blue); }
.dl-note { font-size: 0.86rem; color: var(--muted); margin: -4px 0 16px; min-height: 1.3em; }
.dl-note b { color: var(--navy); }
.dl-note.warn { color: #b3261e; }
.dl-note.ok { color: var(--good); }
.buy-box .btn[disabled] { opacity: 0.6; cursor: wait; }
.buy-box .btn--primary .ico, .buy-box .btn--outline .ico { width: 18px; height: 18px; }
.upsell {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px dashed var(--blue);
  background: var(--tint);
  border-radius: 10px;
  color: var(--navy);
  font-size: 0.94rem;
}

.price-was { opacity: 0.6; text-decoration: line-through; font-weight: 500; margin-right: 0.15em; }
.price-today {
  display: inline-block; vertical-align: 0.12em; margin-left: 0.3em;
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.68em; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--good); color: #fff; padding: 0.3em 0.6em; border-radius: 999px;
}

.header-utils .util-cta .price-today { display: none; }
.upsell b { display: block; font-family: "Raleway", sans-serif; margin-bottom: 4px; }
.upsell .btn { margin-top: 10px; padding: 11px 20px; font-size: 0.92rem; border-radius: 10px; animation: none; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.file-list li:last-child { border-bottom: 0; }
.file-list .sz { margin-left: auto; color: var(--muted); font-size: 0.84rem; }
.crumbs .cat { color: var(--muted); }

.auth-wrap { max-width: 520px; margin: clamp(30px, 6vw, 70px) auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 0 8px; }
.auth-card p { color: var(--muted); margin: 0 0 18px; }
.auth-card label { display: block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--navy); margin: 0 0 6px; }
.auth-card input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 176, 0.14); }
.auth-card input.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.7rem; letter-spacing: 0.35em; text-align: center; }
.auth-card .btn { width: 100%; margin-top: 14px; border-radius: 10px; padding: 15px 20px; font-size: 1rem; }
.auth-card .btn--primary { animation: none; }
.auth-card .btn--outline { margin-top: 10px; }
.auth-card .hint { font-size: 0.86rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.auth-card .hint a, .auth-card .hint button { color: var(--blue); background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.form-msg { margin: 12px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-msg.err { color: #b3261e; }
.form-msg.ok { color: var(--good); }
.step[hidden] { display: none; }
.auth-card ul.checks { list-style: none; margin: 0 0 1.2rem; padding: 0; color: #2c3650; }
.auth-card ul.checks li { position: relative; padding-left: 30px; margin: 0 0 9px; }
.auth-card ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.account { max-width: 820px; margin: 30px auto 70px; display: grid; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.25rem; margin: 0 0 6px; }
.panel p { color: var(--muted); margin: 0 0 12px; }
.panel .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.plan-pill { display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.8rem; border-radius: 999px; padding: 6px 12px; background: var(--tint); color: var(--blue); }
.plan-pill.paid { background: #e7f6ee; color: var(--good); }
.panel .btn { border-radius: 10px; padding: 12px 20px; font-size: 0.95rem; animation: none; }
.panel form { display: grid; gap: 12px; max-width: 460px; }
.panel form input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.panel form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(31, 95, 176, 0.14); }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.dl-list li:last-child { border-bottom: 0; }
.dl-list a { color: var(--navy); text-decoration: none; font-weight: 500; }
.dl-list a:hover { text-decoration: underline; }
.dl-list .fmt-badge { flex: 0 0 auto; }

.pricing { max-width: 980px; margin: 20px auto 70px; }
.pricing-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: start; margin-top: 26px; }
.price-card { background: #fff; border: 1.5px solid var(--navy); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-md); position: sticky; top: 92px; }
.price-card .big { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 3rem; color: var(--navy); line-height: 1; }
.price-card .big small { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: 6px; }
.price-card .btn { width: 100%; margin: 18px 0 10px; border-radius: 10px; }
.cat-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cat-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cat-table td:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } .price-card { position: static; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notfound { text-align: center; padding: 80px 0; }

body[data-page="pricing"] .site-header { margin-top: 0; }
body[data-page="pricing"] .hero { padding-top: clamp(34px, 5vw, 64px); }
body[data-page="pricing"] .hero .btn--primary { animation: none; border-radius: 10px; }
body[data-page="pricing"] .hero .btn--ghost { border-radius: 10px; }
.hero-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hero-mosaic img {
  width: 100%; aspect-ratio: 40 / 21; object-fit: cover; object-position: top;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-lg); background: #fff;
}
.hero-mosaic img:nth-child(2), .hero-mosaic img:nth-child(4), .hero-mosaic img:nth-child(6) { transform: translateY(18px); }
body[data-page="pricing"] .feature-media img { aspect-ratio: 40 / 21; object-fit: cover; object-position: top; width: 100%; background: #fff; }
body[data-page="pricing"] .feature-body p a { font-weight: 600; text-decoration: none; }
body[data-page="pricing"] .feature-body p a:hover { text-decoration: underline; }
body[data-page="pricing"] .value-band .btn--primary { animation: none; border-radius: 10px; }
body[data-page="pricing"] .final-cta .btn--primary { animation: none; border-radius: 10px; }
body[data-page="pricing"] .cat-table { max-width: 640px; margin: 0 auto; }
body[data-page="pricing"] .cat-table td { padding: 10px 6px; }
@media (max-width: 860px) {
  .hero-mosaic { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-mosaic img:nth-child(2), .hero-mosaic img:nth-child(4), .hero-mosaic img:nth-child(6) { transform: none; }
  .hero-mosaic img:nth-child(n+4) { display: none; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.tag {
  display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.02em; color: var(--navy); background: var(--tint); border: 1px solid #d8e6f7;
  border-radius: 999px; padding: 4px 10px; text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.tag:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.lib-hero--compact { padding: 30px 0 6px; }
.lib-hero--compact h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.lib-hero--compact p { margin: 0 0 16px; }
.lib-hero--compact p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.lib-hero--compact p a:hover { text-decoration: underline; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 4px; }
.seg { display: inline-flex; background: var(--tint-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg-btn {
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.seg-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chip--filters { display: inline-flex; align-items: center; gap: 6px; }
.chip--filters svg { width: 15px; height: 15px; }
.chip--filters.has { border-color: var(--blue); color: var(--blue); }
.chip--filters[aria-expanded="true"] { background: var(--tint); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.af {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.82rem; color: var(--navy);
  background: var(--tint); border: 1px solid #d8e6f7; border-radius: 999px; padding: 6px 10px 6px 12px; cursor: pointer;
}
.af .af-k { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.af .x { font-size: 1.05rem; line-height: 1; color: var(--muted); }
.af:hover { border-color: var(--navy); }
.af:hover .x { color: var(--navy); }
.filter-panel {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end;
  background: var(--tint-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 10px 0 4px;
}
.filter-panel[hidden] { display: none; }
.filter-panel label { display: grid; gap: 5px; }
.filter-panel label > span, .filter-fmt > span { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.filter-panel select { width: 100%; max-width: none; border-radius: 10px; background-color: #fff; }
.filter-fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; grid-column: 1 / -1; }
.filter-fmt > span { margin-right: 4px; }
@media (max-width: 760px) { .filter-panel { grid-template-columns: 1fr; } }

.promo-bar { background: var(--navy); color: #dbe7f8; font-size: 0.88rem; text-align: center; padding: 9px 16px; }
.promo-bar--welcome { background: #0f5a3a; color: #dcf5e8; transition: opacity .5s; }
.promo-bar--welcome strong { color: #fff; }
.promo-bar.is-hiding { opacity: 0; }

.resume-bar { position: relative; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap;
  background: #10361f; color: #d8f0e2; font-size: 0.88rem; padding: 9px 16px; transition: opacity .4s; }
.resume-bar.is-hiding { opacity: 0; }
.resume-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.resume-bar a:hover { text-decoration: none; }
.resume-bar button { background: none; border: 0; color: #9ec8b1; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.resume-bar button:hover { color: #fff; }
.resume-bar button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.promo-bar b { color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.08em; background: rgba(255,255,255,0.14); padding: 1px 7px; border-radius: 6px; }
.price-old[hidden] { display: none; }

.fw-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.fw {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.fw span { font-weight: 600; font-size: 0.78rem; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.fw:hover { border-color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; max-width: 560px; }
.htag {
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.03em;
  color: #cdd9ee; background: rgba(46, 112, 200, 0.22); border: 1px solid rgba(120, 170, 230, 0.3);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.htag--more { background: transparent; color: #9ec3f0; }

.pbuy { max-width: 420px; margin-top: 22px; }
.pbuy .price { margin-bottom: 12px; }
.pbuy .price .price-sale { font-size: 2rem; }
.pbuy .price .price-compare { font-size: 1.25rem; }
.pbuy .buy-box .btn { animation: none; }
.pbuy .pay-list { margin-top: 2px; }
.pbuy--center { margin-left: auto; margin-right: auto; }
.pbuy--center .price, .pbuy--center .buy-box { justify-content: center; }
.pbuy--center .pay-list { justify-content: center; }
.pbuy--dark .price .price-sale { color: #fff; }
.pbuy--dark .price .price-compare { color: #93a7c9; }
.pbuy--dark .btn--outline { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.pbuy--dark .btn--outline:hover { background: rgba(255, 255, 255, 0.16); }
.pbuy--dark .more-options a { color: #cdd9ee; }
.pbuy .offer-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }
.pbuy--dark .offer-note { color: #cdd9ee; }
.pbuy .offer-note[hidden] { display: none; }
.price .badge[hidden], .price .price-compare[hidden] { display: none; }

.fw-cat { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 14px; font-size: 1.15rem; }
.fw-cat:first-of-type { margin-top: 10px; }
.fw-cat-n { font-family: Roboto, Arial, sans-serif; font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.flow li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.flow-n { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy, #0b2545); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: Roboto, Arial, sans-serif; }
.flow h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.flow p { margin: 0; color: var(--muted); line-height: 1.55; }
.hero-tags--center { justify-content: center; max-width: 760px; margin: 18px auto 6px; }
.hero-tags--center .htag b { font-weight: 700; margin-left: 3px; opacity: 0.85; }
.fw-disclaimer { max-width: 760px; margin: 28px auto 0; font-size: 0.82rem; color: var(--muted); line-height: 1.55; text-align: center; }

.featured { margin: 6px 0 26px; padding: 22px 22px 6px; background: var(--tint-2); border: 1px solid var(--line); border-radius: var(--radius, 14px); }
.featured-head { max-width: 720px; margin-bottom: 16px; }
.featured-head h2 { margin: 0 0 6px; font-size: 1.35rem; }
.featured-head p:last-child { margin: 0; color: var(--muted); font-size: 0.95rem; }
.featured-grid { padding-bottom: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card-media { position: relative; }
@media (max-width: 640px) { .featured { padding: 16px 14px 2px; } }

.hd-docs { display: none; }
.hero-docs .hero-copy > p.sub,
.hero-docs .hero-mosaic { display: none; }
.hd-lead { margin: 0 0 2px; font-size: 14px; opacity: 0.75; }
.hd-doc { margin: 0; }
.hd-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.hd-open img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hd-doc figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: #e6eefb; }
.hd-doc figcaption span { opacity: 0.7; }
.hd-doc figcaption .hd-dl { flex-basis: 100%; }
.hd-doc figcaption .hd-dl span { opacity: 1; }
@media (max-width: 860px) {
  
  .hero-docs .hd-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; }
  .hd-phone .hd-lead { grid-column: 1 / -1; margin-bottom: 0; }
  .hd-phone .hd-doc:first-of-type { grid-column: 1 / -1; }
  .hd-phone .hd-doc:first-of-type .hd-open img { max-height: 240px; object-fit: cover; object-position: top; }
  .hd-phone .hd-doc:not(:first-of-type) .hd-open img { max-height: 110px; object-fit: cover; object-position: top; }
  .hd-phone .hd-doc figcaption { font-size: 12.5px; margin-top: 6px; }
}
@media (min-width: 861px) {
  .hero-docs .hd-desk { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
  .hd-desk .hd-lead { grid-column: 1 / -1; }
  .hd-desk .hd-doc:first-of-type { grid-column: 1 / -1; }
  .hd-desk .hd-doc:not(:first-of-type) .hd-open img { max-height: 150px; object-fit: cover; object-position: top; }
}
#hd-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(6, 12, 28, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
#hd-lb[hidden] { display: none; }
#hd-lb img { max-width: min(1000px, 96vw); max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
#hd-lb button { position: absolute; top: 14px; right: 16px; font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer; background: #fff; color: #0b2545; }

.hero--lead .hero-copy { max-width: 560px; }
.hero--lead .sub { max-width: 44ch; }
.lead-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.lead-form input {
  flex: 1 1 220px; min-width: 0; padding: 14px 16px; font: inherit; font-size: 1rem; border-radius: 12px;
  border: 1.5px solid #c7d3e6; background: #fff; color: var(--ink);
}
.lead-form input:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47, 127, 224, 0.25); }
.lead-form .btn { flex: 0 0 auto; animation: none; white-space: nowrap; }
.lead-hint { margin: 10px 0 0; font-size: 0.86rem; color: #cdd9ee; }
.hero--lead .form-msg { color: #ffd6d0; }
.hero--lead .form-msg.ok { color: #9fe3bd; }
.lead-final { text-align: center; max-width: 560px; margin: 0 auto; }
.lead-final .lead-form { justify-content: center; margin-left: auto; margin-right: auto; }
.lead-final .lead-hint { color: var(--muted); }
.lead-final .form-msg.err { color: #b3261e; }
.lead-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(3, 12, 36, 0.45); background: #fff; }
.checks--wide { max-width: 760px; margin: 22px auto 0; }
.lead-previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.lead-preview { margin: 0; }
.lead-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lead-preview figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.lead-download { margin-top: 22px; }
.lead-download .btn { animation: none; }
.lead-note { color: #cdd9ee; margin-top: 12px; }
.lead-note.ok { color: #9fe3bd; }
.lead-note.warn { color: #ffd6d0; }
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.offer-media img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg, 0 18px 44px rgba(14, 35, 80, 0.16)); }
.offer-copy h2 { margin-top: 4px; }
.offer-copy .checks { margin-top: 16px; }
.offer-copy .checks li b { color: var(--navy); }
.offer-faq { margin: 18px 0 6px; color: #3a4458; font-size: 0.96rem; }
.offer--library { grid-template-columns: 1fr; text-align: center; }
.offer--library .offer-copy { max-width: 640px; margin: 0 auto; }
.offer--library .hero-cta { justify-content: center; }
@media (max-width: 860px) {
  .hero--lead .hero-grid { grid-template-columns: 1fr; }
  .hero--lead .hero-media { order: 2; margin-top: 26px; }
  .lead-previews { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; gap: 22px; }
}

.inbox-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); max-width: 560px; }
.inbox-box p { margin: 0 0 8px; color: #e6eefb; font-size: 1rem; line-height: 1.55; }
.inbox-box .inbox-h { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.inbox-box .inbox-hint { font-size: 0.86rem; color: #b9c8e4; margin: 0; }
.inbox-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #2a85c6; display: grid; place-items: center; color: #fff; }
.inbox-ico svg { width: 24px; height: 24px; }
.offer-code { display: block; width: 100%; margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
.offer-price { margin-top: 18px; }
.offer-price .price-sale { font-size: 2rem; }
.hero--lead .hero-grid:has(.hero-copy--lead) { grid-template-columns: 1fr; }
.hero-copy--lead { max-width: 620px; }
.lead-media--inline { margin: 18px 0 6px; max-width: 620px; }
.lead-media--inline img { box-shadow: 0 14px 36px rgba(3, 12, 36, 0.4); }
