:root {
  --ink: #151719;
  --muted: #626b66;
  --line: #e5e0d8;
  --paper: #fffdf9;
  --soft: #f5f8f3;
  --mint: #54a980;
  --coral: #ee6d4d;
  --gold: #d9ae3f;
  --blue: #5b82a8;
  --shadow: 0 24px 70px rgba(31, 42, 35, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(84, 169, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 109, 77, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(21, 23, 25, 0.08);
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.quick-facts,
.support,
.footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lede {
  max-width: 590px;
  color: #3f4944;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.35;
}

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

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

.button.primary {
  color: #fff;
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(238, 109, 77, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.button.disabled {
  color: var(--muted);
  border-color: rgba(21, 23, 25, 0.12);
  background: rgba(255, 255, 255, 0.56);
  cursor: default;
}

.quick-facts {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.quick-facts div {
  min-width: 136px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 23, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.quick-facts dt {
  font-size: 28px;
  font-weight: 850;
}

.quick-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 720px;
}

.phone {
  position: absolute;
  width: min(45vw, 390px);
  max-width: none;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-main {
  right: 0;
  top: 0;
  z-index: 2;
}

.phone-side {
  left: 0;
  top: 96px;
  opacity: 0.92;
  transform: rotate(-4deg);
}

.apps-section,
.features,
.details,
.support {
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

.section-heading,
.feature-copy {
  max-width: 760px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.app-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 166px;
  padding: 24px;
  border: 1px solid rgba(21, 23, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.app-card.tool-entry {
  border-color: rgba(91, 130, 168, 0.28);
}

.app-card.tool-entry:hover {
  border-color: rgba(91, 130, 168, 0.58);
  background: rgba(255, 255, 255, 0.94);
}

.app-card img,
.placeholder-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
}

.placeholder-icon {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf1f6;
  font-size: 42px;
  font-weight: 500;
}

.app-card p,
.feature-copy p,
.details p,
.support p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.features {
  background: linear-gradient(180deg, rgba(245, 248, 243, 0.82), rgba(255, 253, 249, 0.95));
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  margin-top: 36px;
}

.feature-strip img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.details article {
  min-height: 250px;
  padding: 28px;
  border-top: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
}

.details article:nth-child(2) {
  border-color: var(--gold);
}

.details article:nth-child(3) {
  border-color: var(--mint);
}

.number {
  display: block;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.support {
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.support div {
  max-width: 760px;
}

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

.footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

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

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

  .phone {
    width: min(64vw, 360px);
  }

  .phone-main {
    right: 8%;
  }

  .phone-side {
    left: 6%;
  }

  .app-grid,
  .details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-media {
    min-height: 500px;
  }

  .phone {
    width: 70vw;
    border-radius: 28px;
  }

  .phone-main {
    right: 0;
  }

  .phone-side {
    left: -12vw;
    top: 86px;
  }

  .feature-strip {
    display: flex;
    gap: 16px;
    margin-right: -20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }

  .feature-strip img {
    flex: 0 0 76vw;
    scroll-snap-align: start;
  }

  .app-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px;
  }

  .app-card img,
  .placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

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