:root {
  --bg: #0a0f1e;
  --bg2: #111827;
  --bg3: #1a2235;
  --surface: #1e2d42;
  --surface2: #243347;
  --border: rgba(99, 179, 138, 0.18);
  --border2: rgba(99, 179, 138, 0.35);
  --accent: #3ecf8e;
  --accent2: #2eb87d;
  --text: #f0f4f8;
  --text2: #94a3b8;
  --text3: #64748b;
  --red: #f87171;
  --amber: #fbbf24;
  --blue: #60a5fa;
  --gold: #fcd34d;
  --font: "Sora", sans-serif;
  --mono: "DM Mono", monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  padding: 72px 24px 56px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(62, 207, 142, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

h1 span,
.accent-copy {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 12px;
  line-height: 1.7;
  font-weight: 300;
}

.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text3);
}

.trust-icon {
  color: var(--accent);
  font-size: 15px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.icon-red {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.icon-green {
  background: rgba(62, 207, 142, 0.15);
  color: var(--accent);
}

.icon-blue {
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue);
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 8px;
}

select,
input[type="number"] {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

select:focus,
input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.1);
}

select option {
  background: #1a2235;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--val, 50%),
    var(--bg3) var(--val, 50%),
    var(--bg3) 100%
  );
  border: none;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin: 8px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent2);
  cursor: pointer;
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text3);
  font-family: var(--mono);
  margin-top: 4px;
}

.salary-group {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.salary-group:focus-within {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.1);
}

.currency-prefix {
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text3);
  font-family: var(--mono);
  background: var(--surface);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.salary-group input {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  flex: 1;
  padding-left: 12px;
}

.per-month {
  padding: 11px 12px;
  font-size: 12px;
  color: var(--text3);
  white-space: nowrap;
  font-family: var(--mono);
}

.suggested-rate {
  background: rgba(62, 207, 142, 0.06);
  border: 1px dashed var(--border2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.suggested-rate .rate-val {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.market-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text3);
  line-height: 1.6;
}

.market-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(62, 207, 142, 0.08);
  color: var(--text2);
  font-size: 12px;
  line-height: 1.4;
}

.market-badge strong {
  color: var(--text);
  margin-right: 4px;
}

.results-card {
  background: linear-gradient(135deg, #0f1e32 0%, #0d1a2b 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.results-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(62, 207, 142, 0.08), transparent 70%);
  pointer-events: none;
}

.savings-hero {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.savings-label {
  font-size: 13px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.savings-amount {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.savings-pct {
  font-size: 18px;
  color: var(--text2);
  font-weight: 300;
}

.savings-pct strong {
  color: var(--gold);
  font-weight: 600;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.metric-label {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--mono);
}

.metric-val {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--text);
}

.metric-val.local {
  color: var(--red);
}

.metric-val.offshore {
  color: var(--accent);
}

.metric-val.save {
  color: var(--gold);
}

.bar-section {
  margin-bottom: 28px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bar-label {
  font-size: 13px;
  color: var(--text2);
  width: 80px;
  flex-shrink: 0;
  font-weight: 500;
}

.bar-track {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  height: 28px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.bar-local {
  background: linear-gradient(90deg, #ef4444, #f87171);
  color: #fff;
}

.bar-offshore {
  background: linear-gradient(90deg, #059669, #3ecf8e);
  color: #fff;
}

.breakdown {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.breakdown-header,
.breakdown-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.breakdown-header {
  padding: 12px 20px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  font-family: var(--mono);
}

.breakdown-row {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(99, 179, 138, 0.06);
  font-size: 14px;
}

.breakdown-row:hover {
  background: rgba(62, 207, 142, 0.04);
}

.breakdown-row:last-child {
  border-bottom: none;
}

.role-name {
  font-weight: 500;
  color: var(--text);
}

.role-local {
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
}

.role-offshore {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.role-save {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.cta-card {
  background: linear-gradient(135deg, #0d1f12 0%, #0a1a1f 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.cta-card::before {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(62, 207, 142, 0.12), transparent 70%);
}

.cta-heading {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-sub {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 28px;
  font-weight: 300;
  position: relative;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 20px;
  position: relative;
}

.cta-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.cta-input::placeholder {
  color: var(--text3);
}

.cta-input:focus {
  border-color: var(--accent);
}

.btn-primary {
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0f1e;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: #5de8a8;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.35);
}

.cta-privacy {
  font-size: 12px;
  color: var(--text3);
  position: relative;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.proof-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 10px;
}

.proof-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
  font-weight: 300;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.av-blue {
  background: rgba(96, 165, 250, 0.2);
  color: var(--blue);
}

.av-green {
  background: rgba(62, 207, 142, 0.2);
  color: var(--accent);
}

.av-amber {
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber);
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.author-title {
  font-size: 12px;
  color: var(--text3);
}

.faq-section {
  margin-bottom: 40px;
}

.faq-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: color 0.2s;
  color: var(--text);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-chevron {
  font-size: 12px;
  color: var(--text3);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
}

.faq-a.open {
  max-height: 300px;
}

.faq-a-inner {
  padding: 0 20px 16px;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

.footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  padding: 24px 0;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}

.footer-note a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links {
  margin-top: 6px;
}

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

.animate {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.tab-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tab-btn {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: rgba(62, 207, 142, 0.15);
  border-color: var(--accent2);
  color: var(--accent);
  font-weight: 500;
}

.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tt-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--text3);
  color: var(--text3);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.tt-box {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e3a52;
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text2);
  white-space: nowrap;
  z-index: 10;
}

.tooltip-wrap:hover .tt-box {
  display: block;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.section-gap {
  margin-bottom: 24px;
}

.roi-extra {
  text-align: center;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

.roi-line-strong {
  color: var(--accent);
  font-weight: 500;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.insight-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  min-height: 220px;
}

.insight-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.insight-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
  font-family: var(--mono);
}

.insight-head h3 {
  font-size: 18px;
  line-height: 1.2;
}

.insight-chip,
.insight-mini {
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.insight-chip {
  color: var(--accent);
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid rgba(62, 207, 142, 0.24);
}

.insight-mini {
  color: var(--text2);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.compare-chart {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.compare-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.compare-label,
.compare-value {
  font-size: 13px;
  font-family: var(--mono);
}

.compare-label {
  color: var(--text2);
}

.compare-value {
  color: var(--text);
}

.compare-bar-wrap {
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.compare-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-bar-local {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.85), rgba(251, 191, 36, 0.88));
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.18);
}

.compare-bar-offshore {
  background: linear-gradient(90deg, rgba(62, 207, 142, 0.8), rgba(96, 165, 250, 0.8));
  box-shadow: 0 0 20px rgba(62, 207, 142, 0.18);
}

.spark-chart {
  width: 100%;
  height: 160px;
  display: block;
}

.spark-grid {
  fill: none;
  stroke: rgba(148, 163, 184, 0.14);
  stroke-width: 1;
}

.spark-area {
  fill: url(#savingsFill);
}

.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(62, 207, 142, 0.35));
}

.spark-dot {
  fill: var(--gold);
  stroke: #fff6;
  stroke-width: 2;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text2);
  margin-top: 6px;
}

.stacked-bars {
  display: grid;
  gap: 14px;
}

.stack-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(10, 15, 30, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.stack-title {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 10px;
}

.stack-bar {
  display: flex;
  width: 100%;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.stack-segment {
  height: 100%;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-segment.salary {
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.stack-segment.overhead {
  background: linear-gradient(90deg, #fbbf24, #f97316);
}

.stack-legend {
  display: grid;
  gap: 8px;
}

.stack-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text2);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-salary {
  background: #60a5fa;
}

.dot-overhead {
  background: #fbbf24;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: fadeUp 0.3s ease;
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text2);
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 300;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text3);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-field {
  margin-bottom: 14px;
}

.modal-field input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}

.modal-field input:focus {
  border-color: var(--accent);
}

.modal-summary {
  background: rgba(62, 207, 142, 0.06);
  border: 1px dashed var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.7;
}

.modal-message {
  min-height: 20px;
  margin: 0 0 14px;
  font-size: 13px;
}

.modal-message.error {
  color: var(--red);
}

.modal-message.success {
  color: var(--accent);
}

.full-width-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.88;
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(10, 15, 30, 0.22);
  border-top-color: #0a0f1e;
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn-primary.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .grid-two,
  .proof-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .breakdown-header,
  .breakdown-row {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    font-size: 12px;
  }

  .compare-row {
    grid-template-columns: 56px 1fr;
  }

  .compare-value {
    grid-column: 2;
    justify-self: end;
  }
}

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

  .hero {
    padding-top: 56px;
  }

  .card,
  .results-card,
  .cta-card,
  .modal {
    padding: 22px;
  }

  .bar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bar-label {
    width: auto;
  }
}
