@import url('style.css');

.Story_Page {
  --measure: 45rem;
  --phone-width: 22rem;
  --phone-height: clamp(6rem, 20dvh, 9rem);
  --story-gap: clamp(2rem, 5vw, 7rem);
  --sky-ink: light-dark(#374450, #e0e6f2);
  --sky-accent: light-dark(#315342, #b8dbad);
  --hill-green: light-dark(#a0ac73, #566d47);
  --hill-earth: light-dark(#d6c1ac, #544138);
}

.Story_Page .Top {
  position: relative;
  z-index: 2;
}

.Story_Page .Page {
  padding-block-start: 0;
}

.Home_Story [hidden] {
  display: none !important;
}

.Home_SkySpace {
  position: relative;
  height: 3.6rem;
}

.Home_MoonSlot {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
}

.Home_Desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'hero' 'contents' 'features';
  align-items: start;
}

.Home_Story .Story_Hero {
  grid-area: hero;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  color: var(--sky-ink);
  text-align: start;
}

.Home_Story .Home_Words {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 1.8vw, 1.65rem);
  max-width: 42rem;
}

.Home_Story .Home_Words > * {
  grid-column: 1;
}

.Home_Story .Title-hero {
  --title-size: clamp(2.35rem, 3.9vw, 4.4rem);
  text-wrap: balance;
  color: light-dark(#293843, #f1f1f8);
}

.Home_Story .Hello_Kicker,
.Home_Story .Home_Lead a,
.Home_Works a {
  color: var(--sky-accent);
}

.Home_Lead {
  max-width: 34rem;
  color: inherit;
}

.Home_Ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: start;
}

.Home_Ask-hero {
  max-width: 35rem;
  align-items: end;
}

.Home_More {
  grid-column: 1;
  align-self: center;
  font-size: var(--small);
  font-weight: 700;
  color: var(--sky-accent);
}

.Home_Field {
  width: 100%;
  --well: light-dark(#fafbff, #222e40);
  --hollow: inset 0 1px 3px light-dark(#34446325, #0e152164);
  --radius: .95rem;
}

.Home_Field::placeholder {
  color: light-dark(#546176, #b2bece);
}

.Home_Build {
  --radius: 1.5rem;
  --control-pad-inline: 1rem;
}

.Home_Works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .7rem;
  font-size: var(--small);
  font-weight: 700;
}

.Home_Services {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.Home_Services-short {
  gap: .35rem;
}

.Home_ServicePick {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: inherit;
  font: 700 var(--small)/1.4 var(--font);
  cursor: pointer;
}

.Home_ServicePick:hover {
  color: var(--accent);
}

.Home_Logo {
  flex: none;
  width: 1.65rem;
  height: 1.65rem;
  padding: .2rem;
  border-radius: .5rem;
  background: #fcfcff;
  object-fit: contain;
}

.Home_Connection {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.Home_Connection .Home_ServicePick {
  padding: .25rem .6rem .25rem .25rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
}

.Story_Hero .Hello_Yak {
  justify-self: start;
  margin: 0 0 -1.4rem -.5rem;
}

/* The hero's yak answers a click (yak.js): a pose played once over his
   seat, and a line in a bubble above him, or on a narrow page beside him,
   over the grass. Both go when he walks off into the margin, since they are
   his seat's, not his. */
.Story_Hero .Hello_Yak {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.Home_YakPose,
.Home_YakSays {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.Home_YakPose {
  inset: 0;
  width: 100%;
  height: 100%;
}

.Hello_Yak:has(.Wander_Image) > .Home_YakPose[data-on],
.Hello_Yak:has(.Wander_Image) > .Home_YakSays[data-on] {
  visibility: visible;
}

.Hello_Yak:has(> .Home_YakPose[data-on]) .Wander_Image {
  visibility: hidden;
}

.Home_YakSays {
  --fill: light-dark(#fffaf2, #2c3649);
  left: 38%;
  bottom: 92%;
  width: max-content;
  max-width: min(13rem, 70vw);
  padding: .5rem .8rem;
  border-radius: 1rem;
  background: var(--fill);
  box-shadow: 0 2px 8px light-dark(#5a3d2a2e, #00000066);
  font-size: var(--small);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
  transform-origin: 1rem 100%;
}

.Home_YakSays::after {
  content: '';
  position: absolute;
  left: .8rem;
  bottom: -.3rem;
  width: .8rem;
  height: .8rem;
  background: var(--fill);
  transform: rotate(45deg);
}

@media (max-width: 59.99rem) {
  .Home_YakSays {
    left: 86%;
    bottom: 42%;
    transform-origin: 0 100%;
  }

  .Home_YakSays::after {
    left: -.3rem;
    bottom: .7rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .Home_YakSays[data-on] {
    animation: Home_YakPop .35s cubic-bezier(.3, 1.6, .5, 1) both;
  }

  .Home_Build[data-nudge] {
    animation: Home_Nudge .9s ease-in-out 2;
  }
}

@keyframes Home_YakPop {
  0% {
    opacity: 0;
    scale: .6;
  }
}

@keyframes Home_Nudge {
  0%,
  100% {
    rotate: 0deg;
    scale: 1;
  }

  20% {
    rotate: -4deg;
    scale: 1.08;
  }

  45% {
    rotate: 4deg;
    scale: 1.08;
  }

  70% {
    rotate: 0deg;
    scale: 1;
  }
}

.Sky_End {
  min-height: 2.2rem;
}

.Story_Page .Sky_FarthestTop {
  stop-color: light-dark(#c9b5cf, #4b526f);
}

.Story_Page .Sky_FarthestFoot,
.Story_Page .Sky_Turf1 {
  stop-color: var(--bg);
}

.Story_Page .Sky_FartherTop {
  stop-color: color-mix(in srgb, var(--hill-green) 14%, var(--hill-earth));
}

.Story_Page .Sky_FartherFoot {
  stop-color: var(--hill-earth);
}

.Story_Page .Sky_NearTop {
  stop-color: color-mix(in srgb, var(--hill-green) 57%, var(--hill-earth));
}

.Story_Page .Sky_NearFoot {
  stop-color: color-mix(in srgb, var(--hill-green) 28%, var(--hill-earth));
}

.Story_Page .Sky_Turf0 {
  stop-color: var(--hill-green);
}

.Story_Page .Sky_Turf1 {
  stop-opacity: 1;
}

.Story_Page .Sky_Far {
  overflow: visible;
}

/* Leave room for the turf to reach the page color beyond the hero. */
.Story_Page .Sky {
  height: max(var(--rule, 0px), calc(var(--feet, 0px) + 240 * var(--u, 0px)));
}

.Sky_SunSlot {
  left: 58.5%;
  top: calc(var(--feet) - clamp(9.5rem, 14.5vw, 14rem));
}

@media (width < 64rem) {
  .Sky_SunSlot {
    left: 90%;
    top: calc(var(--feet) - 4.9rem);
  }
}

.Sky_Motes {
  inset-inline: 0;
  top: var(--feet);
}

.Sky_Mote {
  position: absolute;
  left: var(--x-at);
  top: calc(var(--y-at) * var(--u));
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff5c9 0 12%, #f9e8a9 26%, transparent
    70%);
  opacity: .65;
}

.Sky_Mote:nth-child(even) {
  --drift: -16px;
  width: 6px;
  height: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .Sky_Mote {
    animation: Sky-mote var(--time) var(--lead) ease-in-out infinite alternate;
  }
}

@keyframes Sky-mote {
  0% {
    opacity: .15;
  }
  42% {
    opacity: .85;
    transform: translate(calc(var(--drift, 16px) * .45), -7px);
  }
  100% {
    opacity: .3;
    transform: translate(var(--drift, 16px), 2px);
  }
}

.Story_Page .Home_Demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto var(--phone-height) auto auto;
  align-content: start;
  gap: .65rem;
  width: min(100%, var(--phone-width));
  justify-self: center;
  margin-inline: auto;
  min-width: 0;
}

.Home_Demo .Home_Ask {
  grid-row: 4;
}

.Home_DemoHeader {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem .65rem;
  color: var(--muted);
  font-size: var(--small);
  font-weight: 800;
}

.Story_Page .Home_Phone {
  --radius: 2rem;
  grid-row: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: .8rem;
  height: var(--phone-height);
  padding: 1.15rem .9rem 1rem;
  border-radius: var(--radius);
  background: light-dark(#f9f9ff, #262b37);
}

.Home_Phone::before {
  content: '';
  justify-self: center;
  width: 4.7rem;
  height: .32rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--muted) 42%, transparent);
}

.Home_Log {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 4rem);
}

.Home_Track {
  height: 100%;
  overflow: hidden;
}

.Home_Jumps {
  scrollbar-width: none;
}

.Home_Jumps::-webkit-scrollbar {
  display: none;
}

.Home_Messages {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  margin: 0;
  padding: .3rem .25rem .55rem;
  list-style: none;
}

.Home_Track[aria-hidden='true'] {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: light-dark(#f9f9ff, #262b37);
  pointer-events: none;
}

.Home_Message {
  flex: none;
  max-height: calc(var(--v, 1) * 40rem);
  overflow: hidden;
  opacity: min(1, calc(var(--v, 1) * 4));
  translate: 0 calc(max(0, 1 - var(--v, 1) * 4) * .75rem);
  padding: 0 .3rem .25rem;
}

.Home_Message + .Home_Message {
  margin-block-start: calc(var(--v, 1) * .45rem);
}

.Home_Message .Chat_Bubble {
  --mine: light-dark(#f6e2d3, #4b393b);
  --theirs: light-dark(#e6eef8, #344257);
  padding: .55rem .8rem;
  font-size: var(--fine);
  line-height: 1.48;
  overflow-wrap: anywhere;
  isolation: isolate;
  filter: saturate(var(--sat, 1));
}

.Home_Message .Chat_Bubble:is(:hover, :focus-within) {
  filter: none;
}

.Home_Message .Chat_Bubble::after {
  z-index: -1;
}

.Home_MessageLink {
  display: flow-root;
  color: inherit;
  text-decoration: none;
}

.Home_MessageLink:hover,
.Home_MessageLink:focus-visible {
  text-decoration: underline;
}

.Home_MessageLink .Home_Logo {
  float: inline-start;
  width: 1.35rem;
  height: 1.35rem;
  margin-inline-end: .4rem;
  margin-block-start: calc((1lh - 1.35rem) / 2);
}

.Home_Shot {
  display: block;
  margin-block: .5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: .6rem;
}

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

.Home_Picks {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .2rem;
}

.Story_Page .Home_Pick {
  box-sizing: border-box;
  min-height: 1.9rem;
  padding: .15rem .48rem;
  border: 1px solid color-mix(in srgb, var(--muted) 34%, transparent);
  border-radius: 1rem;
  background: var(--card);
  color: var(--muted);
  font: 800 .79rem/1.15 var(--font);
  white-space: nowrap;
  cursor: pointer;
}

.Story_Page .Home_Pick:hover,
.Story_Page .Home_Pick[aria-pressed='true'] {
  border-color: var(--accent);
  color: var(--accent);
}

.Story_Page .Home_Pick[aria-pressed='true'] {
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
}

.Story_Page .Home_Pause {
  --control-height: 1.9rem;
  min-width: 1.9rem;
  text-decoration: none;
}

.Home_Contents {
  grid-area: contents;
  position: sticky;
  z-index: 2;
  top: 0;
  min-width: 0;
  padding-block: .45rem .65rem;
}

.Home_Contents[data-cover] {
  background: var(--bg);
}

.Home_Jumps {
  --earlier: 0px;
  --later: 0px;
  position: relative;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem;
  overflow-x: auto;
  mask-image: linear-gradient(to right, transparent, #000 var(--earlier), #000
    calc(100% - var(--later)), transparent);
}

.Home_Jumps[data-highlight]::before {
  content: '';
  position: absolute;
  inset: .25rem auto .25rem 0;
  width: var(--jump-width);
  transform: translateX(var(--jump-left));
  border-radius: 2rem;
  background: var(--accent);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .Home_Jumps[data-highlight='smooth']::before {
    transition: transform .28s ease, width .28s ease;
  }
}

.Home_Jumps[data-earlier] {
  --earlier: .6rem;
}

.Home_Jumps[data-later] {
  --later: .6rem;
}

.Home_Jump {
  flex: none;
}

.Home_JumpLink {
  position: relative;
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: .32rem .65rem;
  border-radius: 2rem;
  color: var(--muted);
  font-size: var(--small);
  font-weight: 800;
  text-decoration: none;
}

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

.Home_Jumps:not([data-highlight]) .Home_JumpLink[aria-current='location'] {
  background: var(--accent);
}

.Home_JumpLink[aria-current='location'] {
  color: var(--bg);
}

.Home_Features {
  grid-area: features;
  display: grid;
  gap: clamp(2.35rem, 4vw, 4.5rem);
  padding-block-start: clamp(1.5rem, 3vw, 2.75rem);
  container-type: inline-size;
}

.Home_Feature {
  display: grid;
  gap: .9rem clamp(1rem, 2.1vw, 2rem);
  align-items: start;
}

.Home_Features,
.Home_Feature,
.Home_FeatureTitle {
  scroll-margin-top: 5rem;
}

.Home_Feature + .Home_Feature {
  padding-block-start: clamp(1.75rem, 3vw, 3rem);
  border-block-start: 1px solid var(--border);
}

.Home_FeatureWords,
.Home_Detail,
.Home_Details {
  display: grid;
  align-content: start;
  gap: .8rem;
}

.Home_FeatureTitle {
  grid-column: 1 / -1;
  display: flex;
  align-items: start;
  gap: .75rem;
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.15rem);
  line-height: 1.2;
}

.Home_SectionYak {
  display: none;
  width: 4.45rem;
  height: auto;
  margin-inline-start: auto;
  flex: none;
}

@media (width < 64rem), (prefers-reduced-motion: reduce) {
  .Home_SectionYak {
    display: block;
  }
}

.Story_Page .Wander-out > .Home_WanderPose {
  width: 100%;
  height: 100%;
}

.Story_Page .Wander-out:has(> .Wander_Image[data-on]) > .Home_WanderPose[data-ready] {
  visibility: visible;
}

.Story_Page .Wander-out:has(> .Home_WanderPose[data-ready]) > .Wander_Image[data-on] {
  visibility: hidden;
}

.Home_Icon {
  display: grid;
  place-items: center;
  flex: none;
  margin-block-start: calc((1lh - 2.2rem) / 2);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, var(--card));
}

.Home_Icon .Icon {
  width: 1.15rem;
  height: 1.15rem;
}

.Home_FeatureList {
  display: grid;
  gap: .3rem;
  list-style: disc;
  padding-inline-start: 1.25rem;
  color: var(--muted);
  font-size: var(--fine);
}

.Home_Illustration {
  display: grid;
  gap: .55rem;
}

/* The section under the reading line (story.js) is in full ink, the others
   in the muted one, and a scene is dimmed until its section is read. */
.Home_Feature:is([data-state='past'], [data-state='next']) :is(.Home_FeatureTitle, .Home_FeatureWords .Note) {
  color: var(--muted);
}

.Home_Feature[data-state='now'] .Home_FeatureList {
  color: var(--text);
}

.Home_Feature[data-state='next'] > :is(.Home_Illustration, .Home_Connection, .Home_Scene) {
  opacity: .55;
}

/* A scene's parts come in one after another as the reading line crosses
   their section: --v is how far it is read, --k how quickly the parts
   follow, --i how many come before. It moves with the scroll alone. */
.Home_Feature .Home_In {
  --in: clamp(0, calc(var(--v, 1) * var(--k, 10) - var(--i, 0)), 1);
  opacity: calc(.2 + .8 * var(--in));
  translate: 0 calc((1 - var(--in)) * .6rem);
}

.Home_Illustration,
.Home_Scene-email {
  --k: 6;
}

.Home_Connection {
  --k: 20;
}

.Home_Scene-helper {
  --k: 5;
}

.Home_Pipe {
  position: relative;
  justify-self: center;
  width: .3rem;
  height: 1.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--muted) 22%, transparent);
}

.Home_Pipe::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(clamp(0, var(--v, 1) * 2.5, 1) * 100%);
  border-radius: inherit;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .Home_Feature .Home_In,
  .Home_Pipe::after {
    --v: 1;
  }
}

.Home_IllustrationRows {
  display: grid;
  gap: .55rem;
}

.Home_IllustrationRow {
  display: flex;
  align-items: start;
  gap: .65rem;
}

.Home_IllustrationRow .Icon {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-block-start: .2rem;
  color: var(--accent);
}

.Home_Scene {
  min-width: 0;
}

.Home_Mail,
.Home_Payment {
  overflow: hidden;
  margin: 0;
  border: 1px solid light-dark(#ced6e5, #4e596e);
  border-radius: .9rem;
  background: light-dark(#fbfcff, #282e3b);
  font: .86rem/1.55 system-ui, sans-serif;
  color: light-dark(#263249, #e6eaf3);
}

.Home_WindowBar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  background: light-dark(#edf1f9, #384153);
  font-weight: 750;
}

.Home_MailBody,
.Home_Helper {
  display: grid;
  gap: .5rem;
  padding: .85rem 1rem;
  overflow-wrap: anywhere;
}

.Home_MailFrom {
  color: var(--muted);
  font-size: var(--fine);
}

.Home_Attachment {
  justify-self: start;
  border-radius: .35rem;
  background: light-dark(#e6ebf9, #3f4558);
  padding: .18rem .45rem;
}

.Home_MailSend {
  justify-self: end;
  border-radius: 1rem;
  padding: .25rem .85rem;
  background: #2563eb;
  color: #fff;
  font-weight: 650;
}

.Home_MailPair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .65rem;
}

.Home_Scene-sell {
  container-type: inline-size;
}

/* A payment becomes an order: the pipe between them fills as it is read. */
.Home_Checkout {
  --k: 10;
  display: grid;
  gap: .4rem;
}

@container (min-width: 24rem) {
  .Home_Checkout {
    grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr);
    align-items: center;
  }

  .Home_Pipe {
    width: auto;
    height: .3rem;
  }

  .Home_Pipe::after {
    inset: 0 auto 0 0;
    width: calc(clamp(0, var(--v, 1) * 2.5, 1) * 100%);
    height: auto;
  }
}

.Home_PaymentAction {
  background: light-dark(#4e40cf, #a5a1fd);
  color: light-dark(#fff, #17152a);
  padding: .28rem .6rem;
  border-radius: .35rem;
  text-align: center;
  font-weight: 700;
}

.Home_Order {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .45rem;
  padding-block: .25rem;
}

.Home_Address {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  overflow-wrap: anywhere;
}

.Home_Details {
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: 3rem 1rem;
}

.Home_Question {
  padding: .65rem 1rem;
}

.Home_Summary {
  cursor: pointer;
  font-weight: 800;
}

.Home_Question .Note {
  margin-block-start: .45rem;
}

.Story_Page .Home_Join {
  margin-block: 0;
  text-align: start;
}

.Home_After {
  display: grid;
  gap: 2rem;
  padding-block-start: clamp(3rem, 6vw, 6rem);
}

.Home_Pricing,
.Home_RewardWords,
.Home_Join {
  display: grid;
  gap: .65rem;
  align-content: start;
}

.Home_Pricing {
  gap: 1.55rem;
}

.Home_Pricing .Plans {
  grid-auto-rows: auto;
}

.Home_Pricing .Plan {
  grid-row: auto;
  grid-template-rows: auto auto 1fr auto;
}

.Home_Pricing .Plan_List {
  align-content: start;
}

.Home_Reward {
  display: flex;
  gap: .55rem;
  align-items: start;
  color: var(--accent);
}

.Home_Reward .Icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-block-start: calc((1lh - 1.15rem) / 2);
}

.Home_FootLead {
  display: grid;
  grid-template-columns: auto minmax(0, 32rem);
  gap: .7rem;
  align-items: center;
  margin-block-end: 2rem;
}

.Home_FootLead .Yak {
  width: clamp(3.25rem, 6vw, 6rem);
}

.Home_Foot {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: start;
}

.Home_FootLinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 1.2rem 2rem;
}

.Home_FootTitle {
  font-size: var(--fine);
  margin-block-end: .45rem;
}

.Home_FootList {
  display: grid;
  gap: .4rem;
}

.Home_FootBy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-block-start: 2rem;
}

.Home_FootBy .Yak {
  margin: 0;
}

@media (width >= 64rem) {
  .Story_Page {
    --measure: min(94rem, 78vw);
    --phone-width: clamp(18rem, 25vw, 23rem);
    --phone-height: clamp(10rem, calc(100dvh - 16rem), 45rem);
  }

  .Home_Desk {
    grid-template-columns: minmax(0, 1fr) var(--phone-width);
    grid-template-areas: 'hero demo' 'contents demo' 'features demo';
    column-gap: var(--story-gap);
  }

  .Home_Story .Home_Words {
    padding-block-start: clamp(.5rem, 2vh, 1.6rem);
    padding-block-end: clamp(3.5rem, 8vh, 6rem);
  }

  .Story_Hero .Hello_Yak {
    position: absolute;
    right: calc(100% + .85rem);
    bottom: 1.3rem;
    width: clamp(5.5rem, 9vw, 8rem);
    margin: 0;
  }

  .Home_Story .Sky_End {
    position: absolute;
    inset: auto 0 0;
    min-height: 0;
  }

  .Story_Page .Home_Demo {
    grid-area: demo;
    position: sticky;
    z-index: 1;
    top: 0;
    height: 100dvh;
    align-content: center;
    mask-image: linear-gradient(transparent, #000 1.25rem);
    margin-block-start: -5rem;
  }

  .Home_Contents[data-cover]::after {
    content: '';
    position: absolute;
    inset: 100% 0 auto;
    height: .65rem;
    background: linear-gradient(var(--bg), transparent);
    pointer-events: none;
  }
}

@container (min-width: 33rem) {
  .Home_Feature {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

@media (width < 64rem) {
  .Story_Page .Home_Demo {
    grid-area: features;
    align-self: end;
    position: sticky;
    z-index: 2;
    bottom: max(.5rem, env(safe-area-inset-bottom));
    padding: .55rem .65rem;
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    background: var(--bg);
    box-shadow: 0 -.4rem 1.5rem color-mix(in srgb, var(--text) 12%,
      transparent);
  }

  .Story_Page .Home_Demo[data-turn='0'] {
    translate: 0 calc(100% + 1rem);
    pointer-events: none;
  }

  .Story_Page .Home_Phone {
    grid-template-rows: minmax(0, 1fr);
    padding: .35rem .4rem;
    --radius: 1.05rem;
  }

  .Home_Phone::before,
  .Home_Shot {
    display: none;
  }

  .Home_Features,
  .Home_Details {
    min-width: 0;
  }
}

@media (max-width: 30rem) {
  .Home_Ask-hero .Home_Field {
    grid-column: 1 / -1;
  }

  .Home_Ask-hero .Home_Build {
    grid-column: 2;
  }

  .Home_More {
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .Home_Message .Chat_Bubble {
    transition: filter .9s ease;
  }

  @media (width < 64rem) {
    .Story_Page .Home_Demo {
      transition: translate .3s ease;
    }
  }
}
