:root {
  --bg: #f8f7f2;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #65645f;
  --line: #dedbd0;
  --primary: #0f6b5f;
  --primary-dark: #0a443d;
  --accent: #c94f2d;
  --shadow: 0 24px 80px rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 219, 208, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.language select {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 0 32px 0 12px;
  font: inherit;
}

.hero {
  min-height: calc(100dvh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lede {
  max-width: 62ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 107, 95, 0.3);
  outline-offset: 3px;
}

.primary {
  background: var(--primary);
  color: #fff;
}

.primary:hover {
  background: var(--primary-dark);
}

.secondary {
  background: transparent;
  border-color: var(--line);
}

.disabled {
  background: #e3e1d8;
  border-color: #d2cfc4;
  color: #7a766b;
  cursor: not-allowed;
}

.disabled:hover {
  transform: none;
}

.phone-stage {
  justify-self: center;
  width: min(420px, 78vw);
  border: 10px solid #191917;
  border-radius: clamp(34px, 7vw, 58px);
  background: #191917;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-stage img {
  width: 100%;
  height: auto;
  border-radius: clamp(24px, 5.8vw, 44px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 26px clamp(20px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}

.feature {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 46px;
  border-radius: 8px;
  background: #ecf4ee;
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.split > p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.page-hero {
  padding: clamp(60px, 9vw, 126px) clamp(20px, 5vw, 72px) 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.page-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.92rem;
}

.legal-content {
  max-width: 900px;
  padding: 46px clamp(20px, 5vw, 72px) 90px;
}

.legal-content section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  max-width: 100%;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    max-width: 10ch;
  }

  .phone-stage {
    width: min(320px, 76vw);
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child,
  .feature:last-child {
    border-bottom: 0;
  }

  .feature {
    min-height: auto;
  }

  .icon {
    margin-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
