@font-face {
  font-family: Bureau Georgia;
  src: local('Georgia'), url('/assets/georgia.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #1d3832;
  --muted: #52665c;
  --forest: #183e36;
  --paper: #fcfaf4;
  --rule: #d3d9cd;
  --link: #285d46;
  --gold: #f0d293;
  --display: 'Bureau Georgia', Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, -apple-system, Arial, sans-serif; }
main { flex: 1; }
a { color: var(--link); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #a95025; outline-offset: 4px; }
.cover :focus-visible, .productCover :focus-visible { outline-color: #ffe4a8; }
::selection { color: #17362d; background: #e8cf93; }
input { caret-color: var(--forest); }
h1, h2, p { margin: 0; }
h1, h2, .brand { font-family: var(--display); font-weight: 400; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .brandMark { flex-shrink: 0; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skipLink { position: absolute; top: -90px; left: 16px; z-index: 1; background: white; padding: 10px 18px; }
.skipLink:focus { top: 8px; }
.topBar { border-bottom: 1px solid var(--rule); }
.masthead, .masthead nav, .brand, .support, .logout, .foot, .foot nav { display: flex; align-items: center; }
.masthead { min-height: 72px; justify-content: space-between; gap: 18px; }
.masthead nav { gap: 24px; }
.brand { gap: 11px; font-size: 1.34rem; line-height: 1.04; color: var(--ink); text-decoration: none; }
.brandMark { width: 34px; height: 34px; stroke-width: 1.5; color: #8c6738; }
.brandMark use, .icon use { pointer-events: none; }
.support, .logout { min-height: 44px; gap: 7px; color: var(--ink); background: transparent; border: 0; padding: 0 2px; text-decoration: none; font-size: .9rem; }
.support:hover, .logout:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.pageHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 33px 0 23px; }
h1 { font-size: 2.7rem; line-height: 1.14; letter-spacing: -.025em; }
.identity { color: var(--muted); font-size: .93rem; overflow-wrap: anywhere; min-width: 0; }
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); min-height: 262px; overflow: hidden; isolation: isolate; border-radius: 12px; background: var(--forest); color: #fffaf0; }
.coverCopy { align-self: center; padding: 32px 36px; }
.cover h2 { font-size: 2.5rem; line-height: 1.1; max-width: 15ch; letter-spacing: -.025em; text-wrap: balance; }
.cover p { margin: 12px 0 0; color: #e3ebe1; max-width: 42ch; line-height: 1.5; }
.coverArt { display: block; width: 100%; height: 100%; min-height: 0; align-self: stretch; object-fit: cover; object-position: 50% 40%; }
.coverActions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 21px; }
.primary, .secondary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; border-radius: 6px; padding: 10px 16px; font: 650 .93rem/1.4 system-ui, sans-serif; text-decoration: none; }
.primary { background: var(--gold); color: #24352e; }
.primary:hover { background: #f9dfa6; }
.primary .icon { width: 18px; }
.lightLink { display: inline-flex; min-height: 44px; align-items: center; font-size: .88rem; color: #fff6dd; }
.section { margin-top: 34px; }
.section h2, .voucher h2 { font-size: 1.75rem; line-height: 1.19; letter-spacing: -.017em; }
.familySection h2 { margin: 0 0 14px; font-size: 1.75rem; line-height: 1.19; letter-spacing: -.017em; }
.resourceList { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 0 28px; border-block: 1px solid var(--rule); }
.resource { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 19px 0; color: var(--ink); text-decoration: none; }
.resourceIcon { width: 24px; height: 24px; color: var(--link); }
.resource strong { display: block; font-size: 1rem; line-height: 1.4; font-weight: 650; }
.resource small, .scopeList span { display: block; font-size: .865rem; line-height: 1.45; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.resource .arrow { width: 17px; color: var(--muted); }
.resource:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.accountTools { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 38px; margin-top: 34px; }
.accountTools .section { margin: 0; }
.notice { color: var(--muted); margin-top: 12px; }
.quietLink, .textAction { display: inline-flex; align-items: center; min-height: 42px; font-weight: 560; font-size: .9rem; }
.textAction { border: 0; background: transparent; color: var(--link); text-decoration: underline; text-underline-offset: .22em; padding: 0; margin-right: 1rem; }
.orderList, .consentList { list-style: none; padding: 0; margin: 12px 0 0; }
.orderList:empty { margin: 0; }
.orderList li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); }
.orderMain, .orderMeta { min-width: 0; overflow-wrap: anywhere; }
.orderMain strong { display: block; font-weight: 650; }
.orderMeta { font-size: .88rem; color: var(--muted); }
.orderInfo { text-align: right; }
.orderInfo .orderMeta { display: block; }
.orderInfo a { font-size: .9rem; display: inline-block; padding-block: 5px; }
.voucher { padding: 23px 24px; background: #e9eee4; border-radius: 12px; }
.voucherTitle { display: flex; align-items: center; gap: 10px; }
.voucherTitle .icon { color: var(--link); }
.voucher h2 { font-size: 1.5rem; }
.voucher form { margin-top: 15px; }
.voucher label { display: block; margin-bottom: 5px; font-size: .87rem; font-weight: 600; }
.codeRow { display: flex; flex-wrap: wrap; gap: 8px; }
.codeRow input { flex: 1 1 104px; min-width: 0; max-width: 100%; background: #fffef9; color: var(--ink); border: 1px solid #839789; border-radius: 6px; padding: 9px 10px; min-height: 44px; }
.secondary { background: var(--forest); color: white; border: 1px solid var(--forest); }
.secondary:hover { background: #285144; }
.formStatus, .error { color: #8d3431; }
.formStatus:not(:empty), .error:not([hidden]) { margin-block: 12px; }
.formStatus:empty { display: none; }
.consentList li { border-top: 1px solid var(--rule); padding: 10px 0; overflow-wrap: anywhere; }
.consentList button { display: flex; margin-top: 2px; }
.manage div, .guestLinks { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.manage div a, .guestLinks a { display: inline-flex; align-items: center; min-height: 44px; }
.guestLinks { padding: 12px 0; }
.foot { justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-block: 21px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem; }
.foot nav { gap: 20px; flex-wrap: wrap; }
.foot a { color: inherit; padding-block: 4px; }
@media (min-width: 721px) { .cover { position: relative; } .coverArt { position: absolute; inset: 0 0 0 auto; width: 50.5%; } }
@media (max-width: 900px) { .wrap { width: calc(100% - 56px); } .resourceList { gap: 0 18px; } .resource { gap: 8px; } .accountTools { gap: 26px; } }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 61px; gap: 10px; }
  .masthead nav { gap: 12px; }
  .brand { font-size: 1.02rem; gap: 5px; max-width: 185px; }
  .brandMark { width: 27px; height: 27px; }
  .support, .logout { font-size: .83rem; gap: 5px; }
  .masthead .icon { width: 16px; height: 16px; }
  .pageHeading { display: block; padding: 24px 0 16px; }
  h1 { font-size: 2.12rem; }
  .identity { margin-top: 4px; font-size: .88rem; }
  .cover { grid-template-columns: 1fr; }
  .coverArt { grid-row: 1; height: 144px; object-position: 50% 41%; }
  .coverCopy { padding: 22px; }
  .cover h2 { font-size: 2.05rem; max-width: 20ch; }
  .cover p, .coverActions { margin-top: 10px; }
  .resourceList { display: block; }
  .resource { align-items: center; gap: 13px; padding: 14px 0; }
  .resource + .resource:not([hidden]) { border-top: 1px solid var(--rule); }
  .resource:not([hidden]):first-child, .resourceList > [hidden] + .resource:not([hidden]) { border-top: none; }
  .section, .accountTools { margin-top: 26px; }
  .section h2 { font-size: 1.55rem; }
  .accountTools { grid-template-columns: 1fr; gap: 20px; }
  .voucher { padding: 20px; }
  .foot { margin-top: 34px; }
}
@media (max-width: 480px) {
  .masthead nav { gap: 7px; }
  .logout { min-width: 44px; justify-content: center; }
  .logout .icon { width: 20px; height: 20px; }
  .logout span { display: none; }
}
@media (max-width: 387px) { .wrap { width: calc(100% - 28px); } .masthead .support .icon { display: none; } .brand { max-width: 145px; } .orderList li { display: block; } .orderInfo { text-align: left; } }
#productList { display: grid; gap: 18px; }
.productCover {
  display: grid;
  grid-template: "copy art" 1fr "actions art" auto / minmax(0, 1fr) 44%;
  min-height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--forest);
  color: #fffaf0;
  scroll-margin-top: 18px;
  --cover-padding: clamp(24px, 3vw, 36px);
}
.productCopy { grid-area: copy; align-self: end; padding: var(--cover-padding) var(--cover-padding) 0; }
.productCopy h3 { margin: 0; font: 400 clamp(2rem, 3.2vw, 2.6rem)/1.1 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.productCopy p { margin: 10px 0 0; max-width: 44ch; color: #e3ebe1; }
.productVisual { grid-area: art; position: relative; }
.productArt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#product-calendar .productArt { object-position: 50% 40%; }
#product-greeting .productArt { object-position: 56% 40%; }
.productActions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 14px; padding: 20px var(--cover-padding) var(--cover-padding); }
.recipient { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 100%; }
.recipientName { margin-bottom: 5px; font-size: .84rem; color: #e3ebe1; overflow-wrap: anywhere; }
.recipient .primary { max-width: 100%; text-align: center; }
#products:not([hidden]) + .resourceList, #welcome:not([hidden]) ~ #session .resourceList { margin-top: 24px; }
@media (max-width: 720px) {
  .familySection h2 { font-size: 1.55rem; }
  #productList { gap: 14px; }
  .productCover { grid-template-columns: minmax(0,1fr) 38%; min-height: 220px; --cover-padding: 20px; }
  .productCopy h3 { font-size: 1.85rem; }
  .productCopy p { font-size: .94rem; }
  .productActions { gap: 10px; }
}
@media (max-width: 530px) {
  .productCover { grid-template: "copy art" auto "actions actions" auto / minmax(0,1fr) 33%; min-height: 0; --cover-padding: 16px; }
  .productCopy { align-self: center; padding-block: 18px; }
  .productCopy h3 { font-size: clamp(1.3rem, 5.2vw, 1.7rem); }
  .productCopy p { margin-top: 8px; font-size: .875rem; line-height: 1.45; }
  .productActions { border-top: 1px solid #456259; padding-block: 12px 16px; }
  .recipient { flex: 1 1 110px; }
  .recipient .primary { padding-inline: 12px; gap: 8px; font-size: .875rem; }
  .recipient:not(:only-child) .primary { width: 100%; flex: 1; }
  .recipient:not(:only-child) .icon { display: none; }
  .recipientName { font-size: .8rem; }
}
