/* ===========================================================
   policy.css — pricing, support, and policy (terms/privacy/refund)
   pages. Layered on top of landing.css + site.css.
   =========================================================== */

/* Compact subpage hero — replaces the full hero on subpages */
.subpage-hero {
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
}
.subpage-hero__inner {
    max-width: 780px; margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex; flex-direction: column; gap: 0.85rem; align-items: center;
}
.subpage-hero__inner .eyebrow { justify-content: center; }
.subpage-hero h1 {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05; letter-spacing: -0.02em;
    color: var(--rdw-ink); margin: 0;
}
.subpage-hero p {
    font-size: 1.05rem; line-height: 1.6;
    color: var(--rdw-ink-2); max-width: 56ch;
    margin: 0;
}

/* ===========================================================
   PRODUCT SWITCHER — pricing page tabs (RhinoNotchesPro / CutForge)
   =========================================================== */
.product-switch {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #FFFFFF;
    padding: 0.4rem;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(58,42,14,0.06),
        0 10px 30px rgba(58,42,14,0.08),
        inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(10,10,10,0.06);
}
.product-switch__opt {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: background .25s var(--rdw-ease), color .25s, transform .2s;
    color: var(--rdw-ink-2);
    position: relative;
}
.product-switch__opt:hover {
    background: rgba(201,168,76,0.08);
    color: var(--rdw-ink);
}
.product-switch__opt.is-active {
    background: linear-gradient(170deg, #1A1608 0%, #050402 100%);
    color: #F5F0E8;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.5);
}
.product-switch__opt.is-active::before {
    /* Gold rule on the left of active option */
    content: ''; position: absolute; left: 0; top: 14px; bottom: 14px;
    width: 3px;
    background: linear-gradient(180deg, #DFC070, #8A7230);
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 6px rgba(201,168,76,0.4);
}
.product-switch__name {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.1rem; letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 0.5rem;
}
.product-switch__from {
    font-size: 0.78rem; font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.02em;
}
.product-switch__opt.is-active .product-switch__from { color: var(--rdw-gold-light); opacity: 1; }
.product-switch__check {
    margin-left: auto;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(201,168,76,0.2);
    display: none; place-items: center;
    font-size: 0.7rem; color: var(--rdw-gold-light);
}
.product-switch__opt.is-active .product-switch__check { display: grid; }

@media (max-width: 600px) {
    .product-switch { grid-template-columns: 1fr; }
}

/* ===========================================================
   PRICING PAGE
   =========================================================== */
.pricing-page { padding-bottom: clamp(3rem, 5vw, 5rem); }
.pricing-page__inner {
    max-width: 1180px; margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex; flex-direction: column; gap: 2rem;
}

/* Money-back banner */
.guarantee-banner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.25rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(170deg, rgba(201,168,76,0.16), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.32);
    border-radius: 14px;
    box-shadow: var(--depth-1);
}
.guarantee-banner__text {
    display: flex; flex-direction: column; gap: 0.15rem;
}
.guarantee-banner__text strong {
    font-family: var(--rdw-font-heading); font-weight: 700;
    color: var(--rdw-ink); font-size: 1rem;
    letter-spacing: -0.005em;
}
.guarantee-banner__text span { font-size: 0.88rem; color: var(--rdw-ink-2); }

/* Pricing grid */
.pricing-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; align-items: stretch;
}
.pricing-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; width: 100%; }
.pp-card {
    position: relative;
    background: var(--paper-card-bg);
    border: 1px solid rgba(10,10,10,0.07);
    border-radius: 18px;
    padding: 2rem 1.85rem 1.85rem;
    box-shadow: var(--depth-2), var(--rim);
    display: flex; flex-direction: column; gap: 1rem;
    transition: transform .3s var(--rdw-ease), box-shadow .3s var(--rdw-ease);
}
.pp-card:hover { transform: translateY(-4px); box-shadow: var(--depth-3), var(--rim); }
.pp-card--featured {
    background: linear-gradient(170deg, #FFFDF7 0%, #F5EAC8 100%);
    border: 1px solid rgba(201,168,76,0.45);
    box-shadow: var(--depth-3), var(--rim), 0 0 0 3px rgba(201,168,76,0.12);
}
.pp-card--featured::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #DFC070, #8A7230);
    border-radius: 4px 0 0 4px;
    box-shadow: 2px 0 6px rgba(201,168,76,0.3);
}
.pp-card__badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em;
    padding: 0.32rem 0.85rem; border-radius: 999px;
    background: linear-gradient(180deg, #DFC070, #B89A44);
    color: #2A200A;
    box-shadow: 0 4px 10px rgba(201,168,76,0.32), inset 0 1px 0 rgba(255,255,255,0.45);
    white-space: nowrap;
}
.pp-card__plan {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.5rem; color: var(--rdw-ink);
    letter-spacing: -0.01em; margin: 0;
}
.pp-card__price {
    display: flex; align-items: baseline; gap: 0.2rem;
    margin: 0.25rem 0 0.1rem;
}
.pp-card__currency {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.4rem; color: var(--rdw-gold-deep);
    line-height: 1;
}
.pp-card__amount {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 3.2rem; line-height: 1; letter-spacing: -0.03em;
    background: linear-gradient(180deg, #C9A84C 0%, #8A7230 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(255,251,242,0.8));
}
.pp-card__period { font-size: 0.92rem; color: var(--rdw-ink-3); margin-left: 0.2rem; }
.pp-card__note {
    font-size: 0.82rem; color: var(--rdw-ink-2);
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(10,10,10,0.1);
}
.pp-card__features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.55rem;
    flex: 1;
}
.pp-card__features li {
    display: flex; gap: 0.7rem; align-items: flex-start;
    font-size: 0.92rem; color: var(--rdw-ink-2); line-height: 1.55;
}
.pp-card__features li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--rdw-paper); color: var(--rdw-gold-deep);
    box-shadow: var(--inset-soft);
    display: grid; place-items: center;
    font-size: 0.7rem; font-weight: 700;
    margin-top: 0.05rem;
}
.pp-card__cta {
    width: 100%; justify-content: center;
    padding: 1rem 1.25rem !important;
    margin-top: 0.5rem;
}

.pricing-page__vat {
    text-align: center;
    font-size: 0.82rem; color: var(--rdw-ink-3);
    margin: 0;
}

/* What's included CTA banner */
.included-banner {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem;
    align-items: center;
    padding: 2rem 2.25rem;
    background: linear-gradient(170deg, #0A0908 0%, #060504 100%);
    border-radius: 18px;
    border: 1px solid rgba(201,168,76,0.25);
    color: #C6BDA8;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.included-banner h2 {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.5rem; color: #F5F0E8;
    margin: 0 0 0.5rem; letter-spacing: -0.01em;
}
.included-banner p {
    font-size: 0.95rem; line-height: 1.65; color: #C6BDA8;
    margin: 0;
}
.included-banner__cta {
    text-align: right;
}

@media (max-width: 880px) {
    .pricing-cards, .pricing-cards--2 { grid-template-columns: 1fr; }
    .included-banner { grid-template-columns: 1fr; gap: 1.25rem; }
    .included-banner__cta { text-align: left; }
}

/* ===========================================================
   POLICY PAGES (terms / privacy / refund)
   =========================================================== */
.policy-page { padding-bottom: clamp(3rem, 5vw, 5rem); }
.policy-page__inner {
    max-width: 880px; margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex; flex-direction: column; gap: 1.75rem;
}

.policy-tabs {
    display: inline-flex; gap: 0.4rem; padding: 0.4rem;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(58,42,14,0.06),
        0 6px 18px rgba(58,42,14,0.06),
        inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(10,10,10,0.06);
    align-self: flex-start;
}
.policy-tabs a {
    padding: 0.6rem 1rem;
    border-radius: 9px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--rdw-ink-2);
    transition: background .25s, color .25s;
}
.policy-tabs a:hover { color: var(--rdw-gold-deep); }
.policy-tabs a.is-active {
    background: linear-gradient(180deg, #DFC070, #B89A44);
    color: #2A200A;
    box-shadow: 0 2px 6px rgba(201,168,76,0.32), inset 0 1px 0 rgba(255,255,255,0.45);
}

.policy-card {
    background: #FFFFFF;
    border: 1px solid rgba(10,10,10,0.06);
    border-radius: 18px;
    padding: clamp(1.75rem, 3.5vw, 3rem);
    box-shadow:
        0 1px 2px rgba(58,42,14,0.06),
        0 14px 40px rgba(58,42,14,0.08),
        inset 0 1px 0 rgba(255,255,255,1);
}
.policy-card h1 {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.1; letter-spacing: -0.02em;
    color: var(--rdw-ink); margin: 0 0 0.6rem;
}
.policy-card .last-updated {
    font-size: 0.82rem; color: var(--rdw-ink-3);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(10,10,10,0.1);
}
.policy-card h2 {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.15rem; color: var(--rdw-ink);
    letter-spacing: -0.005em;
    margin: 1.75rem 0 0.6rem;
}
.policy-card p {
    font-size: 0.96rem; line-height: 1.7;
    color: var(--rdw-ink-2);
    margin: 0 0 0.85rem;
}
.policy-card ul, .policy-card ol {
    margin: 0 0 1rem 0;
    padding-left: 1.2rem;
    color: var(--rdw-ink-2);
}
.policy-card li {
    font-size: 0.94rem; line-height: 1.7;
    margin-bottom: 0.4rem;
}
.policy-card li::marker { color: var(--rdw-gold); }
.policy-card a {
    color: var(--rdw-gold-deep);
    border-bottom: 1px solid rgba(166,138,58,0.4);
    transition: color .2s;
}
.policy-card a:hover { color: var(--rdw-ink); }
.policy-card strong { color: var(--rdw-ink); font-weight: 600; }

.policy-highlight {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(170deg, rgba(201,168,76,0.10), rgba(201,168,76,0.03));
    border-left: 3px solid var(--rdw-gold);
    border-radius: 8px;
    font-size: 0.93rem;
    color: var(--rdw-ink-2);
}

/* ===========================================================
   SUPPORT FORM
   =========================================================== */
.support-page { padding-bottom: clamp(3rem, 5vw, 5rem); }
.support-page__inner {
    max-width: 720px; margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.support-card {
    background: #FFFFFF;
    border: 1px solid rgba(10,10,10,0.07);
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow:
        0 1px 2px rgba(58,42,14,0.06),
        0 18px 50px rgba(58,42,14,0.10),
        inset 0 1px 0 rgba(255,255,255,1);
}
.support-form { display: flex; flex-direction: column; gap: 1rem; }
.support-form .field-group {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.support-form select {
    font-family: var(--rdw-font-body); font-size: 0.95rem;
    padding: 0.8rem 0.95rem;
    background: var(--rdw-paper);
    border: 1px solid rgba(10,10,10,0.1);
    border-radius: 8px;
    color: var(--rdw-ink);
    box-shadow: var(--inset-soft);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='%236b6254'><path d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px 7px;
    padding-right: 2rem;
}
.support-form select:focus, .support-form input:focus, .support-form textarea:focus {
    outline: none;
    border-color: var(--rdw-gold);
    box-shadow: var(--inset-soft), 0 0 0 3px rgba(201,168,76,0.18);
}
.support-form .field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--rdw-ink-3); margin-left: 0.25rem; }
.support-form button[type="submit"] { width: 100%; justify-content: center; }

.support-message {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    display: none;
}
.support-message.is-success {
    display: block;
    background: var(--rdw-success-bg); border-color: var(--rdw-success-br); color: #2f6f3a;
}
.support-message.is-error {
    display: block;
    background: var(--rdw-error-bg); border-color: var(--rdw-error-br); color: #a23535;
}

@media (max-width: 600px) {
    .support-form .field-group { grid-template-columns: 1fr; }
}

/* ===========================================================
   DOWNLOAD PAGE (/dl/*) — centred paper card with brand mark,
   download button, install steps.
   =========================================================== */
.dl-page {
    min-height: 100vh;
    display: grid; place-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.dl-card {
    width: 100%; max-width: 520px;
    background: #FFFFFF;
    border: 1px solid rgba(10,10,10,0.08);
    border-radius: 18px;
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow:
        0 1px 2px rgba(58,42,14,0.06),
        0 24px 60px rgba(58,42,14,0.14),
        inset 0 1px 0 rgba(255,255,255,1);
    text-align: center;
}
.dl-brand {
    display: flex; align-items: center; justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0.4rem;
}
.dl-brand__icon { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 2px 6px rgba(58,42,14,0.15); }
.dl-brand__text {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 1.9rem; letter-spacing: -0.02em;
    color: var(--rdw-ink); line-height: 1;
}
.dl-brand__text .gold { color: var(--rdw-gold-deep); }
.dl-version {
    font-size: 0.82rem; color: var(--rdw-ink-3);
    margin: 0 0 1.75rem;
    letter-spacing: 0.01em;
}
.dl-buttons {
    display: flex; flex-direction: column; gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.dl-btn {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
    border-radius: 10px;
    font-family: var(--rdw-font-body); font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    transition: transform .2s var(--rdw-ease), box-shadow .2s var(--rdw-ease);
}
.dl-btn--primary {
    background: linear-gradient(180deg, #DFC070 0%, #C9A84C 55%, #B89A44 100%);
    color: #2A200A;
    box-shadow: var(--gold-glow);
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}
.dl-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201,168,76,0.38), inset 0 2px 0 rgba(255,255,255,0.5); }
.dl-btn--secondary {
    background: var(--rdw-paper);
    color: var(--rdw-ink);
    box-shadow: var(--depth-1), var(--rim);
    border: 1px solid rgba(10,10,10,0.08);
}
.dl-btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--depth-2), var(--rim); }
.dl-btn__main { display: flex; flex-direction: column; gap: 0.15rem; }
.dl-btn__main strong { font-weight: 600; font-size: 0.95rem; }
.dl-btn__main small { font-size: 0.72rem; opacity: 0.75; font-weight: 500; }
.dl-btn__size {
    font-size: 0.72rem; font-weight: 600;
    padding: 0.3rem 0.55rem; border-radius: 6px;
    background: rgba(0,0,0,0.08);
    white-space: nowrap;
}
.dl-btn--primary .dl-btn__size { background: rgba(0,0,0,0.12); }

.dl-divider {
    height: 1px; margin: 1.5rem 0;
    background: linear-gradient(90deg, transparent, rgba(10,10,10,0.12), transparent);
}

.dl-steps {
    text-align: left;
    display: flex; flex-direction: column; gap: 0.85rem;
}
.dl-steps__title {
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--rdw-gold-deep);
    margin: 0;
}
.dl-steps ol {
    counter-reset: step;
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.dl-steps li {
    counter-increment: step;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.92rem; color: var(--rdw-ink-2); line-height: 1.55;
}
.dl-steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 1.25rem; height: 1.25rem;
    border-radius: 50%;
    background: var(--rdw-paper-2);
    color: var(--rdw-gold-deep);
    font-family: var(--rdw-font-heading); font-weight: 700;
    font-size: 0.72rem;
    display: grid; place-items: center;
    box-shadow: var(--inset-soft);
}
.dl-steps li strong { color: var(--rdw-ink); font-weight: 600; }

.dl-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(10,10,10,0.1);
    font-size: 0.82rem; color: var(--rdw-ink-3); line-height: 1.65;
}
.dl-footer a {
    color: var(--rdw-gold-deep);
    border-bottom: 1px solid rgba(166,138,58,0.3);
}
.dl-footer a:hover { color: var(--rdw-ink); }
