:root {
  color-scheme: light;
  --bg: #f6fbf8;
  --surface: #ffffff;
  --surface-soft: #eaf7f0;
  --ink: #10221a;
  --muted: #5d7068;
  --brand: #17b66a;
  --brand-dark: #0a7b49;
  --brand-soft: #dff7ea;
  --line: #dbe8e1;
  --dark: #0b2418;
  --dark-soft: #153527;
  --shadow: 0 24px 70px rgba(16, 34, 26, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(23, 182, 106, 0.14), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

input,
button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 232, 225, 0.8);
  background: rgba(246, 251, 248, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 182, 106, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  padding: 9px 14px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: rgba(234, 247, 240, 0.72);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(23, 182, 106, 0.24), transparent 32rem),
    var(--dark);
  color: #f3fff8;
}

.hero {
  padding-top: 84px;
}

.hero-grid,
.split,
.cta-card,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #8ff0bc;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 740px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  margin: 16px 0 0;
}

.section-dark p,
.section-dark span {
  color: #c9ddd3;
}

.hero-text {
  max-width: 690px;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 182, 106, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  position: absolute;
  inset: 42px -18px -18px 36px;
  border-radius: 34px;
  background: var(--brand-soft);
  content: "";
  transform: rotate(4deg);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  max-width: 390px;
  margin-left: auto;
  border: 12px solid #111f18;
  border-radius: 46px;
  background: #edf8f1;
  box-shadow: var(--shadow);
}

.chat-header {
  padding: 22px 22px 18px;
  background: var(--dark);
  color: #fff;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  color: #8ff0bc;
  font-size: 0.86rem;
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 28px 18px 34px;
}

.bubble {
  max-width: 86%;
  margin: 0;
  border-radius: 20px;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 13px 15px;
}

.bubble.received {
  justify-self: start;
  border-bottom-left-radius: 7px;
  background: #fff;
}

.bubble.sent {
  justify-self: end;
  border-bottom-right-radius: 7px;
  background: #d7f9e4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.steps,
.cards-3,
.faq-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.info-card,
.feature-grid article,
.legal-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(16, 34, 26, 0.06);
  padding: 26px;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
  margin-bottom: 22px;
}

.notice {
  border-left: 4px solid var(--brand);
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--ink);
  font-weight: 600;
  padding: 16px 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compliance-list {
  display: grid;
  gap: 14px;
}

.compliance-list div {
  border: 1px solid rgba(143, 240, 188, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.compliance-list strong,
.compliance-list span {
  display: block;
}

.compliance-list strong {
  margin-bottom: 6px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card h2 {
  font-size: 1.55rem;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

details {
  cursor: pointer;
}

summary {
  color: var(--ink);
  font-weight: 800;
}

.cta-section {
  padding-top: 54px;
}

.cta-card {
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 48px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfffd;
  color: var(--ink);
  padding: 14px 15px;
}

.contact-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23, 182, 106, 0.12);
  outline: none;
}

.form-note {
  margin-top: 0;
  font-size: 0.86rem;
}

.form-note a {
  color: var(--brand-dark);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.legal-hero {
  padding: 72px 0 40px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 42px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 18px;
}

.legal-nav a {
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  padding: 9px 11px;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}

.legal-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.legal-section ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-section li + li {
  margin-top: 8px;
}

.small-print {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 18px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero-grid,
  .split,
  .cta-card,
  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .steps,
  .cards-3,
  .faq-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.1rem);
  }

  .steps,
  .cards-3,
  .faq-grid,
  .legal-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
