:root {
  --gold: #d8a34a;
  --gold-bright: #f1c26d;
  --dark: #2a2321;
  --dark-2: #1d1816;
  --cream: #f6f1e6;
  --light: #f9f6f0;
  --text: #2c2521;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  --card-btn-primary-bg: #23a58a;
  --card-btn-primary-color: #fff;
  --card-btn-primary-border: 1px solid transparent;
  --card-btn-primary-shadow: 0 10px 24px rgba(35, 165, 138, 0.28);
  --card-btn-primary-hover-shadow: 0 14px 28px rgba(35, 165, 138, 0.36);
  --card-btn-buy-bg: #e7b34d;
  --card-btn-buy-color: #5c3507;
  --card-btn-buy-border: 1px solid transparent;
  --card-btn-buy-shadow: 0 10px 24px rgba(216, 153, 53, 0.3);
  --card-btn-buy-hover-shadow: 0 14px 28px rgba(216, 153, 53, 0.38);
}

/* Add this to a page: @section('body_class', 'btn-theme-aurora') */
body.btn-theme-aurora {
  --card-btn-primary-bg: linear-gradient(135deg, #0ea7a5 0%, #1f9fda 100%);
  --card-btn-primary-color: #f5ffff;
  --card-btn-primary-shadow: 0 10px 24px rgba(24, 147, 182, 0.3);
  --card-btn-primary-hover-shadow: 0 14px 28px rgba(24, 147, 182, 0.38);
  --card-btn-buy-bg: #ffad4a;
  --card-btn-buy-color: #4f2b07;
  --card-btn-buy-shadow: 0 10px 24px rgba(255, 139, 47, 0.3);
  --card-btn-buy-hover-shadow: 0 14px 28px rgba(255, 139, 47, 0.38);
}

body.btn-theme-berry {
  --card-btn-primary-bg: linear-gradient(135deg, #29465f 0%, #1d6f79 100%);
  --card-btn-primary-color: #effbff;
  --card-btn-primary-shadow: 0 10px 24px rgba(36, 90, 109, 0.32);
  --card-btn-primary-hover-shadow: 0 14px 28px rgba(36, 90, 109, 0.4);
  --card-btn-buy-bg: #ff556f;
  --card-btn-buy-color: #fff4f6;
  --card-btn-buy-shadow: 0 10px 24px rgba(255, 84, 111, 0.32);
  --card-btn-buy-hover-shadow: 0 14px 28px rgba(255, 84, 111, 0.4);
}

body.btn-theme-forest {
  --card-btn-primary-bg: linear-gradient(135deg, #2f8f62 0%, #1e7f7f 100%);
  --card-btn-primary-color: #f3fff8;
  --card-btn-primary-shadow: 0 10px 24px rgba(38, 132, 104, 0.32);
  --card-btn-primary-hover-shadow: 0 14px 28px rgba(38, 132, 104, 0.4);
  --card-btn-buy-bg: #e5b24f;
  --card-btn-buy-color: #5a3507;
  --card-btn-buy-shadow: 0 10px 24px rgba(214, 157, 49, 0.32);
  --card-btn-buy-hover-shadow: 0 14px 28px rgba(214, 157, 49, 0.4);
}

body.btn-theme-ink {
  --card-btn-primary-bg: linear-gradient(135deg, #f7fafc 0%, #eaf1f8 100%);
  --card-btn-primary-color: #1a2b3d;
  --card-btn-primary-border: 1px solid rgba(26, 43, 61, 0.18);
  --card-btn-primary-shadow: 0 10px 24px rgba(26, 43, 61, 0.14);
  --card-btn-primary-hover-shadow: 0 14px 28px rgba(26, 43, 61, 0.22);
  --card-btn-buy-bg: #263244;
  --card-btn-buy-color: #f5f8ff;
  --card-btn-buy-border: 1px solid rgba(255, 255, 255, 0.06);
  --card-btn-buy-shadow: 0 10px 24px rgba(20, 28, 38, 0.32);
  --card-btn-buy-hover-shadow: 0 14px 28px rgba(20, 28, 38, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Kanit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #f6eddc 0%, rgba(246, 237, 220, 0) 55%),
    linear-gradient(180deg, #f8f3ea 0%, #efe6d6 55%, #f7f5f1 100%);
  min-height: 100vh;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--dark) 0%, #362c27 60%, var(--dark) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  text-decoration: none !important;
}

.brand-mark {
  font-family: "Cinzel", serif;
  font-size: 30px;
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(216, 163, 74, 0.6);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 12px rgba(216, 163, 74, 0.3);
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.brand-text {
  line-height: 1;
  text-decoration: none !important;
}

.brand-title {
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(216, 163, 74, 0.7);
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(216, 163, 74, 0.4);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #f2e7d4;
  display: block;
  border-radius: 999px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px 18px;
  background: linear-gradient(90deg, var(--dark) 0%, #362c27 60%, var(--dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile__link {
  color: #f2e7d4;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-mobile__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-bright);
}

.nav-link {
  color: #f2e7d4;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
  color: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: 420px;
  padding: 80px 0 90px;
  color: #fff;
  background-image: url("../images/home_banner.jpg");
  background-size: cover;
  background-position: 82% center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 18, 8, 0.55) 0%, rgba(30, 18, 8, 0.25) 45%, rgba(30, 18, 8, 0) 78%),
    radial-gradient(circle at left, rgba(255, 215, 140, 0.22) 0%, rgba(255, 215, 140, 0) 55%);
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-left {
  max-width: 520px;
  display: grid;
  gap: 14px;
  animation: fadeUp 0.8s ease both;
}

.hero-kicker {
  font-size: 20px;
  color: #ffe0a6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-form {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.hero-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-input {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.hero-input input {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}

.hero-input input[aria-invalid="true"] {
  box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.32);
}

.hero-input button {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #3a2b1c;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 163, 74, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(216, 163, 74, 0.4);
}

.hero-help,
.hero-error {
  font-size: 13px;
}

.hero-help {
  color: rgba(255, 255, 255, 0.72);
}

.hero-error {
  color: #ffd6d6;
}

.evaluate-hero {
  position: relative;
  z-index: 0;
  min-height: 420px;
  padding: 80px 0 90px;
  color: #fff;
  background-image: url("../images/evaluate_banner.jpg");
  background-size: cover;
  background-position: 40% 25%;
  overflow: hidden;
}

.good-number-hero {
  position: relative;
  min-height: 420px;
  padding: 80px 0 90px;
  color: #fff;
  background-image: url("../images/good_number_banner.jpg");
  background-size: cover;
  background-position: 40% 30%;
  overflow: hidden;
}

.numbers-hero {
  position: relative;
  min-height: 420px;
  padding: 80px 0 90px;
  color: #fff;
  background-image: url("../images/home_banner.jpg");
  background-size: cover;
  background-position: 82% center;
  overflow: hidden;
}

.evaluate-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 22, 14, 0.35) 0%, rgba(33, 22, 14, 0.12) 50%, rgba(33, 22, 14, 0) 82%),
    radial-gradient(circle at left, rgba(255, 215, 140, 0.22) 0%, rgba(255, 215, 140, 0) 60%);
  pointer-events: none;
}

.good-number-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 22, 18, 0.34) 0%, rgba(25, 22, 18, 0.16) 50%, rgba(25, 22, 18, 0.34) 100%),
    radial-gradient(circle at center, rgba(255, 215, 140, 0.12) 0%, rgba(255, 215, 140, 0) 62%);
  pointer-events: none;
}

.numbers-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 16, 10, 0.64) 0%, rgba(24, 16, 10, 0.3) 48%, rgba(24, 16, 10, 0.08) 76%),
    radial-gradient(circle at left, rgba(255, 212, 130, 0.18) 0%, rgba(255, 212, 130, 0) 60%);
  pointer-events: none;
}

.evaluate-hero--danger .evaluate-overlay {
  background:
    linear-gradient(90deg, rgba(70, 10, 10, 0.6) 0%, rgba(70, 10, 10, 0.3) 55%, rgba(0, 0, 0, 0) 82%),
    radial-gradient(circle at left, rgba(255, 120, 120, 0.3) 0%, rgba(255, 120, 120, 0) 60%);
}

.evaluate-hero__content {
  position: relative;
  z-index: 1;
}

.good-number-hero__content {
  position: relative;
  z-index: 1;
}

.numbers-hero__content {
  position: relative;
  z-index: 1;
}

.evaluate-hero__text {
  max-width: 520px;
  display: grid;
  gap: 10px;
}

.good-number-hero__text {
  max-width: 520px;
  display: grid;
  gap: 10px;
}

.good-number-hero__kicker {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 247, 235, 0.92);
}

.numbers-hero__text {
  max-width: 540px;
  display: grid;
  gap: 10px;
}

.evaluate-kicker {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f9dca0;
}

.evaluate-hero__text h1 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
}

.good-number-hero__text h1 {
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.good-number-hero__title-text,
.good-number-hero__title-number {
  display: block;
}

.good-number-hero__title-number {
  font-size: 0.9em;
  letter-spacing: -0.025em;
  color: rgba(255, 249, 242, 0.98);
}

.numbers-hero__text h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.evaluate-hero__text p {
  color: rgba(255, 255, 255, 0.85);
}

.good-number-hero__text p {
  color: rgba(255, 255, 255, 0.85);
}

.good-number-hero__lead {
  margin: 8px 0 0;
  max-width: 34ch;
  font-size: clamp(18px, 1.65vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: rgba(255, 248, 240, 0.92);
  text-wrap: pretty;
}

.numbers-hero__text p {
  color: rgba(255, 255, 255, 0.88);
}

.good-number-results {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, #f6f1e6 0%, #efe4d2 60%, #f7f5f1 100%);
}

.tier-hero {
  position: relative;
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(120deg, #2a2321 0%, #3b2f2a 48%, #2a2321 100%);
  overflow: hidden;
}

.tier-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(216, 163, 74, 0.35) 0%, rgba(216, 163, 74, 0) 55%),
    radial-gradient(circle at 80% 20%, rgba(160, 160, 160, 0.25) 0%, rgba(160, 160, 160, 0) 60%);
}

.tier-hero__content {
  position: relative;
  z-index: 1;
}

.tier-hero__text {
  max-width: 640px;
  display: grid;
  gap: 12px;
}

.tier-kicker {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.tier-hero__text h1 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
}

.tier-hero__text p {
  color: rgba(255, 255, 255, 0.8);
}

.tier-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tier-legend__item {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.tier-legend__item--silver {
  background: rgba(168, 107, 63, 0.22);
  border-color: rgba(168, 107, 63, 0.45);
}

.tier-legend__item--gold {
  background: rgba(216, 163, 74, 0.25);
  border-color: rgba(216, 163, 74, 0.5);
}

.tier-legend__item--platinum {
  background: rgba(190, 208, 223, 0.25);
  border-color: rgba(190, 208, 223, 0.45);
}

.tier-section {
  padding: 60px 0 90px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tier-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 34px rgba(32, 24, 18, 0.12);
  border: 1px solid rgba(216, 163, 74, 0.12);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.tier-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
  opacity: 0.4;
  pointer-events: none;
}

.tier-card--silver {
  border-color: rgba(168, 107, 63, 0.42);
}

.tier-card--gold {
  border-color: rgba(216, 163, 74, 0.45);
}

.tier-card--platinum {
  border-color: rgba(162, 182, 196, 0.45);
}

.tier-medal {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #2a2321;
  background: linear-gradient(135deg, #efc69f, #b77845);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.08);
}

.tier-card--gold .tier-medal {
  background: linear-gradient(135deg, #f6d28b, #d29a3e);
}

.tier-card--platinum .tier-medal {
  background: linear-gradient(135deg, #e9eef3, #b0c2cf);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.06);
  color: #4a3a32;
}

.tier-name {
  font-size: 22px;
  margin-top: 8px;
}

.tier-price {
  font-size: 18px;
  font-weight: 600;
  color: #3b2f27;
  margin-top: 6px;
}

.tier-features {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #6a5c52;
  font-size: 14px;
}

.tier-features li::before {
  content: "•";
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}

.tier-cta {
  justify-self: start;
  background: #2aa879;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.tier-cta:hover {
  transform: translateY(-2px);
}

.evaluate-results {
  position: relative;
  z-index: 1;
  padding: 60px 0 90px;
  background-color: #f7f5f1;
  background: linear-gradient(180deg, #f6f1e6 0%, #efe4d2 60%, #f7f5f1 100%);
}

.evaluate-results--danger {
  background-color: #f7ede7;
  background: linear-gradient(180deg, #f7ede7 0%, #f3ddd6 55%, #f7f5f1 100%);
}

.evaluate-results > .container {
  position: relative;
  z-index: 1;
}

.evaluate-summary {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 24px;
  box-shadow: 0 16px 30px rgba(32, 24, 18, 0.12);
  border: 1px solid rgba(216, 163, 74, 0.15);
}

.summary-number {
  background: linear-gradient(135deg, #0f6b57, #1f9d7c);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.summary-number span {
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.summary-number strong {
  font-size: clamp(28px, calc((100% - 8px) / 6.3), 56px);
  letter-spacing: 0;
  line-height: 1.1;
  width: 100%;
  text-align: center;
  display: block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.summary-number small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.summary-order-btn {
  width: 100%;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: #5c3507;
  background: linear-gradient(135deg, #f9dc9e 0%, #efbc5a 55%, #d89935 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 16px rgba(231, 169, 72, 0.26);
}

.summary-order-btn:hover {
  transform: translateY(-2px);
}

.summary-number--danger {
  background: linear-gradient(135deg, #7a1e1e, #b63a3a);
  box-shadow: 0 12px 26px rgba(200, 70, 70, 0.35);
}

.summary-body h2 {
  font-size: 22px;
  color: #3b2f27;
  margin-bottom: 8px;
}

.summary-body p {
  color: #6a5c52;
  line-height: 1.6;
}

.summary-warning {
  margin-top: 10px;
  color: #8d2a2a;
  background: rgba(255, 96, 96, 0.12);
  border: 1px solid rgba(255, 96, 96, 0.25);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.badge-good {
  background: rgba(35, 165, 138, 0.15);
  color: #1f8a70;
  border: 1px solid rgba(35, 165, 138, 0.25);
}

.badge-alert {
  background: linear-gradient(135deg, #d45548 0%, #b9362f 100%);
  color: #fff4f1;
  border: 1px solid rgba(165, 34, 27, 0.42);
  box-shadow: 0 6px 14px rgba(185, 54, 47, 0.18);
}

.danger-banner {
  margin-top: 22px;
  background: linear-gradient(135deg, #7a1e1e, #b63a3a);
  color: #fff6f2;
  padding: 18px 20px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 16px 30px rgba(200, 70, 70, 0.35);
  border: 1px solid rgba(255, 210, 200, 0.35);
}

.danger-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.danger-banner h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.danger-banner p {
  color: rgba(255, 228, 221, 0.85);
  line-height: 1.6;
}

.insight-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.insight-tag {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf8f4 0%, #dff1eb 100%);
  color: #168975;
  border: 2px solid rgba(95, 198, 173, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(44, 135, 115, 0.08);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-neutral {
  background: rgba(216, 163, 74, 0.15);
  color: #a36d1a;
  border: 1px solid rgba(216, 163, 74, 0.3);
}

.evaluate-highlight {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.highlight-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 20px rgba(32, 24, 18, 0.08);
  border: 1px solid rgba(216, 163, 74, 0.12);
}

.highlight-card h3 {
  font-size: 18px;
  color: #3b2f27;
  margin-bottom: 6px;
}

.highlight-card p {
  color: #6a5c52;
  font-size: 14px;
  line-height: 1.6;
}

.pair-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pair-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 22px rgba(32, 24, 18, 0.1);
  border: 1px solid rgba(216, 163, 74, 0.12);
  display: grid;
  gap: 10px;
  position: relative;
}

.pair-score {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  font-weight: 600;
  color: #fff;
  background: #23a58a;
}

.pair-card.is-alert .pair-score {
  background: #f0b54d;
  color: #3b2f27;
}

.pair-card.is-danger {
  background: linear-gradient(135deg, #7a1e1e, #b63a3a);
  border: 1px solid rgba(255, 210, 200, 0.4);
  color: #fff6f2;
  box-shadow: 0 18px 30px rgba(200, 70, 70, 0.32);
}

.pair-card.is-danger h4,
.pair-card.is-danger p {
  color: #ffe4dd;
}

.pair-card.is-danger .pair-score {
  background: #ff6b5a;
  color: #fff;
}

.pair-card.is-danger::after {
  content: \"ALERT\";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pair-card.is-good .pair-score {
  background: #2aa879;
}

.pair-card.is-neutral .pair-score {
  background: #f0b54d;
  color: #3b2f27;
}

.pair-card h4 {
  color: #3b2f27;
  font-size: 16px;
  text-align: center;
}

.pair-card p {
  color: #6a5c52;
  font-size: 14px;
  line-height: 1.5;
}

.evaluate-cta {
  margin-top: 32px;
  background: #2a2321;
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.evaluate-cta h3 {
  margin-bottom: 6px;
}

.evaluate-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #3a2b1c;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.evaluate-cta--danger {
  background: linear-gradient(135deg, #5b1f1f, #8f2f2f);
  border: 1px solid rgba(255, 200, 190, 0.25);
}

.recommend-section {
  margin-top: 36px;
}

.recommend-section h2 {
  font-size: 22px;
  color: #3b2f27;
  margin-bottom: 18px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.site-footer {
  background: linear-gradient(135deg, #221c19 0%, #2f2622 55%, #211a17 100%);
  color: #f2e7d4;
  padding: 44px 0 50px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(180px, 220px) minmax(180px, 220px) minmax(260px, 1fr) minmax(200px, 240px);
  gap: 28px;
  align-items: start;
}

.brand--footer .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.brand--footer .brand-title {
  font-size: 17px;
}

.brand--footer .brand-sub {
  letter-spacing: 0.28em;
}

.footer-note {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(242, 231, 212, 0.75);
  line-height: 1.6;
}

.footer-contact h3,
.footer-social h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f4d7a2;
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f4d7a2;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(242, 231, 212, 0.85);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff1cc;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(242, 231, 212, 0.85);
  margin-bottom: 8px;
}

.footer-contact a {
  color: #f4d7a2;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff1cc;
}

.footer-copy {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(242, 231, 212, 0.6);
}

.footer-social {
  display: grid;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2e7d4;
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.social-pill.line .social-icon {
  background: #2dbb45;
}

.social-pill.facebook .social-icon {
  background: #2b4a8f;
  font-size: 16px;
  font-weight: 700;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 16px;
}

.footer-bottom__content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(242, 231, 212, 0.65);
}

.numbers {
  padding: 64px 0 80px;
}

.numbers-catalog-page {
  padding: 28px 0 84px;
  background: transparent;
}

.numbers-catalog-shell {
  width: min(1120px, 100%);
}

.numbers-catalog-toolbar {
  padding: 8px 0 28px;
}

.numbers-filter-form {
  display: grid;
  gap: 16px;
}

.numbers-filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 24px rgba(45, 33, 24, 0.08);
}

.numbers-filter-modes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.numbers-filter-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4f1eb;
  border: 1px solid rgba(73, 61, 52, 0.08);
}

.numbers-filter-card--sequence {
  align-content: start;
}

.numbers-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #3f342d;
}

.numbers-filter-input,
.numbers-filter-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(73, 61, 52, 0.18);
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  color: #3b3028;
  font-family: inherit;
  font-size: 14px;
}

.numbers-position-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.numbers-position-prefix,
.numbers-position-digit {
  min-height: 50px;
  border: 1px solid rgba(73, 61, 52, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #3b3028;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.numbers-position-prefix {
  width: 72px;
  padding: 10px 8px;
}

.numbers-position-digit {
  width: 38px;
  padding: 10px 4px;
}

.numbers-position-separator {
  color: #4e433c;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.numbers-filter-divider {
  align-self: center;
  min-width: 56px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(216, 163, 74, 0.14);
  color: #8f6422;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.numbers-filter-actions {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.56) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.numbers-filter-actions__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.numbers-filter-actions__note {
  color: #6a5c52;
  font-size: 12px;
  line-height: 1.5;
}

.numbers-filter-select {
  min-width: 220px;
}

.numbers-filter-submit {
  min-height: 44px;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  background: linear-gradient(120deg, var(--dark-2), #46372b);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.numbers-filter-submit:hover {
  opacity: 0.94;
}

.numbers-filter-hint {
  margin: -4px 0 18px;
  color: #6a5c52;
  font-size: 13px;
}

.numbers-catalog-title {
  margin-bottom: 24px;
}

.numbers-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.number-card--catalog {
  padding: 16px;
  gap: 10px;
}

.number-card--catalog .card-top {
  font-size: 18px;
  padding: 8px 10px;
}

.number-card--catalog .card-body {
  font-size: 14px;
}

.number-card--catalog .card-btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.numbers-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.numbers-pagination__link {
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(73, 61, 52, 0.12);
  background: #fff;
  color: #3b3028;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.numbers-pagination__link {
  cursor: pointer;
}

.numbers-pagination__link.is-active {
  background: linear-gradient(135deg, #f9dc9e 0%, #efbc5a 55%, #d89935 100%);
  color: #5c3507;
  border-color: rgba(216, 153, 53, 0.25);
}

.numbers-pagination__link.is-disabled {
  background: rgba(255, 255, 255, 0.65);
  color: #9b9084;
  pointer-events: none;
}

.under-construction-page,
.under-construction-page body {
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 176, 82, 0.2) 0%, rgba(232, 176, 82, 0) 34%),
    radial-gradient(circle at 85% 22%, rgba(173, 62, 62, 0.22) 0%, rgba(173, 62, 62, 0) 30%),
    linear-gradient(135deg, #211917 0%, #332521 48%, #221a18 100%);
}

body.under-construction-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 176, 82, 0.2) 0%, rgba(232, 176, 82, 0) 34%),
    radial-gradient(circle at 85% 22%, rgba(173, 62, 62, 0.22) 0%, rgba(173, 62, 62, 0) 30%),
    linear-gradient(135deg, #211917 0%, #332521 48%, #221a18 100%);
}

body.under-construction-page main {
  min-height: 100vh;
  background: transparent;
}

.under-construction {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 84px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 176, 82, 0.2) 0%, rgba(232, 176, 82, 0) 34%),
    radial-gradient(circle at 85% 22%, rgba(173, 62, 62, 0.22) 0%, rgba(173, 62, 62, 0) 30%),
    linear-gradient(135deg, #211917 0%, #332521 48%, #221a18 100%);
}

.under-construction__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.6;
  pointer-events: none;
}

.under-construction__glow--left {
  top: 72px;
  left: -140px;
  background: radial-gradient(circle, rgba(240, 187, 92, 0.38) 0%, rgba(240, 187, 92, 0) 72%);
}

.under-construction__glow--right {
  right: -120px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(168, 55, 55, 0.34) 0%, rgba(168, 55, 55, 0) 72%);
}

.under-construction__card {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 52px 48px;
  border: 1px solid rgba(244, 209, 144, 0.14);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff9f0;
  text-align: center;
}

.under-construction__eyebrow {
  margin: 0 0 14px;
  color: #f2c469;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.under-construction__card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.under-construction__lead {
  width: min(100%, 860px);
  margin: 22px auto 0;
  color: rgba(255, 248, 239, 0.82);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.under-construction__status {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 196, 105, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f9ddb0;
  font-weight: 600;
}

.under-construction__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #efb446;
  box-shadow: 0 0 0 6px rgba(239, 180, 70, 0.18);
}

.under-construction__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.under-construction__contact {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.under-construction__contact-card {
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(248, 232, 206, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff7ea;
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.under-construction__contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 196, 105, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.under-construction__contact-card strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.under-construction__contact-card--line strong {
  color: #8ef0a6;
}

.under-construction__contact-label {
  color: rgba(255, 242, 226, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.under-construction__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 54px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.under-construction__btn:hover {
  transform: translateY(-1px);
}

.under-construction__btn--primary {
  background: linear-gradient(135deg, #f2c469 0%, #e2a63d 100%);
  color: #472c11;
  box-shadow: 0 14px 30px rgba(226, 166, 61, 0.24);
}

.under-construction__btn--secondary {
  border: 1px solid rgba(248, 232, 206, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff6ea;
}

.section-title {
  text-align: left;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: 26px;
  color: #3b2f27;
}

.section-title p {
  color: #7a6b5e;
  font-size: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.number-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(32, 24, 18, 0.1);
  display: grid;
  gap: 12px;
  text-align: center;
  border: 1px solid rgba(216, 163, 74, 0.2);
  animation: cardRise 0.7s ease both;
}

.number-card .card-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}

.number-card:nth-child(2) {
  animation-delay: 0.05s;
}

.number-card:nth-child(3) {
  animation-delay: 0.1s;
}

.number-card:nth-child(4) {
  animation-delay: 0.15s;
}

.number-card:nth-child(5) {
  animation-delay: 0.2s;
}

.number-card:nth-child(6) {
  animation-delay: 0.25s;
}

.number-card:nth-child(7) {
  animation-delay: 0.3s;
}

.number-card:nth-child(8) {
  animation-delay: 0.35s;
}

.card-top {
  background: linear-gradient(120deg, var(--dark-2), #46372b);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.06em;
}

.card-body {
  display: grid;
  gap: 4px;
  color: #5a4b3e;
}

.card-meta-stack {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}

.card-meta-stack .card-tier {
  margin: 0;
  letter-spacing: 0.08em;
}

.card-meta-plan {
  font-size: 18px;
  line-height: 1.3;
}

.card-meta-price {
  font-weight: 600;
}

.card-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  width: fit-content;
  border: 1px solid transparent;
  margin: 0 auto;
}

.card-tier--silver {
  background: linear-gradient(135deg, #f3d2b1 0%, #cf8f58 55%, #a86b3f 100%);
  color: #593116;
  border-color: rgba(150, 88, 47, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.card-tier--gold {
  background: linear-gradient(135deg, #ffe7ae 0%, #f7c766 55%, #e7a948 100%);
  color: #6a3f06;
  border-color: rgba(231, 169, 72, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 16px rgba(231, 169, 72, 0.26);
}

.card-tier--platinum {
  background: linear-gradient(135deg, #f5f9ff 0%, #d6e3f1 55%, #b9c9dc 100%);
  color: #2f3b48;
  border-color: rgba(140, 165, 186, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(180, 205, 230, 0.45),
    0 10px 20px rgba(150, 180, 210, 0.25);
}

.card-tier--network {
  border: none;
  border-radius: 0;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.card-tier--network .card-network-main {
  background: transparent;
  background-image: linear-gradient(90deg, #ed1d24 0%, #f04e67 40%, #1b74e8 78%, #4aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.card-tier--network .card-network-suffix {
  color: #2c2521;
  -webkit-text-fill-color: #2c2521;
  background: none;
  text-transform: none;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 500;
  margin-left: 10px;
}

.card-icons {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.2em;
}

.numbers-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6f6257;
  font-size: 16px;
}

.card-btn {
  border: var(--card-btn-primary-border);
  border-radius: 999px;
  background: var(--card-btn-primary-bg);
  color: var(--card-btn-primary-color);
  box-shadow: var(--card-btn-primary-shadow);
  padding: 12px 26px;
  min-height: 52px;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-btn-primary-hover-shadow);
  filter: saturate(1.04);
}

.card-btn:disabled,
.card-btn[disabled] {
  background: #c7c7c7;
  border-color: transparent;
  color: #6a6a6a;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

.card-btn:disabled:hover,
.card-btn[disabled]:hover {
  transform: none;
  box-shadow: none;
  filter: none;
}

.card-btn--buy {
  background: var(--card-btn-buy-bg);
  color: var(--card-btn-buy-color);
  border: var(--card-btn-buy-border);
  box-shadow: var(--card-btn-buy-shadow);
}

.card-btn--buy:hover {
  box-shadow: var(--card-btn-buy-hover-shadow);
}

.book-page {
  padding: 56px 0 84px;
}

.book-head h1 {
  font-size: clamp(28px, 4vw, 36px);
  color: #2f2924;
}

.book-head p {
  margin-top: 8px;
  color: #6f6257;
}

.book-steps {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.book-step {
  background: #fff;
  border: 1px solid rgba(216, 163, 74, 0.2);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}

.book-step.is-active {
  border-color: rgba(35, 165, 138, 0.5);
  box-shadow: 0 10px 20px rgba(35, 165, 138, 0.14);
}

.book-step__index {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #23a58a;
  color: #fff;
}

.book-step h2 {
  margin: 0;
  font-size: 16px;
  color: #2f2924;
}

.book-step p {
  margin-top: 4px;
  font-size: 13px;
  color: #6f6257;
}

.book-form {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.book-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(216, 163, 74, 0.2);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(32, 24, 18, 0.08);
}

.book-card h3 {
  font-size: 20px;
  color: #2f2924;
}

.book-card-step.is-hidden {
  display: none;
}

.book-wizard-actions {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.book-wizard-actions--outside {
  margin-top: 2px;
}

.book-wizard-actions--next {
  justify-content: flex-end;
}

.book-note {
  margin-top: 8px;
  color: #6f6257;
}

.book-save-banner {
  margin-top: 14px;
  border: 1px solid rgba(35, 165, 138, 0.35);
  background: linear-gradient(135deg, #23a58a, #1c8f78);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 24px rgba(35, 165, 138, 0.22);
}

.book-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.book-grid label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #4b3d33;
}

.book-network-line {
  margin: 0;
  color: #4b3d33;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.book-network-row {
  margin: -2px 0 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.book-grid .book-network-select-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #4b3d33;
  margin: 0;
  white-space: nowrap;
}

.book-grid .book-network-select-label select {
  width: 260px;
  min-width: 220px;
  min-height: 52px;
  font-size: 20px;
}

.network-brand-gradient {
  background-image: linear-gradient(90deg, #ed1d24 0%, #f04e67 42%, #1771e6 80%, #50a9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.address-section-title {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #2f2924;
  margin: 8px 0;
}

.book-grid input,
.book-grid select,
.book-grid textarea {
  width: 100%;
  border: 1px solid #d8d0c6;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Kanit", sans-serif;
  font-size: 15px;
  color: #322a25;
  background: #fffdf8;
}

.book-grid input:focus,
.book-grid select:focus,
.book-grid textarea:focus {
  outline: none;
  border-color: #23a58a;
  box-shadow: 0 0 0 3px rgba(35, 165, 138, 0.15);
}

.book-grid input[readonly] {
  background: #f3efe8;
  color: #4e4339;
  font-weight: 600;
  cursor: not-allowed;
}

.book-help {
  color: #7a6b5d;
  font-size: 12px;
}

.book-help--warning {
  color: #b54708;
  font-weight: 600;
}

.address-autocomplete {
  position: relative;
}

.address-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  border: 1px solid #c9c1b6;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(22, 16, 12, 0.18);
  z-index: 30;
  max-height: 240px;
  overflow-y: auto;
}

.address-suggest__item {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  color: #2f2924;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}

.address-suggest__item:hover {
  background: #edf7f2;
}

.package-preview {
  border: 1px solid rgba(35, 165, 138, 0.28);
  background: linear-gradient(180deg, #f8fffc 0%, #f3faf7 100%);
  border-radius: 12px;
  padding: 14px;
}

.package-preview h4 {
  color: #215143;
  font-size: 18px;
}

.package-preview__name {
  color: #2f6454;
  font-weight: 600;
  margin-bottom: 4px;
}

.package-preview__grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.package-preview__grid div {
  background: #fff;
  border: 1px solid #d9ebe4;
  border-radius: 10px;
  padding: 10px;
}

.package-preview__grid span {
  display: block;
  font-size: 12px;
  color: #5d736a;
}

.package-preview__grid strong {
  display: block;
  margin-top: 4px;
  color: #244a3f;
  font-size: 15px;
}

.package-conditions {
  margin-top: 12px;
}

.package-conditions__title {
  font-weight: 600;
  color: #38564c;
}

.package-conditions ul {
  margin-top: 6px;
  padding-left: 18px;
  color: #5c695f;
  font-size: 14px;
}

.package-conditions li + li {
  margin-top: 4px;
}

.book-grid .full {
  grid-column: 1 / -1;
}

.step2-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 14px;
  align-items: start;
}

.step2-upload label {
  display: grid;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: #2f2924;
}

.slip-upload-row {
  position: relative;
}

.slip-upload-input {
  width: 100%;
  border: 2px solid #d7cec3;
  border-radius: 14px;
  padding: 14px 56px 14px 14px;
  font-size: 18px;
  background: #fffdf8;
  color: #2f2924;
}

.slip-upload-input::file-selector-button {
  border: 0;
  border-radius: 10px;
  background: #2ba08a;
  color: #fff;
  padding: 10px 14px;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.slip-upload-input:hover::file-selector-button {
  background: #248c79;
}

.slip-upload-input:focus {
  outline: none;
  border-color: #23a58a;
  box-shadow: 0 0 0 4px rgba(35, 165, 138, 0.14);
}

.slip-clear-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #cf4e4e;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.slip-clear-btn:hover {
  background: #b63f3f;
}

.bank-account-box {
  margin-bottom: 12px;
  border: 1px solid #d9ebe4;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

.bank-account-box h4 {
  font-size: 18px;
  color: #234b3f;
}

.bank-account-box p {
  margin: 6px 0 0;
}

.bank-account-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bank-account-box span {
  display: inline-block;
  min-width: 84px;
  color: #5d736a;
  font-size: 13px;
}

.bank-account-box strong {
  color: #2d2a25;
  font-size: 16px;
}

.bank-account-no {
  color: #0f3fbf;
  letter-spacing: 0.5px;
}

.bank-copy-btn {
  border: 1px solid #2ba08a;
  background: #f4fffb;
  color: #1d6f5f;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.bank-copy-btn:hover {
  background: #e9faf4;
}

.bank-copy-hint {
  display: block;
  margin-top: 6px;
  color: #1f775f;
  font-size: 12px;
  min-height: 16px;
}

.step2-summary {
  border: 1px solid #d6ece4;
  background: linear-gradient(180deg, #f7fffc 0%, #f2faf7 100%);
  border-radius: 12px;
  padding: 12px;
}

.step2-summary h4 {
  font-size: 18px;
  color: #205346;
}

.step2-summary__grid {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.step2-summary__grid p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d9ebe4;
  background: #fff;
}

.step2-summary__grid span {
  display: block;
  font-size: 12px;
  color: #617b71;
}

.step2-summary__grid strong {
  display: block;
  margin-top: 2px;
  color: #244a3f;
  font-size: 14px;
  word-break: break-word;
}

.support-contact-box {
  margin-top: 16px;
  border: 0;
  border-radius: 0;
  padding: 28px 18px;
  background: transparent;
}

.support-contact-box__title {
  margin: 0;
  color: #171717;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
  text-align: center;
}

.support-contact-box__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.support-contact-box__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #bfe3d5;
  background: #eef9f4;
  color: #1f6f5d;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(30, 36, 34, 0.08);
}

.support-contact-box__actions a:hover {
  background: #dff3eb;
}

.support-contact-box__line {
  min-width: 260px;
  border-color: #06c755 !important;
  background: #06c755 !important;
  color: #ffffff !important;
}

.support-contact-box__phone-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.book-name-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 12px;
}

.book-name-row__prefix select {
  max-width: 130px;
}

.book-name-row__first input,
.book-name-row__last input {
  max-width: 100%;
}

.book-actions {
  display: flex;
  justify-content: flex-end;
}

.book-actions .card-btn {
  min-width: 220px;
}

.book-tip {
  margin-top: 14px;
  color: #73675c;
  font-size: 14px;
}

@media (max-width: 900px) {
  .book-page {
    padding: 28px 0 52px;
  }

  .book-head h1 {
    font-size: 24px;
    line-height: 1.15;
  }

  .book-head p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
  }

  .book-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .book-step {
    padding: 12px 14px;
  }

  .book-step h2 {
    font-size: 14px;
    line-height: 1.35;
  }

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

  .book-network-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .book-network-line {
    font-size: 18px;
  }

  .book-grid .book-network-select-label {
    font-size: 18px;
  }

  .book-grid .book-network-select-label select {
    width: 220px;
    min-width: 180px;
    min-height: 48px;
    font-size: 18px;
  }

  .step2-layout {
    grid-template-columns: 1fr;
  }

  .book-name-row {
    grid-template-columns: 1fr;
  }

  .book-name-row__prefix select,
  .book-name-row__first input {
    max-width: 100%;
  }

  .book-actions {
    justify-content: stretch;
  }

  .book-actions .card-btn {
    width: 100%;
  }

  .book-card {
    padding: 14px;
  }

  .book-card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .book-note {
    font-size: 15px;
    line-height: 1.6;
  }

  .book-wizard-actions {
    flex-direction: column;
    gap: 12px;
  }

  .card-btn {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    font-size: 18px;
  }

  .step2-upload label {
    font-size: 16px;
  }

  .slip-upload-input {
    min-height: 92px;
    padding: 18px 52px 18px 16px;
    font-size: 18px;
  }

  .slip-upload-input::file-selector-button {
    padding: 12px 18px;
    margin-right: 12px;
    font-size: 16px;
  }

  .slip-clear-btn {
    width: 34px;
    height: 34px;
    right: 10px;
    font-size: 18px;
  }

  .book-help {
    font-size: 14px;
    line-height: 1.5;
  }

  .support-contact-box {
    padding: 18px 10px 8px;
  }

  .support-contact-box__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .support-contact-box__actions {
    margin-top: 22px;
    gap: 12px;
  }

  .support-contact-box__actions a {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    padding: 10px 14px;
  }

  .support-contact-box__line {
    min-width: 0;
  }

  .support-contact-box__phone-group {
    width: 100%;
    gap: 8px;
  }

  .book-wizard-actions[data-step-panel="3"] {
    flex-direction: row;
    gap: 10px;
  }

  .book-wizard-actions[data-step-panel="3"] .card-btn {
    width: calc(50% - 5px);
    min-height: 46px;
    padding: 10px 12px;
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .evaluate-summary {
    grid-template-columns: minmax(300px, 360px) 1fr;
  }
}

@media (min-width: 1500px) {
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 1920px);
    max-width: 1920px;
    margin: 0 auto;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1920 / 450;
    background-color: #96641f;
    background-size: 100% 100%;
    background-position: center center;
    box-shadow: 0 0 0 100vmax #96641f;
    clip-path: inset(0 -100vmax);
  }

  .hero-left {
    max-width: 460px;
  }

  .evaluate-hero,
  .good-number-hero,
  .numbers-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 1920px);
    max-width: 1920px;
    margin: 0 auto;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1920 / 450;
    background-size: cover;
    background-position: center center;
    clip-path: inset(0 -100vmax);
  }

  .evaluate-hero {
    min-height: 0;
    height: auto;
    aspect-ratio: 1920 / 282;
    background-size: cover;
  }

  .good-number-hero {
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center center;
  }

  .numbers-hero {
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center center;
    background-color: #8f5e1d;
    box-shadow: 0 0 0 100vmax #8f5e1d;
  }

  .evaluate-hero {
    background-color: #a56e20;
    box-shadow: 0 0 0 100vmax #a56e20;
  }

  .evaluate-hero.evaluate-hero--danger {
    background-color: #5f1616;
    box-shadow: 0 0 0 100vmax #5f1616;
  }

  .good-number-hero {
    background-color: #385b43;
    box-shadow: 0 0 0 100vmax #385b43;
  }

  .evaluate-hero__text,
  .good-number-hero__text,
  .numbers-hero__text {
    max-width: 460px;
  }
}

@media (min-width: 1920px) {
  .hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-image:
      linear-gradient(#714e25, #714e25),
      linear-gradient(#d28d32, #d28d32),
      url("../images/home_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px auto;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    box-shadow: none;
    clip-path: none;
  }

  .hero-overlay {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }

  .evaluate-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 1920 / 282;
    background-image:
      linear-gradient(#7a4a24, #7a4a24),
      linear-gradient(#d8a44a, #d8a44a),
      url("../images/evaluate_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px auto;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    box-shadow: none;
    clip-path: none;
  }

  .evaluate-hero.evaluate-hero--danger {
    background-image:
      linear-gradient(#6f1d1d, #6f1d1d),
      linear-gradient(#9a2525, #9a2525),
      url("../images/evaluate_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px auto;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    background-color: #8a2525;
  }

  .evaluate-overlay {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }

  .good-number-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-image:
      linear-gradient(#385b43, #385b43),
      linear-gradient(#039779, #039779),
      url("../images/good_number_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px 100%;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    box-shadow: none;
    clip-path: none;
  }

  .good-number-overlay {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }

  .numbers-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-image:
      linear-gradient(#714e25, #714e25),
      linear-gradient(#d28d32, #d28d32),
      url("../images/home_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px 100%;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    box-shadow: none;
    clip-path: none;
  }

  .numbers-hero-overlay {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero {
    background-position: 75% center;
  }

  .numbers-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .numbers-filter-modes {
    grid-template-columns: 1fr;
  }

  .numbers-filter-divider {
    justify-self: center;
  }

  .evaluate-hero {
    background-position: 40% center;
  }

  .good-number-hero {
    background-position: 40% center;
  }

  .numbers-hero {
    background-position: 64% center;
  }

  .evaluate-hero__text {
    max-width: 52%;
  }

  .good-number-hero__text {
    max-width: 52%;
  }

  .numbers-hero__text {
    max-width: 52%;
  }

  .pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 70px 0 80px;
    background-position: 60% center;
  }

  .hero-left {
    max-width: 58%;
  }

  .numbers-position-row {
    gap: 6px;
  }

  .numbers-position-prefix {
    width: 68px;
  }

  .numbers-position-digit {
    width: 38px;
  }

  .numbers-filter-actions__controls {
    grid-template-columns: 1fr;
  }

  .numbers-filter-select,
  .numbers-filter-submit {
    width: 100%;
    min-width: 0;
  }

  .numbers-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evaluate-summary {
    grid-template-columns: 1fr;
  }

  .evaluate-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    margin-top: 40px;
    padding: 32px 0 28px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .footer-brand,
  .footer-contact,
  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 215, 162, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  }

  .footer-note {
    margin-top: 10px;
    font-size: 13px;
  }

  .footer-contact p,
  .footer-links a {
    font-size: 13px;
  }

  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .footer-social h3 {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .social-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
  }

  .footer-bottom__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .danger-banner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-social {
    justify-items: start;
  }

  .footer-bottom__content {
    justify-content: flex-start;
  }

  .under-construction {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .under-construction__card {
    padding: 38px 24px;
    border-radius: 28px;
  }

  .under-construction__lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
  }

  .under-construction__contact {
    grid-template-columns: 1fr;
  }

  .under-construction__contact-card strong {
    font-size: 21px;
  }
}

@media (max-width: 1000px) and (min-width: 601px) {
  .evaluate-hero {
    background-position: 50% center;
  }

  .evaluate-hero__text {
    max-width: 45%;
  }

  .good-number-hero {
    background-position: 50% center;
  }

  .numbers-hero {
    background-position: 50% center;
  }

  .good-number-hero__text {
    max-width: 45%;
  }

  .numbers-hero__text {
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .hero {
    background-position: 60% 35%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-left {
    max-width: 64%;
  }

  .hero-kicker {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-input {
    flex-direction: column;
  }

  .hero-input button {
    width: 100%;
  }

  .numbers-catalog-page {
    padding: 20px 0 56px;
  }

  .numbers-catalog-shell {
    width: min(92%, 100%);
  }

  .numbers-filter-form {
    gap: 12px;
  }

  .numbers-filter-panel {
    padding: 14px;
    gap: 12px;
  }

  .numbers-position-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .numbers-position-prefix {
    width: 64px;
  }

  .numbers-position-digit {
    width: 34px;
    min-height: 44px;
  }

  .numbers-position-separator {
    font-size: 18px;
  }

  .numbers-catalog-grid {
    grid-template-columns: 1fr;
  }

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

  .evaluate-hero {
    min-height: 240px;
    padding: 56px 0;
    background-position: 50% center;
  }

  .evaluate-hero__text {
    max-width: 54%;
  }

  .good-number-hero {
    min-height: 240px;
    padding: 56px 0;
    background-position: 50% center;
  }

  .numbers-hero {
    min-height: 240px;
    padding: 56px 0;
    background-position: 58% center;
  }

  .good-number-hero__text {
    max-width: 54%;
  }

  .good-number-hero__kicker {
    font-size: 15px;
    letter-spacing: 0.03em;
  }

  .good-number-hero__text h1 {
    gap: 6px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.08;
  }

  .good-number-hero__lead {
    margin-top: 4px;
    max-width: 22ch;
    font-size: 15px;
    line-height: 1.55;
  }

  .numbers-hero__text {
    max-width: 56%;
  }

  .evaluate-summary {
    padding: 18px;
    gap: 16px;
  }

  .summary-number {
    padding: 16px;
  }

  .summary-body h2 {
    font-size: 18px;
  }

  .summary-tags {
    gap: 6px;
  }

  .badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .danger-banner {
    padding: 16px;
    border-radius: 14px;
  }

  .insight-tags {
    gap: 10px;
  }

  .insight-tag {
    min-height: 44px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .danger-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .evaluate-highlight {
    grid-template-columns: 1fr;
  }

  .under-construction__card {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .under-construction__eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .under-construction__card h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .under-construction__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .under-construction__actions {
    flex-direction: column;
  }

  .under-construction__btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: 16px;
  }

  .under-construction__contact-card {
    padding: 16px;
    border-radius: 18px;
  }

  .under-construction__contact-card strong {
    font-size: 19px;
  }

  .pair-card {
    padding: 16px;
  }

  .pair-score {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .summary-number strong {
    font-size: 24px;
  }

  .summary-number span {
    font-size: 16px;
  }

  .number-card {
    max-width: 100%;
  }

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

  .evaluate-cta {
    padding: 18px;
    border-radius: 20px;
    align-items: stretch;
    gap: 14px;
  }

  .evaluate-cta h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .evaluate-cta p {
    font-size: 14px;
    line-height: 1.55;
  }

  .cta-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    margin-top: 28px;
    padding: 26px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    padding: 14px;
    border-radius: 16px;
  }

  .footer-links h3,
  .footer-contact h3,
  .footer-social h3 {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .footer-links ul {
    gap: 7px;
  }

  .footer-contact p {
    margin-bottom: 7px;
    line-height: 1.55;
  }

  .footer-copy {
    margin-top: 10px;
  }

  .footer-social {
    grid-template-columns: 1fr;
  }

  .social-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-bottom__content {
    align-items: center;
    text-align: center;
  }
}

/* Mobile refresh for home page layout */
@media (max-width: 900px) {
  .nav-wrap {
    padding: 12px 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .hero {
    padding: 56px 0 64px;
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(30, 18, 8, 0.68) 0%, rgba(30, 18, 8, 0.38) 45%, rgba(30, 18, 8, 0.08) 82%),
      radial-gradient(circle at left, rgba(255, 215, 140, 0.24) 0%, rgba(255, 215, 140, 0) 60%);
  }

  .hero-left {
    max-width: min(70%, 420px);
    gap: 10px;
  }

  .hero-kicker {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.24;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-form {
    margin-top: 10px;
  }

  .hero-input input {
    min-height: 46px;
    font-size: 16px;
  }

  .hero-input button {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .numbers {
    padding: 44px 0 58px;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .number-card {
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .card-top {
    padding: 10px 8px;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  .card-meta-stack {
    gap: 6px;
  }

  .card-tier--network .card-network-main {
    font-size: 17px;
  }

  .card-tier--network .card-network-suffix {
    font-size: 17px;
    margin-left: 14px;
  }

  .card-meta-plan {
    font-size: 19px;
    line-height: 1.35;
  }

  .number-card .card-btn {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 19px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 48px 0 34px;
    background-position: 72% center;
  }

  .hero-left {
    max-width: min(72%, 320px);
  }

  .hero-kicker {
    font-size: 14px;
  }

  .good-number-hero__kicker {
    font-size: 13px;
  }

  .good-number-hero__text h1 {
    font-size: 28px;
  }

  .good-number-hero__lead {
    font-size: 14px;
    max-width: 21ch;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-input {
    flex-direction: column;
    gap: 8px;
  }

  .hero-input button {
    width: 100%;
  }

  .numbers .container {
    width: min(96%, 520px);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .number-card {
    padding: 14px 12px;
  }

  .card-top {
    font-size: 22px;
  }

  .card-meta-plan {
    font-size: 20px;
  }

  .number-card .card-btn {
    min-height: 46px;
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .numbers-catalog-shell {
    width: min(97%, 100%);
    padding-inline: 10px;
    border-left: 1px solid rgba(73, 61, 52, 0.14);
    border-right: 1px solid rgba(73, 61, 52, 0.14);
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .numbers-catalog-shell {
    width: min(98%, 100%);
    padding-inline: 8px;
  }
}

@media (max-width: 680px) {
  .numbers-catalog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .number-card--catalog {
    display: grid;
    grid-template-columns: minmax(144px, auto) minmax(0, 1fr) auto;
    grid-template-areas: "top body btn";
    align-items: center;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
  }

  .number-card--catalog .card-top {
    grid-area: top;
    align-self: center;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    color: #2f251f;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }

  .number-card--catalog .card-body {
    grid-area: body;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .number-card--catalog .card-meta-stack {
    margin: 0 auto;
    justify-items: center;
    gap: 1px;
    text-align: center;
  }

  .number-card--catalog .card-tier--network {
    justify-content: center;
  }

  .number-card--catalog .card-tier--network .card-network-main {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .number-card--catalog .card-tier--network .card-network-suffix {
    margin-left: 8px;
    font-size: 15px;
  }

  .number-card--catalog .card-meta-plan {
    font-size: 16px;
    line-height: 1.25;
  }

  .number-card--catalog .card-btn {
    grid-area: btn;
    width: auto;
    min-width: 92px;
    min-height: 36px;
    padding: 6px 14px;
    font-size: 16px;
    align-self: center;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .number-card--catalog {
    grid-template-columns: minmax(124px, auto) minmax(0, 1fr) auto;
    padding: 9px 10px;
    gap: 4px 8px;
  }

  .number-card--catalog .card-top {
    font-size: 19px;
  }

  .number-card--catalog .card-tier--network .card-network-main {
    font-size: 13px;
  }

  .number-card--catalog .card-tier--network .card-network-suffix {
    font-size: 13px;
    margin-left: 6px;
  }

  .number-card--catalog .card-meta-plan {
    font-size: 14px;
  }

  .number-card--catalog .card-btn {
    min-width: 82px;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 14px;
  }
}

.article-hero {
  padding: 56px 0 38px;
  background:
    radial-gradient(circle at right top, rgba(216, 163, 74, 0.22), rgba(216, 163, 74, 0) 45%),
    linear-gradient(120deg, rgba(31, 25, 20, 0.9), rgba(52, 38, 28, 0.9));
  color: #fff;
}

.article-hero__kicker {
  color: #ffd68f;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
}

.article-hero__title {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.article-hero__subtitle {
  margin-top: 12px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.article-listing {
  padding: 30px 0 56px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  border: 1px solid rgba(42, 35, 33, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(38, 29, 24, 0.09);
}

.article-card__cover-link {
  display: block;
}

.article-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 49 / 31;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-card__body {
  padding: 16px;
}

.article-card__meta {
  color: #8e7f70;
  font-size: 13px;
}

.article-card__title {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.4;
}

.article-card__title a {
  color: #2a2321;
  text-decoration: none;
}

.article-card__excerpt {
  margin-top: 8px;
  color: #5b5048;
  line-height: 1.7;
}

.article-card__link {
  margin-top: 12px;
  display: inline-flex;
  color: #8b5a1f;
  text-decoration: none;
  font-weight: 600;
}

.article-empty {
  padding: 20px;
  border: 1px dashed rgba(42, 35, 33, 0.28);
  border-radius: 14px;
  text-align: center;
  color: #6f6258;
}

.article-pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.article-pagination a,
.article-pagination span {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(42, 35, 33, 0.2);
  color: #2a2321;
  background: rgba(255, 255, 255, 0.8);
}

.article-pagination .is-active {
  border-color: #2a2321;
  background: #2a2321;
  color: #fff;
}

.article-detail {
  max-width: 980px;
  padding: 42px 0 72px;
}

.article-detail__shell {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(95, 74, 56, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at top right, rgba(216, 163, 74, 0.14), rgba(216, 163, 74, 0) 42%);
  box-shadow:
    0 28px 42px rgba(35, 26, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.article-detail__header h1 {
  margin-top: 12px;
  font-size: clamp(20px, 3.15vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.article-detail__back {
  color: #8b5a1f;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-detail__back::before {
  content: "←";
}

.article-detail__meta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-detail__meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 90, 31, 0.24);
  background: #fff8eb;
  color: #6e4411;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.article-detail__meta-pill--soft {
  border-color: rgba(44, 37, 33, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: #6d5f52;
}

.article-detail__excerpt {
  margin-top: 12px;
  color: #4f433b;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 900px;
}

.article-detail__cover-wrap {
  margin-top: 24px;
  position: relative;
}

.article-detail__cover {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(42, 35, 33, 0.1);
  box-shadow: 0 18px 34px rgba(22, 16, 11, 0.15);
  background: #f3f5f9;
}

.article-detail__content {
  margin-top: 30px;
  display: grid;
  gap: 16px;
  color: #2f2723;
}

.article-detail__content p {
  margin: 0;
  line-height: 1.95;
  font-size: 19px;
}

.article-detail__check-list {
  margin: 0;
  padding: 18px 18px 18px 44px;
  border-radius: 16px;
  border: 1px solid rgba(31, 157, 85, 0.28);
  background: linear-gradient(180deg, #f2fff7, #ecfff3);
  display: grid;
  gap: 8px;
}

.article-detail__check-list li {
  line-height: 1.8;
  font-size: 18px;
  color: #1f3f2c;
}

.article-detail__number-block {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(43, 72, 120, 0.22);
  background: linear-gradient(180deg, #f4f8ff, #ecf3ff);
}

.article-detail__number-block h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  color: #233b65;
}

.article-detail__numbers {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-detail__numbers span {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(35, 59, 101, 0.22);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #233b65;
}

.article-detail__numbers a {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(35, 59, 101, 0.22);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d4f9f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.article-detail__numbers a:hover {
  background: #edf4ff;
  border-color: rgba(29, 79, 159, 0.45);
}

.article-detail__numbers span.is-disabled {
  background: #eef1f5;
  border-color: rgba(81, 99, 122, 0.24);
  color: #7c8899;
  cursor: not-allowed;
}

.article-detail__content a {
  color: #7d4b10;
  text-underline-offset: 2px;
  word-break: break-all;
}

.article-detail__content--html > * {
  margin: 0 0 14px;
}

.article-detail__content--html h1,
.article-detail__content--html h2,
.article-detail__content--html h3 {
  line-height: 1.3;
  color: #2f2723;
}

.article-detail__content--html h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.article-detail__content--html ul,
.article-detail__content--html ol {
  padding-left: 26px;
  display: grid;
  gap: 8px;
}

.article-detail__content--html li {
  line-height: 1.85;
  font-size: 18px;
}

.article-lottery {
  margin-top: 34px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(97, 69, 35, 0.2);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 224, 145, 0.35), rgba(255, 224, 145, 0) 42%),
    linear-gradient(160deg, #211814 0%, #2f2018 42%, #3a281d 100%);
  box-shadow:
    0 24px 44px rgba(24, 16, 11, 0.24),
    inset 0 1px 0 rgba(255, 236, 193, 0.22);
}

.article-lottery__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.article-lottery h2 {
  margin: 0;
  color: #fff8eb;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.18;
}

.article-lottery__draw-date {
  margin: 8px 0 0;
  color: #f8d7a0;
  font-weight: 600;
  font-size: 14px;
}

.article-lottery__status {
  flex-shrink: 0;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 189, 89, 0.45);
  background: rgba(255, 178, 51, 0.15);
  color: #ffd58f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
}

.article-lottery__status.is-complete {
  border-color: rgba(116, 255, 173, 0.5);
  background: rgba(37, 167, 86, 0.2);
  color: #c8ffde;
}

.article-lottery__updated-at {
  margin: 12px 0 0;
  color: rgba(255, 239, 212, 0.82);
  font-size: 13px;
}

.article-lottery__grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-lottery__card {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(242, 219, 181, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 246, 235, 0.92));
  box-shadow:
    0 10px 20px rgba(17, 10, 7, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.article-lottery__card.is-top-prize {
  grid-column: 1 / -1;
  border-color: rgba(255, 214, 137, 0.6);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 137, 0.38), rgba(255, 214, 137, 0) 45%),
    linear-gradient(135deg, #4a3318, #2f2216);
  box-shadow:
    0 16px 30px rgba(12, 8, 5, 0.3),
    inset 0 1px 0 rgba(255, 236, 194, 0.25);
}

.article-lottery__prize-name {
  margin: 0;
  color: #3b2f24;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.article-lottery__prize-number {
  margin: 8px 0 0;
  color: #201911;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.05;
  font-family: "Kanit", sans-serif;
  font-variant-numeric: tabular-nums;
}

.article-lottery__card.is-top-prize .article-lottery__prize-name {
  color: #f7dfb4;
}

.article-lottery__card.is-top-prize .article-lottery__prize-number {
  color: #fff7e5;
  text-shadow: 0 5px 16px rgba(255, 221, 163, 0.35);
}

.article-lottery-poster {
  margin: 64px auto 40px;
  padding: 0 110px;
}

.article-lottery-poster__frame {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  padding: 38px 56px 36px;
  border-radius: 0;
  border: 3px solid rgba(214, 178, 107, 0.68);
  background:
    radial-gradient(circle at -2% 12%, rgba(253, 221, 146, 0.34), rgba(253, 221, 146, 0) 26%),
    radial-gradient(circle at 92% 8%, rgba(255, 199, 101, 0.24), rgba(255, 199, 101, 0) 28%),
    linear-gradient(26deg, rgba(219, 177, 101, 0.34) 0%, rgba(219, 177, 101, 0) 18%),
    linear-gradient(145deg, #120c08 0%, #20140d 42%, #2a1a10 100%);
  box-shadow:
    0 26px 38px rgba(23, 12, 5, 0.34),
    inset 0 0 0 1px rgba(246, 216, 154, 0.26),
    inset 0 1px 0 rgba(255, 231, 180, 0.22);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-lottery-poster__frame::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 3px solid rgba(237, 203, 137, 0.42);
  border-radius: 0;
  pointer-events: none;
  z-index: 5;
}

.article-lottery-poster__frame::after {
  content: "";
  position: absolute;
  top: -28px;
  right: 172px;
  width: 3px;
  height: 360px;
  background: linear-gradient(180deg, rgba(245, 208, 136, 0.88), rgba(245, 208, 136, 0));
  transform: rotate(16deg);
  opacity: 0.52;
  pointer-events: none;
  z-index: 4;
}

.article-lottery-poster__logo-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 6px;
  min-height: 62px;
}

.article-lottery-poster__logo-wrap::before,
.article-lottery-poster__logo-wrap::after {
  content: "";
  position: absolute;
  top: 27px;
  height: 3px;
  background: linear-gradient(90deg, rgba(230, 197, 131, 0.22), rgba(230, 197, 131, 0.62));
  z-index: 1;
}

.article-lottery-poster__logo-wrap::before {
  left: 56px;
  right: calc(50% + 44px);
}

.article-lottery-poster__logo-wrap::after {
  left: calc(50% + 44px);
  right: 56px;
}

.article-lottery-poster__logo-mark {
  position: relative;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 3px solid #d7a64e;
  background: linear-gradient(180deg, rgba(255, 217, 149, 0.14), rgba(255, 217, 149, 0.04));
  color: #f5c76d;
  font-family: "Cinzel", serif;
  font-size: 36px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  box-sizing: border-box;
}

.article-lottery-poster__brand {
  margin: 4px 0 0;
  color: #f6d390;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.article-lottery-poster__title {
  position: relative;
  z-index: 2;
  margin: 4px 0 0;
  text-align: center;
  color: #fff7e8;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
}

.article-lottery-poster__subtitle {
  position: relative;
  z-index: 2;
  margin: 3px 0 0;
  text-align: center;
  color: #f6dfad;
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.article-lottery-poster__first-prize {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  border-radius: 0;
  border: 2px solid rgba(204, 168, 108, 0.9);
  background: #fff9f0;
  padding: 12px 14px 16px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 212px;
  display: grid;
  align-content: center;
}

.article-lottery-poster__first-prize p {
  margin: 0;
  color: #3a2410;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.12;
}

.article-lottery-poster__first-prize strong {
  margin-top: 4px;
  display: block;
  color: #3a2410;
  font-size: clamp(62px, 7vw, 92px);
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.article-lottery-poster__groups {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.article-lottery-poster__group {
  min-width: 0;
}

.article-lottery-poster__group h3 {
  margin: 0;
  text-align: center;
  color: #fff0d2;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.05;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.article-lottery-poster__group-grid {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.article-lottery-poster__box {
  min-height: 118px;
  border-radius: 0;
  border: 2px solid rgba(198, 159, 97, 0.9);
  background: #fffaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a2410;
  font-size: clamp(46px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  width: 100%;
  box-sizing: border-box;
}

.article-lottery-poster__group--last-two .article-lottery-poster__box {
  margin-top: 8px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  height: auto;
}

.article-lottery-poster__box--last-two {
  font-size: clamp(72px, 7vw, 102px);
}

.article-lottery-poster__near-inline {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  text-align: center;
  color: #f6deac;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.article-lottery-poster__footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 16px 0 2px;
  border-radius: 0;
  background: transparent;
  display: block;
  text-align: center;
  border-top: 2px solid rgba(237, 203, 137, 0.34);
}

.article-lottery-poster__contact {
  color: #fff3db;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.article-lottery-poster__contact p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 20px);
}

.article-lottery-poster__contact-line {
  white-space: nowrap;
  color: rgba(255, 243, 219, 0.96);
  font-weight: 700;
}

.article-lottery-poster__website {
  position: relative;
  z-index: 6;
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: clamp(62px, 6.4vw, 86px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: #fff9ea;
  margin-top: -18px;
  padding: 0 14px 2px;
  background: #22140c;
  box-shadow: 0 0 0 6px #22140c;
}

.article-lottery-poster__updated {
  margin-top: 4px;
  font-size: 9px !important;
  color: #dcc59e;
}

.article-lottery-poster__updated--outside {
  margin: 8px auto 0;
  width: min(100%, 860px);
  text-align: right;
  white-space: nowrap;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  color: #111111;
  box-sizing: border-box;
}

.article-comments {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(84, 65, 50, 0.16);
}

.article-comments--readers {
  margin-top: 38px;
}

.article-comments h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.2;
}

.article-comments__alert {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
  font-size: 14px;
}

.article-comments__alert--error {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}

.article-comments__form {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(63, 84, 117, 0.22);
  background: #f7faff;
}

.article-comments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.article-comments__form label {
  display: grid;
  gap: 6px;
}

.article-comments__form span {
  font-size: 13px;
  color: #445369;
  font-weight: 600;
}

.article-comments__form input,
.article-comments__form textarea {
  width: 100%;
  border: 1px solid #c5d2e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  color: #1b2c42;
  background: #ffffff;
}

.article-comments__textarea-label {
  margin-top: 10px;
}

.article-comments__form button {
  margin-top: 12px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #1d4f9f;
  border-radius: 12px;
  background: #1d4f9f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.article-comments__hint {
  margin-top: 8px;
  font-size: 13px;
  color: #5e6d84;
}

.article-comments__list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.article-comment-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(66, 89, 124, 0.2);
  background: #ffffff;
}

.article-comment-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.article-comment-card__head strong {
  font-size: 15px;
  color: #1f3047;
}

.article-comment-card__head span {
  font-size: 12px;
  color: #71809a;
}

.article-comment-card p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #2f3745;
}

.article-comments__empty {
  color: #6c7688;
  font-size: 14px;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card__cover {
    height: auto;
  }

  .article-detail {
    padding-top: 30px;
  }

  .article-detail__shell {
    padding: 18px;
    border-radius: 18px;
  }

  .article-detail__header h1 {
    font-size: clamp(20px, 6.4vw, 30px);
  }

  .article-detail__content p,
  .article-detail__check-list li {
    font-size: 17px;
  }

  .article-detail__numbers span {
    font-size: 15px;
  }

  .article-lottery {
    padding: 18px;
    border-radius: 18px;
  }

  .article-lottery__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-lottery__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-lottery__card.is-top-prize .article-lottery__prize-number {
    font-size: clamp(30px, 9vw, 40px);
  }

  .article-lottery-poster {
    margin: 34px auto 22px;
    padding: 0 14px;
  }

  .article-lottery-poster__frame {
    aspect-ratio: auto;
    padding: 22px 26px 18px;
    border-radius: 0;
    border-width: 2px;
  }

  .article-lottery-poster__frame::before {
    inset: 14px;
    border-width: 2px;
  }

  .article-lottery-poster__frame::after {
    right: 74px;
    top: -42px;
    height: 230px;
    width: 2px;
    opacity: 0.38;
  }

  .article-lottery-poster__logo-wrap {
    min-height: 52px;
  }

  .article-lottery-poster__logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 0;
    font-size: 30px;
    border-width: 2px;
  }

  .article-lottery-poster__brand {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .article-lottery-poster__logo-wrap::before,
  .article-lottery-poster__logo-wrap::after {
    top: 21px;
    height: 2px;
  }

  .article-lottery-poster__logo-wrap::before {
    left: 22px;
    right: calc(50% + 34px);
  }

  .article-lottery-poster__logo-wrap::after {
    left: calc(50% + 34px);
    right: 22px;
  }

  .article-lottery-poster__groups {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-lottery-poster__first-prize {
    min-height: 146px;
    padding: 10px 10px 12px;
  }

  .article-lottery-poster__first-prize strong {
    font-size: clamp(48px, 12vw, 66px);
    letter-spacing: 0.06em;
  }

  .article-lottery-poster__near-inline {
    white-space: normal;
    font-size: clamp(11px, 3.4vw, 14px);
    margin-top: 6px;
  }

  .article-lottery-poster__group-grid {
    margin-top: 6px;
    gap: 6px;
  }

  .article-lottery-poster__box {
    min-height: 68px;
    font-size: clamp(40px, 10vw, 56px);
  }

  .article-lottery-poster__group--last-two .article-lottery-poster__box {
    margin-top: 6px;
    aspect-ratio: auto;
    min-height: 118px;
  }

  .article-lottery-poster__box--last-two {
    font-size: clamp(58px, 15vw, 82px);
  }

  .article-lottery-poster__footer {
    margin-top: 12px;
    padding: 10px 0 0;
    border-top-width: 1px;
  }

  .article-lottery-poster__website {
    font-size: clamp(42px, 10.5vw, 60px);
    margin-top: -14px;
    padding: 0 10px 2px;
    box-shadow: 0 0 0 4px #22140c;
  }

  .article-lottery-poster__contact p {
    font-size: 14px;
  }

  .article-lottery-poster__contact-line {
    white-space: normal;
  }

  .article-lottery-poster__updated {
    font-size: 8px !important;
  }

  .article-lottery-poster__updated--outside {
    white-space: normal;
    text-align: right;
    padding: 2px 6px;
  }

  .article-comments__grid {
    grid-template-columns: 1fr;
  }
}

.estimate-hero {
  position: relative;
  min-height: 420px;
  padding: 80px 0 90px;
  color: #fff;
  background-image: url("../images/home_banner.jpg");
  background-size: cover;
  background-position: 76% center;
  overflow: hidden;
}

.estimate-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 20, 12, 0.7) 0%, rgba(29, 20, 12, 0.34) 48%, rgba(29, 20, 12, 0.1) 78%),
    radial-gradient(circle at left, rgba(255, 213, 131, 0.2) 0%, rgba(255, 213, 131, 0) 60%);
  pointer-events: none;
}

.estimate-hero__content {
  position: relative;
  z-index: 1;
}

.estimate-hero__text {
  max-width: 560px;
  display: grid;
  gap: 10px;
}

.estimate-hero__text h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
}

.estimate-hero__text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.estimate-page {
  padding: 46px 0 82px;
}

.estimate-shell {
  width: min(1120px, 100%);
}

.estimate-head {
  margin-bottom: 18px;
}

.estimate-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  color: #3b2f27;
}

.estimate-head p {
  margin-top: 8px;
  color: #6d5e52;
  font-size: 15px;
}

.estimate-alert {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.estimate-alert--success {
  background: #edf9f4;
  border: 1px solid rgba(35, 165, 138, 0.36);
  color: #165b4a;
}

.estimate-alert--error {
  background: #fff3f2;
  border: 1px solid rgba(201, 74, 63, 0.32);
  color: #8b2f27;
}

.estimate-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(44, 33, 23, 0.12);
  padding: 20px;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 42%);
  gap: 16px;
}

.estimate-form {
  display: grid;
  gap: 10px;
}

.estimate-grid {
  display: grid;
  gap: 10px;
}

.estimate-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estimate-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #4a3d32;
  font-weight: 500;
}

.estimate-form input,
.estimate-form select {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(74, 61, 50, 0.2);
  background: #fff;
  color: #2f2b28;
  font-size: 15px;
  padding: 10px 12px;
}

.estimate-form input:focus,
.estimate-form select:focus {
  outline: none;
  border-color: rgba(216, 163, 74, 0.64);
  box-shadow: 0 0 0 3px rgba(216, 163, 74, 0.2);
}

.estimate-submit {
  margin-top: 4px;
  justify-self: start;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e9bb64 0%, #cf922f 100%);
  color: #3f2a14;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(195, 131, 39, 0.24);
}

.estimate-submit:hover {
  transform: translateY(-1px);
}

.estimate-video {
  display: grid;
  gap: 10px;
  align-content: start;
  background: linear-gradient(160deg, #2c2d35 0%, #3a3b44 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
}

.estimate-video h3 {
  font-size: 16px;
  color: #f2e1bf;
}

.estimate-video__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
}

.estimate-video__frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (min-width: 1500px) {
  .estimate-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 1920px);
    max-width: 1920px;
    margin: 0 auto;
    min-height: 450px;
    height: 450px;
    padding: 0;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center center;
    background-color: #96641f;
    box-shadow: 0 0 0 100vmax #96641f;
    clip-path: inset(0 -100vmax);
  }
}

@media (min-width: 1920px) {
  .estimate-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 450px;
    height: 450px;
    aspect-ratio: auto;
    background-image:
      linear-gradient(#714e25, #714e25),
      linear-gradient(#d28d32, #d28d32),
      url("../images/home_banner.jpg");
    background-size:
      calc((100% - 1920px) / 2) 100%,
      calc((100% - 1920px) / 2) 100%,
      1920px 100%;
    background-position:
      left center,
      right center,
      center center;
    background-repeat: no-repeat;
    box-shadow: none;
    clip-path: none;
  }

  .estimate-hero__overlay {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .estimate-video {
    order: -1;
  }
}

@media (max-width: 680px) {
  .estimate-hero {
    min-height: 260px;
    padding: 56px 0 46px;
    background-position: 68% center;
  }

  .estimate-hero__text h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .estimate-hero__text p {
    font-size: 15px;
  }

  .estimate-page {
    padding: 24px 0 52px;
  }

  .estimate-card {
    padding: 12px;
    border-radius: 16px;
  }

  .estimate-grid--2 {
    grid-template-columns: 1fr;
  }
}
