:root {
  color-scheme: light;
  --surface: #fff;
  --ink: #000;
  --deep-green: #035721;
  --proper-green: #059436;
  --star-flight: #4fd166;
  --studio: #f3f3ef;
  --studio-ink: #233229;
  --device-width: 402px;
  --device-height: 874px;
  --fall-duration: 2.6s;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-accent: Didot, "Bodoni 72", serif;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 75% 20%, rgba(86, 156, 103, 0.12), transparent 30rem),
    var(--studio);
  color: var(--studio-ink);
}

button {
  font: inherit;
}

.preview-workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(430px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px;
}

.preview-panel {
  align-self: stretch;
  max-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(44px, 7vh, 72px);
  padding: 18px 0 10px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-intro h1 {
  margin: 0;
  max-width: 11ch;
  color: #101814;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.panel-copy {
  max-width: 30ch;
  margin: 24px 0 0;
  color: #647068;
  font-size: 15px;
  line-height: 1.6;
}

.updates {
  width: 100%;
  padding-bottom: 18px;
}

.updates-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #69756d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shuffle-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(3, 87, 33, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--deep-green);
  font-size: 15px;
  animation: shuffle-breathe 4.2s ease-in-out infinite;
}

.update-deck {
  position: relative;
  width: calc(100% - 20px);
  height: 184px;
}

.update-deck::before,
.update-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(3, 87, 33, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(29, 49, 35, 0.05);
  pointer-events: none;
}

.update-deck::before {
  z-index: 0;
  transform: translate3d(15px, 20px, 0) rotate(1.5deg) scale(0.96);
  opacity: 0.58;
}

.update-deck::after {
  z-index: 1;
  transform: translate3d(8px, 11px, 0) rotate(-0.8deg) scale(0.98);
  opacity: 0.82;
}

.update-card {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 19px;
  border: 1px solid rgba(3, 87, 33, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(29, 49, 35, 0.08);
  transform: translate3d(0, 0, 0);
  transition:
    transform 320ms cubic-bezier(0.22, 0.78, 0.24, 1),
    opacity 240ms ease;
  will-change: transform, opacity;
}

.update-card.is-changing {
  opacity: 0;
  transform: translate3d(-10px, -7px, 0) scale(0.985);
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.update-meta time {
  color: #8a938d;
  font-size: 10px;
}

.update-type {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-type.feature { background: #dff4e5; color: #09652a; }
.update-type.polish { background: #eee9fb; color: #554292; }
.update-type.fix { background: #ffebe4; color: #9d452d; }

.update-card h2 {
  margin: 23px 0 7px;
  color: #152219;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.update-card p {
  margin: 0;
  color: #6f7b73;
  font-size: 12px;
  line-height: 1.48;
}

.powered-by {
  margin: auto 0 0;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #77827b;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.powered-by svg {
  width: 19px;
  height: 19px;
  color: var(--proper-green);
  transform: rotate(18deg);
}

.powered-by path {
  fill: currentColor;
}

.powered-by strong {
  color: var(--deep-green);
  font-weight: 600;
}

.desktop-suggestion-trigger {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(3, 87, 33, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-green);
  box-shadow: 0 12px 34px rgba(29, 49, 35, 0.06);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.desktop-suggestion-trigger:hover {
  border-color: rgba(3, 87, 33, 0.28);
  box-shadow: 0 16px 38px rgba(29, 49, 35, 0.1);
  transform: translateY(-2px);
}

.desktop-suggestion-trigger > svg {
  width: 23px;
  fill: none;
  stroke: var(--proper-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.desktop-suggestion-trigger > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.desktop-suggestion-trigger strong {
  color: #26352c;
  font-size: 12px;
  font-weight: 650;
}

.desktop-suggestion-trigger small {
  color: #859087;
  font-size: 10px;
}

.desktop-suggestion-trigger__arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e8f3e9;
  color: var(--deep-green);
  font-size: 13px;
}

.community-notes {
  width: min(1100px, calc(100% - 80px));
  margin: 12px auto 80px;
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(480px, 1.3fr);
  gap: clamp(48px, 8vw, 110px);
  border: 1px solid rgba(3, 87, 33, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 80px rgba(29, 49, 35, 0.06);
  backdrop-filter: blur(22px);
  scroll-margin-block: 32px;
}

.community-notes__intro h2 {
  margin: 0;
  color: #111b15;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.community-notes__intro > p:last-child {
  max-width: 31ch;
  margin: 24px 0 0;
  color: #68746c;
  font-size: 14px;
  line-height: 1.65;
}

.community-notes__content {
  min-width: 0;
}

.suggestion-form {
  padding: 20px;
  border: 1px solid rgba(3, 87, 33, 0.11);
  border-radius: 22px;
  background: #fff;
}

.suggestion-form label {
  display: block;
  margin-bottom: 10px;
  color: #455249;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suggestion-form textarea {
  width: 100%;
  min-height: 104px;
  display: block;
  resize: vertical;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #152219;
  font: 16px/1.5 var(--font-ui);
}

.suggestion-form textarea::placeholder {
  color: #9ba39e;
}

.suggestion-form textarea:focus-visible {
  box-shadow: 0 2px 0 rgba(5, 148, 54, 0.35);
}

.suggestion-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(100%);
}

.suggestion-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.suggestion-count {
  color: #939c96;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.suggestion-form button,
.mobile-suggestion-trigger {
  border: 0;
  background: var(--deep-green);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.suggestion-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
}

.suggestion-form button svg,
.mobile-suggestion-trigger svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.suggestion-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.suggestion-status {
  min-height: 17px;
  margin: 10px 0 -4px;
  color: #647068;
  font-size: 11px;
}

.suggestion-status.is-error {
  color: #9d452d;
}

.suggestion-status.is-success {
  color: var(--deep-green);
}

.suggestion-feed-wrap {
  margin-top: 30px;
}

.suggestion-feed-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 13px;
}

.suggestion-feed-heading h3 {
  margin: 0;
  color: #26352c;
  font-size: 13px;
  font-weight: 650;
}

.suggestion-feed-heading span {
  color: #909a93;
  font-size: 10px;
}

.suggestion-feed {
  display: grid;
  gap: 9px;
  max-height: 340px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(3, 87, 33, 0.2) transparent;
}

.suggestion-note {
  padding: 15px 16px;
  border: 1px solid rgba(3, 87, 33, 0.09);
  border-radius: 16px;
  background: rgba(247, 249, 246, 0.9);
}

.suggestion-note p {
  margin: 0;
  color: #26352c;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.suggestion-note time {
  display: block;
  margin-top: 9px;
  color: #8b958e;
  font-size: 10px;
}

.suggestion-empty {
  margin: 0;
  padding: 22px 16px;
  border: 1px dashed rgba(3, 87, 33, 0.15);
  border-radius: 16px;
  color: #89938c;
  font-size: 12px;
  text-align: center;
}

.mobile-suggestion-trigger,
.suggestion-sheet {
  display: none;
}

.sync-status {
  display: flex;
  gap: 9px;
  align-items: center;
  width: max-content;
  margin-top: 20px;
  padding: 8px 11px;
  border: 1px solid rgba(3, 87, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #6d7871;
  font-size: 11px;
  font-weight: 650;
}

.sync-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7bdb9;
}

.sync-status.is-connected {
  color: var(--deep-green);
}

.sync-status.is-connected span {
  background: var(--proper-green);
  box-shadow: 0 0 0 3px rgba(5, 148, 54, 0.12);
}

.screen-picker {
  display: grid;
  gap: 8px;
  margin: 40px 0;
}

.picker-button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #67736b;
  text-align: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.picker-button span {
  color: #94a098;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.picker-button:hover {
  background: rgba(255, 255, 255, 0.62);
}

.picker-button.is-active {
  background: #fff;
  color: var(--deep-green);
  box-shadow: 0 10px 30px rgba(38, 58, 45, 0.08);
  transform: translateX(4px);
}

.preview-notes {
  color: #7c877f;
  font-size: 12px;
}

.preview-notes p {
  margin: 7px 0;
}

kbd {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid #d8ddd8;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  color: #556159;
  font-family: inherit;
}

.device-stage {
  display: grid;
  justify-content: center;
}

.device {
  position: relative;
  width: calc(var(--device-width) + 28px);
  height: calc(var(--device-height) + 28px);
  padding: 13px;
  overflow: visible;
  border: 1px solid #747a78;
  border-radius: 68px;
  background:
    linear-gradient(105deg, #8f9693 0%, #eff2ef 7%, #a8aeab 18%, #f8faf7 50%, #919895 82%, #dfe3e0 94%, #777d7a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 0 5px #090b0a inset,
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 34px 82px rgba(23, 37, 27, 0.23),
    0 10px 26px rgba(23, 37, 27, 0.14);
}

.device::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 5px;
  border: 1px solid #050606;
  border-radius: 63px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 2px rgba(0, 0, 0, 0.9) inset;
  pointer-events: none;
}

.device::after {
  content: "";
  position: absolute;
  z-index: 15;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 56px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.device-island {
  position: absolute;
  z-index: 20;
  top: 23px;
  left: 50%;
  width: 124px;
  height: 36px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 48%, #111 0 3px, #020303 4px 8px, transparent 9px),
    #050606;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.06) inset,
    0 1px 2px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}

.hardware-button {
  position: absolute;
  z-index: -1;
  display: block;
  background: linear-gradient(90deg, #5e6461, #d7dcd9 45%, #777d7a);
  border: 1px solid #626865;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.65) inset;
}

.action-button {
  top: 122px;
  left: -4px;
  width: 5px;
  height: 34px;
  border-radius: 3px 0 0 3px;
}

.volume-up,
.volume-down {
  left: -4px;
  width: 5px;
  height: 62px;
  border-radius: 3px 0 0 3px;
}

.volume-up {
  top: 178px;
}

.volume-down {
  top: 252px;
}

.side-button {
  top: 190px;
  right: -4px;
  width: 5px;
  height: 92px;
  border-radius: 0 3px 3px 0;
}

.camera-control {
  top: 322px;
  right: -3px;
  width: 4px;
  height: 56px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #545a57, #bfc5c1);
}

.antenna-band {
  position: absolute;
  z-index: 2;
  width: 2px;
  height: 15px;
  background: rgba(64, 68, 66, 0.72);
}

.antenna-left-top { top: 76px; left: 2px; }
.antenna-right-top { top: 76px; right: 2px; }
.antenna-left-bottom { bottom: 76px; left: 2px; }
.antenna-right-bottom { right: 2px; bottom: 76px; }

.app {
  position: relative;
  z-index: 1;
  width: var(--device-width);
  height: var(--device-height);
  overflow: hidden;
  border-radius: 55px;
  background: var(--surface);
  color: var(--ink);
  isolation: isolate;
}

.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  transform: translateX(18%);
  visibility: hidden;
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 0.78, 0.24, 1),
    visibility 0s linear 420ms;
}

.screen.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.screen.is-leaving {
  opacity: 0;
  transform: translateX(-12%);
  visibility: visible;
}

.welcome-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 80px 0 34px;
}

.welcome-headline {
  flex: 0 0 auto;
  width: 310px;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
  font-size: 45px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-align: left;
  transition:
    opacity 460ms cubic-bezier(0.22, 0.78, 0.24, 1),
    transform 460ms cubic-bezier(0.22, 0.78, 0.24, 1);
}

.headline-flip {
  position: relative;
  height: 145px;
  perspective: 700px;
}

.headline-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backface-visibility: hidden;
  transform-origin: center;
  transition:
    opacity 520ms ease-in-out,
    transform 520ms ease-in-out;
}

.headline-front {
  transform: rotateX(0deg);
}

.headline-back {
  align-items: center;
  opacity: 0;
  transform: rotateX(90deg);
}

.accent-line {
  position: relative;
  width: max-content;
  margin: 0 auto;
  padding-top: 2px;
  font-family: var(--font-accent);
  font-size: 56px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  transform: translateX(-18px);
}

.inline-star {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  width: 52px;
  height: 52px;
  color: var(--proper-green);
  opacity: 0;
  overflow: visible;
  transform: translateY(-50%) rotate(45deg);
}

.inline-star path,
.traveling-star path {
  fill: currentColor;
}

.typewriter-line {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor {
  width: 1.5px;
  height: 42px;
  margin-left: 4px;
  background: #000;
  animation: blink 0.85s steps(1) infinite;
}

.welcome-headline p {
  margin: 12px 0 0;
  color: #888b89;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
}

.marquees {
  flex: 1 1 auto;
  display: grid;
  align-content: center;
  gap: 12px;
  margin: 12px 0;
  overflow: hidden;
  transform: translateY(-21px);
  transition:
    opacity 460ms cubic-bezier(0.22, 0.78, 0.24, 1),
    transform 460ms cubic-bezier(0.22, 0.78, 0.24, 1);
}

.marquee {
  height: 60px;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
    );
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 14px;
  align-items: center;
  will-change: transform;
}

.marquee-track::after {
  content: "";
  width: 1px;
}

.chip,
.icon-chip {
  flex: 0 0 auto;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed color-mix(in srgb, var(--chip) 62%, #35423a);
  background: color-mix(in srgb, var(--chip) 14%, white);
  color: #172019;
  box-shadow: none;
}

.chip {
  padding: 0 20px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 580;
  letter-spacing: -0.012em;
}

.icon-chip {
  width: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--chip) 48%, white);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 24px;
  line-height: 1;
  filter: none;
}

.chip.filled {
  border-color: transparent;
  border-style: solid;
  background: color-mix(in srgb, var(--chip) 78%, white);
}

.mint { --chip: #a6e6ba; }
.peach { --chip: #ffc299; }
.butter { --chip: #fade7a; }
.lilac { --chip: #ccbff5; }
.sky { --chip: #9ed6fa; }
.rose { --chip: #f7adb8; }

.welcome-actions {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 0 24px;
  transform: translateY(-24px);
  transition: opacity 460ms cubic-bezier(0.22, 0.78, 0.24, 1);
}

.welcome-screen.is-departing .welcome-headline {
  opacity: 0.70;
  transform: translateY(12px) scale(0.975);
}

.welcome-screen.is-departing .headline-front {
  opacity: 0;
  transform: rotateX(-90deg);
}

.welcome-screen.is-departing .headline-back {
  opacity: 1;
  transform: rotateX(0deg);
}

.welcome-screen.is-departing .marquees {
  opacity: 0.42;
  transform: translateY(-5px) scale(0.97);
}

.welcome-screen.is-departing .welcome-actions {
  opacity: 0.52;
}

.welcome-screen.is-departing .primary-button {
  transform: scale(0.92);
}

.primary-button,
.text-button,
.continue-button,
.back-button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.primary-button {
  padding: 16px 44px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.primary-button:active {
  transform: scale(0.97);
}

.text-button {
  padding: 0;
  background: transparent;
  color: #000;
  font-size: 15px;
  font-weight: 400;
}

.back-button {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 5px;
  border: 1px solid rgba(3, 87, 33, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep-green);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.secrets-list {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 8px;
  width: calc(100% - 16px);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 280ms ease-out 60ms,
    transform 360ms cubic-bezier(0.22, 0.78, 0.24, 1) 60ms;
}

.secrets-screen.is-active .secrets-list {
  opacity: 1;
  transform: translateY(0);
}

.secret {
  height: 86px;
  overflow: hidden;
  color: rgba(5, 148, 54, 0.25);
  font-size: 76px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 86px;
  white-space: nowrap;
  transform-origin: left center;
}

.secret.is-current {
  color: var(--deep-green);
  animation: word-reveal 267ms ease-out both;
}

.traveling-star {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 546px;
  height: 546px;
  color: var(--star-flight);
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: translate, rotate, scale, opacity;
  filter: none;
}

.traveling-star.is-launching {
  filter: none;
}

.traveling-star.is-falling {
  filter: none;
}

.continue-button {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 27px;
  left: 20px;
  height: 64px;
  border-radius: 999px;
  border: 1.5px solid var(--deep-green);
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep-green);
  font-size: 17px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.secrets-screen.is-complete .continue-button {
  opacity: 1;
  pointer-events: auto;
}

.assistant-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 132px 24px 28px;
}

.assistant-content h2 {
  margin: 0;
  font-size: 52px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.assistant-subtitle {
  margin: 14px 0 0;
  color: #858a87;
  font-size: 16px;
  font-weight: 400;
}

.prompt-card {
  margin-top: auto;
  padding: 22px;
  border: 1px solid rgba(3, 87, 33, 0.28);
  border-radius: 24px;
  color: var(--deep-green);
}

.prompt-card h3 {
  margin: 0;
  font-size: 21px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.prompt-card p {
  margin: 8px 0 0;
  color: rgba(3, 87, 33, 0.62);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.assistant-screen.is-active .assistant-content > * {
  animation: content-in 550ms cubic-bezier(0.22, 0.78, 0.24, 1) both;
}

.assistant-screen.is-active .assistant-subtitle {
  animation-delay: 80ms;
}

.assistant-screen.is-active .prompt-card {
  animation-delay: 160ms;
}

.device-caption {
  margin: 16px 0 0;
  color: #89928c;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes word-reveal {
  from {
    clip-path: inset(0 98.5% 0 0);
    transform: scale(1);
  }
  to {
    clip-path: inset(0);
    transform: scale(1.04);
  }
}

@keyframes continue-outline {
  0%, 65% { box-shadow: inset 0 0 0 1.5px var(--deep-green); }
  100% { box-shadow: inset 0 0 0 0 transparent; }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shuffle-breathe {
  0%, 100% { transform: rotate(0deg); }
  45% { transform: rotate(18deg); }
  60% { transform: rotate(-7deg); }
}

@media (max-height: 940px) and (min-width: 700px) {
  .device {
    transform: scale(0.80);
    transform-origin: center;
  }

  .device-stage {
    height: 728px;
    align-content: center;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body {
    background:
      radial-gradient(circle at 72% 14%, rgba(86, 156, 103, 0.11), transparent 22rem),
      #f7f8f4;
  }

  .preview-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: 100dvh;
    padding: 0;
  }

  .preview-panel,
  .device-caption {
    display: none;
  }

  .desktop-suggestion-trigger {
    display: none;
  }

  .device-stage {
    display: block;
    grid-column: 1;
    width: calc(430px * var(--mobile-device-scale, 0.66));
    height: calc(902px * var(--mobile-device-scale, 0.66));
  }

  .device {
    width: calc(var(--device-width) + 28px);
    height: calc(var(--device-height) + 28px);
    transform: scale(var(--mobile-device-scale, 0.66));
    transform-origin: top left;
  }

  .app {
    width: var(--device-width);
    height: var(--device-height);
    border-radius: 55px;
  }

  .community-notes {
    display: none;
  }

  .mobile-suggestion-trigger {
    position: fixed;
    z-index: 70;
    right: 50%;
    bottom: max(
      14px,
      calc((100dvh - 902px * var(--mobile-device-scale, 0.66)) / 2 - 72px)
    );
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(3, 87, 33, 0.25);
    font-size: 12px;
    transform: translateX(50%);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-suggestion-trigger:active {
    transform: translateX(50%) scale(0.96);
  }

  .suggestion-sheet {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: block;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 360ms;
  }

  .suggestion-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .suggestion-sheet__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(14, 23, 17, 0.38);
    opacity: 0;
    transition: opacity 260ms ease;
  }

  .suggestion-sheet.is-open .suggestion-sheet__scrim {
    opacity: 1;
  }

  .suggestion-sheet__panel {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-height: min(82dvh, 680px);
    overflow: auto;
    padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
    border: 1px solid rgba(3, 87, 33, 0.1);
    border-radius: 28px;
    background: #f8faf7;
    box-shadow: 0 -24px 70px rgba(18, 32, 22, 0.18);
    transform: translate3d(0, calc(100% + 18px), 0);
    transition: transform 360ms cubic-bezier(0.2, 0.84, 0.24, 1);
    -webkit-overflow-scrolling: touch;
  }

  .suggestion-sheet.is-open .suggestion-sheet__panel {
    transform: translate3d(0, 0, 0);
  }

  .suggestion-sheet__handle {
    width: 38px;
    height: 4px;
    margin: 0 auto 15px;
    border-radius: 999px;
    background: #d3dad5;
  }

  .suggestion-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
  }

  .suggestion-sheet__header .eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .suggestion-sheet__header h2 {
    margin: 0;
    color: #142018;
    font-size: 27px;
    font-weight: 520;
    letter-spacing: -0.045em;
  }

  .suggestion-sheet__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #e9eee9;
    color: #34433a;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
  }

  .suggestion-form--mobile {
    padding: 16px;
    border-radius: 18px;
  }

  .suggestion-form--mobile textarea {
    min-height: 82px;
    resize: none;
    font-size: 16px;
  }

  .suggestion-form--mobile .suggestion-form__footer {
    margin-top: 10px;
  }

  .suggestion-feed-wrap--mobile {
    margin-top: 20px;
  }

  .suggestion-feed-wrap--mobile .suggestion-feed {
    max-height: 210px;
  }

  body.is-suggestion-open .mobile-suggestion-trigger {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .community-notes {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
