@font-face {
  font-family: Bricolage;
  src: url('/assets/bricolage-grotesque.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #faf9f6;
  --ink: #201831;
  --muted: #5d5668;
  --line: #e5dfea;
  --purple: #4f37ca;
  --purple-dark: #3923aa;
  --display-font: Bricolage, 'DM Sans', system-ui, sans-serif;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  transform: translateY(-170%);
}

.skip-link:focus { transform: none; }

.container {
  width: min(1160px, calc(100% - 104px));
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}

.brand img { width: 158px; height: auto; }

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  padding-inline: 16px;
  border: 1px solid #dcd4e5;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover { color: var(--purple); border-color: var(--purple); }

.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: 46px 44px;
}

.hero-copy { padding-block: 12px; }

h1, h2, h3 { font-family: var(--display-font); }

h1 {
  max-width: 9.3ch;
  font-size: clamp(3.7rem, 6.35vw, 6rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.043em;
  word-spacing: .035em;
}

h1 span { color: var(--purple); }

.hero-description {
  max-width: 30rem;
  margin-top: 21px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  line-height: 1.54;
}

.welcome { margin-top: 11px; color: var(--muted); line-height: 1.48; }

.hero-visual {
  overflow: hidden;
  aspect-ratio: 1.38;
  border-radius: 24px;
  background: #cdb6e7;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.install {
  margin-bottom: 56px;
  padding-top: 31px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.section-description {
  margin-block: 8px 21px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.5;
}

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

.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.7vw, 30px);
  border: 1px solid #e6ddf6;
  border-radius: 22px;
  background: #f1ebfb;
}

.platform.android {
  border-color: #dce9da;
  background: #edf5e9;
}

.platform-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-heading h3 {
  font-size: 1.66rem;
  line-height: 1.03;
  letter-spacing: -.028em;
}

.platform-heading p { margin-top: 4px; color: var(--muted); font-size: .9rem; }

.platform-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 1px solid #e6ddf6;
  border-radius: 14px;
  background: #fff;
  color: var(--purple-dark);
}

.android .platform-icon { border-color: #dce9da; color: #24532b; }

.phone-icon {
  display: block;
  position: relative;
  width: 15px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.phone-icon::after {
  position: absolute;
  bottom: 2px;
  left: 3px;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: '';
}

.play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid currentColor;
}

.instructions {
  margin: 18px 0 20px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.instructions li { padding-left: 2px; margin-bottom: 6px; }
.instructions li:last-child { margin-bottom: 0; }
.instructions li::marker { color: var(--ink); font-weight: 700; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button:hover { background: var(--purple-dark); }
.button span { flex: none; font-size: 1.14em; }

.android-instructions { margin-bottom: 0; }
.android-instructions li + li { margin-top: 7px; }

.android-instructions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #214b26;
  font-weight: 700;
  text-underline-offset: .17em;
}

.android-instructions a:hover { color: #102f15; }
.android-instructions p { margin-top: -2px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner .brand img { width: 133px; }
.footer-inner p { color: var(--muted); line-height: 1.5; }
.footer-inner p a { display: inline-block; color: var(--purple-dark); font-weight: 700; text-underline-offset: .2em; }

@media (max-width: 980px) {
  .container { width: calc(100% - 68px); }
}

@media (max-width: 690px) {
  .container { width: calc(100% - 36px); }
  .header-inner, .footer-inner { min-height: 64px; }
  .brand img { width: 130px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 25px 28px; }
  .hero-copy { padding-block: 0; }
  h1 { max-width: 12ch; font-size: clamp(3.35rem, 11vw, 4.7rem); }
  .hero-description { margin-top: 14px; }
  .welcome { margin-top: 9px; }
  .hero-visual { aspect-ratio: 1.9; border-radius: 19px; }
  .hero-photo { object-position: 0 45%; }
  .install { padding-top: 25px; margin-bottom: 30px; }
  .platform-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-block: 4px 15px; }
}
