/* CheckCorrection 2026 design refresh */
*,
*::before,
*::after {
  letter-spacing: 0 !important;
}

:root {
  --white: #ffffff;
  --off: #f6fbfa;
  --off2: #edf7f5;
  --border: #d7e8e5;
  --border2: #b7d4cf;
  --ink: #092522;
  --ink2: #134e4a;
  --ink3: #436763;
  --muted: #718783;
  --accent: #0f766e;
  --accent-h: #0b5f59;
  --accent-soft: rgba(15, 118, 110, .09);
  --accent-border: rgba(15, 118, 110, .28);
  --accent-glow: rgba(20, 184, 166, .16);
  --blue: #0369a1;
  --blue-soft: rgba(3, 105, 161, .08);
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, .07);
  --danger-border: rgba(180, 35, 24, .2);
  --success: #087f5b;
  --success-soft: rgba(8, 127, 91, .08);
  --gold: #9a6700;
  --gold-soft: rgba(154, 103, 0, .08);
  --r: 8px;
  --r2: 8px;
  --shadow-sm: 0 1px 2px rgba(9, 37, 34, .05), 0 8px 18px rgba(9, 37, 34, .05);
  --shadow: 0 2px 8px rgba(9, 37, 34, .06), 0 18px 40px rgba(9, 37, 34, .08);
  --shadow-lg: 0 4px 14px rgba(9, 37, 34, .08), 0 30px 70px rgba(9, 37, 34, .12);
}

html {
  scroll-padding-top: 82px;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, #f7fcfb 0, #fff 430px),
    #fff;
  color: var(--ink);
  font-size: 16px;
}

body,
.btn,
input,
button,
textarea,
select {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.topbar {
  min-height: 64px;
  padding: 10px clamp(18px, 3vw, 42px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(183, 212, 207, .8);
  box-shadow: 0 8px 28px rgba(9, 37, 34, .05);
}

.topbar__brand,
.hero h1,
.h2,
.problem-section h2,
.usn2026 h2,
.fine-big,
.surface h2,
.about-hero h1,
.final-cta h2,
.popup-modal h3,
.law-modal h3,
.price-card__price,
.stat__n {
  font-family: "Lexend", "Segoe UI", Arial, sans-serif !important;
}

.topbar__brand {
  font-size: 18px;
  color: var(--ink);
}

.topbar__brand a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar__brand a::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 118, 110, .12);
  flex: 0 0 auto;
}

.topbar__brand a::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.topbar__brand span {
  color: var(--accent);
}

.topbar__nav a,
.topbar__timer,
.proof-chip,
.label,
.pcard-badge,
.stag,
.stag-green,
.case__tag,
.case__status {
  text-transform: none !important;
}

.topbar__nav a {
  color: var(--ink3);
  border: 1px solid transparent;
}

.topbar__nav a:hover,
.topbar__nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.topbar__timer {
  background: #f9fdfc;
  border-color: var(--border);
  color: var(--ink3);
}

.topbar__timer .ring {
  background: var(--success);
}

.topbar__cta,
.btn {
  border-radius: 8px;
  min-height: 44px;
  justify-content: center;
}

.topbar__cta,
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .22);
}

.topbar__cta:hover,
.btn--primary:hover {
  background: var(--accent-h);
  box-shadow: 0 14px 30px rgba(15, 118, 110, .28);
}

.btn--danger {
  background: var(--danger);
  box-shadow: 0 10px 24px rgba(180, 35, 24, .18);
}

.btn--ghost,
.btn--outline {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent-border);
}

.btn--ghost:hover,
.btn--outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-h);
}

.wrap,
.hero-inner,
.notice-inner,
.usn2026-inner {
  max-width: 1120px;
}

.hero {
  padding: clamp(56px, 7vw, 90px) 24px clamp(44px, 6vw, 72px);
  background:
    linear-gradient(135deg, #f8fdfc 0, #fff 52%, #eef9f7 100%);
  border-bottom: 1px solid var(--border);
}

.hero::after,
.about-hero::before,
.about-hero::after {
  display: none !important;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(36px, 5vw, 72px);
}

.hero__eyebrow {
  display: none !important;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 700;
}

.hero h1 .blue,
.h2 .bl {
  color: var(--accent);
}

.hero h1 .red,
.h2 em {
  color: var(--danger);
}

.hero__lead {
  max-width: 640px;
  color: var(--ink3);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.64;
}

.hero__phone,
.sub__phone {
  color: var(--accent) !important;
  text-decoration-color: rgba(15, 118, 110, .35) !important;
}

.hero__btns {
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero__btns .btn {
  width: auto;
  padding-inline: 24px;
  font-size: 15px;
}

.hero__proof {
  gap: 10px;
}

.proof-chip {
  min-height: 34px;
  padding: 7px 12px;
  color: var(--ink2);
  background: rgba(255, 255, 255, .78);
  border-color: var(--border);
}

.proof-chip .dot {
  background: var(--success);
}

.hero-card,
.fine-wrap,
.problem-card,
.sit-card,
.step,
.get-cell,
.case,
.stat,
.price-card,
.guarantee,
.surface,
.gallery__viewport,
.gallery__card,
.cta-band,
.popup-modal,
.law-modal,
.lightbox__panel {
  border-radius: 8px !important;
}

.hero-card {
  position: relative;
  padding: 28px;
  border-color: var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92)),
    #fff;
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.hero-card__head {
  padding-top: 4px;
}

.hero-card__status,
.case__status {
  background: var(--success-soft);
  border-color: rgba(8, 127, 91, .24);
  color: var(--success);
}

.hcr {
  min-height: 48px;
}

.hcr__label {
  color: var(--ink3);
}

.hcr__val {
  color: var(--ink);
}

.hcr__val.warn,
.fine-big {
  color: var(--danger);
}

.hcr__val.ok,
.case__val.ok {
  color: var(--success);
}

.notice {
  background: #fff7ed;
  border-color: #fed7aa;
}

.notice__text {
  color: #9a3412;
}

.usn2026,
.section--off,
.about-hero {
  background: linear-gradient(180deg, var(--off) 0, #fff 100%);
}

.section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.section--tight {
  padding-top: 40px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 5px 10px;
  margin-bottom: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.h2,
.problem-section h2,
.usn2026 h2,
.surface h2,
.about-hero h1 {
  color: var(--ink);
  line-height: 1.12;
}

.sub,
.surface p,
.surface li,
.about-lead,
.shots-lead {
  color: var(--ink3);
}

hr.div {
  border-top-color: var(--border);
}

.problem-section,
.section {
  background-color: transparent;
}

.problem-grid,
.sit-grid,
.get-grid,
.price-grid,
.stats-row {
  gap: 16px;
}

.problem-card,
.sit-card,
.get-cell,
.price-card,
.stat,
.surface {
  background: rgba(255, 255, 255, .92);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.problem-card:hover,
.sit-card:hover,
.price-card:hover,
.get-cell:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.problem-card h3,
.sit-card h3,
.get-cell h3,
.price-card h3,
.step h3,
.guarantee h3 {
  color: var(--ink);
}

.problem-card .go {
  color: var(--accent);
}

.fine-wrap {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.fine-table thead {
  background: var(--off2);
}

.fine-table th {
  color: var(--ink2);
}

.fine-table tbody tr:hover td {
  background: #f8fdfc;
}

.badge {
  border-radius: 8px;
}

.badge-warn {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: rgba(154, 103, 0, .2);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: var(--danger-border);
}

.sit-card__icon,
.guarantee__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
}

.sit-card__icon svg,
.guarantee__icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.steps-wrap {
  border-color: var(--border);
}

.step {
  border-color: var(--border);
}

.step__n,
.get-cell__num {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.case {
  border-color: var(--border);
}

.price-card--feat {
  border-color: var(--accent);
  box-shadow: 0 18px 46px rgba(15, 118, 110, .16);
}

.pcard-badge {
  border-radius: 8px;
}

.pb-blue {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(3, 105, 161, .2);
}

.pb-green {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(8, 127, 91, .22);
}

.guarantee {
  background: linear-gradient(135deg, #fff, var(--off));
  border-color: var(--border);
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(9, 37, 34, .94), rgba(15, 118, 110, .92)),
    var(--ink);
}

.final-cta .label {
  color: #c8fff4;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
}

.footer {
  background: #071f1d;
}

.about-pills span,
.note,
.steps li,
.gallery__viewport,
.gallery__card,
.cta-band {
  border-radius: 8px;
  border-color: var(--border);
}

.surface__mark {
  background: linear-gradient(180deg, var(--accent), var(--blue));
}

.gallery__nav,
.lightbox__close,
.lightbox__arr,
.law-modal__close,
.popup-modal__close,
.fine-info {
  border-radius: 8px;
}

.gallery__nav,
.lightbox__arr {
  color: var(--accent);
}

.gallery__nav:hover,
.lightbox__arr:hover {
  background: var(--accent);
  border-color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(20, 184, 166, .38);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body {
    padding-top: 88px;
  }

  .topbar {
    min-height: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .problem-grid,
  .price-grid,
  .get-grid,
  .sit-grid,
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 104px;
  }

  .topbar {
    align-items: center;
    padding: 10px 14px;
  }

  .topbar__brand {
    flex: 1 1 auto;
  }

  .topbar__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .topbar__nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .topbar__timer {
    display: none;
  }

  .topbar__cta {
    padding-inline: 12px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero__btns,
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btns .btn,
  .btn-row .btn {
    width: 100%;
  }

  .hero-card {
    padding: 22px 18px;
  }

  .hcr {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .problem-grid,
  .price-grid,
  .get-grid,
  .sit-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .fine-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .fine-table {
    min-width: 680px;
  }

  .fine-wrap + .t-center .btn,
  .section .t-center .btn--danger {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .section {
    padding-block: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
