@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}


:root {
  color-scheme: light dark;
  --bg: #fff8f2;
  --surface: rgb(255 255 255 / 0.78);
  --card: #fffcf5;
  --card-edge: rgb(58 46 74 / 0.07);
  --ink: #3a2e4a;
  --ink-soft: #5f5470;
  --primary: #3a2e4a;
  --on-primary: #fff8f2;
  --pink: #e0608a;
  --check: #45213c;
  --sky-0: #a9d8f3;
  --sky-1: #cfe5ef;
  --sky-2: #fbe3d2;
  --cloud: #ffffff;
  --cloud-opacity: 0.92;
  --sun: #ffdc7e;
  --sun-core: #ffedaa;
  --sun-glow: #fff3c4;
  --hill-far: #cfe2a2;
  --hill: #a9cc70;
  --hill-soft: #d5e6a6;
  --stem: #4fa055;
  --leaf: #62b860;
  --blade: #7fb35a;
  --glow-0: #ffdccd;
  --glow-1: #e6dcff;
  --frame: #2b2233;
  --frame-edge: transparent;
  --shadow: rgb(120 90 160 / 0.16);
  --shadow-deep: rgb(58 46 74 / 0.32);
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;
  --radius-card: 24px;
  --gutter: clamp(1.375rem, 5vw, 3rem);
  --top-h: 5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1928;
    --surface: rgb(255 255 255 / 0.07);
    --card: #2a2438;
    --card-edge: rgb(245 238 255 / 0.08);
    --ink: #f5eeff;
    --ink-soft: #c0b5d1;
    --primary: #f5eeff;
    --on-primary: #1d1928;
    --pink: #ee7a9f;
    --check: #2a1526;
    --sky-0: #18204a;
    --sky-1: #3a376e;
    --sky-2: #6a4c78;
    --cloud: #ffffff;
    --cloud-opacity: 0.13;
    --sun: #fbf0cb;
    --sun-core: #fff8e2;
    --sun-glow: #f6e7b8;
    --hill-far: #3f5a4a;
    --hill: #4a6952;
    --hill-soft: #33483d;
    --stem: #5fa67f;
    --leaf: #4e9672;
    --blade: #4c7a5c;
    --glow-0: #4a3350;
    --glow-1: #3a3466;
    --frame: #0f0c16;
    --frame-edge: rgb(245 238 255 / 0.22);
    --shadow: rgb(0 0 0 / 0.35);
    --shadow-deep: rgb(0 0 0 / 0.6);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 500 1.125rem/1.6 var(--body);
  overflow-wrap: break-word;
  position: relative;
  isolation: isolate;
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.625rem, 1.7rem + 4.2vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(2rem, 1.5rem + 2.1vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sky {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

body > .sky {
  top: 0;
  height: 24rem;
  background: linear-gradient(var(--sky-0), var(--sky-1) 45%, var(--bg));
}

.hero .sky {
  top: calc(-1 * var(--top-h));
  bottom: 0;
  background: linear-gradient(var(--sky-0), var(--sky-1) 42%, var(--sky-2) 82%);
}

.sun {
  position: absolute;
  top: -0.75rem;
  left: 58%;
  width: 6rem;
  height: auto;
  translate: -50% 0;
}

.glow-stop {
  stop-color: var(--sun-glow);
}

.sun-disc {
  fill: var(--sun);
}

.sun-core {
  fill: var(--sun-core);
}

.cloud {
  position: absolute;
  height: auto;
  fill: var(--cloud);
  opacity: var(--cloud-opacity);
  animation: drift 34s ease-in-out infinite alternate;
}

.c1 {
  left: -2%;
  top: 5.75rem;
  width: clamp(6rem, 14vw, 11rem);
}

.c2 {
  left: 24%;
  top: 1rem;
  width: clamp(4rem, 8vw, 7rem);
  animation-duration: 41s;
  animation-direction: alternate-reverse;
}

.c3 {
  right: 3%;
  top: 8.5rem;
  width: clamp(5.5rem, 12vw, 10rem);
  animation-duration: 38s;
  animation-direction: alternate-reverse;
}

.c4 {
  left: 47%;
  top: 25rem;
  width: clamp(5rem, 10vw, 8.5rem);
  animation-duration: 46s;
}

body > .sky .c4 {
  display: none;
}

@keyframes drift {
  to {
    transform: translateX(2rem);
  }
}

@media (max-width: 39.99rem) {
  .c2 {
    display: none;
  }
}

@media (min-width: 56rem) {
  .sun {
    top: 0.5rem;
    left: 54%;
    width: 11rem;
  }
}

.top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 76rem);
  min-height: var(--top-h);
  margin-inline: auto;
  padding: 1rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  font: 600 1.375rem/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 23%;
  box-shadow: 0 4px 10px var(--shadow);
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.lang:hover {
  text-decoration: underline;
}

.stem {
  fill: none;
  stroke: var(--stem);
  stroke-linecap: round;
}

.leaf {
  fill: var(--leaf);
}

.blade {
  fill: var(--blade);
}

.shade {
  fill: #2b2233;
  fill-opacity: 0.16;
}

.mound {
  fill: var(--hill);
  fill-opacity: 0.5;
}

.hill-far {
  fill: var(--hill-far);
}

.ground-0 {
  stop-color: var(--hill);
}

.ground-1 {
  stop-color: var(--hill-soft);
}

.ground-2 {
  stop-color: var(--bg);
}

.sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sway 6s ease-in-out infinite alternate;
}

.sway:nth-of-type(3n) {
  animation-duration: 7.5s;
  animation-delay: -2s;
}

.sway:nth-of-type(3n + 1) {
  animation-duration: 8.5s;
  animation-delay: -4s;
}

@keyframes sway {
  from {
    transform: rotate(-1.4deg);
  }

  to {
    transform: rotate(1.4deg);
  }
}

.hop {
  animation: hop 6s ease-in-out infinite;
}

@keyframes hop {
  0%,
  84%,
  100% {
    transform: translateY(0);
  }

  88% {
    transform: translateY(-7px);
  }

  92% {
    transform: translateY(0);
  }

  96% {
    transform: translateY(-3px);
  }
}

.duo {
  display: block;
  height: auto;
  overflow: visible;
}

.phone {
  position: relative;
  flex: none;
  width: 15rem;
  margin: 0;
  border: 0.42rem solid var(--frame);
  border-radius: 15.5% / 7.2%;
  background: var(--frame);
  box-shadow: 0 0 0 1px var(--frame-edge), 0 1.75rem 3rem -1.25rem var(--shadow-deep);
  overflow: hidden;
}

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

@media (min-width: 40rem) {
  .phone {
    width: 19rem;
    border-width: 0.5rem;
  }
}

.hills {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: var(--hill-h);
  pointer-events: none;
}

.hero {
  --hill-h: clamp(8.5rem, 17vw, 13rem);
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) calc(var(--hill-h) * 0.62);
}

.hero-in {
  display: grid;
  justify-items: center;
  gap: 2.75rem;
  width: min(100%, 66rem);
  margin-inline: auto;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.hero h1 {
  max-width: 11em;
}

.lead {
  max-width: 33rem;
  color: var(--ink);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.hero .duo {
  position: absolute;
  left: max(0.25rem, calc(50% - 36rem));
  bottom: calc(var(--hill-h) * 0.14);
  z-index: 2;
  width: clamp(8rem, 21vw, 17rem);
  pointer-events: none;
}

.hero .mound {
  display: none;
}

.hero .p {
  transform-origin: 0 0;
  animation: open 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero g:nth-child(2) > .p {
  animation-delay: 0.55s;
}

.hero g:nth-child(3) > .p {
  animation-delay: 0.9s;
}

@keyframes open {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
}

@media (min-width: 56rem) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    gap: 4rem;
    text-align: left;
  }

  .hero-copy {
    justify-items: start;
    padding-bottom: clamp(7rem, 13vw, 10rem);
  }
}

.badge {
  display: inline-block;
  border-radius: 0.7rem;
  line-height: 0;
  transition: transform 0.25s ease;
}

.badge img {
  display: block;
  width: auto;
  height: 3.75rem;
}

.badge:hover {
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 24px var(--shadow);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.fine {
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero .fine {
  color: var(--ink);
}

.story {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  width: min(100%, 66rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}

.copy {
  display: grid;
  gap: 1.25rem;
  max-width: 31rem;
}

.copy p {
  color: var(--ink-soft);
}

.quiet {
  color: var(--ink);
  font: italic 400 1.3125rem/1.4 var(--display);
}

.copy .quiet {
  color: var(--ink);
}

@media (min-width: 56rem) {
  .story {
    grid-template-columns: 1fr 1fr;
  }

  .story.flip .copy {
    order: 2;
  }
}

.shot {
  position: relative;
  display: grid;
  justify-items: center;
}

.shot::before {
  content: "";
  position: absolute;
  inset: -10% max(-10%, calc(-1 * var(--gutter)));
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow-0), transparent);
}

.flip .shot::before {
  background: radial-gradient(closest-side, var(--glow-1), transparent);
}

.scene {
  width: 100%;
  max-width: 34rem;
  margin: 0;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 1.75rem 3rem -1.25rem var(--shadow-deep);
  overflow: hidden;
}

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

.things {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.things li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem 1.125rem 1.125rem;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 10px 30px var(--shadow);
  line-height: 1.35;
}

.things svg {
  flex: none;
  width: 2rem;
  height: 2rem;
}

.check-bg {
  fill: var(--pink);
}

.check {
  fill: none;
  stroke: var(--check);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.garden,
.closing {
  position: relative;
  isolation: isolate;
  background: linear-gradient(var(--bg), var(--sky-1) 34%, var(--sky-2) 78%);
  overflow: hidden;
}

.garden {
  margin-top: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(5rem, 11vw, 9rem);
}

.g1,
.g2 {
  z-index: -1;
}

.g1 {
  left: 6%;
  top: 34%;
  width: clamp(6rem, 13vw, 11rem);
}

.g2 {
  right: 7%;
  top: 22%;
  width: clamp(5rem, 10vw, 8.5rem);
  animation-direction: alternate-reverse;
}

.garden .copy {
  margin-inline: auto;
  padding-inline: var(--gutter);
  max-width: calc(36rem + 2 * var(--gutter));
  text-align: center;
}

.garden .copy p {
  text-wrap: balance;
}

.stage {
  --hill-h: clamp(6rem, 11vw, 9rem);
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: calc(var(--hill-h) * 0.4);
}

.stage .phone {
  z-index: 1;
}

.stage .hills {
  z-index: 2;
}

.meadow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: clamp(15rem, 27vw, 24rem);
}

.promises {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 10px 30px var(--shadow);
  list-style: none;
}

.promises li {
  display: grid;
  grid-template-columns: 0.625rem 1fr;
  gap: 0.875rem;
  align-items: baseline;
}

.promises li::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #ff6f91;
}

.promises li:nth-child(2)::before {
  background: #a37bff;
}

.promises li:nth-child(3)::before {
  background: #ffc13d;
}

.promises li:nth-child(4)::before {
  background: #ff8f7a;
}

.more {
  font-weight: 700;
}

.closing {
  --hill-h: clamp(8.5rem, 17vw, 13rem);
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin-top: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(6rem, 12vw, 10rem) var(--gutter) calc(var(--hill-h) + clamp(9rem, 16vw, 13rem));
  text-align: center;
}

.closing .duo {
  position: absolute;
  left: 50%;
  bottom: calc(var(--hill-h) * 0.3);
  z-index: 2;
  width: clamp(10rem, 20vw, 15rem);
  translate: -50% 0;
}

.closing .mound {
  display: none;
}

.closing .fine {
  color: var(--ink);
}

.closing p.quiet {
  max-width: 16em;
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  line-height: 1.2;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  width: min(100%, 76rem);
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.foot nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.foot p {
  min-height: 44px;
}

.foot .ipip img {
  display: block;
  width: 165px;
  height: auto;
}

.prose {
  width: min(100%, calc(42rem + 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.prose h1 {
  font-size: clamp(2.125rem, 1.5rem + 3vw, 4rem);
}

.prose .stamp {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.prose p,
.prose ul {
  margin-top: 0.875rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 10px 30px var(--shadow);
}

.card > :first-child {
  margin-top: 0;
}

.card a {
  overflow-wrap: anywhere;
}

.lost {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  text-align: center;
}

.lost .duo {
  width: 11rem;
}

.lost h1 {
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .sky,
  .skip {
    display: none;
  }
}
