/* Generated by scripts/build-pricing.cjs; source: homepage and checkout. */
.nav { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; }
    /* Match the app shell's 20px top inset, 1px border, and 26px header padding. */
    .nav.photoora-header { margin: 20px auto 0; padding: 15px 26px; border: 1px solid var(--line); border-radius: 24px 24px 0 0; background: #fff; }
    .nav #acct-name { white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
    .brandwrap { display: flex; align-items: center; gap: 3px; text-decoration: none; }
    .logomark { width: 30px; height: 30px; flex: none; border-radius: 7px; }
    .brand-o { display: inline-block; height: 1.2em; width: 1.2em; vertical-align: -0.26em; margin: 0 .01em; }
    .nav .links { display: flex; gap: 10px; align-items: center; }
    .navmid { display: flex; gap: 26px; }
    .navmid a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
    .navmid a:hover { color: var(--brand-primary); }
    .nav a.login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 6px; }
    .nav .btn { width: auto; padding: 11px 18px; font-size: 15px; text-decoration: none; }
    .navgroup { position: relative; display: flex; gap: 10px; align-items: center; }
    .navgroup[hidden] { display: none; }
    .nav-loading { width: 178px; height: 42px; border-radius: 999px; background: linear-gradient(100deg, var(--brand-soft) 25%, var(--brand-tint) 50%, var(--brand-soft) 75%); background-size: 200% 100%; animation: accountShimmer 1.3s ease-in-out infinite; }
    .nav-loading[hidden] { display: none; }
    @keyframes accountShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
    @media (max-width: 640px) { .nav-loading { width: 68px; height: 36px; } }
    @media (prefers-reduced-motion: reduce) { .nav-loading { animation: none; } }
    /* account menu — styles now live in /shared/styles.css (single source) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
    .plan { position: relative; min-width: 0; border: 1px solid var(--brand-border); border-radius: 18px; padding: 22px 18px 18px; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--brand-tint), #fff 45%); transition: border-color .18s ease, box-shadow .18s ease; }
    .plan[data-plan="wedding"] { background: #fff; }
    .plan[data-plan="heirloom"] { background: #fff; }
    .plan.sel { border-color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-border), 0 10px 28px color-mix(in srgb, var(--brand-primary) 11%, transparent); }
    .plan-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-fill); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
    .plan-head, .plan-hmid, .plan-hend { display: contents; }
    .pb-mob { display: none; }
    .plan-name { font-weight: var(--fw-subheading); font-size: 17px; line-height: var(--lh-subheading); }
    .plan-price { font-size: 29px; font-weight: 800; color: var(--brand-primary); margin: 6px 0 0; letter-spacing: -.6px; }
    .plan-billing { display: block; color: var(--muted); font-size: 11.5px; margin: 2px 0 12px; }
    .plan-tag { color: var(--text-copy); font-size: 12.5px; line-height: var(--lh-copy); min-height: 61px; margin: 0 0 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
    .plan-list { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
    .plan-list li { font-size: 12.5px; line-height: 1.55; padding: 7px 0 7px 19px; position: relative; }
    .plan-list strong { font-weight: var(--fw-emphasis); color: var(--ink); }
    .plan-list li::before { content: '✓'; position: absolute; left: 1px; color: var(--brand-primary); font-weight: 800; }
    .plan-list small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-top: 2px; }
    .plan-list .plan-preview::before { content: '–'; color: var(--muted); }
    button.plan-btn { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--brand-border-strong); background: #fff; color: var(--brand-primary); font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: none; }
    button.plan-btn:hover { transform: none; background: var(--brand-tint); }
    button.plan-btn:focus-visible, .package-compare > summary:focus-visible, .package-back:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 4px; }
    .plan.sel button.plan-btn { background: var(--brand-fill); color: #fff; border-color: transparent; }
    .package-notes { color: var(--muted); font-size: 11.5px; line-height: var(--lh-help); margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
    .package-notes p { margin: 4px 0; }
    .package-notes strong { font-weight: var(--fw-emphasis); color: var(--ink); }
    .package-compare { border: 1px solid var(--brand-border); border-radius: 14px; margin: 16px 0 4px; overflow: clip; }
    .package-compare > summary { padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; color: var(--brand-primary); font-size: 13px; font-weight: 800; background: var(--brand-tint); }
    .package-compare > summary::-webkit-details-marker { display: none; }
    .package-compare > summary:focus-visible { outline-offset: -3px; }
    .package-compare > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 3px; flex: none; }
    .package-compare[open] > summary::after { transform: rotate(225deg); }
    .checkout-guarantee { max-width: 560px; margin: 20px auto 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--brand-tint); text-align: center; }
    .checkout-guarantee h3 { margin: 0 0 5px; color: var(--ink); font-size: 14px; line-height: var(--lh-subheading); font-weight: var(--fw-subheading); }
    .checkout-guarantee p { margin: 0; color: var(--text-copy); font-size: 12.5px; line-height: var(--lh-copy); }
    .checkout-guarantee a { color: var(--brand-primary); font-weight: 600; text-underline-offset: 3px; }
    .package-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.6; }
    .package-table caption { padding: 14px 18px; text-align: left; color: var(--muted); font-size: 12px; }
    .package-table th, .package-table td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; text-align: center; overflow-wrap: anywhere; }
    .package-table th:first-child { text-align: left; width: 30%; padding-left: 18px; }
    .package-table th { font-weight: 700; }
    .package-table td:nth-child(3), .package-table thead th:nth-child(3) { background: #fcf7ff; }
    .package-table thead th { color: #51436f; }
    .package-table .compare-plan { display: none; }
    .package-table .compare-group th { padding: 9px 18px; background: var(--brand-tint); color: #645181; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
    .package-benefits { padding: 24px 18px; border-bottom: 1px solid var(--line); }
    .package-eyebrow { color: var(--brand-primary); font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
    .package-benefits h3, .keepsake-copy h3 { font-size: 23px; line-height: var(--lh-heading); letter-spacing: -.5px; margin: 7px 0; font-weight: var(--fw-heading); }
    .package-intro { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0 0 22px; }
    .benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
    .benefit { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
    .benefit-ico { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-primary); }
    .benefit h4 { font-size: 13px; margin: 0 0 4px; line-height: var(--lh-subheading); font-weight: var(--fw-subheading); }
    .benefit p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: var(--lh-help); }
    .keepsake-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 22px; background: linear-gradient(125deg, var(--brand-tint), #fff8fc); }
    .keepsake-figure { margin: 0; min-width: 0; }
    .keepsake-figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #e4dced; box-shadow: 0 12px 26px rgba(64,38,97,.10); }
    .keepsake-figure figcaption { font-size: 10.5px; line-height: 1.6; margin-top: 9px; color: #777083; text-align: center; }
    .keepsake-copy p { font-size: 13px; line-height: 1.8; color: #666478; margin: 10px 0; }
    .keepsake-copy .keepsake-detail { font-size: 11.5px; }
    button.package-back { display: inline-flex; align-items: center; color: var(--brand-primary); font-weight: 800; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; width: auto; padding: 0; background: none; border: 0; box-shadow: none; }
    button.package-back:hover { transform: none; background: none; box-shadow: none; }
    @media (max-width: 900px) and (min-width: 701px) {
      .plans { gap: 10px; }
      .plan { padding: 20px 12px 14px; }
      .plan-tag { min-height: 80px; color: var(--text-copy); line-height: var(--lh-copy); }
      .plan-list li { font-size: 12px; }
    }
    button.plancta { position: relative; width: 100%; max-width: 560px; margin: 4px auto 0; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; font-size: 16px; padding: 0 46px; }
    button.plancta > svg:last-of-type { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); margin: 0 !important; }
    .checkout-agreement { order: 1; width: 100%; max-width: 560px; margin: 18px auto 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; box-sizing: border-box; }
    .checkout-agreement-row { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.6; }
    .checkout-agreement label { display: inline; margin: 0; color: inherit; font: inherit; cursor: pointer; }
    .checkout-agreement input[type="checkbox"] { appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--brand-primary); cursor: pointer; }
    .checkout-agreement input:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
    .checkout-agreement a { color: var(--brand-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
    .checkout-agreement.needs-attention { background: #fff7fb; border-color: #d95095; }
    .checkout-agreement-error { margin: 6px 0 0 28px; color: #a12661; font-size: 13px; line-height: 1.5; }
    .checkout-agreement-error[hidden] { display: none; }
    @media (max-width: 700px) {
      .pick-head { font-size: 20px; font-weight: var(--fw-heading); line-height: var(--lh-heading); }
      .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
      .plan { padding: 20px 16px 16px; }
      .plan-head { display: flex; align-items: center; gap: 10px; }
      .plan-hmid { display: block; flex: 1; min-width: 0; }
      .plan-hend { display: block; text-align: right; }
      .plan-name { font-size: 16px; font-weight: var(--fw-subheading); line-height: var(--lh-subheading); }
      .plan-price { margin: 0; font-size: 24px; }
      .plan-billing { font-size: 10px; margin: 2px 0 0; }
      .plan-tag { min-height: 0; margin: 14px 0 10px; padding-bottom: 12px; color: var(--text-copy); line-height: var(--lh-copy); }
      .plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; margin-bottom: 14px; }
      .plan-list li { font-size: 12px; padding-top: 6px; padding-bottom: 6px; }
      .plan-list li:last-child { grid-column: 1 / -1; }
      .plan-list small { font-size: 11px; }
      .package-notes { font-size: 11px; color: var(--muted); line-height: var(--lh-help); }
      .package-table, .package-table tbody { display: block; }
      .package-table caption { display: block; }
      .package-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
      .package-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .package-table th:first-child { grid-column: 1 / -1; width: auto; padding: 12px 14px 6px; }
      .package-table td { border-top: 0; padding: 8px 7px 14px; font-size: 11.5px; }
      .package-table .compare-plan { display: block; color: #74618d; font-size: 9px; font-weight: 700; margin-bottom: 4px; }
      .package-table .compare-group th { padding: 10px 14px; }
      .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
      .package-benefits h3, .keepsake-copy h3 { font-size: 21px; font-weight: var(--fw-heading); line-height: var(--lh-heading); }
      .keepsake-band { grid-template-columns: minmax(0, 1fr); gap: 22px; }
      .paytrust { flex-wrap: wrap; text-align: center; line-height: 1.6; }
    }
    @media (max-width: 380px) {
      .plan-list { grid-template-columns: minmax(0, 1fr); }
      .plan-head { flex-wrap: wrap; }
      .plan-hend { flex: 0 0 100%; text-align: left; margin-top: 4px; }
      .plan-billing { display: inline; margin-left: 8px; }
      .plan-price { display: inline; }
    }
