:root {
  color-scheme: light;
  --bg: #f8faf7;
  --surface: #ffffff;
  --ink: #18201d;
  --muted: #5e6a65;
  --line: #dfe7e2;
  --green: #28d17c;
  --violet: #7357ff;
  --teal: #0e8f85;
  --shadow: 0 18px 55px rgba(24, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 231, 226, 0.86);
  background: rgba(248, 250, 247, 0.9);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark,
.hero-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 28%, rgba(40, 209, 124, 0.9), transparent 34%),
    radial-gradient(circle at 70% 70%, rgba(115, 87, 255, 0.86), transparent 36%),
    #17201d;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-mark img,
.hero-mark img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-fallback,
.hero-fallback {
  grid-area: 1 / 1;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.brand-mark img + .brand-fallback,
.hero-mark img + .hero-fallback {
  display: none;
}

.brand-fallback {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 48px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.proof {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.proof strong {
  display: block;
  margin-bottom: 4px;
}

.proof span {
  color: var(--muted);
  font-size: 0.92rem;
}

.phone {
  justify-self: center;
  width: min(390px, 100%);
  border: 1px solid #22312b;
  border-radius: 34px;
  padding: 14px;
  background: #101815;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 620px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf5ef;
}

.phone-top {
  padding: 22px 20px 16px;
  background: #17201d;
  color: white;
}

.phone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.hero-fallback {
  width: 26px;
  height: 26px;
}

.search {
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.92rem;
}

.chips {
  display: flex;
  gap: 8px;
  margin: 16px 20px;
  overflow: hidden;
}

.chip {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.chip.active {
  background: #d9ffec;
  color: #08764f;
}

.blink-card {
  margin: 0 20px 14px;
  padding: 16px;
  border: 1px solid #d4e3da;
  border-radius: 8px;
  background: white;
}

.blink-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.blink-card p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

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

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.flow-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.feature,
.flow-step,
.legal-card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature,
.flow-step,
.legal-card {
  padding: 22px;
}

.feature h3,
.flow-step h3,
.legal-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature p,
.flow-step p,
.legal-card p,
.doc-card p {
  color: var(--muted);
}

.limits {
  background: #17201d;
  color: white;
}

.limits .section-intro,
.limits p {
  color: rgba(255, 255, 255, 0.72);
}

.limits-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.limits-list li {
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.doc {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.doc-card {
  padding: 28px;
}

.doc h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.doc h2 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.doc ul {
  padding-left: 22px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner a {
  margin-right: 16px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .phone {
    width: min(360px, 100%);
  }

  .phone-screen {
    min-height: 560px;
  }

  .proof-strip,
  .feature-grid,
  .flow-grid,
  .legal-grid,
  .limits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
