/* Gift purchase page: layered on the shared marketing shell (landing.css), matching the public /waitlist page. */
.gift-purchase-page .wl .wrap.purchase-layout { grid-template-areas: none; grid-template-columns: 1.05fr .95fr; align-items: start; }
.gift-purchase-page .purchase-aside { grid-area: auto; }
.gift-purchase-page .purchase-layout > .formcard { grid-area: auto; }
@media (max-width: 900px) { .gift-purchase-page .wl .wrap.purchase-layout { grid-template-columns: 1fr; } }
.gift-purchase-page .purchase-aside .section-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8em; }
.gift-purchase-page .purchase-aside h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.06; margin-bottom: .35em; }
.gift-purchase-page .purchase-aside > p:not(.section-kicker):not(.disabled-note) { color: var(--ink-soft); max-width: 34em; }
.price-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 1.6em 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.price-label { display: block; font-weight: 600; }
.one-time { display: block; font-size: .85rem; color: var(--ink-soft); }
.price-value { font: 600 2rem/1.1 var(--serif); color: var(--moss); text-align: right; }
.list-price { font: 400 1rem var(--sans); color: var(--ink-soft); }
.loading-line { display: inline-block; min-height: 20px; width: 120px; border-radius: 20px; background: linear-gradient(90deg, var(--line), var(--moss-tint), var(--line)); background-size: 200% 100%; animation: shimmer 1.7s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.assurances { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--moss); }
.disabled-note { margin-top: 1.2em; padding: 12px 14px; border-radius: 12px; background: var(--gold-tint); color: var(--ink); font-size: .95rem; }
.text-button, .refresh-button { border: 0; background: none; padding: 8px 0; min-height: 44px; color: var(--moss); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.refresh-button:disabled { opacity: .6; cursor: wait; }

.form-card.formcard { margin: 0; }
.form-title { font-size: 1.5rem; margin-bottom: .25em; }
.form-intro { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.4em; }
.form-section { border: 0; border-top: 1px solid var(--line); padding: 18px 0 0; margin: 0 0 20px; min-width: 0; }
.form-section legend { padding: 0 10px 0 0; font: 600 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-card .field input:not([type=radio]), .form-card .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--paper); border: 2px solid var(--line-strong); border-radius: 12px; }
.form-card .field textarea { min-height: 110px; resize: vertical; line-height: 1.5; background: var(--card); }
.form-card .field input:focus, .form-card .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px var(--moss-tint); }
.form-card .field input:disabled, .form-card .field textarea:disabled { opacity: .6; }
.field-note { font-size: .88rem; font-weight: 400; color: var(--ink-soft); margin: 6px 0 0; }
.field label .field-note { display: inline; margin: 0; }
.delivery-options { display: grid; gap: 8px; margin-bottom: 16px; }
.delivery-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.delivery-option input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--moss); }
.delivery-option b { display: block; font-weight: 600; }
.delivery-option small { display: block; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.delivery-option:has(input:checked) { border-color: var(--moss); background: var(--moss-tint); }
.schedule-fields { display: grid; grid-template-columns: 1fr; gap: 0; }
.schedule-fields[hidden], #buyer-message-field[hidden] { display: none; }
.schedule-fields.reveal { animation: reveal .24s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.hidden-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.buy-button { display: inline-flex; align-items: center; justify-content: center; gap: .6em; width: 100%; min-height: 56px; margin-top: 6px; padding: .6em 1.3em; border: 2px solid var(--moss); border-radius: 14px; background: var(--moss); color: var(--on-moss); font: 600 1.05rem var(--sans); cursor: pointer; }
.buy-button:hover:not(:disabled) { background: var(--moss-deep); border-color: var(--moss-deep); }
.buy-button:disabled { opacity: .65; cursor: not-allowed; }
.buy-button svg { width: 17px; height: 17px; }
.form-footnote { margin: 12px 0 0; color: var(--ink-soft); font-size: .88rem; text-align: center; }
.form-status { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border-left: 3px solid var(--moss); background: var(--moss-tint); font-size: .95rem; }
.form-status.error { border-color: var(--clay); background: var(--clay-tint); }
.form-status[hidden] { display: none; }
@media (max-width: 600px) { .fields-2 { grid-template-columns: 1fr; } }

.thanks-panel { padding-block: clamp(40px, 7vw, 88px); }
.thanks-inner { max-width: 700px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 1px 0 var(--line), 0 24px 48px -30px rgba(25,35,24,.35); }
.thanks-panel[hidden] { display: none; }
.thanks-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--moss); color: var(--on-moss); }
.thanks-mark svg { width: 26px; height: 26px; }
.thanks-panel .section-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6em; }
.order-details { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-row { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
.order-row dt { color: var(--ink-soft); }
.order-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.gift-code { display: inline-block; margin: 6px 0 14px; padding: 12px 16px; border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--moss-tint); font: 600 1.5rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.thanks-recovery { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
@media (max-width: 600px) { .order-row { grid-template-columns: 1fr; gap: 2px; } }

/* Thank-you page (Oct 13): the gift card, what happens next, and reassurance. */
.thanks-inner h1 { margin: 0 0 .35em; }
.thanks-lede { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 24px; }
/* A long email address or name wraps instead of pushing the page sideways at 320 px. */
.thanks-inner h1, .thanks-inner p, .thanks-inner li { overflow-wrap: break-word; }
.gift-card { margin: 4px 0 12px; padding: 24px 24px 22px; border-radius: 18px; background: var(--moss); color: var(--on-moss); box-shadow: 0 12px 30px -18px rgba(25, 35, 24, .55); }
.gift-card p { margin: 0; }
.gc-brand { font: 600 .95rem/1.2 'Source Serif 4', Georgia, serif; opacity: .85; }
.gc-title { margin-top: 14px !important; font: 400 clamp(1.5rem, 4vw, 1.9rem)/1.2 'Source Serif 4', Georgia, serif; }
.gc-for { margin-top: 10px !important; font-style: italic; opacity: .9; }
.gift-card .gift-code { display: inline-block; margin: 16px 0 0; padding: 10px 14px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); color: var(--on-moss); letter-spacing: .14em; }
.gc-actions { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.copy-code { min-height: 44px; padding: 0 18px; border: 2px solid var(--moss); border-radius: 12px; background: var(--card); color: var(--moss); font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; }
.copy-code:hover { background: var(--moss-tint); }
.copy-status { color: var(--ink-soft); font-size: .95rem; }
.gc-note { color: var(--ink-soft); margin: 8px 0 0; }
.thanks-next { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.thanks-next h2 { margin: 0 0 12px; font-size: 1.25rem; }
.thanks-next ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.thanks-next[hidden], .thanks-assure[hidden] { display: none; }
.thanks-assure { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--moss-tint); }
.thanks-assure p { margin: 0; }
.thanks-assure p + p { margin-top: 6px; color: var(--ink-soft); }
.gift-card .gift-code { white-space: nowrap; font-size: clamp(1rem, 5.2vw, 1.4rem); letter-spacing: .08em; max-width: 100%; overflow-x: auto; }
