@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --bg-mint: #F4FBF7;
  --bg-white: #FFFFFF;
  --bg-mint-soft: #E6F6EE;
  --emerald-dark: #064E3B;
  --emerald-primary: #059669;
  --emerald-hover: #047857;
  --emerald-bright: #10B981;
  --text-dark: #0F291E;
  --text-body: #335343;
  --text-muted: #5C7A6B;
  --gold-badge: #FEF3C7;
  --gold-text: #92400E;
  --border-mint: #D1FAE5;
  --border-subtle: #E2EFE8;
  --radius-xl: 20px;
  --radius-md: 14px;
  --shadow-mint: 0 14px 34px -8px rgba(6, 78, 59, 0.08), 0 4px 12px -2px rgba(6, 78, 59, 0.04);
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-mint);
  color: var(--text-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Full-Width Top Trust Banner */
.trust-banner {
  background: var(--emerald-dark);
  color: #ECFDF5;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--emerald-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-shield {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--emerald-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.btn-emerald {
  background: var(--emerald-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn-emerald:hover {
  background: var(--emerald-hover);
  transform: translateY(-1px);
}

/* Two-Column Split Hero */
.split-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.zero-risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-mint-soft);
  border: 1px solid var(--border-mint);
  color: var(--emerald-dark);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-left h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--emerald-dark);
  margin-bottom: 18px;
}

.hero-left p {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 540px;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-dark);
}

.trust-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right Column: Instant Refund Calculator Widget */
.calculator-widget {
  background: var(--bg-white);
  border: 2px solid var(--border-mint);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-mint);
}

.widget-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emerald-dark);
  margin-bottom: 4px;
}

.widget-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.refund-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.type-tab {
  background: var(--bg-mint);
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.type-tab.active {
  background: var(--emerald-primary);
  color: #fff;
  border-color: var(--emerald-primary);
}

.calc-input-group {
  margin-bottom: 20px;
}

.calc-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  accent-color: var(--emerald-primary);
  cursor: pointer;
}

.payout-box {
  background: var(--bg-mint-soft);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.payout-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-dark);
}

.payout-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--emerald-primary);
  line-height: 1.15;
  margin: 4px 0 6px;
}

.payout-split {
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 600;
}

/* Searchable Public Refund Database Section */
.lookup-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 24px;
}

.lookup-container {
  max-width: 1180px;
  margin: 0 auto;
}

.lookup-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.lookup-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--emerald-dark);
  margin-bottom: 10px;
}

.lookup-header p {
  color: var(--text-body);
  font-size: 1.05rem;
}

.lookup-search-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto 32px;
  background: var(--bg-mint);
  padding: 10px;
  border-radius: 16px;
  border: 1.5px solid var(--border-mint);
}

.lookup-input {
  border: none;
  background: var(--bg-white);
  padding: 14px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-dark);
  outline: none;
}

.lookup-filter-select {
  border: 1px solid var(--border-subtle);
  background: var(--bg-white);
  padding: 0 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}

.claims-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.claim-card {
  background: var(--bg-mint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.claim-card:hover {
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-mint);
}

.claim-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.claim-badge {
  background: var(--bg-white);
  border: 1px solid var(--border-mint);
  color: var(--emerald-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.claim-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-primary);
}

.claim-company {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.claim-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.claim-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.net-keep-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

.btn-claim-outline {
  background: var(--bg-white);
  color: var(--emerald-primary);
  border: 1.5px solid var(--emerald-primary);
  border-radius: 10px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-claim-outline:hover {
  background: var(--emerald-primary);
  color: #fff;
}

/* 3-Step Visual Timeline */
.timeline-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.timeline-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.timeline-badge {
  display: inline-block;
  background: var(--gold-badge);
  color: var(--gold-text);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.timeline-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--emerald-dark);
}

.timeline-card p {
  font-size: 0.94rem;
  color: var(--text-body);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 78, 59, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-mint);
}

/* Subtle Corner Domain Switcher */
.corner-brand-switcher {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-mint);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.corner-brand-switcher select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  color: var(--emerald-dark);
  font-size: 0.76rem;
  outline: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .split-hero,
  .claims-list,
  .timeline-grid,
  .lookup-search-bar {
    grid-template-columns: 1fr;
  }
}
