:root {
  color-scheme: light;
  --cream: #fbf4ea;
  --ink: #382c25;
  --rust: #a2442b;
  --muted: #736358;
  --line: #dacabd;
  --peach: #f6c4a6;
  --serif: Georgia,'Times New Roman',serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: var(--ink);
  color: white;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 27px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -1.4px;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
}

.brand-dot {
  color: var(--rust);
  margin-left: -8px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-download {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 10px 20px;
}

.nav-download span {
  margin-left: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 790px;
  padding-block: 60px 70px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 25px;
}

.little-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  margin-right: 8px;
}

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

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(54px,5.8vw,80px);
  line-height: 1.04;
  letter-spacing: -4px;
  margin-bottom: 26px;
}

em {
  color: var(--rust);
  font-weight: 400;
}

.hero-description {
  max-width: 400px;
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 29px;
  color: var(--muted);
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: white;
  padding: 11px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s;
}

.download-button:hover,.button:hover {
  transform: translateY(-3px);
}

.download-button span {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.5px;
}

.download-button small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2px;
}

.download-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 45px;
}

.hero-visual:before {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: var(--peach);
  top: 155px;
  left: 50%;
  transform: translateX(-50%);
}

.phone {
  border: 7px solid #45382e;
  border-radius: 40px;
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 16px 28px #50301a17;
  position: relative;
}

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

.hero-phone {
  width: 278px;
  transform: rotate(4deg);
}

.handwritten {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.2;
  color: var(--rust);
}

.note-top {
  position: absolute;
  top: -22px;
  left: 12px;
  transform: rotate(-8deg);
  z-index: 1;
}

.note-top span {
  display: inline-block;
  font-size: 45px;
  vertical-align: top;
  margin-left: 15px;
}

.visual-stamp {
  position: absolute;
  right: -5px;
  bottom: 65px;
  width: 134px;
  height: 134px;
  background: var(--cream);
  border: 1px solid var(--rust);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1.5;
  transform: rotate(-12deg);
}

.visual-stamp em {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -1px;
}

.statement-band {
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 27px 20px;
  background: #f8eadc;
}

.statement-band p {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -.8px;
}

.how-section {
  padding-block: 100px 85px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.section-heading .eyebrow {
  padding-top: 11px;
}

h2 {
  font-size: clamp(36px,4vw,54px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 44px;
  margin-top: 42px;
}

.steps article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.step-number {
  font-size: 12px;
  color: var(--rust);
  font-weight: 700;
  letter-spacing: 2px;
}

.steps h3 {
  font-size: 28px;
  letter-spacing: -.8px;
  margin: 16px 0 10px;
}

.steps p {
  font-size: 15px;
  color: var(--muted);
  max-width: 300px;
  margin-bottom: 0;
}

.app-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-card {
  border-radius: 8px;
  padding: 46px 40px 0;
  overflow: hidden;
  max-height: 820px;
}

.calendar-story {
  background: #eedfcd;
}

.leaderboard-story {
  background: #f4c8b0;
}

.story-copy {
  max-width: 360px;
}

.story-copy h2 {
  font-size: 43px;
}

.story-copy .eyebrow {
  margin-bottom: 18px;
}

.story-copy p:last-child {
  font-size: 16px;
  color: #655247;
  margin-bottom: 35px;
  min-height: 77px;
}

.story-phone {
  width: 265px;
  margin-inline: auto;
  border-width: 6px;
  border-radius: 36px;
  transform: rotate(-3deg);
  top: 12px;
}

.leaderboard-story .story-phone {
  transform: rotate(3deg);
}

.sample-note {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}

.closing {
  text-align: center;
  padding-block: 110px 100px;
}

.closing h2 {
  font-size: clamp(56px,7vw,88px);
  letter-spacing: -3px;
}

.closing .eyebrow {
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 17px 25px;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform .18s;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px;
}

.site-footer .brand {
  font-size: 28px;
}

.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.site-footer nav {
  gap: 24px;
}

.site-footer nav a {
  font-size: 12px;
}

@media(min-width:1400px) {
  .hero {
    min-height: 850px;
  }
}

@media(max-width:950px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 18px;
    min-height: 720px;
  }
  h1 {
    font-size: 61px;
    letter-spacing: -3px;
  }
  .hero-phone {
    width: 245px;
  }
  .hero-visual:before {
    width: 330px;
    height: 330px;
    top: 140px;
  }
  .visual-stamp {
    width: 108px;
    height: 108px;
    right: -8px;
    bottom: 42px;
    font-size: 10px;
  }
  .visual-stamp em {
    font-size: 22px;
  }
  .note-top {
    font-size: 18px;
    left: 0;
  }
  .story-card {
    padding: 35px 26px 0;
    max-height: 750px;
  }
  .story-copy h2 {
    font-size: 37px;
  }
  .steps {
    gap: 25px;
  }
  .story-phone {
    width: 240px;
  }
}

@media(max-width:680px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 19px;
  }
  .brand {
    font-size: 27px;
    gap: 7px;
  }
  .brand img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header nav>a:first-child {
    display: none;
  }
  .nav-download {
    font-size: 12px;
    padding: 8px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 51px 60px;
  }
  .hero-copy {
    max-width: 470px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-bottom: 21px;
  }
  h1 {
    font-size: clamp(48px,11vw,70px);
    letter-spacing: -2.8px;
  }
  .hero-description {
    font-size: 17px;
    max-width: 345px;
  }
  .hero-visual {
    max-width: 390px;
    width: 100%;
    margin-inline: auto;
    padding-top: 38px;
  }
  .hero-phone {
    width: 245px;
  }
  .hero-visual:before {
    top: 130px;
    width: 330px;
    height: 330px;
  }
  .note-top {
    top: -18px;
    left: 0;
  }
  .visual-stamp {
    right: 0;
    bottom: 42px;
  }
  .statement-band {
    padding-block: 23px;
  }
  .statement-band p {
    font-size: 24px;
  }
  .how-section {
    padding-block: 64px 55px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .eyebrow {
    padding-top: 0;
  }
  h2 {
    font-size: 39px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 31px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 33px 1fr;
    gap: 0 14px;
    padding-top: 21px;
  }
  .step-number {
    padding-top: 8px;
  }
  .steps h3 {
    margin: 0 0 8px;
    font-size: 27px;
  }
  .steps p {
    grid-column: 2;
    max-width: 400px;
  }
  .app-story {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .story-card {
    padding: 34px 28px 0;
    max-height: 760px;
  }
  .story-copy h2 {
    font-size: 40px;
  }
  .story-copy p:last-child {
    min-height: 0;
    max-width: 360px;
  }
  .story-phone {
    width: 250px;
  }
  .sample-note {
    margin-top: 0;
  }
  .closing {
    padding-block: 75px;
  }
  .closing h2 {
    font-size: 64px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 26px;
  }
  .site-footer .brand {
    flex-basis: 45%;
  }
  .site-footer p {
    order: 3;
    flex-basis: 100%;
  }
  .site-footer nav {
    margin-left: auto;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .download-button,.button {
    transition: none;
  }
}
