:root {
  --max-width: 1120px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --border-soft: 1px solid #CBD5E1;
  --kwit-lightblue-secondary: #C9F0F9;
  --kwit-lightblue-tertiary: #EAF8FC;
  --section-gap-sm: 12px;
  --section-gap-md: 20px;
  --section-gap-lg: 28px;
  --card-shadow: 0 7px 20px 0 rgba(146, 166, 184, 0.20);
  --card-radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-app);
  border-bottom: var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  height: 34px;
}

.hero {
  position: relative;
  overflow: visible;
  background: white;
  padding: 64px 0 32px;
}

/* Hero grid layout - 2 columns on desktop/tablet */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 540px;
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hero-illustration img {
  width: 100%;
  height: auto;
  max-width: 450px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #A7F3D0;
  background: #ECFDF5;
  color: #047857;
  letter-spacing: 0.08em;
  width: fit-content;
  align-self: flex-start;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section-title {
  margin: 0 0 var(--section-gap-sm);
}

.section-intro {
  margin: 0 0 var(--section-gap-md);
}

.section-content {
  margin-top: var(--section-gap-md);
  width: 100%;
}

.section-cta.section-content {
  margin-top: var(--section-gap-lg);
}

.reassurance-cards-section {
  background: var(--kwit-lightblue-tertiary);
  padding: 48px 0;
}

.section {
  padding: 64px 0;
}

.section-cta {
  margin-top: 32px;
  text-align: center;
}

.bullet-list {
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.reassurance-top {
  padding-top: 12px;
}

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

.reassurance-item {
  border-radius: var(--card-radius-lg);
  padding: 16px;
  background: white;
  box-shadow: var(--card-shadow);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reassurance-item .typo-content-header {
  margin: 0;
}

.reassurance-item .typo-info {
  margin: 0;
}

.reassurance-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.steps-list {
  display: grid;
  gap: 12px;
}

.step-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: var(--border-soft);
}

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

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--text-accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.step-body h3 {
  margin: 0;
}

.step-body p {
  margin: 6px 0 0;
}

.step-action {
  display: flex;
  align-items: center;
}

.reassurance-bottom {
  background: var(--kwit-lightblue-tertiary);
}

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

.reassurance-card {
  border-radius: var(--card-radius-lg);
  padding: 14px 16px;
  background: white;
  box-shadow: var(--card-shadow);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reassurance-card p {
  margin: 0;
}

.reassurance-intro {
  max-width: 100%;
}

.card-logo {
  height: 30px;
  width: auto;
  max-width: 140px;
}

.card-logo-wrap {
  display: flex;
  align-items: flex-end;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-badge {
  padding: 16px 20px;
  border-radius: 16px;
  border: var(--border-soft);
  display: grid;
  place-items: center;
  min-height: 72px;
}

.logo-badge img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: white;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--text-accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.site-footer {
  padding: 12px 0 14px;
  border-top: var(--border-soft);
  background: var(--kwit-lightblue-secondary);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-line {
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--text-title);
}

.site-footer .text-secondary {
  color: var(--text-title);
}

.site-footer a {
  text-decoration: underline;
}

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

  .nav {
    justify-content: center;
  }

  .brand {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero {
    padding: 48px 0 32px;
  }

  /* Add spacing between pill label and title on mobile */
  .pill-label {
    margin-bottom: 24px;
  }

  /* Hero becomes single column on mobile, hide illustration */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-illustration {
    display: none;
  }

  /* Full width CTA buttons on mobile */
  .cta-row {
    width: 100%;
    justify-content: stretch;
  }

  .cta-row .btn-primary,
  .section-cta .btn-primary {
    width: 100%;
    max-width: none;
    display: block;
    text-align: center;
  }

  .reassurance-cards-section {
    padding: 32px 0;
  }

  /* Force 1 column layout for reassurance grid on mobile */
  .reassurance-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Make cards more compact on mobile */
  .reassurance-item {
    padding: 14px;
    gap: 6px;
  }

  .reassurance-icon {
    width: 28px;
    height: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .logo-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-badge {
    width: 100%;
  }

  .logo-badge img {
    height: 32px;
    max-width: 100%;
  }

  .step-row {
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
  }

  .step-action {
    grid-column: 2;
  }

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

@media (max-width: 520px) {
  .reassurance-cards {
    grid-template-columns: 1fr;
  }
}

/* Message template styling */
.message-template {
  margin-top: 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
}

.template-text {
  margin: 0;
  padding: 16px;
  background: #F4F5F6;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.btn-copy {
  width: 100%;
  padding: 12px;
  background: white;
  border: none;
  border-top: 1px solid #CBD5E1;
  color: var(--text-accent);
  font-weight: var(--fw-semibold);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-copy:hover {
  background: #F4F5F6;
}

.btn-copy.copied {
  color: #047857;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
