:root {
  --ink: #1f2430;
  --muted: #5d6575;
  --line: #d8dde7;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --teal: #14323a;
  --teal-2: #285967;
  --blue: #516aa5;
  --green: #4f7f6f;
  --gold: #c7a35a;
  --shadow: 0 24px 70px rgba(19, 34, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(247, 248, 251, 0.88);
  border-bottom: 1px solid rgba(216, 221, 231, 0.75);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 36, 48, 0.12);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 163, 90, 0.22), transparent 26%),
    linear-gradient(135deg, #f7f8fb 0%, #eef4f5 48%, #e8edf8 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  display: inline-flex;
  min-width: 178px;
  min-height: 60px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(31, 36, 48, 0.08);
}

.store-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.store-button strong {
  font-size: 20px;
  line-height: 1.1;
}

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

.store-button-dark span {
  color: rgba(255, 255, 255, 0.7);
}

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

.hero-metrics span {
  min-height: 86px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 221, 231, 0.8);
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 0.51;
  margin: 0;
  overflow: hidden;
  background: #eef0f6;
  border: 10px solid #11151d;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 22px;
  transform: translateX(-50%);
  background: #11151d;
  border-radius: 0 0 16px 16px;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-main {
  position: absolute;
  right: 8%;
  top: 0;
  width: min(72vw, 330px);
  z-index: 2;
}

.phone-back {
  position: absolute;
  left: 0;
  top: 118px;
  width: min(58vw, 255px);
  opacity: 0.92;
}

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

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

.feature-band {
  background: #fff;
}

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

.feature-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 26px;
  color: #fff;
  background: var(--teal-2);
  border-radius: 8px;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
  color: #fff;
  background: var(--teal);
}

.workflow .eyebrow {
  color: #b7d5c9;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workflow-steps div {
  min-height: 142px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.workflow-steps strong,
.workflow-steps span {
  display: block;
}

.workflow-steps strong {
  margin-bottom: 12px;
  font-size: 22px;
}

.workflow-steps span {
  color: rgba(255, 255, 255, 0.72);
}

.showcase {
  background: #eef2f4;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
}

.screen-rail .phone {
  width: 100%;
  min-width: 190px;
  border-width: 8px;
  border-radius: 30px;
  scroll-snap-align: start;
}

.cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: #fff;
}

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

.site-footer a {
  font-weight: 700;
}

.policy-hero {
  padding: clamp(58px, 7vw, 92px) clamp(18px, 5vw, 72px) 34px;
  background: linear-gradient(135deg, #f7f8fb 0%, #eef4f5 100%);
}

.policy-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 68px);
}

.policy-content {
  max-width: 900px;
  padding: 24px clamp(18px, 5vw, 72px) clamp(64px, 8vw, 110px);
}

.policy-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy-content p {
  color: var(--muted);
  font-size: 18px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .phone-main {
    right: 12%;
  }

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

  .workflow,
  .cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 42px;
  }

  .hero-metrics,
  .feature-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

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

  .phone-main {
    right: 0;
    width: min(72vw, 300px);
  }

  .phone-back {
    top: 90px;
    width: min(52vw, 220px);
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .store-button {
    flex: 1 1 100%;
  }
}
