:root { color-scheme: light; }

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

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.landing-page {
  min-height: 100vh;
  background: #fff;
  color: #111;
}

.landing-header {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
}

.landing-brand img {
  display: block;
  width: 36px;
  height: 36px;
}

.landing-nav,
.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.landing-nav a,
.landing-footer a,
.landing-secondary {
  color: #555;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-nav a:hover,
.landing-footer a:hover,
.landing-secondary:hover {
  color: #111;
}

.landing-hero {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 120px);
  margin: 0 auto;
  padding: 54px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.landing-hero__copy {
  max-width: 660px;
}

.landing-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #111;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1.04;
  font-weight: 680;
  letter-spacing: 0;
}

.landing-hero h1 span {
  display: block;
}

.landing-lede {
  max-width: 580px;
  margin: 24px 0 0;
  color: #333;
  font-size: 20px;
  line-height: 1.5;
}

.landing-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.landing-app-store {
  display: inline-flex;
  line-height: 0;
}

.landing-app-store img {
  display: block;
  width: 160px;
  height: auto;
}

.landing-app-store--compact img {
  width: 140px;
}

.landing-preview {
  display: flex;
  justify-content: center;
}

.landing-phone {
  width: min(100%, 360px);
  min-height: 620px;
  padding: 22px;
  border: 1px solid #d9d9d9;
  border-radius: 32px;
  background: #fafafa;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
}

.landing-phone__top {
  display: flex;
  justify-content: flex-end;
  color: #555;
  font-size: 13px;
  padding: 4px 2px 18px;
}

.landing-road {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 4px 0 22px;
  position: relative;
}

.landing-road::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: #ddd;
}

.landing-road span {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  color: #111;
  background: #fff;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.1;
  padding: 4px;
  text-align: center;
}

.landing-road__done {
  background: #111 !important;
  color: #fff !important;
}

.landing-road__today {
  width: 98px !important;
  height: 98px !important;
  flex-basis: 98px !important;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  font-size: 14px !important;
}

.landing-road__future {
  background: #fff;
  color: #777;
  border: 1px solid #d8d8d8;
}

.landing-drill {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px;
}

.landing-drill__label {
  margin: 0 0 10px;
  color: #666;
  font-size: 12px;
  font-weight: 650;
}

.landing-drill__sentence {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.35;
}

.landing-drill__sentence span {
  display: inline-block;
  min-width: 72px;
  height: 0.9em;
  vertical-align: baseline;
  border-bottom: 2px solid #111;
}

.landing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.landing-options span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  color: #222;
  font-size: 13px;
  text-align: center;
  padding: 0 8px;
}

.landing-section,
.landing-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid #e8e8e8;
}

.landing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
}

.landing-section h2,
.landing-band h2 {
  margin: 0;
  color: #111;
  letter-spacing: 0;
  line-height: 1.04;
  font-weight: 680;
  font-size: clamp(32px, 4.8vw, 54px);
}

.landing-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
}

.landing-points article {
  min-width: 0;
}

.landing-points h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.landing-points p,
.landing-band p {
  margin: 0;
  color: #444;
  font-size: 16px;
  line-height: 1.55;
}

.landing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.landing-band > div {
  max-width: 760px;
}

.landing-band p {
  max-width: 700px;
  margin-top: 16px;
}

.landing-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
  border-top: 1px solid #e8e8e8;
  color: #777;
  font-size: 13px;
}

.landing-footer__id {
  margin-bottom: 12px;
}

.landing-footer__id span {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

@media (max-width: 860px) {
  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .landing-preview {
    justify-content: flex-start;
  }

  .landing-section {
    grid-template-columns: 1fr;
  }

  .landing-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .landing-header {
    width: min(100% - 32px, 1120px);
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
  }

  .landing-nav,
  .landing-footer nav {
    gap: 10px 14px;
  }

  .landing-nav a,
  .landing-footer a,
  .landing-secondary {
    font-size: 13px;
  }

  .landing-hero,
  .landing-section,
  .landing-band,
  .landing-footer {
    width: min(100% - 32px, 1120px);
  }

  .landing-hero {
    padding: 34px 0 54px;
  }

  .landing-hero__copy,
  .landing-lede,
  .landing-preview {
    width: min(100%, 358px);
    max-width: min(100%, 358px);
  }

  .landing-hero h1 {
    font-size: 40px;
  }

  .landing-lede {
    font-size: 18px;
  }

  .landing-phone {
    min-height: 560px;
    border-radius: 24px;
    padding: 18px;
  }

  .landing-road {
    min-height: 320px;
  }

  .landing-points {
    grid-template-columns: 1fr;
  }
}
