:focus-visible {
  outline: 2px solid #33c46e;
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.how-mobile,
.day-mobile-shot {
  display: none;
}

.problem-phone {
  transform: none;
}

.problem-connector svg {
  width: 100% !important;
  max-width: none;
}

.site-nav > div {
  font-family: 'Sora', sans-serif;
  font-weight: 300 !important;
  letter-spacing: 0.01em;
}

.ideas-groups {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 20px 96px 110px;
}

.idea-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.idea-group-title {
  color: #33c46e;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.idea-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.idea-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 240px;
  padding: 38px 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease;
}

.idea-card:hover {
  border-color: rgba(51, 196, 110, 0.45);
  background: rgba(51, 196, 110, 0.04);
}

.idea-card--wide {
  grid-column: span 2;
}

.idea-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 70% at 15% 0%, rgba(51, 196, 110, 0.1), transparent 72%);
  pointer-events: none;
}

.idea-card h2 {
  position: relative;
  max-width: 640px;
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.28;
  text-wrap: balance;
}

.idea-card p {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: rgba(232, 232, 230, 0.6);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  text-wrap: pretty;
}

.site-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.site-footer > div:last-child {
  justify-self: end;
}

@media (max-width: 900px) {
  .ideas-groups {
    gap: 52px;
    padding: 20px 22px 72px;
  }

  .idea-grid,
  .idea-grid--two {
    grid-template-columns: 1fr;
  }

  .idea-card--wide {
    grid-column: auto;
  }

  .idea-card {
    min-height: 0;
    padding: 30px 26px;
  }

  .idea-card h2 {
    font-size: 22px;
  }

  .site-nav .site-nav-cta {
    padding: 10px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .site-footer {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    padding: 36px 22px !important;
    text-align: center;
  }

  .site-footer > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-footer > div:last-child {
    justify-self: auto;
  }
}

@media (max-width: 1100px) {
  html body .problem-section {
    grid-template-columns: 1fr !important;
    gap: 56px !important;
  }

  .problem-copy {
    max-width: 680px;
  }

  html body .problem-section .problem-visual {
    grid-template-columns: 160px minmax(64px, 1fr) 230px !important;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  html body .problem-section .problem-phone {
    width: 230px !important;
    transform: translateX(56px);
  }

  .problem-connector svg {
    width: calc(100% + 56px) !important;
  }

  html body .day-section .day-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  html body .day-section .day-timeline {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: min(340px, 82vw);
    gap: 16px !important;
    max-width: none !important;
    margin-inline: -48px;
    padding: 12px 48px 24px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .day-timeline::-webkit-scrollbar {
    display: none;
  }

  html body .day-section [data-day-step] {
    grid-template-columns: 1fr !important;
    align-content: start;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(51, 196, 110, 0.07), rgba(255, 255, 255, 0.02) 55%);
    opacity: 1 !important;
    scroll-snap-align: center;
  }

  .day-section [data-day-step] > div:first-child {
    padding: 0 0 14px !important;
    text-align: left !important;
  }

  .day-section [data-day-step] > div:nth-child(2) {
    display: none !important;
  }

  html body .day-section .day-step-content {
    gap: 8px !important;
    padding-bottom: 0 !important;
  }

  html body .day-section .day-mobile-shot {
    display: block;
    width: 100%;
    margin-top: 18px;
    margin-bottom: -24px;
    aspect-ratio: 786 / 1050;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    object-position: top;
  }

  .day-preview {
    display: none;
  }
}

@media (max-width: 900px) {
  html body .problem-section,
  html body .how-section,
  html body .day-section {
    padding-block: 72px !important;
  }

  html body .problem-section {
    gap: 48px !important;
  }

  html body .problem-section .problem-visual {
    grid-template-columns: 140px minmax(48px, 1fr) 210px !important;
    width: min(100%, 540px);
  }

  html body .problem-section .problem-phone {
    width: 210px !important;
    padding: 8px !important;
    border-radius: 32px !important;
    transform: translateX(36px);
  }

  .problem-connector svg {
    width: calc(100% + 36px) !important;
  }

  .problem-phone img {
    border-radius: 25px !important;
  }

  html body .how-section [data-central-wrap] {
    aspect-ratio: auto !important;
  }

  .how-section [data-central-canvas] {
    display: none;
  }

  .how-mobile {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .how-mobile-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 620px;
  }

  .section-eyebrow {
    color: #33c46e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .how-mobile h2 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 8vw, 40px);
    font-weight: 200;
    line-height: 1.14;
    text-wrap: balance;
  }

  .how-mobile p {
    margin: 0;
    color: rgba(232, 232, 230, 0.64);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
  }

  .how-mobile-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 800 / 540;
    background: radial-gradient(ellipse 48% 54% at 50% 50%, rgba(51, 196, 110, 0.2), transparent 74%);
  }

  .how-mobile-canvas {
    position: absolute;
    left: 0 !important;
    top: 0 !important;
    width: 1280px !important;
    height: 780px !important;
    transform-origin: 0 0;
    background: transparent !important;
  }

  .how-mobile-systems {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .how-mobile-systems > div {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  .how-mobile-systems svg {
    width: 15px !important;
    height: 15px !important;
  }

  .how-mobile-systems span {
    color: rgba(232, 232, 230, 0.7);
    font-size: 11.5px !important;
  }

  .how-mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 22px;
  }

  .how-mobile-stats span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(232, 232, 230, 0.5);
    font-size: 12px;
    text-align: center;
  }

  .how-mobile-stats strong {
    color: #e8e8e6;
    font-family: 'Sora', sans-serif;
    font-size: 27px;
    font-weight: 200;
  }

  html body .day-section {
    gap: 40px !important;
  }

  html body .day-section .day-timeline {
    margin-inline: -22px;
    padding-inline: 22px !important;
  }
}

@media (max-width: 560px) {
  html body .problem-section {
    overflow: hidden;
    padding-bottom: 0 !important;
  }

  html body .problem-section .problem-visual {
    grid-template-columns: 94px minmax(12px, 1fr) minmax(170px, 210px) !important;
    align-items: start !important;
    width: 100%;
    height: 335px;
  }

  html body .problem-section .problem-apps {
    justify-content: space-around;
    gap: 0 !important;
    height: 300px;
  }

  .problem-apps > div {
    gap: 6px !important;
    padding: 9px 8px !important;
    font-size: 10.5px !important;
  }

  .problem-apps svg {
    width: 13px !important;
    height: 13px !important;
  }

  html body .problem-section .problem-connector {
    min-width: 0 !important;
    height: 300px !important;
  }

  html body .problem-section .problem-phone {
    width: min(100%, 210px) !important;
    padding: 6px !important;
    border-radius: 26px !important;
    transform: translateX(8px);
  }

  .problem-connector svg {
    width: calc(100% + 8px) !important;
  }

  .problem-phone img {
    border-radius: 20px !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  [data-day-step],
  [data-day-shot] {
    transition: none !important;
  }
}

@media (max-width: 420px) {
  .site-nav img {
    width: 116px;
    height: auto !important;
  }

  .site-nav .site-nav-cta {
    padding-inline: 12px !important;
    font-size: 12px !important;
  }
}
