/* The guide's passport, membership and goods pages. The same UI is used by
   Capacitor: the store supplies the price, duration, state and actions. */
:is(.premium-screen,.shop-screen,.profile-screen,.premium-nudge) {
  --edition-ink: #172d29;
  --edition-jade: #38665c;
  --edition-paper: #f8f7f1;
  --edition-mist: #e9eee8;
  --edition-rule: #c6d2ca;
  --edition-display: Georgia, "Times New Roman", serif;
  --edition-gutter: clamp(1.1rem, 4vw, 3rem);
}
:is(.premium-screen,.shop-screen,.profile-screen) {
  background-color: var(--edition-paper);
  color: var(--edition-ink);
}
:is(.premium-screen,.shop-screen,.profile-screen,.premium-nudge)
  :is(button,a,summary,input):focus-visible {
  outline: 3px solid #297c7d; outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
:is(.premium-screen,.shop-screen,.profile-screen) :is(h1,h2,h3) {
  font-family: var(--edition-display);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
  text-transform: none;
  text-wrap: balance;
}
.premium-screen { --premium-pad: var(--edition-gutter); }

/* A route on the title page, rather than a billboard above the payment form. */
.premium-landing-hero {
  display: grid;
  min-height: 0;
  justify-items: start; align-content: end;
  padding: clamp(1.5rem, 4vw, 3.25rem) var(--premium-pad);
  border: 0;
  color: #fff;
  background: #16332d
    linear-gradient(112deg, rgba(11,35,30,.96) 0%, rgba(13,38,34,.85) 54%, rgba(13,33,32,.57) 100%);
  isolation: isolate;
}
.premium-landing-hero::before {
  inset: 0; width: auto; height: auto; z-index: -1;
  border: 0; border-radius: 0; opacity: 1;
  background: linear-gradient(110deg, rgba(12,33,28,.93) 7%, rgba(13,38,34,.81) 54%, rgba(18,40,33,.52)),
    url("/destinations/misfat-al-abriyeen.webp") center 58% / cover no-repeat;
}
.premium-route-mark {
  position: static; justify-self: end; margin: 0 0 clamp(1rem, 3vw, 2rem);
  color: #f3f4dc;
}
.premium-route-mark span { border-color: #afc4b3; font-size: .7rem; font-weight: 600; }
.premium-route-mark i { border-color: #afc4b3; }
.premium-hero-copy .eyebrow { margin-bottom: .85rem; color: #d5fc00; }
.premium-hero-copy h1 { max-width: 18ch; font-size: clamp(2.6rem, 7.6vw, 5rem); color: #fff; }
.premium-hero-lead { max-width: 54ch; margin-top: 1rem; color: #eef2ec; line-height: 1.55; font-size: 1rem; }
.premium-hero-offer { flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.5rem; padding-top: 1rem; }
.premium-hero-offer strong:not(.is-store-price-unavailable),
.premium-checkout-heading > div strong:not(.is-store-price-unavailable) {
  font-size: clamp(2.5rem, 7.5vw, 4rem); font-weight: 580; letter-spacing: -.06em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.premium-hero-offer strong { color: #fff; }
.premium-hero-offer span, .premium-checkout-heading > div span { font-size: .78rem; font-weight: 650; letter-spacing: .04em; }
.premium-hero-actions { max-width: 42rem; margin-top: 1rem; }
.premium-hero-actions :is(button,a) {
  min-height: 3rem; border-width: 1px; border-radius: .7rem;
  font-size: .82rem; line-height: 1.35; font-weight: 700; letter-spacing: .02em;
}
.premium-hero-actions :is(a,.premium-returning-login) { background: #15312c; border-color: #9aac9e; color: #fff; }
.premium-hero-actions .premium-returning-login { min-height: 44px; background: none; text-decoration: underline; text-underline-offset: .25em; border-color: transparent; }
.premium-hero-trust { gap: .5rem 1rem; }
.premium-hero-trust li { font-size: .76rem; line-height: 1.5; font-weight: 600; padding-left: 1rem; }
.premium-hero-trust a { color: inherit; text-underline-offset: .2em; }
.premium-verification-notice { background: #faf8ee; color: var(--edition-ink); border: 1px solid #a6c5b4; border-radius: .8rem; }
.premium-verification-notice button { border-radius: .5rem; }
.premium-proof-strip { background: var(--edition-mist); border: 0; min-height: 3.4rem; }
.premium-proof-strip span { border-color: var(--edition-rule); font-size: .78rem; line-height: 1.35; font-weight: 650; }
.premium-landing-section { padding-block: clamp(2.4rem, 5.5vw, 4.6rem); border-bottom: 1px solid var(--edition-rule); }
.premium-screen :is(.premium-section-heading,.premium-checkout-heading,.premium-experience) h2 { font-size: clamp(2rem, 5.5vw, 3.8rem); }
.premium-section-heading > p:last-child:not(.micro-label), .premium-experience > p:last-child { font-size: 1rem; line-height: 1.65; }
.premium-roadbook-grid { overflow: hidden; border: 1px solid var(--edition-rule); border-radius: 1rem; }
.premium-roadbook-grid article, .premium-roadbook-grid article:nth-child(even) { background: #fffefb; border-color: var(--edition-rule); }
.premium-roadbook-grid article > span { background: var(--edition-mist); border: 1px solid var(--edition-rule); color: var(--edition-ink); font-size: .78rem; }
.premium-roadbook-grid strong { font: 400 1.65rem/1.1 var(--edition-display); letter-spacing: -.035em; text-transform: none; }
.premium-roadbook-grid small { color: #42574f; line-height: 1.5; font-size: .82rem; }
.premium-roadbook-grid b { font-size: 1rem; font-weight: 650; }
.premium-fine-print { color: #46594f; font-size: .8rem; line-height: 1.5; }
.premium-decisions { background: var(--edition-ink); color: var(--edition-paper); }
.premium-decision-grid { border-width: 1px 0 0; }
.premium-decision-grid article { min-height: 0; padding: 1.25rem .95rem; }
.premium-decision-grid article > span { min-width: 2rem; height: 2rem; border-color: #9db5a7; color: #fff; }
.premium-decision-grid strong { margin-top: .9rem; color: #edf4e2; font-size: .92rem; letter-spacing: .025em; }
.premium-decision-grid p { font-size: .9rem; line-height: 1.55; color: #e1e8de; }
.premium-preview, .premium-experience { background-color: var(--edition-mist); }
.premium-shot-frame { border: 1px solid var(--edition-rule); box-shadow: 0 5px 14px #172d2914; }
.premium-shot-list figcaption { font-size: .8rem; gap: .4rem; }
.premium-experience { padding: clamp(2.4rem, 5.5vw, 4.6rem) var(--premium-pad); min-height: 0; }
.premium-experience .micro-label { margin-bottom: clamp(3.75rem, 10vw, 6rem); }
.premium-experience-year { top: .7rem; right: var(--premium-pad); font: italic 400 clamp(5rem, 14vw, 10rem)/1 var(--edition-display); color: #557564; opacity: .18; -webkit-text-stroke: 0; }
.premium-boundary-grid article { border: 1px solid var(--edition-rule); border-radius: 1rem; }
.premium-boundary-grid .is-included { background: #e7eee2; }
.premium-boundary-grid .is-excluded { background: #fffefa; color: var(--edition-ink); }
.premium-boundary-grid li { border-color: #baced0; font-size: .9rem; line-height: 1.5; }
.premium-boundary-grid .is-excluded li::before { color: var(--edition-jade); }
.premium-faq-list, .premium-faq-list details { border-color: var(--edition-rule); }
.premium-faq-list summary { font-weight: 640; font-size: 1rem; line-height: 1.4; text-transform: none; }
.premium-faq-list summary::after { background: var(--edition-mist); color: var(--edition-ink); border: none; }
.premium-faq-list details p { font-size: .95rem; }
.premium-checkout { background: #e5ece1; }
.premium-checkout-heading > div { align-items: center; gap: .75rem; flex-wrap: wrap; border-top: 1px solid #a4b6a6; }
.premium-checkout-heading a { color: var(--edition-jade); text-underline-offset: .2em; }
.premium-checkout-status, .premium-recovery-card, .premium-restore-panel { border: 1px solid #afc1b4; border-radius: .8rem; }
.premium-checkout-status small, .premium-recovery-card p, .premium-restore-panel small, .premium-checkout > p:last-child { font-size: .83rem; line-height: 1.5; }
.premium-buy-button, .premium-restore-button, .premium-account-action, .premium-sticky-cta button { border-radius: .75rem; font-weight: 680; letter-spacing: .02em; }
.premium-buy-button, .premium-sticky-cta button { background: var(--edition-ink); color: var(--edition-paper); }
.premium-buy-button.is-active { background: var(--edition-jade); color: #fff; }
.premium-account-action, .premium-restore-button { border-width: 1px; color: var(--edition-ink); }
.premium-restore-panel label, .premium-recovery-card strong { font-size: .82rem; }
.premium-restore-panel input { border: 1px solid var(--edition-rule); border-radius: .45rem 0 0 .45rem; font-size: 1rem; }
.premium-restore-panel button, .premium-recovery-card button { min-height: 44px; border-radius: .45rem; font-size: .82rem; }
.premium-checkout .newsletter-form-premium { background: var(--edition-paper); border: 1px solid var(--edition-rule); border-radius: .8rem; }
.premium-sticky-cta strong { font-variant-numeric: tabular-nums; }

/* The account is a quiet field notebook: distinct identity, form and preferences. */
.profile-screen .profile-intro { background: #203e36; color: #fff; }
.profile-screen .profile-intro .eyebrow { color: #d5fc00; }
.profile-screen .screen-intro h1, .shop-screen .screen-intro h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
.profile-screen .screen-intro > p:last-child, .shop-screen .shop-intro > p:not(.eyebrow) { font-weight: 450; font-size: 1rem; line-height: 1.55; }
.profile-screen :is(.profile-access-card,.profile-member,.owner-entry,.profile-production-note) {
  margin: clamp(1rem, 3vw, 1.8rem) var(--edition-gutter); border: 1px solid var(--edition-rule);
  border-radius: 1rem; background: #fffefb; box-shadow: none;
}
.profile-screen :is(.profile-access-card,.owner-entry,.profile-production-note) { padding: clamp(1.05rem, 3vw, 1.8rem); }
.profile-access-card > p:not(.micro-label), .profile-production-note p { max-width: 60ch; font-size: .97rem; line-height: 1.55; }
.profile-access-card h2, .owner-entry h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.profile-marketing-consent { background: #f0f3ed; border: 1px solid var(--edition-rule); border-radius: .6rem; gap: .75rem; }
.profile-marketing-consent strong, .profile-identity small, .profile-production-note strong { font-size: .76rem; }
.profile-marketing-consent small, .profile-access-card .local-demo-note { color: #41594e; font-size: .84rem; font-weight: 450; line-height: 1.5; }
.profile-access-card .local-demo-note { font-size: .84rem !important; border-color: var(--edition-rule); }
.profile-access-card :is(.profile-demo-form input,.profile-passkey-button,.profile-oauth-button,.primary-button,.profile-logout) { border-radius: .65rem; }
.profile-demo-form { gap: .5rem; }
.profile-demo-form label, .profile-oauth-button b, .profile-passkey-button b { font-size: .82rem; letter-spacing: .035em; font-weight: 650; }
.profile-demo-form input { min-height: 48px; border: 1px solid #789082; background: #fff; font-size: 1rem; }
.profile-demo-form .primary-button { background: var(--edition-ink); color: #fff; font-size: .88rem; }
.profile-access-card .profile-oauth-google { background: #fff; border: 1px solid #747775; color: #1f1f1f; }
.profile-access-card .profile-oauth-apple { background: #111; border: 1px solid #111; color: #fff; }
.profile-access-card .profile-passkey-button { background: var(--edition-jade); border: 1px solid var(--edition-jade); }
.profile-oauth-divider span, .profile-version { font-size: .74rem; font-weight: 600; }
.profile-version { opacity: 1; color: #53665c; }
#profile-assigned-login { margin-top: 1rem; }
#profile-assigned-login summary { padding: .8rem 1rem; text-align: start; }
.profile-member { overflow: hidden; }
.profile-identity { background: var(--edition-ink); }
.profile-avatar { border: 1px solid #a6c1ae; font: italic 400 1.45rem/1 var(--edition-display); color: #fff; background: #345a4d; }
.profile-identity p { opacity: 1; font-size: .83rem; color: #dae4dd; }
.profile-plan-badge { border-radius: 2rem; font-size: .73rem; }
.profile-stats button { color: var(--edition-ink); background: #edf1e9; }
.profile-stats span, .profile-switch > span small { font-size: .76rem; font-weight: 620; letter-spacing: .025em; }
.profile-switch > span small { opacity: 1; color: #475f52; }
.profile-actions > button, .profile-marketing-switch, .profile-logout, .profile-legal-links { border-color: var(--edition-rule); }
.profile-actions > button, .profile-switch { min-height: 3.5rem; font-size: .95rem; font-weight: 560; }
.profile-switch i { flex-shrink: 0; border: 2px solid #668171; }
.profile-switch input:focus-visible + i { outline: 3px solid #297c7d; outline-offset: 3px; }
.profile-logout { background: #e8ece6; font-size: .85rem; }
.profile-danger-zone { background: #faf4f0; color: #653627; border-top: 1px solid #ded1c9; }
.profile-danger-zone strong, .profile-danger-zone button { font-size: .8rem; }
.profile-danger-zone p { font-size: .89rem; }
.profile-danger-zone button { border: 1px solid #945a4b; color: #793c31; border-radius: .6rem; background: #fffaf7; }
.profile-legal-links :is(a,button) { min-height: 44px; display: inline-flex; align-items: center; border: 0; font-size: .88rem; font-weight: 600; color: var(--edition-jade); text-decoration: underline; text-underline-offset: .2em; }

/* Goods: keep photographs and prices primary, production details secondary. */
.shop-screen .shop-intro { background: #e9eee5; color: var(--edition-ink); border-bottom: 1px solid var(--edition-rule); }
.shop-intro .preview-ribbon { padding: .45rem 0; background: none; color: #455e51; font-size: .76rem; line-height: 1.4; letter-spacing: .055em; }
.shop-live-link { background: var(--edition-ink); color: #fff; border: 0; border-radius: .65rem; font-size: .82rem; }
.shop-premium-banner,.shop-operation-grid,.shop-footer-card { margin-inline: var(--edition-gutter); border-radius: 1rem; }
.shop-premium-banner { border: 1px solid var(--edition-rule); background: #fffefb; }
.shop-premium-banner.is-active { background: #e1ebd7; }
.shop-premium-banner > span { border: 0; background: var(--edition-ink); color: #e0efce; font: italic 400 1.3rem/1 var(--edition-display); }
.shop-premium-banner small,.shop-operation-grid p { font-size: .87rem; line-height: 1.5; }
.shop-grid { padding-inline: var(--edition-gutter); gap: clamp(.6rem, 2vw, 1.3rem); align-items: stretch; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--edition-rule); border-radius: .9rem; background: #fffefa; color: var(--edition-ink); }
.product-image-wrap { display: block; width: 100%; border-bottom: 1px solid var(--edition-rule); }
.product-number,.product-availability { border: 0; border-radius: 5px; font-size: .7rem; line-height: 1.2; font-weight: 650; letter-spacing: .03em; }
.product-availability { color: var(--edition-ink); background: #fcfbf2; box-shadow: 0 1px 4px #172d291a; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: clamp(.7rem,1.65vw,1.15rem); }
.product-category { color: #466354; font-size: .73rem; letter-spacing: .07em; }
.shop-screen .product-body h2 { min-height: 0; margin-bottom: 1rem; font-size: clamp(1.3rem, 2.6vw, 1.85rem); }
.product-footer { margin: auto 0 0; align-items: center; padding-top: .7rem; border-top: 1px solid var(--edition-rule); }
.product-price { font-size: 1.05rem; font-weight: 640; }
.product-arrow { color: var(--edition-jade); font-size: 1rem; }
.shop-operation-grid { border: 1px solid var(--edition-rule); overflow: hidden; background: #edf0e9; }
.shop-operation-grid article { border-color: var(--edition-rule); }
.shop-operation-grid span { color: var(--edition-jade); font-variant-numeric: tabular-nums; font-size: .78rem; }
.shop-operation-grid strong { font-size: .8rem; }
.shop-footer-card { background: var(--edition-ink); color: #fff; }
.shop-footer-card a { min-height: 44px; align-items: center; font-size: .82rem; }
.product-checkout-button { border-radius: .7rem; }
.premium-nudge { border: 1px solid var(--edition-rule); border-radius: .95rem; box-shadow: 0 8px 28px #152e2a29; background: var(--edition-paper); color: var(--edition-ink); }
.premium-nudge-copy strong { font: 400 1.45rem/1.13 var(--edition-display); text-transform: none; }
.premium-nudge-copy small { color: #465e50; font-size: .75rem; }
.premium-nudge-copy p { font-size: .87rem; line-height: 1.45; }
.premium-nudge-pass { background: var(--edition-mist); font: italic 400 1.3rem/1 var(--edition-display); border: 1px solid var(--edition-rule); }
.premium-nudge-action { margin: 0; grid-column: 2; border-radius: .6rem; }
.premium-nudge-later { position: static; min-height: 44px; grid-column: 2; justify-self: start; font-size: .76rem; }
@media (min-width: 700px) {
  .profile-screen :is(.profile-access-card,.profile-member,.profile-production-note,.owner-entry) { width: min(calc(100% - 2 * var(--edition-gutter)), 44rem); margin-inline: auto; }
  .premium-decision-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #546b61; border: none; }
  .premium-decision-grid article { background: var(--edition-ink); border: 0; }
}
@media (max-width: 579px) {
  .premium-screen.is-active:not(.is-premium-active) .premium-sticky-cta { border-top: 1px solid var(--edition-rule); background: #fcfcf7; }
  .premium-sticky-cta button { font-size: .76rem; line-height: 1.3; max-width: 52vw; }
  .premium-roadbook-grid article { gap: .75rem; }
}
@media (max-width: 420px) {
  .premium-landing-hero { min-height: 0; }
  .premium-hero-actions { grid-template-columns: 1fr; }
  .premium-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-proof-strip span { padding: .6rem; font-size: .77rem; }
  .premium-proof-strip span:nth-child(2) { border-right: 0; }
  .premium-proof-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--edition-rule); }
  .premium-restore-panel > div { grid-template-columns: 1fr; gap: .5rem; }
  .premium-restore-panel input { border-radius: .45rem; }
  .premium-sticky-cta small { font-weight: 650; }
}
@media (max-width: 360px) {
  .product-body { padding: .65rem; }
  .profile-stats button { padding-inline: .3rem; }
}
