:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5a6678;
  --line: #dce4ee;
  --paper: #ffffff;
  --mist: #eef7f5;
  --teal: #0f9f8f;
  --teal-dark: #0b6f65;
  --coral: #e86f5d;
  --sun: #f4bf45;
  --blue: #2f6fdd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 238, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 24px rgba(15, 159, 143, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(238, 247, 245, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(244, 191, 69, 0.22), transparent 30%),
    linear-gradient(145deg, #f8fbff 0%, #eef7f5 46%, #fff4ef 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 58px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #344055;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

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

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

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.app-scene {
  position: relative;
  min-height: 520px;
}

.phone {
  width: min(360px, 78vw);
  aspect-ratio: 9 / 19;
  margin-left: auto;
  border: 10px solid #172033;
  border-radius: 36px;
  background: #f8fbff;
  box-shadow: 0 24px 60px rgba(24, 33, 47, 0.24);
  overflow: hidden;
}

.phone-top {
  height: 74px;
  padding: 18px 18px 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg, #172033, #0f9f8f);
}

.screen-title {
  font-size: 17px;
  font-weight: 900;
}

.pill {
  border-radius: 999px;
  padding: 5px 9px;
  color: #0b6f65;
  background: #dcfff7;
  font-size: 11px;
  font-weight: 800;
}

.screen {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.preview {
  min-height: 124px;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: end;
  color: #fff;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(24, 33, 47, 0.12), rgba(24, 33, 47, 0.58)),
    linear-gradient(120deg, #49c2b3, #f4bf45 52%, #e86f5d);
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tool-tile {
  min-height: 92px;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.tile-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--teal);
}

.tool-tile:nth-child(2) .tile-icon {
  background: var(--coral);
}

.tool-tile:nth-child(3) .tile-icon {
  background: var(--blue);
}

.tool-tile:nth-child(4) .tile-icon {
  background: var(--sun);
}

.tool-title {
  font-size: 13px;
  font-weight: 900;
}

.tool-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.floating-card {
  position: absolute;
  left: 20px;
  bottom: 72px;
  width: 210px;
  border: 1px solid rgba(220, 228, 238, 0.9);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(24, 33, 47, 0.16);
}

.progress {
  height: 8px;
  border-radius: 99px;
  background: #e6edf2;
  overflow: hidden;
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--teal);
}

.floating-card strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 14px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f8fbff;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

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

.icon-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal);
}

.feature:nth-child(2) .icon-dot {
  background: var(--blue);
}

.feature:nth-child(3) .icon-dot {
  background: var(--coral);
}

.feature:nth-child(4) .icon-dot {
  background: var(--sun);
}

.legal-page {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 86px;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-page ul {
  padding-left: 20px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    grid-template-columns: 1fr;
    padding: 54px 0 58px;
    gap: 36px;
  }

  .app-scene {
    min-height: 430px;
  }

  .phone {
    margin: 0 auto;
    width: min(330px, 86vw);
  }

  .floating-card {
    left: 0;
    bottom: 18px;
  }

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

  .section-inner,
  .legal-page,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 58px;
  }

  .nav-links a:nth-child(1) {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

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

  .floating-card {
    display: none;
  }
}
