/* Phone layouts use readable, fluid UI. Only the product stage pins; copy scrolls away. */
:root {
  --gutter: 20px;
  --mobile-stage-height: calc(100svh - 100px);
}
.header {
  height: 72px;
  gap: 14px;
}
.header .brand img {
  width: 82px;
}
.header .button {
  min-height: 44px;
  max-width: none;
  padding: 10px 14px;
  font-size: 13px;
  gap: 8px;
  white-space: nowrap;
}
.header .chrome-icon {
  width: 22px;
  height: 22px;
}
.header .desktop-label {
  display: none;
}
.header .mobile-label {
  display: inline;
}
.header.past-hero {
  background: linear-gradient(var(--mobile-header-surface) 80%, transparent);
}
.header.past-hero::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: 12px;
  background: linear-gradient(var(--mobile-header-surface), transparent);
  opacity: 0.3;
  pointer-events: none;
}
.button {
  font-size: 15px;
}
.hero {
  min-height: 100svh;
  height: auto;
  padding: 116px var(--gutter) 24px;
}
.hero h1 {
  font-size: clamp(50px, 16vw, 88px);
}
.hero-bottom {
  margin-top: 24px;
}
.hero-bottom p {
  font-size: 16px;
}
.hero-bottom a {
  margin-top: 18px;
  font-size: 15px;
}
.hero-world {
  position: relative;
  top: auto;
  right: auto;
  width: calc(100% + 40px);
  height: clamp(320px, 49svh, 440px);
  margin: 12px -20px 0;
}
.character-drift {
  inset: 0 5% 1% 18%;
}
.hero-label {
  left: 7%;
  bottom: 5%;
  padding: 13px 15px;
  gap: 10px;
}
.hero-label b {
  font-size: 14px;
}
.hero-label small {
  font-size: 12px;
}
.label-icon {
  width: 40px;
  height: 40px;
}
.label-icon img {
  width: 30px;
  height: 30px;
}
.has-js .scene-pin {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  padding: 84px var(--gutter) 32px;
}
.scene-pin {
  display: block;
  padding: 84px var(--gutter) 32px;
}
.stage-anchor {
  display: block;
  height: 0;
  margin-top: 28px;
}
.scene-progress {
  display: none;
}
.journey-copy,
.everywhere-copy,
.gift-copy {
  display: block;
  max-width: 440px;
  margin: 0 auto;
}
.journey-nav {
  margin-bottom: 24px;
  gap: 24px;
}
.journey-nav li {
  font-size: 14px;
  gap: 7px;
}
.journey-nav li span {
  font-size: 12px;
}
.journey h2,
.everywhere h2 {
  font-size: clamp(38px, 10.5vw, 52px);
}
.journey h2 {
  line-height: 1.05;
  min-height: 2.1em;
}
.scene-description,
.everywhere-copy > p,
.gift-heading > p {
  font-size: 16px;
  line-height: 1.5;
  margin: 18px 0 0;
  min-height: 3em;
  max-width: 100%;
}
.coming-label,
.gift-heading .coming-label,
.everywhere-copy .coming-label {
  font-size: 13px;
}
.everywhere-copy .coming-label {
  margin-top: 14px;
}
.delivery-state {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
  min-height: 42px;
}
.product-stage,
.sync-scene,
.gift-stage {
  position: sticky;
  top: 84px;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  height: var(--mobile-stage-height);
}
.product-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
}
.product-stage .order-card {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 10px;
  height: 56px;
  padding: 8px 14px;
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 12px;
}
.order-top {
  font-size: 0;
  grid-column: 2;
  grid-row: 1/3;
}
.order-icon {
  width: 34px;
  height: 34px;
}
.order-icon img {
  width: 26px;
  height: 26px;
}
.order-number {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}
.source-caption {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  line-height: 16px;
  min-height: 16px;
  margin: 0;
}
.extension-wrap {
  width: 100%;
  max-width: none;
  zoom: 1;
}
.browser-strip {
  height: 36px;
  font-size: 12px;
  gap: 10px;
  padding: 0 12px;
}
.toolbar-extension {
  width: 27px;
  height: 27px;
  border-radius: 7px;
}
.toolbar-extension img {
  width: 22px;
  height: 22px;
}
.extension-popup {
  height: calc(100svh - 204px);
}
.demo-note {
  display: none;
}
.native-banner {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  gap: 6px;
  transform: none;
}
.native-banner > img {
  width: 22px;
  height: 22px;
}
.native-remaining {
  font-size: 12px;
}
.native-input-wrap {
  height: 66px;
  padding: 10px 16px;
}
.native-input-launch {
  padding: 12px 14px;
}
.native-form-content {
  padding-left: 16px;
  padding-right: 16px;
}
.parcel-row {
  height: 72px;
  padding: 12px 16px 0;
  gap: 12px;
}
.parcel-avatar {
  width: 44px;
  height: 44px;
  padding: 6px;
}
.parcel-avatar img {
  width: 32px;
  height: 32px;
}
.parcel-body {
  padding-bottom: 8px;
}
.parcel-title {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 2px;
}
.parcel-meta {
  font-size: 12px;
  line-height: 16px;
  margin-top: 4px;
}
.native-header {
  font-size: 14px;
  padding-right: 40px;
  padding-left: 40px;
}
.native-field input {
  padding-left: 14px;
}
/* Two full-size products pass through the same stage instead of shrinking side by side. */
.sync-scene {
  display: block;
  overflow: clip;
  border-radius: 18px;
}
.sync-composition {
  width: 100%;
  height: 100%;
  zoom: 1;
}
.sync-composition::before,
.calm-character {
  display: none;
}
.sync-desktop {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(calc(-112% * var(--device, 0)));
  box-shadow: none;
}
.sync-extension {
  height: calc(100% - 36px);
}
.phone {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 5px solid #273d4a;
  border-radius: 30px;
  transform: translateX(calc(112% * (1 - var(--device, 0))));
  box-shadow: none;
}
.ios-screen {
  width: 100%;
  height: 100%;
  transform: none;
}
.ios-status {
  height: 32px;
  padding: 0 16px;
}
.ios-screen .native-banner {
  height: 40px;
  padding: 0 12px;
}
.ios-screen .native-remaining {
  font-size: 12px;
}
.ios-screen .native-input-wrap {
  height: 66px;
  padding: 10px 12px;
}
.ios-parcels .parcel-row {
  height: 72px;
  padding: 12px 12px 0;
}
.ios-parcels .parcel-title {
  line-height: 20px;
  margin-bottom: 2px;
}
.ios-parcels .parcel-row::after {
  left: 12px;
  right: 12px;
}
.ios-tabs {
  bottom: 14px;
  height: 48px;
}
.ios-tabs > div {
  font-size: 12px;
  line-height: 16px;
}
.ios-tab-icon {
  width: 25px;
  height: 25px;
}
.ios-home {
  width: 110px;
  height: 4px;
  bottom: 5px;
  left: calc(50% - 55px);
}
.phone-notification {
  top: 32px;
  padding: 10px 12px;
}
.phone-notification > div {
  font-size: 12px;
}
.phone-notification p {
  font-size: 13px;
}
/* A full-width preview and one legible active control keep the gift demonstration focused. */
.gift-heading h2 {
  font-size: clamp(34px, 10vw, 44px);
}
.gift-heading .coming-label {
  margin-bottom: 16px;
}
.gift-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  max-width: 440px;
}
.gift-steps {
  display: block;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 72px;
  flex: none;
}
.gift-steps li {
  display: none;
  border: 0;
  padding: 0;
  opacity: 1;
  gap: 12px;
}
.gift-steps li.is-current {
  display: flex;
  border: 0;
}
.gift-step-number {
  display: block;
  font-size: 12px;
  padding-top: 5px;
  opacity: 0.6;
}
.gift-steps h3 {
  font-size: 18px;
  line-height: 24px;
}
.gift-steps p {
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-top: 8px;
}
.privacy-preview {
  display: flex;
  margin-top: 8px;
}
.privacy-preview span {
  font-size: 14px;
  gap: 12px;
  flex-wrap: nowrap;
}
.demo-toggle {
  width: 34px;
  height: 20px;
}
.demo-toggle::after {
  width: 14px;
  height: 14px;
}
.demo-toggle.is-on::after {
  transform: translateX(14px);
}
.emoji-preview {
  gap: 10px;
  margin-top: 6px;
  flex-wrap: nowrap;
}
.emoji-preview span {
  width: 38px;
  height: 38px;
  font-size: 27px;
}
#parcel-choice img {
  width: 30px;
  height: 30px;
}
.demo-cursor,
.demo-cursor img {
  width: 28px;
  height: 28px;
}
.gift-art {
  width: 100%;
  max-width: none;
  zoom: 1;
  flex: none;
}
.recipient-browser {
  height: 32px;
  padding: 0 16px;
  font-size: 12px;
}
.gift-letter {
  padding: 16px;
  min-height: 0;
}
.letter-top {
  height: 22px;
}
.letter-top img {
  width: 63px;
  height: 22px;
}
.letter-top > span {
  font-size: 12px;
}
.gift-mark {
  width: 52px;
  height: 52px;
  font-size: 40px;
  margin: 12px auto 10px;
}
.gift-mark .mark-parcel img {
  width: 44px;
  height: 44px;
  padding: 5px;
}
.gift-letter h3 {
  font-size: 28px;
  line-height: 1.12;
}
.letter-progress {
  margin-top: 12px;
}
.letter-status {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}
.shipping-details {
  margin-top: 12px;
  padding-top: 10px;
}
.shipping-details > p {
  font-size: 16px;
  line-height: 20px;
}
.shipping-details > span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 18px;
}
.shipping-history {
  margin-top: 12px;
}
.shipping-history li {
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 8px;
  gap: 10px;
}
.shipping-history li:last-child {
  padding-bottom: 0;
}
.shipping-history li > span {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.shipping-history small {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.history-city {
  display: none;
}
.gift-letter blockquote {
  min-height: 0;
  padding: 16px 0 0;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.letter-bottom {
  display: none;
}
/* Prices and final actions have their own vertical flow, at ordinary reading sizes. */
.plans {
  padding-top: 84px;
  padding-bottom: 64px;
  gap: 32px;
}
.plans h2 {
  font-size: clamp(42px, 12vw, 58px);
}
.plans-heading > p {
  font-size: 16px;
}
.plans-heading .button,
.closing-copy .button,
.closing-bottom .button {
  width: 100%;
  font-size: 15px;
  padding: 14px 16px;
}
.plan-comparison {
  grid-template-columns: 1fr;
  gap: 24px;
}
.plan {
  padding: 24px;
  border: 1px solid #dce5eb;
  border-radius: 18px;
}
.premium-plan {
  border-color: #a7b8ce;
  background: #f5f8fc;
}
.plan h3 {
  font-size: 22px;
}
.plan-price {
  min-height: 0;
  margin: 14px 0 24px;
}
.plan-amount {
  font-size: 46px;
}
.plan-amount > span,
.billing-note {
  font-size: 14px;
}
.plan ul {
  font-size: 15px;
}
.plan li {
  min-height: 0;
  line-height: 1.5;
  padding: 8px 0;
}
.closing {
  padding-top: 64px;
}
.closing h2 {
  font-size: clamp(72px, 23vw, 100px);
}
.closing-main {
  grid-template-columns: 1fr;
  gap: 32px;
}
.closing-art {
  width: 100%;
  max-width: 340px;
  min-width: 0;
}
.closing-character {
  width: 100%;
  max-width: 300px;
  height: 210px;
}
.install-peek {
  width: 100%;
  max-width: 335px;
}
.install-peek > div:last-child {
  padding: 16px;
  font-size: 14px;
}
.install-peek b {
  font-size: 12px;
}
.availability-note {
  font-size: 12px;
  line-height: 1.5;
}
.closing-bottom p {
  font-size: 16px;
}
.footer {
  font-size: 14px;
}
.footer > span {
  font-size: 12px;
}
/* Small-height phones use tighter spacing, never scaled-down typography. */
@media (max-height: 650px) {
  .native-banner,
  .ios-screen .native-banner {
    height: 36px;
  }
  .native-input-wrap,
  .ios-screen .native-input-wrap {
    height: 60px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .parcel-row,
  .ios-parcels .parcel-row {
    height: 64px;
    padding-top: 8px;
  }
  .parcel-body {
    padding-bottom: 4px;
  }
  .gift-stage {
    gap: 10px;
  }
  .gift-steps {
    height: 66px;
  }
  .gift-steps h3 {
    font-size: 16px;
    line-height: 22px;
  }
  .privacy-preview {
    margin-top: 6px;
  }
  .recipient-browser {
    height: 28px;
  }
  .gift-letter {
    padding: 12px 14px;
  }
  .letter-top {
    display: none;
  }
  .gift-mark {
    width: 38px;
    height: 38px;
    font-size: 34px;
    margin: 4px auto 8px;
  }
  .gift-mark .mark-parcel img {
    width: 36px;
    height: 36px;
    padding: 4px;
  }
  .gift-letter h3 {
    font-size: 22px;
  }
  .shipping-details {
    margin-top: 10px;
    padding-top: 8px;
  }
  .shipping-history {
    margin-top: 10px;
  }
  .shipping-history li {
    padding-bottom: 6px;
  }
}
/* Landscape / short windows retain full-size products in ordinary document flow. */
.static-story .scene-pin {
  height: auto;
  padding-top: 84px;
}
.static-story .product-stage,
.static-story .sync-scene,
.static-story .gift-stage {
  position: relative;
  top: auto;
  height: auto;
}
.static-story .extension-popup {
  height: 420px;
}
.static-story .sync-composition {
  height: auto;
}
.static-story .sync-desktop,
.static-story .phone {
  position: relative;
  inset: auto;
  transform: none;
}
.static-story .sync-desktop {
  height: 460px;
  margin-bottom: 24px;
}
.static-story .phone {
  height: 500px;
}
html:not(.has-js) .product-stage,
html:not(.has-js) .sync-scene,
html:not(.has-js) .gift-stage {
  position: relative;
  top: auto;
  height: auto;
}
html:not(.has-js) .extension-popup {
  height: 440px;
}
html:not(.has-js) .sync-composition {
  height: auto;
}
html:not(.has-js) .sync-desktop,
html:not(.has-js) .phone {
  position: relative;
  transform: none;
  inset: auto;
}
html:not(.has-js) .sync-desktop {
  height: 490px;
  margin-bottom: 24px;
}
html:not(.has-js) .phone {
  height: 540px;
}
html:not(.has-js) .gift-steps {
  display: none;
}
/* Keep the motion control available without covering the product or iOS tabs. */
.motion-control {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 44px;
  margin: 0 20px 24px;
  padding: 10px 14px;
  gap: 8px;
  font-size: 14px;
  box-shadow: none;
  background: #eef3f8;
}
.motion-control .sr-only {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
}
.footer {
  padding-bottom: 24px;
}
/* Keep a steady canvas while privacy and note contents change. */
:root {
  --mobile-stage-height: min(640px, calc(100svh - 100px));
}
.product-stage,
.sync-scene {
  top: max(84px, calc((100svh - 640px) / 2));
}
.extension-popup {
  height: calc(var(--mobile-stage-height) - 104px);
}
.gift-stage {
  height: min(584px, var(--mobile-stage-height));
  top: max(84px, calc((100svh - 584px) / 2));
}
.gift-art {
  height: min(500px, calc(var(--mobile-stage-height) - 84px));
}
.gift-letter {
  height: calc(100% - 32px);
  display: flex;
  flex-direction: column;
}
.gift-letter > * {
  flex: none;
}
.note-reveal {
  margin-top: auto;
}
@media (max-height: 650px) {
  .gift-art {
    height: calc(var(--mobile-stage-height) - 76px);
  }
  .gift-letter {
    height: calc(100% - 28px);
  }
}
.static-story .gift-art,
html:not(.has-js) .gift-art {
  height: auto;
}
.static-story .gift-letter,
html:not(.has-js) .gift-letter {
  height: auto;
}
