@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-variable.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --cream: #faf7f0;
  --paper: #fffdf8;
  --ink: #183e36;
  --muted: #73796f;
  --green: #225b4b;
  --gold: #b68a40;
  --line: #e5e4d9;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #d49a3e;
  outline-offset: 4px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: 1320px;
  padding: 23px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  gap: 20px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  line-height: 1.05;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -0.5px;
}
.brand-mark {
  display: grid;
  place-content: center;
  background: #255446;
  border-radius: 50% 50% 42% 50%;
  color: #f4dfae;
  font-size: 31px;
  width: 42px;
  height: 44px;
  transform: rotate(-9deg);
}
.brand-together {
  display: block;
  font-size: 18px;
  letter-spacing: 1px;
}
nav {
  display: flex;
  gap: 23px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
nav a {
  text-decoration: none;
}
.nav-button {
  border: 0;
  background: none;
  padding: 10px 0;
  font-size: 12px;
}
.wallet {
  background: #fffdf6;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 13px;
  color: #547a83;
  min-width: 56px;
  min-height: 44px;
}
.home-hero {
  text-align: center;
  padding: 49px 20px 30px;
  position: relative;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #72816f;
}
.tiny-star {
  color: var(--gold);
  padding-right: 7px;
  font-size: 15px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(45px, 5.6vw, 76px);
  letter-spacing: -2.8px;
  line-height: 1.08;
  margin: 18px 0 20px;
}
h1 em {
  font-weight: 400;
  color: #356b58;
}
h2 {
  font-family: var(--serif);
  font-size: 41px;
  letter-spacing: -1px;
  font-weight: 400;
  line-height: 1.17;
  margin: 14px 0;
}
h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.hero-description {
  color: #72796f;
  font-size: 14px;
  line-height: 1.9;
}
.trust-line {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #68796a;
  font-size: 10px;
  margin-top: 22px;
}
.calendar-section {
  max-width: 1060px;
  margin: 18px auto 0;
  padding: 0 28px;
}
.calendar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar-top > div:first-child {
  display: none;
}
.calendar-top h2 {
  font-size: 31px;
}
.calendar-top p {
  color: var(--muted);
}
.calendar-section.has-calendar .calendar-top > div:first-child {
  display: block;
}
.calendar-section.has-calendar {
  margin-top: 32px;
}
.calendar-tools {
  display: flex;
  gap: 8px;
}
.theme-switcher {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 22px;
}
.theme-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 50px;
  padding: 9px 17px;
  font-size: 10px;
  font-weight: 500;
  min-height: 40px;
  color: #71766b;
}
.theme-pill.active {
  background: #fffdf7;
  border-color: #d9ddcd;
  color: #1e4f42;
  box-shadow: 0 2px 6px #153f2a04;
}
.theme-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.village-dot {
  background: #ab453f;
}
.forest-dot {
  background: #648275;
}
.candy-dot {
  background: #cd8e98;
}
.calendar-world {
  position: relative;
  border-radius: 18px;
  background: #e7edde;
  overflow: hidden;
  border: 5px solid #fffdf7;
  box-shadow: 0 12px 36px #1938270b;
  --tile: #efefdb;
  --ribbon: #9c4b40;
}
.world-scene {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#dfe8e1, #eaf0e5);
}
.world-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.scene-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #eff4e254, transparent 65%, #e7edde80);
}
.scene-label {
  position: absolute;
  inset: 23px 0 auto;
  text-align: center;
  color: #375847;
  text-shadow: 0 1px 8px #fff;
}
.scene-label span {
  display: block;
}
.scene-label span:first-child {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 2px;
}
.scene-label span:last-child {
  font: 27px var(--serif);
  letter-spacing: -0.4px;
  margin-top: 7px;
}
.scene-star {
  position: absolute;
  color: #b89a58;
  font-size: 27px;
}
.star-one {
  top: 65px;
  left: 12%;
}
.star-two {
  top: 85px;
  right: 12%;
  font-size: 20px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 0 31px 24px;
  position: relative;
  margin-top: -13px;
}
.gift {
  border: 0;
  background: #f5f3e666;
  border-radius: 12px;
  position: relative;
  aspect-ratio: 1.13;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 9px #4f5d3c06;
  transition:
    transform 0.2s,
    background 0.2s;
  min-width: 0;
  padding: 6px;
}
.gift:hover {
  transform: translateY(-4px);
  background: #fff9;
}
.gift-image {
  width: 91%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px #173e3120);
  transition: transform 0.3s;
}
.gift:nth-child(3n + 2) .gift-image {
  transform: rotate(5deg) scale(0.91);
}
.gift:nth-child(4n + 1) .gift-image {
  transform: rotate(-5deg) scale(0.96);
}
.gift:nth-child(5n + 3) .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) hue-rotate(32deg);
}
.gift-number {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 17px;
  background: #fffaf1;
  line-height: 25px;
  min-width: 26px;
  height: 26px;
  border: 1px solid #e2d8be;
  border-radius: 50%;
  z-index: 1;
}
.gift.filled .gift-number {
  background: #235346;
  color: #fff9de;
  border-color: #235346;
}
.gift.opened .gift-image {
  opacity: 0.4;
}
.gift-status {
  position: absolute;
  right: 8px;
  top: 5px;
  background: #fff9eeeb;
  padding: 0 4px;
  line-height: 18px;
  border-radius: 10px;
  font-size: 9px;
  color: #557368;
  max-width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gift.empty .gift-status {
  display: none;
}
.gift-sender {
  font-size: 9px;
  position: absolute;
  bottom: -7px;
  width: 100%;
  left: 0;
  text-align: center;
  color: #295742;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.world-caption {
  padding: 0 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 9px;
  color: #718267;
  letter-spacing: 0.2px;
}
.world-caption > span:first-child,
.world-caption > span:last-child {
  color: #a79963;
}
.theme-forest {
  background: #dfe8eb;
}
.theme-forest .world-scene {
  background: #dce7ed;
}
.theme-forest .scene-wash {
  background: linear-gradient(180deg, #f5f8f144, transparent 65%, #dfe8eb80);
}
.theme-forest .scene-label {
  color: #345d65;
}
.theme-candy {
  background: #f0e2df;
}
.theme-candy .scene-wash {
  background: linear-gradient(180deg, #fff6ed44, transparent 65%, #f0e2df80);
}
.theme-candy .scene-label {
  color: #885452;
}
.theme-candy .world-caption {
  color: #997166;
}
.theme-candy .gift.filled .gift-number {
  background: #a05962;
  border-color: #a05962;
}
.create-panel {
  margin: 24px 3px 0;
  background: #fffdf7;
  border: 1px solid #e7e4d6;
  border-radius: 12px;
  padding: 23px 27px 15px;
  box-shadow: 0 5px 18px #34563c04;
}
.create-heading {
  display: flex;
  gap: 13px;
  align-items: center;
}
.create-heading h3 {
  font: 23px var(--serif);
}
.create-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 3px 0;
}
.create-icon {
  font-size: 27px;
  color: #a68d5c;
}
.create-controls {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}
input,
textarea,
select {
  background: #fffef9;
  border: 1px solid #deded1;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  min-height: 46px;
  width: 100%;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #93998e;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: #245c4b;
  margin: 3px 0;
  flex-shrink: 0;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.primary {
  border: 1px solid #215443;
  background: #245745;
  color: #fff9e9;
  border-radius: 7px;
  padding: 13px 23px;
  min-height: 46px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 3px 3px #173c2710;
}
.primary:hover {
  background: #163f33;
}
.secondary {
  background: #fffcf4;
  border: 1px solid #d9dccb;
  border-radius: 7px;
  padding: 10px 17px;
  min-height: 44px;
  font-size: 12px;
}
.danger {
  color: #a13d39;
  border-color: #d9aca5;
}
.form-detail {
  font-size: 9px;
  color: #8c9286;
  margin: 12px 0 0;
  text-align: center;
}
.inline-error {
  color: #a13d39;
  font-size: 12px;
  margin: 8px 0;
}
.inline-error:empty {
  display: none;
}
.how-section {
  max-width: 1110px;
  margin: 86px auto;
  padding: 0 30px;
  text-align: center;
}
.section-intro > p {
  color: #828579;
  font-size: 12px;
}
.section-intro h2 {
  font-size: 40px;
  margin: 14px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin: 37px auto 0;
  max-width: 880px;
}
.steps article p {
  color: #85887b;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 9px;
}
.steps h3 {
  font: 20px var(--serif);
  margin-top: 19px;
}
.step-art {
  display: grid;
  place-items: center;
  width: 69px;
  height: 69px;
  background: #e9eddf;
  border: 1px solid #e5e9d9;
  border-radius: 22px;
  margin: auto;
  color: #a7814a;
  font: 37px var(--serif);
  position: relative;
  transform: rotate(-6deg);
}
.step-art i {
  position: absolute;
  bottom: -7px;
  right: -7px;
  background: #faf7f0;
  border: 1px solid #dedfcd;
  font: 9px var(--sans);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: rotate(6deg);
}
.steps article:nth-child(2) .step-art {
  background: #eee5d9;
  transform: rotate(5deg);
}
.steps article:nth-child(3) .step-art {
  background: #eee3df;
  color: #a75f60;
}
.note-feature {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  padding: 64px 80px;
  background: #eeeee4;
  border-radius: 18px;
}
.sample-note {
  background: #fffdf5;
  min-height: 260px;
  padding: 38px 27px 24px;
  position: relative;
  transform: rotate(-5deg);
  box-shadow: 0 8px 19px #45583f13;
  border: 1px solid #e7e4d2;
}
.sample-note:before {
  content: "";
  position: absolute;
  width: 65px;
  height: 20px;
  background: #d4c79688;
  top: -8px;
  left: calc(50% - 32px);
  transform: rotate(5deg);
}
.sample-stamp {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 1px dashed #c9aa79;
  padding: 0 5px;
  font-size: 25px;
  color: #ad5a4f;
}
.handwritten {
  font: italic 17px var(--serif);
  color: #9b7945;
}
.sample-note > p {
  font: 24px/1.5 var(--serif);
  color: #355e4d;
  margin: 27px 0;
}
.note-signature {
  font-size: 10px;
  color: #a18965;
}
.sample-note-label {
  display: block;
  font-size: 8px;
  color: #9a9c90;
  margin-top: 19px;
}
.feature-copy h2 {
  font-size: 35px;
}
.feature-copy > p {
  font-size: 12px;
  color: #818676;
  line-height: 1.9;
}
.text-link {
  display: inline-flex;
  gap: 26px;
  color: #325a48;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #c0c9b5;
  padding-bottom: 5px;
  margin-top: 13px;
}
.faq-section {
  max-width: 760px;
  margin: 91px auto;
  padding: 0 30px;
}
.faq-section .section-intro {
  text-align: center;
}
.faq-section h2 {
  font-size: 35px;
}
.faq-list {
  margin-top: 28px;
}
.faq-list details {
  border-bottom: 1px solid #e2e4d7;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px 20px 0;
  font-size: 12px;
  font-weight: 500;
  position: relative;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  color: #8c9a7e;
  font-size: 18px;
  top: 14px;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  margin: 0 0 20px;
  font-size: 12px;
  color: #7a8374;
  line-height: 1.9;
}
.bottom-cta {
  text-align: center;
  padding: 57px 20px 62px;
  background: #e9eee2;
  border-top: 1px solid #e1e7d9;
  border-bottom: 1px solid #e1e7d9;
}
.bottom-cta > span {
  color: #b49758;
  font-size: 24px;
}
.bottom-cta h2 {
  font-size: 42px;
  margin: 14px 0 24px;
}
.bottom-cta p {
  font-size: 10px;
  color: #88927e;
  margin-top: 17px;
}
footer {
  text-align: center;
  padding: 40px 20px 24px;
}
footer > .brand {
  font-size: 19px;
}
footer > .brand .brand-together {
  font-size: 15px;
}
footer > .brand .brand-mark {
  width: 36px;
  height: 38px;
  font-size: 24px;
}
footer > p {
  font-size: 10px;
  color: #92978a;
  margin: 13px 0 20px;
}
footer > div {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 10px;
  color: #697b65;
}
footer a {
  text-decoration: none;
}
footer button {
  border: 0;
  background: none;
  font-size: 10px;
  padding: 0;
  color: inherit;
}
footer .attribution {
  font-size: 8px;
  margin: 26px 0 0;
  color: #9a9d92;
}
footer .attribution a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
dialog {
  border: 1px solid #e0e1d4;
  border-radius: 17px;
  padding: 35px 30px 28px;
  width: min(480px, calc(100% - 30px));
  max-height: 90dvh;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px #142c3440;
}
dialog::backdrop {
  background: #13382d88;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #8b9380;
  width: 36px;
  height: 36px;
  line-height: 1;
}
.dialog-eyebrow {
  color: #a28b53;
  font-size: 9px;
  letter-spacing: 2px;
  text-align: center;
}
.dialog-heading {
  text-align: center;
  font: 32px var(--serif);
  line-height: 1.2;
  margin: 12px 0;
}
.dialog-copy {
  text-align: center;
  color: #87907d;
  font-size: 12px;
  line-height: 1.8;
  margin: 10px 0 21px;
}
.field-label {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin: 15px 0 7px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}
.dialog-actions > * {
  flex: 1;
}
.full-width {
  width: 100%;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.8;
  margin: 14px 0;
  color: #687b63;
}
.counter {
  text-align: right;
  font-size: 9px;
  color: #929a8b;
}
.picker-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sticker-button {
  border: 1px solid #e2e3d8;
  background: #fffdf7;
  border-radius: 9px;
  padding: 7px;
  width: 49px;
  height: 49px;
}
.sticker-button.selected {
  border: 2px solid #35624d;
  background: #edf1e5;
}
.sticker-svg {
  width: 100%;
  height: 100%;
}
.wrap-button {
  border: 1px solid #dedfcf;
  background: #fffdf7;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 10px;
  min-height: 43px;
  flex: 1;
}
.wrap-button.selected {
  border-color: #245a45;
  background: #edf1e6;
}
.help-text {
  color: #89927f;
  font-size: 10px;
  line-height: 1.8;
}
.notice {
  background: #edf1e5;
  color: #526e52;
  border: 1px solid #dbe3ce;
  border-radius: 8px;
  padding: 14px;
  font-size: 12px;
}
.secret-code {
  font:
    20px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 1px;
  word-break: break-all;
  text-align: center;
  background: #f2eedf;
  border: 1px dashed #cabd90;
  border-radius: 8px;
  padding: 17px;
  margin: 14px 0;
}
.share-url {
  font-size: 11px;
  word-break: break-all;
  padding: 12px;
  background: #f2f3e9;
  border-radius: 6px;
}
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}
.my-calendar-card {
  padding: 15px;
  border: 1px solid #e1e4d6;
  border-radius: 10px;
  margin: 12px 0;
  display: block;
  text-decoration: none;
}
.my-calendar-card strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}
.my-calendar-card small {
  display: block;
  color: #89927e;
}
.read-note {
  background: #f7f2e3;
  min-height: 210px;
  border-radius: 8px;
  padding: 26px;
  margin: 22px 0 10px;
  position: relative;
  animation: unwrap 0.55s both;
}
.read-note .sticker-preview {
  width: 55px;
  height: 55px;
  margin: auto;
}
.note-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.5;
  text-align: center;
  margin: 18px 0;
}
.note-from {
  text-align: center;
  font-size: 12px;
  color: #8c845f;
}
.read-note.gold {
  background: linear-gradient(135deg, #e5c371, #fff0b7, #e4c36c);
}
.read-note.snow {
  background: #e9f1f4;
}
.note-meta {
  text-align: center;
  font-size: 10px;
  color: #8b9480;
}
.calendar-info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 23px;
}
.info-card {
  background: #fffdf6;
  border: 1px solid #e1e4d6;
  border-radius: 10px;
  padding: 20px;
}
.info-card h3 {
  font: 21px var(--serif);
}
.info-card p {
  font-size: 11px;
  color: #7d8873;
}
.info-card .primary,
.info-card .secondary {
  margin-top: 7px;
}
.owner-bottom {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
  font-size: 11px;
}
.owner-bottom button {
  border: 0;
  background: none;
  color: #808d74;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: #214d3e;
  color: #fff9e9;
  border: 1px solid #e6debd66;
  border-radius: 10px;
  padding: 12px 21px;
  box-shadow: 0 4px 24px #1d3b2c30;
  z-index: 100;
  opacity: 0;
  transition: 0.2s;
  max-width: 90vw;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #faf7f0cc;
  display: grid;
  place-items: center;
  font: 25px var(--serif);
}
.poster-preview {
  display: block;
  max-width: 200px;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  margin: 17px auto;
  border-radius: 9px;
  box-shadow: 0 5px 18px #234a3520;
}
.wallet-total {
  text-align: center;
  color: #53808a;
  font: 45px var(--serif);
  margin: 14px 0;
}
.ledger-list {
  font-size: 11px;
  color: #75846b;
  padding: 0;
  list-style: none;
}
.ledger-list li {
  padding: 9px 0;
  border-bottom: 1px solid #e6e7dc;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
@keyframes unwrap {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-3deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1300px) {
  .calendar-section {
    max-width: 1040px;
  }
  .world-scene {
    height: 260px;
  }
  .calendar-grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 18px 20px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand-together {
    font-size: 15px;
  }
  .brand-mark {
    width: 35px;
    height: 38px;
    font-size: 26px;
  }
  nav {
    gap: 13px;
  }
  .desktop-link {
    display: none;
  }
  .nav-button {
    font-size: 10px;
  }
  .wallet {
    padding: 5px 9px;
    min-width: 46px;
  }
  .home-hero {
    padding: 34px 16px 17px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 12px;
  }
  .trust-line {
    gap: 16px;
    font-size: 9px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .calendar-section {
    padding: 0 15px;
    margin-top: 12px;
  }
  .theme-switcher {
    gap: 3px;
    margin: 16px 0;
  }
  .theme-pill {
    padding: 8px 9px;
    font-size: 9px;
    gap: 5px;
  }
  .theme-dot {
    width: 9px;
    height: 9px;
  }
  .calendar-world {
    border-width: 4px;
    border-radius: 13px;
  }
  .world-scene {
    height: 192px;
  }
  .scene-label {
    top: 18px;
  }
  .scene-label span:first-child {
    font-size: 6px;
    letter-spacing: 1.3px;
  }
  .scene-label span:last-child {
    font-size: 22px;
  }
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    padding: 0 12px 19px;
    margin-top: -12px;
  }
  .gift {
    aspect-ratio: 1.05;
    border-radius: 9px;
  }
  .gift-number {
    height: 23px;
    min-width: 23px;
    line-height: 22px;
    font-size: 15px;
    bottom: 5px;
  }
  .gift-status {
    font-size: 8px;
    right: 3px;
    top: 2px;
  }
  .gift-sender {
    font-size: 8px;
    bottom: -7px;
  }
  .world-caption {
    font-size: 8px;
    padding: 0 12px 14px;
    gap: 7px;
  }
  .create-panel {
    padding: 19px 18px 14px;
    margin-top: 17px;
  }
  .create-heading h3 {
    font-size: 22px;
  }
  .create-heading p {
    font-size: 10px;
  }
  .create-controls {
    gap: 8px;
  }
  .create-controls input {
    min-width: 0;
    flex: 1;
    padding: 12px;
    font-size: 12px;
  }
  .primary {
    font-size: 11px;
    padding: 12px 16px;
    gap: 12px;
  }
  .create-controls .primary {
    flex-shrink: 0;
  }
  .form-detail {
    font-size: 8px;
  }
  .how-section {
    margin: 58px auto;
    padding: 0 23px;
  }
  .section-intro h2 {
    font-size: 34px;
  }
  .section-intro > p {
    font-size: 11px;
  }
  .steps {
    gap: 14px;
    margin-top: 31px;
  }
  .steps h3 {
    font-size: 17px;
    line-height: 1.3;
  }
  .steps article p {
    font-size: 10px;
  }
  .step-art {
    height: 55px;
    width: 55px;
    font-size: 29px;
    border-radius: 17px;
  }
  .note-feature {
    margin: 0 16px;
    padding: 34px 28px;
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .sample-note {
    max-width: 310px;
    width: 100%;
    margin: 5px auto 0;
    min-height: 250px;
  }
  .feature-copy {
    text-align: center;
  }
  .feature-copy h2 {
    font-size: 34px;
  }
  .feature-copy > p {
    max-width: 320px;
    margin: auto;
  }
  .faq-section {
    margin: 59px auto;
    padding: 0 25px;
  }
  .faq-section h2 {
    font-size: 30px;
  }
  .bottom-cta {
    padding: 40px 20px;
  }
  .bottom-cta h2 {
    font-size: 36px;
  }
  footer {
    padding: 31px 20px 24px;
  }
  footer > div {
    gap: 18px;
    flex-wrap: wrap;
  }
  .calendar-top {
    align-items: flex-start;
    gap: 10px;
  }
  .calendar-top h2 {
    font-size: 26px;
  }
  .calendar-top p {
    font-size: 11px;
  }
  .calendar-tools {
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
  }
  .calendar-tools button {
    padding: 7px 12px;
    font-size: 10px;
  }
  .calendar-info-panel {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .info-card {
    padding: 17px;
  }
  dialog {
    padding: 33px 22px 25px;
  }
  .dialog-heading {
    font-size: 29px;
  }
  .gift .gift-image {
    width: 98%;
    height: 88%;
  }
}
@media (max-width: 380px) {
  nav {
    gap: 9px;
  }
  .site-header {
    padding: 15px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-together {
    font-size: 13px;
  }
  .brand-mark {
    width: 31px;
    height: 34px;
  }
  .nav-button {
    font-size: 9px;
  }
  .wallet {
    font-size: 12px;
    min-width: 39px;
  }
  h1 {
    font-size: 42px;
  }
  .theme-pill {
    padding: 8px 6px;
    font-size: 8px;
  }
  .create-controls {
    flex-direction: column;
  }
  .create-controls .primary {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.create-panel {
  margin: 0 3px 22px;
}
.home-hero {
  padding-bottom: 13px;
}
.theme-switcher {
  margin-top: 10px;
}
.home-hero h1 {
  font-size: clamp(43px, 5.1vw, 68px);
}
.scene-label span:first-child {
  display: none;
}
.world-scene .scene-label span:last-child {
  margin-top: 0;
}
.calendar-section.has-calendar .calendar-top {
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .home-hero h1 {
    font-size: 43px;
  }
  .home-hero {
    padding-top: 24px;
  }
  .create-panel {
    margin-top: 0;
    margin-bottom: 18px;
  }
  .create-heading p {
    font-size: 10px;
  }
  .calendar-top h2 {
    overflow-wrap: anywhere;
  }
  .calendar-top > div:first-child {
    min-width: 0;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions > * {
    min-width: 135px;
  }
}
/* Wrapping belongs to the gift, and its actual saved sticker is visible before opening. */
.gift.variant-0 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) hue-rotate(19deg);
  transform: rotate(-3deg) scale(0.92);
}
.gift.variant-1 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) hue-rotate(-18deg);
}
.gift.variant-2 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) hue-rotate(48deg);
  transform: rotate(4deg) scale(0.93);
}
.gift.variant-3 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) saturate(0.65);
  transform: rotate(-4deg) scale(0.88);
}
.gift.variant-4 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) hue-rotate(335deg);
  transform: rotate(3deg) scale(0.96);
}
.gift.variant-5 .gift-image {
  filter: drop-shadow(0 5px 3px #173e3120) saturate(0.75) brightness(1.05);
}
.gift-sticker {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 28px;
  height: 28px;
  background: #fffaf2;
  border: 1px solid #e8d9ba;
  box-shadow: 1px 2px 3px #173e3110;
  border-radius: 50%;
  z-index: 2;
  transform: rotate(-12deg);
  padding: 2px;
}
.wrap-label {
  position: absolute;
  top: 50%;
  right: 2px;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right;
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #60755a;
  opacity: 0.85;
}
.gift.wrap-silver {
  background: linear-gradient(135deg, #f4f8fcaa, #bccbd5aa, #f9fcffdd);
  border: 1px solid #d5e4e8;
}
.gift.wrap-silver .gift-image {
  filter: saturate(0.12) brightness(1.1) drop-shadow(0 4px 4px #31585c20);
}
.gift.wrap-ribbon {
  background: repeating-linear-gradient(
    135deg,
    #f8f3df88 0,
    #f8f3df88 8px,
    #d3b37d20 8px,
    #d3b37d20 10px
  );
}
.gift.wrap-ribbon:after {
  content: "✦";
  position: absolute;
  right: 6px;
  bottom: 8px;
  font-size: 15px;
  color: #aa744b;
}
.wrap-preview-classic {
  background: #f5eddc;
}
.wrap-preview-ribbon {
  background: repeating-linear-gradient(
    135deg,
    #fbf3dd 0,
    #fbf3dd 8px,
    #e1bca866 8px,
    #e1bca866 10px
  );
}
.wrap-preview-silver {
  background: linear-gradient(135deg, #f7fcff, #c8d6df, #f8fcff);
}
.unwrapping-gift {
  height: 205px;
  width: 210px;
  margin: 17px auto 0;
  position: relative;
}
.unwrapping-gift img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gift-bottom-half,
.gift-lid-half {
  position: absolute;
  inset: 0;
}
.gift-bottom-half {
  clip-path: polygon(0 43%, 100% 43%, 100% 100%, 0 100%);
  animation: unwrap-base 0.75s ease both;
}
.gift-lid-half {
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: unwrap-lid 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.opening-spark {
  position: absolute;
  color: #c1a356;
  font-size: 28px;
  opacity: 0;
  animation: unwrap-spark 0.75s ease both;
}
.spark-a {
  left: 4px;
  top: 45px;
}
.spark-b {
  right: 2px;
  top: 80px;
  animation-delay: 0.1s;
}
.spark-c {
  left: 70px;
  top: 0;
  font-size: 20px;
  animation-delay: 0.15s;
}
@keyframes unwrap-lid {
  0%,
  25% {
    transform: none;
  }
  55% {
    transform: translateY(-18px) rotate(-8deg);
  }
  100% {
    transform: translate(-14px, -65px) rotate(-14deg);
    opacity: 0;
  }
}
@keyframes unwrap-base {
  0% {
    transform: scale(0.95);
  }
  30% {
    transform: scale(1.05) rotate(2deg);
  }
  55% {
    transform: scale(1) rotate(-2deg);
  }
  100% {
    transform: translateY(15px);
    opacity: 0.2;
  }
}
@keyframes unwrap-spark {
  0%,
  20% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.7);
  }
}
@media (max-width: 700px) {
  .gift-sticker {
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
  }
  .wrap-label {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .unwrapping-gift * {
    animation: none !important;
  }
  .opening-spark {
    display: none;
  }
  .gift-lid-half {
    transform: none;
  }
}
