:root {
  --bg: #0b1120;
  --bg-top: #0f172a;
  --surface: #111827;
  --surface-soft: #162033;
  --surface-soft-2: #1b2840;
  --surface-highlight: #0f1c33;

  --border: #22304a;
  --border-strong: #30415f;

  --text: #f8fafc;
  --text-soft: #dbe4f0;
  --text-muted: #9fb0c7;

  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;

  --logo-yellow: #facc15;
  --logo-yellow-soft: #fde68a;

  --shadow-sm: 0 10px 30px rgba(2, 6, 23, 0.22);
  --shadow-md: 0 18px 50px rgba(2, 6, 23, 0.28);
  --shadow-lg: 0 28px 80px rgba(2, 6, 23, 0.34);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;

  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 0 24%),
    linear-gradient(180deg, #08101d 0%, #0b1120 100%);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: #a9cbff;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #d5e7ff;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--text);
}

small {
  color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 750;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.container,
.wrap,
main {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

main {
  display: block;
  padding: 28px 0 64px;
}

main > * + * {
  margin-top: 22px;
}

/* Header */

body > header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(8, 16, 31, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

body > header > div,
body > header > .container,
header .container,
.header-inner {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  min-height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.logo:hover {
  color: #f8fafc;
}

.logo-icon {
  font-size: 1.3rem;
  color: var(--logo-yellow);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--logo-yellow), var(--logo-yellow-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

/* Cards */

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(13, 20, 35, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0));
  opacity: 0.85;
}

.card--soft {
  background:
    linear-gradient(180deg, rgba(18, 28, 47, 0.96), rgba(12, 19, 35, 0.98)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent 36%);
}

.card--hero {
  padding: clamp(22px, 3vw, 34px);
  padding-top: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(180deg, rgba(18, 28, 47, 0.96), rgba(12, 19, 35, 0.99)),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 0 36%);
}

.card--hero::before {
  height: 4px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 1), rgba(96, 165, 250, 0.35), rgba(59, 130, 246, 0));
}

.card--hero h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

.stat-card {
  padding: 20px;
  min-height: 100%;
}

.stat-card::before {
  height: 3px;
  opacity: 0.95;
}

.stat-card h2,
.stat-card h3 {
  margin-bottom: 10px;
}

.stat-card p:last-child {
  margin-bottom: 0;
}

.stat-card .price-inline {
  font-size: 1.08rem;
  font-weight: 700;
}

.stats-grid .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-grid .stat-card .muted {
  margin-top: 6px;
}

.muted {
  color: var(--text-muted);
}

/* Hero details */

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 4px;
}

.hero-validity {
  margin-top: 8px;
  margin-bottom: 18px;
}

.intro-text {
  max-width: 70ch;
  margin-bottom: 14px;
}

/* Grids */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Price */

.big-price {
  margin: 8px 0 14px;
  animation: priceFadeIn 0.6s ease-out;
  will-change: transform, opacity;
}

.price-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.big-price .price-inline {
  gap: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  animation: priceLiftIn 0.7s ease-out;
  will-change: transform, opacity;
}

.big-price .price-dot {
  width: 18px;
  height: 18px;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.03),
    0 0 12px rgba(59, 130, 246, 0.35);
}

.card--hero:hover .big-price .price-inline {
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.price-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.price-dot--very-cheap {
  background: #22c55e;
}

.price-dot--cheap {
  background: #84cc16;
}

.price-dot--normal {
  background: #f59e0b;
}

.price-dot--expensive {
  background: #f97316;
}

.price-dot--very-expensive {
  background: #ef4444;
}

/* Insight */

.insight {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.insight--cheap {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}

.insight--ok {
  background: rgba(132, 204, 22, 0.12);
  border-color: rgba(132, 204, 22, 0.3);
  color: #d9f99d;
}

.insight--neutral {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.insight--expensive {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.card--hero .insight {
  animation: priceInsightIn 0.85s ease-out;
}

/* Next guidance */

.next-guidance {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.next-guidance--better {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.24);
}

.next-guidance--now {
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
}

.card--hero .next-guidance {
  animation: priceInsightIn 0.95s ease-out;
}

/* Chart */

.day-chart-block {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 17, 30, 0.75), rgba(15, 23, 42, 0.92));
  overflow: hidden;
}

.day-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.day-chart-header strong {
  font-size: 1rem;
}

.day-chart-link {
  font-size: 0.92rem;
  color: #bfd8ff;
}

.day-chart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.day-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(96, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  min-height: 190px;
  padding: 16px 14px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9, 15, 28, 0.92), rgba(11, 18, 32, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.08);
  overflow: hidden;
}

.day-chart__bar {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 10px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  opacity: 0.95;
  transition: transform 0.16s ease, filter 0.16s ease, opacity 0.16s ease;
}

.day-chart__bar:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  opacity: 1;
}

.day-chart__bar.is-min {
  background: linear-gradient(180deg, #4ade80, #16a34a) !important;
}

.day-chart__bar.is-max {
  background: linear-gradient(180deg, #f87171, #dc2626) !important;
}

.day-chart__bar.is-current {
  box-shadow:
    0 0 0 2px rgba(245, 158, 11, 0.35),
    0 0 14px rgba(245, 158, 11, 0.22);
}

.day-chart__bar.is-current:not(.is-min):not(.is-max) {
  background: linear-gradient(180deg, #fbbf24, #f59e0b) !important;
}

.day-chart__bar.is-current.is-min {
  background: linear-gradient(180deg, #86efac, #22c55e) !important;
}

.day-chart__bar.is-current.is-max {
  background: linear-gradient(180deg, #fb923c, #ea580c) !important;
}

.day-chart__now-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 0;
  border-left: 2px dashed rgba(250, 204, 21, 0.95);
  z-index: 3;
  pointer-events: none;
}

.day-chart__now-line::before {
  content: "🕒";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.day-chart__now-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  white-space: nowrap;
}

.day-chart-scale {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.day-chart-scale span {
  text-align: center;
}

.day-chart-scale span:first-child {
  text-align: left;
}

.day-chart-scale span:last-child {
  text-align: right;
}

.day-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.day-chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.day-chart-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.day-chart-legend__dot--normal {
  background: #3b82f6;
}

.day-chart-legend__dot--current {
  background: #f59e0b;
}

.day-chart-legend__dot--min {
  background: #16a34a;
}

.day-chart-legend__dot--max {
  background: #dc2626;
}

.day-chart-insight {
  margin-top: 12px;
  font-size: 0.94rem;
}

/* Feature band */

.feature-band {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 64px 0;
  background:
    linear-gradient(180deg, #0c1629 0%, #0a1324 100%),
    radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 0 40%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.feature-band__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.calculator-header {
  margin-bottom: 18px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calc-card,
.custom-calc {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(12, 19, 33, 0.98));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(2, 6, 23, 0.2);
}

.calc-card__top {
  margin-bottom: 16px;
}

.calc-card__inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.calc-field {
  display: block;
}

.calc-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}

.calc-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0d1629;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.calc-field input:focus {
  border-color: rgba(59, 130, 246, 0.72);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: #0a1426;
}

.calc-card__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calc-result {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(148, 163, 184, 0.04);
}

.calc-result__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-result strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--text);
}

.calc-result small {
  display: block;
  margin-top: 4px;
}

.calc-result--highlight {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
  border-color: rgba(34, 197, 94, 0.22);
}

.custom-calc {
  margin-top: 14px;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(15, 23, 42, 0.78);
}

thead th {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d8e3f2;
  background: rgba(30, 41, 59, 0.72);
}

tbody td {
  padding: 12px 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--text-soft);
}

tbody tr:hover {
  background: rgba(148, 163, 184, 0.04);
}

/* Details */

details {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(15, 23, 42, 0.96));
  overflow: hidden;
}

details + details {
  margin-top: 12px;
}

summary {
  list-style: none;
  position: relative;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  transition: background 0.18s ease;
}

summary:hover {
  background: rgba(148, 163, 184, 0.04);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 700;
}

details[open] summary::after {
  content: "–";
}

details > *:not(summary) {
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 18px;
}

/* SEO content */

.seo-content p {
  max-width: 78ch;
}

.seo-content h3 {
  margin-top: 22px;
}

/* History links */

.history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.05);
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.history-link:hover {
  border-color: var(--border-strong);
  background: rgba(148, 163, 184, 0.09);
  color: var(--text);
  transform: translateY(-1px);
}

.history-link:focus-visible {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* Ads */

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 39, 0.96)),
    repeating-linear-gradient(
      -45deg,
      rgba(148, 163, 184, 0.03) 0,
      rgba(148, 163, 184, 0.03) 10px,
      transparent 10px,
      transparent 20px
    );
  color: var(--text-muted);
  text-align: center;
}

/* CTA */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--blue), var(--blue-strong));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.cta:hover {
  color: #ffffff;
  filter: brightness(1.03);
}

/* Footer */

body > footer {
  margin-top: 56px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(8, 16, 31, 0.85);
}

body > footer > div,
body > footer > .container,
footer .container,
.footer-inner {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0 42px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom {
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer p,
footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--text-soft);
}

/* Animations */

@keyframes priceFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes priceLiftIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes priceInsightIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  main {
    width: min(calc(100% - 24px), var(--container));
    padding-top: 20px;
    padding-bottom: 42px;
  }

  main > * + * {
    margin-top: 18px;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .card {
    padding: 18px;
    border-radius: 16px;
  }

  .card--hero {
    padding: 20px;
    padding-top: 24px;
    border-radius: 18px;
  }

  .stat-card {
    padding: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .day-chart-block {
    padding: 14px;
  }

  .day-chart-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .day-chart {
    grid-template-columns: repeat(96, minmax(0, 1fr));
    gap: 1px;
    min-height: 132px;
    padding: 12px 8px 8px;
  }

  .day-chart__bar {
    min-height: 8px;
    border-radius: 999px 999px 3px 3px;
  }

  .day-chart-scale {
    font-size: 0.72rem;
    gap: 2px;
  }

  .day-chart__now-line::before {
    top: -20px;
    font-size: 0.85rem;
  }

  .day-chart__now-label {
    font-size: 0.68rem;
  }

  .feature-band {
    padding: 42px 0;
  }

  .calc-card,
  .custom-calc {
    padding: 16px;
  }

  .calc-card__inputs,
  .calc-card__results {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.94rem;
  }

  thead th,
  tbody td {
    padding: 10px 12px;
  }

  .big-price .price-inline {
    font-size: 2.15rem;
  }

  .history-links {
    gap: 8px;
  }

  .history-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .card--hero:hover .big-price .price-inline {
    transform: none !important;
  }
}
.hero-cheapest-summary {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-cheapest-summary__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.hero-cheapest-summary__rows {
  display: grid;
  gap: 8px;
}

.hero-cheapest-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hero-cheapest-summary__label {
  flex: 0 0 auto;
  font-size: 0.92rem;
  opacity: 0.82;
}

.hero-cheapest-summary__value {
  text-align: right;
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-cheapest-summary__saving {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-cheapest-summary__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-cheapest-summary__link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero-cheapest-summary__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero-cheapest-summary__value {
    text-align: left;
  }
}
.hero-cheapest-summary {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-cheapest-summary__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.hero-cheapest-summary__rows {
  display: grid;
  gap: 8px;
}

.hero-cheapest-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hero-cheapest-summary__label {
  flex: 0 0 auto;
  font-size: 0.92rem;
  opacity: 0.82;
}

.hero-cheapest-summary__value {
  text-align: right;
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-cheapest-summary__saving {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-cheapest-summary__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-cheapest-summary__link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero-cheapest-summary__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero-cheapest-summary__value {
    text-align: left;
  }
}