/* The homepage gives its two starting choices a calm, shared home. */
.homepage-container { width: min(100%, 1280px); margin: 0 auto; padding-right: 32px; padding-left: 32px; }
.homepage-hero { color: var(--customer-text, #f3f0e8); background: var(--customer-page, #191c1b); border-bottom: 1px solid var(--customer-border, #424c45); }
.customer-theme .home-hero.homepage-hero { background-image: none; }
.homepage-hero-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 48px; padding-top: 60px; padding-bottom: 48px; }
.homepage-copy { min-width: 0; padding-top: 8px; }
.homepage-copy h1 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(34px, 3.7vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.customer-theme .homepage-copy h1 > span { color: inherit; }
.homepage-title-accent { color: #c5ddba; }
.homepage-title-mobile { display: none; }
.homepage-lead { margin: 18px 0 0; font-size: 16px; line-height: 1.8; color: var(--customer-muted, #bebfb5); }
.homepage-easy-word { padding: 1px 5px 2px; border-radius: 5px; background: #a6ceb21a; color: var(--customer-accent, #a6ceb2); font-weight: 700; }
.homepage-welcome-credit { max-width: 34rem; margin: 22px auto 0; padding: 18px 20px; border: 1px solid #a6ceb25c; border-radius: 14px; background: linear-gradient(135deg, #a6ceb214, #a6ceb205); }
.homepage-welcome-credit .homepage-welcome-tag { margin: 0 0 8px; color: var(--customer-accent, #a6ceb2); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.homepage-welcome-credit h2 { margin: 0; color: var(--customer-text, #f3f0e8); font-family: Outfit, Inter, sans-serif; font-size: 22px; font-weight: 600; line-height: 1.3; }
.homepage-welcome-credit p { margin: 10px 0 0; color: var(--customer-muted, #bebfb5); font-size: 13px; line-height: 1.65; }
.homepage-welcome-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 6px; color: var(--customer-accent, #a6ceb2); font-size: 14px; font-weight: 600; text-decoration: none; }
.homepage-welcome-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.homepage-welcome-link:focus-visible { outline: 2px solid var(--customer-accent, #a6ceb2); outline-offset: 4px; border-radius: 3px; }
.homepage-welcome-credit .homepage-welcome-terms { margin-top: 4px; font-size: 11px; line-height: 1.5; }
.homepage-choice-group { width: 100%; max-width: 34rem; margin: 24px auto 0; padding: 20px; border: 1px solid var(--customer-border, #424c45); border-radius: 16px; background: var(--customer-panel, #232825); }
.homepage-choice-group h2 { margin: 0 0 16px; font-family: Inter, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; }
.homepage-start-options { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; }
.homepage-start-option { min-width: 0; text-align: center; }
.homepage-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 13px 12px; border: 1px solid var(--customer-border, #424c45); border-radius: 10px; background: var(--customer-panel, #232825); color: var(--customer-text, #f3f0e8); font: 600 14px/1.45 Inter, sans-serif; text-decoration: none; cursor: pointer; }
.homepage-start-option .homepage-button { width: 100%; }
.homepage-library-option { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--customer-border, #424c45); text-align: center; }
.homepage-button-library { width: 100%; background: transparent; color: var(--customer-accent, #a6ceb2); }
.homepage-button-library:hover { background: var(--customer-raised, #2d3430); border-color: var(--customer-accent, #a6ceb2); }
.homepage-library-option p { margin: 8px 0 0; color: var(--customer-muted, #bebfb5); font-size: 12px; line-height: 1.5; }
.homepage-button i { flex-shrink: 0; font-size: 14px; }
.homepage-button-primary { background: linear-gradient(180deg, #c5e0cd 0%, #a6ceb2 48%, #92bd9f 100%); border-color: #b7d8c0; color: #19271f; box-shadow: inset 0 1px 0 #f1fff7a6, inset 0 -1px 0 #53775f66, 0 4px 0 #52755e, 0 8px 16px #00000040; transition: transform .15s ease, box-shadow .15s ease; }
.homepage-button-primary:hover { background: linear-gradient(180deg, #d2e8d8 0%, #badcc4 48%, #a5cfae 100%); border-color: #c9e6d2; transform: translateY(-1px); box-shadow: inset 0 1px 0 #f1fff7bd, inset 0 -1px 0 #53775f66, 0 5px 0 #52755e, 0 10px 18px #00000040; }
.homepage-button-primary:active { transform: translateY(3px); box-shadow: inset 0 1px 0 #f1fff780, inset 0 -1px 0 #53775f66, 0 1px 0 #52755e, 0 3px 7px #00000040; }
.homepage-button-upload { background: transparent; border-color: var(--customer-accent, #a6ceb2); }
.homepage-button-upload { position: relative; isolation: isolate; box-shadow: 0 0 12px #bca4ff1a; }
@property --homepage-twinkle-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.homepage-button-upload::before { content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: 12px; pointer-events: none; background: conic-gradient(from var(--homepage-twinkle-angle), transparent 0deg 35deg, #8ee8d9 48deg, #a5beff 61deg, #d5a7ff 75deg, #ffc0d2 87deg, #ffe5a3 98deg, #ffffff 106deg, transparent 118deg 210deg, #8ee8d9 223deg, #d5a7ff 239deg, #ffc0d2 250deg, #ffe5a3 264deg, #ffffff 273deg, transparent 285deg 360deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; animation: homepage-border-twinkle 5s linear infinite; }
.homepage-button-upload:disabled::before { animation-play-state: paused; opacity: .45; }
.homepage-button-upload i { color: var(--customer-accent, #a6ceb2); }
@keyframes homepage-border-twinkle { from { --homepage-twinkle-angle: 0deg; } to { --homepage-twinkle-angle: 360deg; } }
.homepage-button-upload:hover { background: var(--customer-raised, #2d3430); }
.homepage-button:disabled { cursor: wait; opacity: .65; }
.homepage-button:focus-visible, .homepage-showcase-zone:focus-visible { outline: 2px solid var(--customer-accent, #a6ceb2); outline-offset: 4px; }
.homepage-free-word { color: #134224; font-weight: 800; text-decoration: underline; text-decoration-color: #467b53; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.homepage-start-option p { margin: 8px 0 0; color: var(--customer-muted, #bebfb5); font-size: 12px; line-height: 1.5; }
.homepage-mode-labels { display: grid; align-items: start; }
.homepage-mode-label { grid-area: 1 / 1; display: grid; min-width: 0; justify-items: center; align-content: start; gap: 5px; color: var(--home-mode-color, #a6ceb2); opacity: 0; transition: opacity .25s ease; }
.homepage-mode-label.is-active { opacity: 1; }
.homepage-mode-pet { --home-mode-color: #e4c48d; --home-mode-tint: #e4c48d18; }
.homepage-mode-logo { --home-mode-color: #cab5ef; --home-mode-tint: #cab5ef18; }
.homepage-mode-photo { --home-mode-color: #9fcce2; --home-mode-tint: #9fcce218; }
.homepage-mode-imagine { --home-mode-color: #e6b8d3; --home-mode-tint: #e6b8d318; }
.homepage-mode-heading { display: inline-flex; max-width: 100%; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.homepage-mode-icon { display: grid; width: 24px; height: 24px; flex-shrink: 0; place-items: center; border-radius: 7px; background: var(--home-mode-tint); color: var(--home-mode-color); font-size: 12px; }
.homepage-mode-description { max-width: 220px; color: var(--customer-muted, #bebfb5); font-size: 12px; font-weight: 400; line-height: 1.5; }
.homepage-or { padding-top: 17px; color: var(--customer-muted, #bebfb5); font-size: 12px; }
.homepage-upload-status { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--customer-accent, #a6ceb2); overflow-wrap: anywhere; }
.homepage-upload-status:empty { display: none; }
.homepage-plan-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin: 15px 0 0; font-size: 12px; line-height: 1.5; color: var(--customer-muted, #bebfb5); }
.homepage-no-subscription { display: inline-flex; align-items: center; gap: 5px; color: var(--customer-accent, #a6ceb2); font-weight: 500; }
.homepage-no-subscription i { font-size: 10px; }
.homepage-showcase-zone { min-width: 0; }
.homepage-example { margin: 0; overflow: hidden; border: 1px solid var(--customer-border, #424c45); border-radius: 18px; background: var(--customer-panel, #232825); }
.homepage-slidebox { position: relative; aspect-ratio: 762 / 480; overflow: hidden; }
.homepage-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.homepage-slide.is-active { opacity: 1; }
.homepage-example figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: var(--customer-muted, #bebfb5); font-size: 12px; line-height: 1.5; }
.homepage-example figcaption span:first-child { color: var(--customer-text, #f3f0e8); font-weight: 500; }
.homepage-printer-support { display: flex; min-width: 0; align-items: center; gap: 18px; margin-top: 16px; padding: 18px 20px; border: 1px solid var(--customer-border, #424c45); border-radius: 16px; background: var(--customer-panel, #232825); }
.homepage-printer-icon { display: grid; width: 72px; height: 72px; flex: 0 0 72px; place-items: center; border: 1px solid var(--customer-border, #424c45); border-radius: 16px; background: #a6ceb208; }
.homepage-printer-icon img { display: block; width: 64px; height: 64px; }
.homepage-printer-copy { min-width: 0; }
.homepage-printer-title { margin: 0; color: var(--customer-text, #f3f0e8); font-size: 16px; font-weight: 600; line-height: 1.4; }
.homepage-printer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }
.homepage-printer-name { display: inline-flex; min-width: 104px; align-items: center; justify-content: center; padding: 4px 12px; border: 1px solid var(--customer-border, #424c45); border-radius: 999px; background: #a6ceb208; color: var(--customer-accent, #a6ceb2); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.homepage-printer-more { color: var(--customer-muted, #bebfb5); font-size: 12px; white-space: nowrap; }
.homepage-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.homepage-delivery { max-width: 34rem; margin: 16px auto 0; scroll-margin-top: 100px; }
.homepage-delivery-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; overflow: hidden; border: 1px solid var(--customer-border, #424c45); border-radius: 10px; background: #a6ceb205; list-style: none; }
.homepage-delivery-options > :only-child { grid-column: 1 / -1; }
.customer-theme #how-it-works .homepage-delivery-badge, .homepage-delivery-badge { display: flex; min-width: 0; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 0; border-radius: 0; background: transparent; }
.customer-theme #how-it-works .homepage-delivery-badge + .homepage-delivery-badge, .homepage-delivery-badge + .homepage-delivery-badge { border-left: 1px solid var(--customer-border, #424c45); }
.homepage-delivery-file { --delivery-color: #b5d9c0; }
.homepage-delivery-print { --delivery-color: #e4c48d; }
.homepage-delivery-icon { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; color: var(--delivery-color); }
.homepage-delivery-icon svg { width: 20px; height: 20px; }
.homepage-delivery-badge h2 { min-width: 0; margin: 0; color: var(--customer-muted, #bebfb5); font-family: Inter, sans-serif; font-size: clamp(12px, 1.2vw, 14px); font-weight: 500; line-height: 1.3; white-space: nowrap; }
.homepage-invitation h2 { margin: 0; color: var(--customer-text, #f3f0e8); font-family: Outfit, Inter, sans-serif; font-size: 25px; font-weight: 500; line-height: 1.4; }
.homepage-invitation { padding: 40px 0 48px; }
.customer-theme .home-invitation.homepage-invitation { background-image: none; }
.homepage-invitation > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.homepage-invitation .homepage-button { min-width: 182px; flex-shrink: 0; }
.homepage-invitation-action { display: flex; width: min(100%, 18rem); flex: 0 0 auto; flex-direction: column; gap: 12px; }
.homepage-invitation-action .homepage-plan-line { justify-content: center; margin: 0; }
@media (max-width: 1050px) {
  .homepage-hero-layout { gap: 30px; padding-top: 45px; }
  .homepage-choice-group { padding: 16px; }
  .homepage-start-options { gap: 9px; }
  .homepage-button { font-size: 13px; padding-right: 9px; padding-left: 9px; }
  .homepage-copy h1 { font-size: 38px; }
}
@media (min-width: 801px) and (max-width: 900px) {
  .homepage-start-option .homepage-button { min-height: 66px; }
  .homepage-or { padding-top: 24px; }
}
@media (max-width: 800px) {
  .homepage-container { padding-right: 24px; padding-left: 24px; }
  .homepage-hero-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 35px; }
  .homepage-copy { padding-top: 0; }
  .homepage-copy h1 { max-width: 520px; font-size: 40px; }
  .homepage-choice-group { padding: 20px; margin-top: 24px; }
  .homepage-button { font-size: 15px; }
  .homepage-showcase-zone { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 767px) {
  #pricing { display: none; }
}
@media (max-width: 520px) {
  .homepage-container { padding-right: 20px; padding-left: 20px; }
  .homepage-hero-layout { align-content: start; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
  .homepage-copy h1 { font-size: clamp(30px, 8.3vw, 36px); line-height: 1.12; }
  .homepage-title-wide { display: none; }
  .homepage-title-mobile, .homepage-title-mobile .homepage-title-accent { display: block; }
  .homepage-lead { display: none; }
  .homepage-welcome-credit { margin-top: 20px; padding: 14px 16px; }
  .homepage-welcome-credit h2 { font-size: 20px; }
  .homepage-welcome-credit p { font-size: 12px; line-height: 1.55; }
  .homepage-welcome-credit .homepage-welcome-terms { font-size: 10px; }
  .homepage-choice-group { margin-top: 24px; padding: 0; border: 0; background: transparent; }
  .homepage-choice-group h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: 0; clip-path: inset(50%); white-space: nowrap; }
  .homepage-start-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .homepage-or { display: none; }
  .homepage-button { min-height: 44px; padding: 9px 6px; font-size: clamp(12px, 3.5vw, 14px); }
  .homepage-start-option .homepage-button i { display: none; }
  .homepage-start-option p { font-size: 11px; }
  .homepage-mode-heading { gap: 4px; font-size: 12px; }
  .homepage-mode-icon { width: 20px; height: 20px; font-size: 10px; }
  .homepage-mode-description { display: none; }
  .homepage-plan-line { gap: 7px 13px; margin-top: 8px; font-size: 11px; }
  .homepage-example { border-radius: 12px; }
  .homepage-example figcaption { gap: 8px; padding: 10px 12px; font-size: 11px; }
  .homepage-printer-support { gap: 12px; margin-top: 12px; padding: 12px; border-radius: 12px; }
  .homepage-printer-icon { width: 52px; height: 52px; flex-basis: 52px; border-radius: 12px; }
  .homepage-printer-icon img { width: 48px; height: 48px; }
  .homepage-printer-title { font-size: 13px; }
  .homepage-printer-line { margin-top: 6px; }
  .homepage-printer-name { min-width: 96px; padding-inline: 10px; }
  .homepage-delivery { margin-top: 12px; }
  .customer-theme #how-it-works .homepage-delivery-badge, .homepage-delivery-badge { gap: 6px; padding: 8px 6px; }
  .homepage-delivery-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .homepage-delivery-icon svg { width: 18px; height: 18px; }
  .homepage-delivery-badge h2 { font-size: clamp(12px, 3.4vw, 14px); }
  .homepage-invitation > div { align-items: flex-start; flex-direction: column; gap: 18px; }
  .homepage-invitation h2 { font-size: 25px; }
}
@media (max-width: 360px) {
  .homepage-container { padding-right: 16px; padding-left: 16px; }
}
@media (max-width: 520px) and (max-height: 700px) {
  /* On short phones, reserve the first screen for the actions and example. */
  .homepage-hero-layout { gap: 12px; padding-top: 20px; }
  .homepage-copy h1 { font-size: 30px; }
  .homepage-choice-group { margin-top: 20px; }
  .homepage-start-option > p { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: 0; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-slide, .homepage-mode-label, .homepage-button-primary { transition: none; }
  .homepage-mode-label { opacity: 1; }
  /* Keep one static example so the primary actions retain their layout. */
  .homepage-mode-label:not(:first-child) { display: none; }
  .homepage-button-upload::before { animation: none; }
}
@media (prefers-contrast: more) {
  .homepage-choice-group, .homepage-example, .homepage-button-upload, .homepage-delivery-options, .homepage-delivery-badge + .homepage-delivery-badge { border-color: var(--customer-muted, #bebfb5); }
}
