:root {
  --ds-ink: #2a2119;
  --ds-soft: #66594c;
  --ds-brown: #a85836;
  --ds-brown-dark: #7b3f27;
  --ds-cream: #fbf5e8;
  --ds-blue: #eaf7fb;
  --ds-mint: #e7f5ef;
  --ds-beige: #f6eddc;
  --ds-line: #ded1bd;
  --ds-card: #fffdf8;
  --ds-shadow: 0 22px 44px rgba(93, 70, 45, 0.16);
  --ds-radius: 18px;
  --ds-max: 1120px;
}

body {
  background: #ffffff;
  overflow-x: hidden;
}

.ds-wrap {
  width: 100%;
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ds-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.ds-section h1,
.ds-section h2,
.ds-section h3,
.ds-section p {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ds-section h1,
.ds-section h2 {
  margin: 0;
  color: var(--ds-ink);
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ds-section h1 {
  max-width: 10.5em;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.ds-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.ds-section h3 {
  margin: 0 0 10px;
  color: var(--ds-brown-dark);
  font-size: 1.05rem;
  line-height: 1.45;
}

.ds-section p {
  margin: 0;
  color: var(--ds-soft);
  line-height: 1.9;
}

.ds-lead {
  max-width: 34em;
  font-size: 1.05rem;
}

.ds-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ds-brown-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.ds-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.ds-appmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ds-appmark img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(79, 51, 30, 0.18);
}

.ds-appmark__name {
  color: var(--ds-ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.ds-appmark__meta {
  font-size: 0.86rem;
}

.ds-hero {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 49px, transparent 50px) 0 0 / 50px 50px,
    linear-gradient(180deg, #ffffff 0%, #fdf8ed 100%);
  padding: 96px 0 78px;
}

.ds-hero__grid {
  display: grid;
  align-items: center;
  gap: 42px;
}

.ds-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ds-hero__copy h1 {
  margin-bottom: 22px;
}

.ds-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 30px;
}

.ds-hero__actions p {
  max-width: 18em;
  font-size: 0.85rem;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
}

.ds-hero__visual,
.ds-single-shot,
.ds-shot-row {
  display: flex;
  justify-content: center;
}

.ds-hero__visual {
  position: relative;
  min-height: 520px;
  align-items: center;
}

.ds-shelf {
  position: absolute;
  inset: 12% 4% 10% auto;
  width: min(78vw, 470px);
  height: min(78vw, 470px);
  border: 2px solid rgba(168, 88, 54, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(168, 88, 54, 0.18) 49%, rgba(168, 88, 54, 0.18) 51%, transparent 52%),
    linear-gradient(180deg, transparent 32%, rgba(168, 88, 54, 0.16) 33%, rgba(168, 88, 54, 0.16) 34%, transparent 35%, transparent 66%, rgba(168, 88, 54, 0.16) 67%, rgba(168, 88, 54, 0.16) 68%, transparent 69%),
    #f4fbfb;
  transform: rotate(-4deg);
}

.ds-phone {
  position: relative;
  z-index: 1;
  width: min(238px, 70vw);
  height: auto;
  border-radius: 30px;
  box-shadow: var(--ds-shadow);
  background: #fff;
}

.ds-phone--hero {
  width: min(306px, 78vw);
}

.ds-phone--large {
  width: min(296px, 78vw);
}

.ds-flow {
  background: #ffffff;
  padding: 58px 0 64px;
}

.ds-section__intro {
  max-width: 680px;
  margin-bottom: 34px;
}

.ds-flow__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: flow;
}

.ds-flow__list li {
  counter-increment: flow;
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: var(--ds-card);
  color: var(--ds-ink);
  font-weight: 700;
}

.ds-flow__list li::before {
  content: counter(flow, decimal-leading-zero);
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ds-brown);
  color: #fff;
  font-size: 0.82rem;
}

.ds-band--cool {
  background: var(--ds-blue);
}

.ds-band--white {
  background: #ffffff;
}

.ds-band--mint {
  background: var(--ds-mint);
}

.ds-band--beige {
  background: var(--ds-beige);
}

.ds-pair {
  display: grid;
  gap: 42px;
  align-items: center;
}

.ds-copy {
  max-width: 520px;
}

.ds-copy h2 {
  margin-bottom: 20px;
}

.ds-copy p + p {
  margin-top: 14px;
}

.ds-shot-row {
  align-items: flex-end;
  gap: 18px;
}

.ds-shot-row .ds-phone:nth-child(2),
.ds-shot-row picture:nth-child(2) .ds-phone {
  transform: translateY(34px);
}

.ds-features {
  background: #ffffff;
}

.ds-feature-grid {
  display: grid;
  gap: 16px;
}

.ds-feature-grid article {
  position: relative;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: var(--ds-card);
}

.ds-feature-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 2px solid var(--ds-brown);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 48%, var(--ds-brown) 49%, var(--ds-brown) 56%, transparent 57%),
    linear-gradient(45deg, transparent 52%, var(--ds-brown) 53%, var(--ds-brown) 60%, transparent 61%);
}

.ds-feature-grid p {
  font-size: 0.94rem;
}

.ds-cta {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  padding-bottom: 86px;
}

.ds-cta__inner {
  max-width: 820px;
  text-align: center;
}

.ds-cta h2 {
  margin-bottom: 16px;
}

.ds-cta p {
  max-width: 34em;
  margin: 0 auto 26px;
}

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

@media (min-width: 700px) {
  .ds-flow__list,
  .ds-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ds-section {
    padding: 104px 0;
  }

  .ds-wrap {
    padding: 0 28px;
  }

  .ds-hero__grid,
  .ds-pair {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 64px;
  }

  .ds-pair--reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .ds-pair--reverse .ds-copy {
    order: 2;
  }

  .ds-pair--reverse .ds-single-shot,
  .ds-pair--reverse .ds-shot-row {
    order: 1;
  }

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

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

@media (max-width: 699px) {
  .site-header__inner {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-header__brand {
    font-size: 0.95rem;
  }

  .site-header__back {
    max-width: calc(100vw - 40px);
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .ds-section {
    padding: 58px 0;
  }

  .ds-hero {
    min-height: auto;
    padding-top: 50px;
  }

  .ds-section h1 {
    max-width: 9em;
    font-size: clamp(1.75rem, 7.4vw, 2.05rem);
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .ds-lead {
    max-width: 18.5em;
    font-size: 1rem;
  }

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

  .ds-hero__visual {
    min-height: 420px;
    justify-content: center;
  }

  .ds-phone--hero {
    width: min(244px, 65vw);
  }

  .ds-shelf {
    right: 50%;
    width: 300px;
    height: 300px;
    transform: translateX(50%) rotate(-4deg);
  }

  .ds-shot-row {
    gap: 12px;
  }

  .ds-shot-row .ds-phone {
    width: min(158px, 44vw);
    border-radius: 22px;
  }

  .ds-shot-row .ds-phone:nth-child(2),
  .ds-shot-row picture:nth-child(2) .ds-phone {
    transform: translateY(24px);
  }

  .ds-flow__list li {
    min-height: 64px;
  }
}
