:root {
  color-scheme: light;
  --ink: #292929;
  --muted: #686868;
  --accent: #f36118;
  --paper: #f7f6f5;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 36px;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgb(255 255 255 / 82%), rgb(255 255 255 / 82%)), url("assets/background.png");
  background-position: center center;
  background-size: auto 100vh;
  background-attachment: fixed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  pointer-events: none;
}

.brand,
.site-nav,
.menu-toggle {
  pointer-events: auto;
}

.brand {
  position: fixed;
  top: 30px;
  left: 27px;
  display: block;
  width: 150px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  position: fixed;
  top: 35px;
  right: 55px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.site-nav::before {
  position: absolute;
  top: 12px;
  right: -22px;
  bottom: 12px;
  width: 1px;
  background: rgb(41 41 41 / 48%);
  content: "";
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  top: 50%;
  right: -27px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after {
  background: var(--accent);
  transform: translateY(-50%) scale(1.12);
}

.menu-toggle {
  display: none;
}

.page-section {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 20px;
}

.phone-stage {
  display: none;
}

.hero {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: 140px 16% 100px 8%;
}

.hero__inner,
.section-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.hero__visual,
.phone-visual,
.features-visual {
  display: flex;
  justify-content: center;
}

.hero__visual img,
.phone-visual img,
.features-visual img {
  display: block;
  width: min(100%, 278px);
  height: auto;
  filter: drop-shadow(0 20px 22px rgb(0 0 0 / 10%));
}

.hero__visual img {
  width: min(100%, 278px);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero__description {
  max-width: 570px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.store-link {
  display: inline-flex;
  min-width: 154px;
  align-items: center;
  gap: 13px;
  padding: 10px 17px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 9px 20px rgb(243 97 24 / 18%);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.store-link:hover {
  background: #da4c0c;
  transform: translateY(-2px);
}

.store-link__symbol {
  font-size: 19px;
  line-height: 1;
}

.store-link__symbol--apple {
  font-size: 16px;
}

.store-link small,
.store-link strong {
  display: block;
  line-height: 1.35;
}

.store-link small {
  font-size: 10px;
  opacity: 0.85;
}

.store-link strong {
  font-size: 14px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-hint span {
  width: 16px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 12px;
}

.scroll-hint span::after {
  display: block;
  width: 2px;
  height: 5px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.content-section {
  display: flex;
  min-height: 650px;
  align-items: center;
  padding: 110px 16% 110px 8%;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.split-layout--reverse {
  grid-template-columns: minmax(360px, 1.2fr) minmax(260px, 0.8fr);
}

.split-layout--reverse .phone-visual {
  grid-column: 2;
  grid-row: 1;
}

.split-layout--reverse .section-copy {
  grid-column: 1;
  grid-row: 1;
}

.section-copy h2,
.features-content h2,
.contact-section h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}

.section-copy > p:not(.eyebrow) {
  margin-bottom: 20px;
  color: var(--muted);
}

.accent-lead {
  margin: 26px 0 8px;
  color: var(--accent);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
}

.steps-list li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.steps-list p {
  margin: 1px 0 0;
  color: var(--muted);
}

.steps-list a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.features-section {
  display: flex;
  min-height: 780px;
  align-items: center;
  padding: 110px 16% 110px 8%;
}

.features-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(460px, 1.25fr);
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.features-content h2 {
  margin-bottom: 30px;
}

.feature-list {
  min-height: 180px;
}

.feature-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  animation: feature-enter 220ms ease both;
}

.feature-card[hidden] {
  display: none;
}

.feature-card__number {
  padding-top: 0;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.feature-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(41 41 41 / 22%);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.feature-arrow:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.feature-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-pagination button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.feature-pagination button[aria-pressed="true"] {
  background: var(--accent);
  transform: scale(1.25);
}

.feature-arrow:focus-visible,
.feature-pagination button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@keyframes feature-enter {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section--community {
  min-height: 680px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.contact-section {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 75px 24px;
  text-align: center;
}

.contact-section__inner {
  max-width: 460px;
}

.contact-mark {
  margin-bottom: 8px;
}

.contact-mark img {
  width: 70px;
  height: auto;
}

.contact-section h2 {
  margin-bottom: 14px;
}

.contact-section address {
  margin-bottom: 13px;
  color: var(--muted);
  font-style: normal;
}

.contact-section address strong {
  color: var(--ink);
}

.contact-email {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(8%, calc((100% - var(--content-width)) / 2));
  color: rgb(255 255 255 / 75%);
  background: #252727;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (min-width: 901px) {
  html {
    scroll-padding-top: 0;
  }

  .page-section {
    min-height: 100svh;
    scroll-margin-top: 0;
  }

  .phone-stage {
    position: fixed;
    z-index: 2;
    top: 50%;
    left: calc(50vw - 535px);
    display: block;
    width: 302px;
    height: 589px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .phone-stage__body,
  .phone-stage__frame,
  .phone-stage__screen {
    position: absolute;
    display: block;
  }

  .phone-stage__body {
    inset: 0;
  }

  .phone-stage__screen {
    top: 68px;
    left: 10px;
    width: 278px;
    height: 450px;
    object-fit: fill;
  }

  .phone-stage__screen.is-changing {
    animation: screen-arrive 420ms ease both;
  }

  .phone-stage__frame {
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__visual,
  .split-layout > .phone-visual,
  .features-visual {
    display: none;
  }

  .hero__inner,
  .split-layout,
  .split-layout--reverse,
  .features-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__inner {
    width: min(1070px, 96vw);
  }

  .hero__content,
  .split-layout .section-copy,
  .features-content {
    width: min(64%, 690px);
    margin-left: auto;
  }

  .hero {
    padding-right: 8%;
  }

  .hero__content {
    width: 63%;
    margin-left: 37.7%;
    transform: none;
  }

  .split-layout--reverse .section-copy {
    grid-column: auto;
    grid-row: auto;
  }
}

@keyframes screen-arrive {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1400px) {
  .hero,
  .content-section,
  .features-section {
    padding-left: max(8%, calc((100% - var(--content-width)) / 2));
    padding-right: max(16%, calc((100% - var(--content-width)) / 2));
  }

  .hero {
    padding-right: max(8%, calc((100% - 1070px) / 2));
    padding-left: max(8%, calc((100% - 1070px) / 2));
  }
}

@media (max-width: 900px) {
  .phone-stage {
    display: none;
  }

  .brand {
    top: 18px;
    left: 24px;
    width: 84px;
  }

  .site-nav {
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    gap: 11px;
  }

  .site-nav::before {
    right: 5px;
  }

  .site-nav a {
    padding: 0 24px 0 0;
    font-size: 12px;
  }

  .site-nav a::after {
    right: 0;
  }

  .hero,
  .content-section,
  .features-section {
    padding-right: 12%;
    padding-left: 6%;
  }

  .hero__inner,
  .split-layout {
    gap: 45px;
  }

  .features-layout {
    grid-template-columns: minmax(180px, 0.65fr) minmax(380px, 1.35fr);
    gap: 38px;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .phone-stage {
    left: max(20px, calc(50vw - 470px));
  }

  .hero__content {
    width: min(67%, 620px);
    margin-left: 34.6%;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 0;
    scroll-snap-type: y mandatory;
  }

  .page-section {
    scroll-margin-top: 0;
  }

  body {
    background-size: auto 100vh;
    font-size: 15px;
  }

  .brand {
    top: 12px;
    left: 18px;
    width: 72px;
  }

  .menu-toggle {
    position: fixed;
    z-index: 7;
    top: 22px;
    right: 20px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgb(41 41 41 / 12%);
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
    cursor: pointer;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .menu-toggle__icon {
    position: relative;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle__icon::before {
    top: -6px;
  }

  .menu-toggle__icon::after {
    top: 6px;
  }

  .site-nav {
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    border: 1px solid rgb(41 41 41 / 8%);
    background: rgb(255 255 255 / 97%);
    box-shadow: 0 14px 40px rgb(0 0 0 / 12%);
    transform: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav::before {
    display: none;
  }

  .site-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgb(41 41 41 / 8%);
    font-size: 12px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 24px 75px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__visual,
  .phone-visual,
  .features-visual {
    display: none;
  }

  .hero__content {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__description {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

  .store-links {
    justify-content: center;
  }

  .store-link {
    min-width: 145px;
    justify-content: flex-start;
    padding: 9px 13px;
  }

  .scroll-hint {
    bottom: 20px;
  }

  .content-section,
  .features-section {
    min-height: 100svh;
    padding: 76px 24px;
  }

  .split-layout,
  .split-layout--reverse,
  .features-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .split-layout--reverse .phone-visual,
  .split-layout--reverse .section-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .split-layout--reverse .phone-visual {
    grid-row: 1;
  }

  .split-layout--reverse .section-copy {
    grid-row: 2;
  }

  .phone-visual img,
  .features-visual img {
    width: min(62vw, 220px);
  }

  .section-copy h2,
  .features-content h2,
  .contact-section h2 {
    font-size: 35px;
  }

  .features-layout {
    gap: 25px;
  }

  .features-content h2 {
    margin-bottom: 24px;
  }

  .feature-list {
    min-height: 230px;
  }

  .feature-card {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .content-section--community {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .contact-section {
    min-height: 100svh;
  }

  .site-footer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
