:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --ink: #121417;
  --muted: #5f6b7a;
  --soft: #e7edf3;
  --line: #dbe3ea;
  --blue: #1664f5;
  --blue-dark: #0e49bb;
  --green: #19a66a;
  --green-soft: #dff8ed;
  --shadow: 0 24px 80px rgba(35, 55, 80, 0.14);
  --radius: 8px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(247, 249, 251, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  font-weight: 820;
  box-shadow: 0 10px 28px rgba(22, 100, 245, 0.22);
}

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

.nav a,
.footer a,
.text-link {
  transition: color 160ms ease;
}

.nav a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 56px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 42px 0 76px;
}

.hero-copy h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 42px rgba(18, 20, 23, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 660px;
  margin: 46px 0 0;
  padding: 0;
}

.trust-row div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.trust-row dt {
  font-size: 14px;
  font-weight: 780;
}

.trust-row dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-visual::before {
  position: absolute;
  inset: 56px 8px 42px 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 22%, rgba(25, 166, 106, 0.18), transparent 34%),
    radial-gradient(circle at 78% 70%, rgba(22, 100, 245, 0.18), transparent 36%),
    linear-gradient(135deg, #ffffff, #edf4fb);
  content: "";
}

.phone-shell {
  position: relative;
  width: min(356px, 82vw);
  padding: 12px;
  border: 1px solid #1d232b;
  border-radius: 36px;
  background: #121417;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: #f8fafc;
  padding: 24px 18px;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-title {
  font-size: 17px;
  font-weight: 800;
}

.app-count {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--green-soft);
  color: #087848;
  font-size: 12px;
  font-weight: 760;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.photo-card {
  aspect-ratio: 0.82;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 26px rgba(38, 48, 60, 0.12);
}

.photo-one {
  background: linear-gradient(145deg, #7fb2ff, #f7f2e8 58%, #5eb184);
}

.photo-two {
  background: linear-gradient(145deg, #eec88e, #f2faf8 54%, #315e94);
}

.photo-three {
  background: linear-gradient(145deg, #9bd6c2, #ffffff 48%, #d65b57);
}

.photo-four {
  background: linear-gradient(145deg, #1d79ee, #f6f8fb 50%, #84c15d);
}

.pipeline {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step.active {
  border-color: rgba(22, 100, 245, 0.22);
  box-shadow: 0 14px 34px rgba(22, 100, 245, 0.12);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 840;
}

.step strong {
  display: block;
  font-size: 14px;
}

.step span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.output-panel {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: #111820;
  color: white;
}

.output-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 28px;
  line-height: 1.1;
}

.output-label {
  color: #9fb1c4;
  font-size: 12px;
  font-weight: 700;
}

.output-files {
  display: flex;
  gap: 8px;
}

.output-files span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 12px;
  font-weight: 760;
}

.floating-summary {
  position: absolute;
  right: 0;
  bottom: 64px;
  max-width: 260px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
  box-shadow: 0 18px 56px rgba(35, 55, 80, 0.14);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-copy h2,
.cta-section h2,
.legal-card h1,
.support-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 820;
  letter-spacing: 0;
}

.section-copy p,
.cta-section p,
.support-hero p,
.legal-card p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.centered {
  text-align: center;
}

.centered p {
  margin-right: auto;
  margin-left: auto;
}

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

.flow-grid article,
.feature-list article,
.support-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.flow-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 840;
}

.flow-grid h3,
.feature-list h3,
.support-grid h2 {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.flow-grid p,
.feature-list p,
.support-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.privacy-visual {
  min-height: 430px;
}

.privacy-window {
  position: relative;
  min-height: 390px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d4df;
}

.privacy-lines {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.privacy-lines span {
  display: block;
  height: 16px;
  border-radius: 8px;
  background: #edf2f7;
}

.privacy-lines span:nth-child(1) {
  width: 74%;
}

.privacy-lines span:nth-child(2) {
  width: 92%;
}

.privacy-lines span:nth-child(3) {
  width: 58%;
}

.lock-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #111820;
  color: white;
}

.lock-panel svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 760;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
  padding: 42px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 70px rgba(35, 55, 80, 0.09);
}

.cta-section p {
  max-width: 560px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

.footer nav {
  display: flex;
  gap: 22px;
}

.legal-page,
.support-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 90px;
}

.legal-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.legal-card h2 {
  margin: 34px 0 0;
  font-size: 22px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 720;
}

.updated {
  font-size: 15px;
}

.support-hero {
  padding: 54px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 70px rgba(35, 55, 80, 0.09);
}

.support-hero .button {
  margin-top: 28px;
}

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

@media (max-width: 960px) {
  .hero,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    min-height: auto;
    padding-top: 30px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .flow-grid,
  .feature-list,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    display: none;
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero,
  .section,
  .footer,
  .legal-page,
  .support-page {
    width: min(100% - 28px, var(--max));
  }

  .hero-copy h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-copy p,
  .section-copy p,
  .cta-section p,
  .support-hero p,
  .legal-card p {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-row,
  .flow-grid,
  .feature-list,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding: 22px 0 72px;
  }

  .hero-visual::before {
    inset: 48px 0 46px;
  }

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

  .floating-summary {
    right: 8px;
    bottom: 18px;
    left: 8px;
    max-width: none;
  }

  .section {
    padding: 70px 0;
  }

  .privacy-section {
    gap: 30px;
  }

  .privacy-visual {
    min-height: 330px;
  }

  .privacy-window {
    min-height: 320px;
  }

  .cta-section,
  .legal-card,
  .support-hero {
    padding: 26px;
  }

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