:root {
    --gold: #c49a4a;
    --ink: #1a1815;
    --ink-2: #3a3730;
    --ink-muted: rgba(26, 24, 21, 0.5);
    --cream: #f5f2eb;
    --cream-2: #eceae2;
    --max-w: 1300px;
    --gutter: clamp(24px, 5vw, 80px);
}

/* ── Pricing (ported from home.html, adapted to Bootstrap 5.3 grid/components) ── */
main {
    background: var(--cream-2);
    /* padding: clamp(80px, 10vw, 140px) 0; */
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Card palette kept local to the section: light UI on a light section. */
    --card: #ffffff;
    --card-border: #e9e9e9;
    --card-dark: #2a292e;
    --warm: #a99d8b;
    --warm-light: #ece8e1;
    --success: #309877;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-label--dark {
    color: var(--ink-2);
    opacity: 0.5;
}

.pricing-headline {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    max-width: 820px;
}

.pricing-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.plan-card {
    padding: clamp(20px, 2vw, 26px);
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    color: var(--ink);
}

.plan-card--featured {
    position: relative;
    z-index: 1;
    transform: scale(1.035);
    border-color: var(--card-dark);
    box-shadow: inset 0 0 0 1px var(--card-dark), 0 18px 40px rgba(26, 24, 21, 0.1);
}

.plan-badge-row {
    min-height: 30px;
}

.plan-badge {
    background: var(--card-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.plan-switch {
    padding: 3px;
    background: #f0eeea;
    border-radius: 999px;
    gap: 2px;
}

.plan-switch .plan-switch-opt {
    padding: 4px 10px;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink-muted);
    transition: background 0.2s, color 0.2s;
}

.plan-switch .plan-switch-opt.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(26, 24, 21, 0.12);
}

.plan-card[data-period="annual"] [data-when="monthly"],
.plan-card[data-period="monthly"] [data-when="annual"] {
    display: none;
}

.plan-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.plan-amount {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.plan-period,
.plan-list-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-muted);
}

.plan-billing {
    font-size: 14px;
    color: var(--ink-muted);
}

.plan-saving {
    color: var(--success);
    font-weight: 700;
}

.plan-highlight {
    min-height: calc(2 * 1.35em);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--warm);
}

.plan-entitlement {
    background: var(--warm-light);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.plan-icon-bolt {
    width: 14px;
    height: 14px;
    color: var(--warm);
    flex-shrink: 0;
}

.plan-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.plan-feature {
    font-size: 14px;
    line-height: 1.4;
}

.plan-feature-icon {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    color: var(--success);
    flex-shrink: 0;
}

.plan-addon-rows {
    border-top: 1px solid var(--card-border);
    font-size: 14px;
}

.plan-addon dt {
    color: var(--ink-muted);
    line-height: 1.3;
    font-weight: inherit;
}

.plan-addon dt small {
    font-size: 11px;
    font-style: italic;
}

.plan-addon dd {
    font-weight: 800;
    white-space: nowrap;
}

.plan-cta {
    border: 1px solid #cfcbc4;
    border-radius: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.plan-cta:hover {
    border-color: var(--card-dark);
    background: rgba(42, 41, 46, 0.05);
    color: var(--ink);
}

.plan-cta--primary {
    background: var(--card-dark);
    border-color: var(--card-dark);
    color: #fff;
}

.plan-cta--primary:hover {
    background: #3d3b43;
    border-color: #3d3b43;
    color: #fff;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

@media (max-width: 1100px) {
    .plan-name { font-size: 18px; }
    .plan-amount { font-size: 32px; }
    .plan-entitlement { font-size: 15px; }
}

@media (max-width: 991px) {
    .plan-card--featured { transform: none; }
    .plan-highlight { min-height: 0; }
}

/* ── Checkout (ported from checkout.html, adapted to Bootstrap 5.3 grid/components) ── */
.page-checkout {
    background: var(--cream-2);
    color: var(--ink);
    --card: #ffffff;
    --card-border: #e9e9e9;
    --card-dark: #2a292e;
    --warm: #a99d8b;
    --warm-light: #ece8e1;
    --success: #309877;
}

.co-header {
    background: var(--cream);
    border-bottom: 1px solid rgba(26, 24, 21, 0.08);
}

.co-header-inner {
    max-width: var(--max-w);
    padding: 18px var(--gutter);
}

.co-logo img {
    display: block;
    height: 32px;
    width: auto;
    filter: brightness(0);
}

.co-back {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
    padding: 8px 16px;
    border: 1px solid rgba(26, 24, 21, 0.2);
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s;
}

.co-back:hover {
    background: rgba(26, 24, 21, 0.05);
    border-color: var(--ink);
}

/* .checkout { */
    /* padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(64px, 8vw, 110px); */
/* } */

.checkout-inner {
    max-width: 1100px;
}

.checkout-label {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.checkout-headline {
    text-align: center;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.checkout-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.checkout-intro {
    margin: 14px auto 0;
    max-width: 520px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.checkout-form {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: clamp(22px, 3vw, 34px);
}

.co-block + .co-block {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--card-border);
}

.co-block-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.co-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: #f0eeea;
    border-radius: 999px;
    margin-bottom: 16px;
}

.co-switch-opt {
    padding: 5px 14px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    transition: background 0.2s, color 0.2s;
}

.co-switch-opt.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(26, 24, 21, 0.12);
}

.co-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.co-plan {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.co-plan:hover {
    border-color: var(--warm);
}

.co-plan.is-active {
    border-color: var(--card-dark);
    box-shadow: inset 0 0 0 1px var(--card-dark);
    background: #fbfaf8;
}

.co-plan-head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
}

.co-plan-name {
    font-size: 15px;
    font-weight: 800;
}

.co-plan-badge {
    padding: 2px 7px;
    background: var(--card-dark);
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.co-plan-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.co-plan-price strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.co-plan-price span {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
}

.co-plan-meta {
    font-size: 11.5px;
    color: var(--ink-muted);
}

.co-field {
    margin-bottom: 14px;
}

.co-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-2);
    margin-bottom: 6px;
}

.co-field label span {
    color: var(--warm);
}

.co-field .form-control,
.co-field .form-select {
    padding: 11px 13px;
    background: #fbfaf8;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
}

.co-field .form-select {
    padding-right: 34px;
}

.co-field textarea.form-control {
    resize: vertical;
    min-height: 76px;
}

.co-field .form-control::placeholder {
    color: rgba(26, 24, 21, 0.35);
}

.co-field .form-control:focus,
.co-field .form-select:focus {
    box-shadow: none;
    background: #fff;
    border-color: var(--card-dark);
}

.select-wrap {
    position: relative;
}

.select-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
}

.co-field .select-arrow {
    right: 13px;
    color: var(--ink-muted);
}

.co-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ink-2);
    cursor: pointer;
}

.co-check input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--card-dark);
}

.co-check a {
    text-decoration: underline;
}

.co-check span span {
    color: var(--warm);
}

.co-error {
    margin-top: 16px;
    padding: 10px 13px;
    background: #fdf0ee;
    border: 1px solid #f0c9c2;
    border-radius: 8px;
    color: #9c3524;
    font-size: 13px;
    font-weight: 600;
}

.co-submit {
    width: 100%;
    margin-top: 20px;
    padding: 14px 18px;
    background: var(--card-dark);
    border: 1px solid var(--card-dark);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s;
}

.co-submit:hover:not(:disabled) {
    background: #3d3b43;
    border-color: #3d3b43;
}

.co-submit:disabled {
    opacity: 0.55;
    cursor: default;
}

.co-note {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--ink-muted);
}

.co-done {
    text-align: center;
    padding: 24px 0;
}

.co-done-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
}

.co-done-icon svg {
    width: 28px;
    height: 28px;
}

.co-done-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.co-done p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.co-done-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid rgba(26, 24, 21, 0.3);
    padding-bottom: 4px;
}

.co-summary {
    position: sticky;
    top: 24px;
    background: var(--card);
    border: 1px solid var(--card-dark);
    box-shadow: inset 0 0 0 1px var(--card-dark);
    border-radius: 14px;
    padding: clamp(20px, 2.4vw, 26px);
}

.co-summary-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.co-sum-plan {
    font-size: 19px;
    font-weight: 800;
}

.co-sum-plan span {
    font-weight: 600;
    color: var(--ink-muted);
}

.co-sum-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.co-sum-price strong {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.co-sum-price span,
.co-sum-price s {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
}

.co-sum-billing {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-muted);
}

.co-sum-saving {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--success);
}

.co-sum-rows {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.co-sum-rows > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.co-sum-rows dt {
    color: var(--ink-muted);
    font-weight: inherit;
    line-height: 1.3;
}

.co-sum-rows dd {
    font-weight: 800;
    white-space: nowrap;
    margin-bottom: 0;
}

.co-sum-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--card-border);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-muted);
}

.co-sum-total strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-2);
}

.co-sum-total strong span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-muted);
}

.co-sum-vat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
}

.co-sum-vat strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.co-sum-vat strong span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
}

.co-sum-fine {
    margin-top: 4px;
    text-align: right;
    font-size: 11.5px;
    color: var(--ink-muted);
}

.co-footer {
    background: var(--cream);
    border-top: 1px solid rgba(26, 24, 21, 0.08);
    padding: 24px var(--gutter);
}

.co-footer-inner {
    max-width: var(--max-w);
    font-size: 12px;
    color: var(--ink-muted);
}

@media (max-width: 900px) {
    .co-summary { position: static; }
}

@media (max-width: 991.98px) {
    .co-plans { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .co-sum-price strong { font-size: 30px; }
}