  
:root {
  color-scheme: dark;
  --color-bg: #101110;
  --color-surface: #191b19;
  --color-input: #111310;
  --color-yellow: #ffce2e;
  --color-yellow-hover: #ffdd69;
  --color-text: #f6f6ef;
  --color-muted: #b1b6ab;
  --color-border: #393e35;
  --color-error: #ffb1a9;
  --radius: 18px;
  --page-width: 1200px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  background: var(--color-bg);
  color: var(--color-text);
}

.notify
{
	margin: 10px;
	text-align: center;
	border: 1px solid red;
    border-radius: 12px;
    padding: 10px;
    background: radial-gradient(ellipse at top right, #3b4228, #24291d 75%);
}


.info
{
	margin: 10px;
	text-align: center;
	border: 1px solid #b49939;
    border-radius: 12px;
    padding: 10px;
    background: radial-gradient(ellipse at top right, #3b4228, #24291d 75%);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
button:disabled { opacity: .55; cursor: not-allowed; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.7px; }
:where(button, a, input, summary):focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 4px; }
:where(h2, main)[tabindex="-1"]:focus { outline: none; }
.container { width: min(var(--page-width), 90%); margin-inline: auto; }
.muted { color: var(--color-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 14px 20px; color: #101110; background: var(--color-yellow); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Header and brand */
.site-header { min-height: 96px; padding-inline: 5%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--color-border); }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
.brand-symbol { display: block; width: 52px; height: 52px; overflow: hidden; }
.brand-symbol img { width: 80px; height: 80px; max-width: none; margin: -14px; mix-blend-mode: screen; }
.brand-name { font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: -1.5px; line-height: 1; }
.brand-name small { display: block; font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: 1px; margin-top: 8px; }
.desktop-nav { display: flex; align-self: stretch; gap: 34px; }
.desktop-nav a { display: grid; place-items: center; position: relative; font-size: 14px; color: var(--color-muted); }
.desktop-nav a[aria-current="page"] { color: var(--color-text); }
.desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: -1px; height: 2px; background: var(--color-yellow); width: 100%; }
.profile-button { display: flex; align-items: center; gap: 12px; min-height: 48px; border: 0; padding: 4px; background: transparent; font-size: 13px; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #596048; border-radius: 50%; background: #2a3021; color: var(--color-yellow); flex-shrink: 0; }
.avatar-large { width: 60px; height: 60px; font-size: 24px; }

/* Page structure */
.page { padding-top: 48px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow { color: var(--color-yellow); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; margin-bottom: 16px; }
h1 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -2.8px; font-weight: 750; margin-bottom: 20px; }
h1 span { color: var(--color-yellow); }
.page-description { font-size: 15px; color: var(--color-muted); margin-bottom: 0; }
.heading-mark { font-size: 110px; font-weight: 800; letter-spacing: -7px; color: #393f2f; line-height: 1; text-align: right; }
.heading-mark span { display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--color-muted); margin-top: 16px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); min-width: 0; }
.form-content { padding: 30px; }
[data-step] + [data-step] { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--color-border); }
.js-ready [data-step] + [data-step] { margin-top: 0; padding-top: 0; border: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.section-heading > span { font-size: 11px; color: var(--color-muted); flex-shrink: 0; letter-spacing: 1px; }
.section-description { font-size: 14px; line-height: 1.7; color: var(--color-muted); margin-bottom: 24px; }

/* Progress indicator */
.progress { display: flex; justify-content: space-between; gap: 12px; list-style: none; padding: 22px 30px; margin: 0; border-bottom: 1px solid var(--color-border); }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-muted); }
.progress li > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #69705d; border-radius: 50%; font-size: 10px; }
.progress [aria-current="step"] { color: var(--color-text); }
.progress [aria-current="step"] > span { background: var(--color-yellow); color: #111; border-color: var(--color-yellow); }
.progress .completed > span { border-color: var(--color-yellow); color: var(--color-yellow); }

/* Subscription plan */
.plan-card { border: 1px solid #4b553c; border-radius: 12px; padding: 24px; background: #23281e; margin-bottom: 10px; }
.plan-card-sel { border: 1px solid #b49939; border-radius: 12px; padding: 24px; background: radial-gradient(ellipse at top right, #3b4228, #24291d 75%); margin-bottom: 10px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tag { color: #edeedc; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }

.selected-check { display: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-yellow); color: #111; text-align: center; line-height: 24px; font-size: 14px; }
.plan-card-sel .selected-check  { display: block; }

.plan-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 22px; }
.plan-main h3 { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -1px; margin-bottom: 12px; }
.plan-main div > p { font-size: 13px; color: #c7ccbd; margin: 0; }
.plan-price { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -2px; margin: 0; white-space: nowrap; text-align: right; }
.plan-price span { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0; color: #c7ccbd; margin-top: 12px; }

/* Form controls */
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field label { font-size: 13px; color: #e1e4db; font-weight: 500; }
.field input { width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid #565e4b; border-radius: 8px; background: var(--color-input); color: var(--color-text); font-size: 16px; line-height: 1.5; }
.field input::placeholder { color: #909888; opacity: 1; }
.field input:focus { border-color: var(--color-yellow); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.field input[type="date"] { display: block; }
.field input[type="file"] { font-size: 13px; }
.field input::file-selector-button { padding: 8px; border: 0; border-radius: 4px; margin-right: 10px; background: #353c2a; color: var(--color-text); }
.full-width { grid-column: 1 / -1; }
.period-fields { margin-top: 28px; }
.date-output { display: flex; align-items: center; min-height: 52px; padding: 12px 14px; border: 1px dashed #565e4b; border-radius: 8px; color: #d1d6c9; font-size: 14px; }
.field-help { color: var(--color-muted); font-size: 12px; line-height: 1.7; margin: 10px 0 0; }
.privacy-note { margin-top: 22px; }
.renewal-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; margin-top: 8px; }
.renewal-row > div > label { font-size: 14px; font-weight: 600; cursor: pointer; }
.renewal-row p { color: var(--color-muted); font-size: 12px; line-height: 1.7; margin: 6px 0 0; }
.switch { display: block; position: relative; width: 50px; height: 44px; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; inset: 0; margin: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.switch > span:not(.sr-only) { position: absolute; top: 8px; width: 50px; height: 28px; border-radius: 20px; background: #535b46; pointer-events: none; }
.switch > span:not(.sr-only)::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.switch input:checked + span { background: var(--color-yellow); }
.switch input:checked + span::after { background: #15190d; transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--color-text); outline-offset: 4px; }
.voucher-section { border-top: 1px solid var(--color-border); padding-top: 10px; }
.voucher-section summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 13px; cursor: pointer; list-style: none; }
.voucher-section summary::-webkit-details-marker { display: none; }
.voucher-section summary span { font-size: 21px; color: var(--color-yellow); transition: transform .18s ease; }
.voucher-section[open] summary span { transform: rotate(45deg); }
.voucher-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.voucher-row .field { flex: 1; }

/* Buttons and actions */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; border: 1px solid transparent; border-radius: 8px; padding: 14px 20px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .18s ease, border-color .18s ease; }
.button-primary { color: #15180d; background: var(--color-yellow); border-color: var(--color-yellow); justify-content: space-between; }
.button-primary:hover { background: var(--color-yellow-hover); border-color: var(--color-yellow-hover); }
.button-secondary { background: transparent; border-color: #697457; }
.button-secondary:hover { background: #2d3325; }
.button-back { padding-inline: 0; background: transparent; color: var(--color-muted); font-weight: 400; }
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--color-muted); background: transparent; border: 0; font-size: 13px; text-align: left; }
.text-button:hover { color: var(--color-yellow); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 50%; background: transparent; flex-shrink: 0; }
.form-actions { display: flex; gap: 24px; margin-top: 28px; }
.form-actions .button-primary { flex: 1; }
.error-message { color: var(--color-error); font-size: 13px; line-height: 1.6; margin: 14px 0 0; }
.error-message:empty { display: none; }
.notice { padding: 16px; border: 1px solid #b49939; border-radius: 8px; color: var(--color-muted); font-size: 14px; }

/* Summary and review */
.checkout-aside { position: sticky; top: 24px; }
.summary-card { background: #23281e; border: 1px solid #4b553c; border-radius: var(--radius); padding: 28px; position: relative; }
.summary-card::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 3px; background: var(--color-yellow); }
.summary-card h2 { font-size: 23px; margin-bottom: 28px; }
.summary-list { margin: 0; }
.summary-list > div, .review-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; font-size: 14px; }
.summary-list dt, .review-list dt { color: #b7c0aa; }
.summary-list dd, .review-list dd { margin: 0; text-align: right; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid #4b553c; margin-top: 26px; padding-top: 22px; font-size: 14px; }
.summary-total strong { font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -1px; }
.summary-total small { font-size: 14px; letter-spacing: 0; font-weight: 400; }
.summary-note { display: flex; gap: 12px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #4b553c; }
.summary-note .icon { color: #d8dfc7; }
.summary-note p { font-size: 12px; margin: 0; line-height: 1.7; }
.summary-note p span { color: var(--color-muted); font-size: 11px; }
.brand-note { border-left: 2px solid var(--color-yellow); padding-left: 20px; margin: 30px 0 0 6px; }
.brand-note p { font-size: 27px; letter-spacing: -1px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.brand-note p span { color: var(--color-muted); }
.brand-note > span { color: var(--color-muted); font-size: 12px; }
.review-card { border: 1px solid var(--color-border); background: var(--color-input); border-radius: 10px; padding: 20px; }
.review-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.review-heading .eyebrow { margin: 0; }
.review-card > p { font-size: 15px; margin: 10px 0 0; overflow-wrap: anywhere; }
.review-list { margin: 24px 0; }
.review-list dd { max-width: 65%; }
.terms-row { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 16px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.terms-row > input { width: 21px; height: 21px; margin: 2px 0; accent-color: var(--color-yellow); flex-shrink: 0; }
.terms-row label { display: block; font-size: 13px; line-height: 1.8; cursor: pointer; }
.terms-row .text-button { color: var(--color-yellow); text-decoration: underline; }

/* Member account */
.account-nav { display: flex; gap: 8px; padding-inline: 24px; border-bottom: 1px solid var(--color-border); overflow-x: auto; margin-left: 10px; margin-right: 10px; }
.account-nav a { padding: 20px 12px; white-space: nowrap; font-size: 13px; color: var(--color-muted); border-bottom: 2px solid transparent; }
.account-nav a[aria-current="page"] { color: var(--color-yellow); border-color: var(--color-yellow); }
.account-section { padding: 30px; }
.account-section + .account-section { border-top: 1px solid var(--color-border); }
.js-ready .account-section { border-top: 0; }
.account-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.membership-card { padding: 28px; border-radius: 12px; background: radial-gradient(ellipse at top right, #40492a, #22271d 70%); border: 1px solid #586345; }
.status-label { display:  block; color: #d2d8c6; font-size: 14px; border: 1px solid #67744e; padding: 5px 9px; border-radius: 4px; margin-bottom: 22px;  }
.membership-card h2 { font-size: 31px; line-height: 1.15; margin-bottom: 14px; }
.membership-card > p:not(.eyebrow) { font-size: 14px; color: var(--color-muted); }
.membership-card .button { width: 100%; margin-top: 18px; }
.payment-section h2 { font-size: 22px; margin-bottom: 22px; }
.empty-payment { min-height: 225px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border: 1px dashed #646f52; border-radius: 12px; }
.empty-payment p { font-size: 14px; color: var(--color-muted); margin: 0; }
.payment-icon { width: 48px; height: 36px; fill: none; stroke: #b6c0a4; stroke-width: 1.5; }
.profile-save { margin-top: 26px; }
.empty-state { padding: 36px 16px; text-align: center; }
.empty-number { font-size: 70px; color: var(--color-yellow); }
.empty-state h3 { font-size: 22px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--color-muted); line-height: 1.8; }
.photo-section { max-width: 520px; margin-inline: auto; padding: 20px 0; }
.photo-preview { display: flex; justify-content: center; margin-bottom: 22px; }
.photo-preview img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.photo-section > p { font-size: 14px; color: var(--color-muted); }

/* Footer, dialogs and feedback */
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 22px; margin-top: 48px; border-top: 1px solid var(--color-border); font-size: 10px; letter-spacing: .5px; }
.site-footer > span:first-child { font-weight: 700; }
.demo-label { color: var(--color-muted); }
dialog { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); }
dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(5px); }
body:has(dialog[open]) { overflow: hidden; }
.drawer { width: 390px; max-width: 92vw; height: 100%; height: 100dvh; max-height: 100%; margin: 0 0 0 auto; padding: 28px; border-block: 0; border-right: 0; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drawer-top p { margin: 0; }
.member-intro { display: flex; gap: 16px; align-items: center; margin-block: 36px; }
.member-intro h2 { font-size: 23px; margin-bottom: 8px; }
.member-intro p { font-size: 12px; color: var(--color-muted); margin: 0; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a, .menu-links button { display: flex; justify-content: space-between; align-items: center; min-height: 62px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--color-border); background: transparent; font-size: 15px; text-align: left; }
.menu-links span { color: var(--color-yellow); }
.drawer-bottom { display: flex; flex-direction: column; align-items: flex-start; margin-top: 36px; }
.info-dialog { width: min(480px, calc(100% - 32px)); padding: 36px; border-radius: 18px; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.info-dialog h2 { margin-block: 28px 16px; padding-right: 16px; }
.info-dialog > p:not(.eyebrow) { color: var(--color-muted); font-size: 14px; line-height: 1.8; }
.info-dialog .button-primary { width: 100%; margin-top: 26px; }
.toast { position: fixed; z-index: 15; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 15px 22px; width: max-content; max-width: calc(100% - 32px); color: #101110; background: var(--color-yellow); border-radius: 10px; font-size: 13px; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Tablet */
@media (max-width: 1020px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }
  .form-content, .summary-card { padding: 24px; }
  .progress { padding: 20px; gap: 8px; }
  .progress li { font-size: 11px; gap: 6px; }
  .plan-main { flex-wrap: wrap; }
  .plan-price { text-align: left; }
  .plan-price span { display: inline; margin-left: 8px; }
  .account-grid { gap: 24px; }
}

/* Mobile: one column, readable controls, comfortable touch targets */
@media (max-width: 760px) {
  .site-header { min-height: 78px; gap: 12px; }
  .brand-symbol { width: 40px; height: 44px; }
  .brand-symbol img { width: 64px; height: 64px; margin: -10px -12px; }
  .brand-name { font-size: 24px; }
  .brand-name small { font-size: 6px; letter-spacing: .9px; }
  .desktop-nav  { display: none; }
  .profile-button { gap: 10px; }
  .page { padding-top: 32px; }
  .page-heading { margin-bottom: 26px; }
  h1 { font-size: clamp(34px, 8vw, 49px); letter-spacing: -1.8px; margin-bottom: 16px; }
  .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .page-description { font-size: 13px; max-width: 330px; }
  .heading-mark { display: none; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-aside { position: static; }
  .brand-note { display: none; }
  .form-content { padding: 24px 20px; }
  .section-heading h2 { font-size: 22px; }
  .progress { padding: 18px 16px; }
  .progress li { flex-direction: column; gap: 8px; font-size: 11px; }
  .progress li > span { width: 26px; height: 26px; }
  .plan-card { padding: 21px; }
  .plan-main { gap: 22px; }
  .plan-main h3 { font-size: 27px; }
  .plan-price { font-size: 39px; }
  .plan-price span { display: inline; margin-left: 7px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .period-fields { gap: 16px; }
  .field label { font-size: 14px; }
  .field input { min-height: 54px; }
  .date-output { min-height: 50px; font-size: 15px; }
  .renewal-row { gap: 16px; }
  .renewal-row p { font-size: 14px; }
  .form-actions { gap: 16px; }
  .form-actions .button-primary { font-size: 13px; padding: 16px; gap: 12px; }
  .summary-card { padding: 25px; }
  .summary-list > div { font-size: 13px; }
  .summary-note p span { font-size: 12px; }
  .account-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .account-nav { padding-inline: 12px; gap: 4px; }
  .account-nav a { padding: 18px 12px; }
  .account-section { padding: 24px 20px; }
  .membership-card { padding: 23px; }
  .membership-card h2 { font-size: 28px; }
  .site-footer { margin-top: 30px; gap: 6px 16px; }
  .demo-label {  }
  .drawer { padding: 24px; }
  .info-dialog { padding: 28px; }
}

@media (max-width: 360px) {
  .container { width: 94%; }
  .site-header { padding-inline: 3%; }
  .brand-name { font-size: 21px; }
  .profile-button .avatar { display: none; }
  .form-content { padding-inline: 16px; }
  .plan-card { padding: 18px; }
  .form-actions { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
