/**
 * File: assets/css/frontend/pages/company/refund-policy.css
 * Purpose: Styles the complete premium first-party HyperDAF Refund Policy experience and reading tools.
 * Scope: .hdf-refund-page only.
 * Related PHP: src/Frontend/Pages/Company/RefundPolicyRenderer.php
 * Related JS: assets/js/frontend/pages/refund-policy.js
 * Package: HyperDAF Pro
 */
.hdf-refund-page{--hdf-refund-text:var(--hdf-color-text-primary);--hdf-refund-muted:var(--hdf-color-text-secondary);--hdf-refund-border:var(--hdf-color-border);--hdf-refund-accent:var(--hdf-color-primary-strong);--hdf-refund-soft:var(--hdf-color-surface-selected);position:relative;overflow-x:clip;padding:clamp(1.25rem,3.5vw,2.75rem) max(1rem,3vw);background:var(--hdf-color-surface-muted);color:var(--hdf-refund-text)}
.hdf-refund-page*,.hdf-refund-page*::before,.hdf-refund-page*::after{box-sizing:border-box}
.hdf-refund-page__inner{width:min(100%,var(--hdf-refund-max-width,1280px));margin-inline:auto;min-width:0}
.hdf-refund-progress{position:fixed;z-index:80;top:0;right:0;left:0;height:3px;background:transparent;pointer-events:none}
.admin-bar .hdf-refund-progress{top:32px}
.hdf-refund-progress span{display:block;width:0;height:100%;background:var(--hdf-refund-accent);transition:width .1s linear}
.hdf-refund-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(18rem,.55fr);gap:clamp(1.25rem,3vw,2rem);align-items:stretch;margin-bottom:var(--hdf-refund-section-gap,24px);padding:clamp(1.5rem,3.5vw,2.65rem);border:1px solid var(--hdf-refund-border);border-radius:var(--hdf-refund-card-radius,16px);background:linear-gradient(135deg,var(--hdf-color-surface),var(--hdf-color-surface-subtle));overflow:hidden}
.hdf-refund-page.is-surface-elevated .hdf-refund-hero,.hdf-refund-page.is-surface-elevated .hdf-refund-section,.hdf-refund-page.is-surface-elevated .hdf-refund-toc{border-color:var(--hdf-color-border-strong);background:var(--hdf-color-surface)}
.hdf-refund-eyebrow{margin:0 0 .75rem;color:var(--hdf-refund-accent);font-size:.76rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
.hdf-refund-hero h1{max-width:16ch;margin:0;font-size:clamp(2.2rem,4.3vw,4.15rem);line-height:1.02;letter-spacing:-.045em}
.hdf-refund-hero__intro{max-width:48rem;margin:1rem 0 0;color:var(--hdf-refund-muted);font-size:clamp(.98rem,1.5vw,1.12rem);line-height:1.72}
.hdf-refund-hero__identity{display:flex;align-items:center;gap:.8rem;margin-top:1.25rem}
.hdf-refund-hero__identity>span{display:grid;flex:0 0 auto;width:2.8rem;height:2.8rem;place-items:center;border-radius:.85rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-hero__identity .hdf-icon{width:1.35rem;height:1.35rem}
.hdf-refund-hero__identity>div{display:grid;gap:.12rem;min-width:0}
.hdf-refund-hero__identity small{color:var(--hdf-refund-muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.05em}
.hdf-refund-hero__identity strong{font-size:.9rem}
.hdf-refund-hero__identity em{color:var(--hdf-refund-muted);font-size:.76rem;font-style:normal;line-height:1.45}
.hdf-refund-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.35rem}
.hdf-refund-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.85rem;padding:.72rem 1rem;border:1px solid var(--hdf-refund-border);border-radius:.72rem;background:var(--hdf-color-surface);color:var(--hdf-refund-text);font:inherit;font-size:.82rem;font-weight:800;text-decoration:none;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.hdf-refund-button .hdf-icon{width:1rem;height:1rem}
.hdf-refund-button.is-primary{border-color:var(--hdf-refund-accent);background:var(--hdf-refund-accent);color:var(--hdf-color-text-inverse)}
.hdf-refund-button:hover,.hdf-refund-button:focus-visible{border-color:var(--hdf-color-primary-hover);background:var(--hdf-color-primary-hover);color:var(--hdf-color-text-inverse);transform:translateY(-1px)}
.hdf-refund-status{display:grid;align-content:start;gap:1rem;min-width:0;padding:1.1rem;border:1px solid var(--hdf-refund-border);border-radius:calc(var(--hdf-refund-card-radius,16px) - 3px);background:var(--hdf-color-surface)}
.hdf-refund-status__head{display:flex;align-items:center;gap:.75rem}
.hdf-refund-status__head>span{display:grid;width:2.65rem;height:2.65rem;place-items:center;border-radius:.8rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-status__head .hdf-icon{width:1.25rem;height:1.25rem}
.hdf-refund-status__head>div{display:grid;gap:.15rem;min-width:0}
.hdf-refund-status__head small{color:var(--hdf-refund-accent);font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.hdf-refund-status__head strong{font-size:.96rem;overflow-wrap:anywhere}
.hdf-refund-status dl{display:grid;gap:.65rem;margin:0}
.hdf-refund-status dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,auto);gap:.75rem;padding-top:.65rem;border-top:1px solid var(--hdf-refund-border)}
.hdf-refund-status dt{color:var(--hdf-refund-muted);font-size:.7rem}
.hdf-refund-status dd{margin:0;font-size:.72rem;font-weight:800;text-align:right;overflow-wrap:anywhere}
.hdf-refund-status>p{margin:0;padding:.75rem;border-radius:.68rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-muted);font-size:.72rem;line-height:1.55}
.hdf-refund-layout{display:grid;grid-template-columns:var(--hdf-refund-toc-width,280px) minmax(0,var(--hdf-refund-content-width,860px));gap:var(--hdf-refund-section-gap,24px);align-items:start;justify-content:center;min-width:0}
.hdf-refund-page.is-layout-document .hdf-refund-layout{grid-template-columns:minmax(0,var(--hdf-refund-content-width,860px))}
.hdf-refund-toc{display:grid;gap:.75rem;min-width:0;padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:var(--hdf-refund-card-radius,16px);background:var(--hdf-color-surface)}
.hdf-refund-page.has-sticky-toc .hdf-refund-toc:not(.is-inline){position:sticky;top:calc(var(--hdf-header-sticky-offset,0px) + 1rem);max-height:calc(100vh - var(--hdf-header-sticky-offset,0px) - 2rem);overflow:auto}
.hdf-refund-toc.is-inline{margin-bottom:var(--hdf-refund-section-gap,24px)}
.hdf-refund-toc__head{display:flex;align-items:center;gap:.65rem;padding:.2rem .25rem .75rem;border-bottom:1px solid var(--hdf-refund-border)}
.hdf-refund-toc__head>span{display:grid;width:2rem;height:2rem;place-items:center;border-radius:.55rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-toc__head .hdf-icon{width:1rem;height:1rem}
.hdf-refund-toc__head strong{font-size:.82rem}
.hdf-refund-toc ol{display:grid;gap:.2rem;margin:0;padding:0;list-style:none}
.hdf-refund-toc li{min-width:0}
.hdf-refund-toc a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;padding:.58rem .62rem;border-radius:.58rem;color:var(--hdf-refund-muted);font-size:.74rem;line-height:1.35;text-decoration:none}
.hdf-refund-toc a .hdf-icon{width:.92rem;height:.92rem;color:var(--hdf-refund-accent)}
.hdf-refund-toc a:hover,.hdf-refund-toc a:focus-visible,.hdf-refund-toc a.is-active{background:var(--hdf-refund-soft);color:var(--hdf-refund-text)}
.hdf-refund-toc__request{justify-content:space-between!important;margin-top:.25rem;border-top:1px solid var(--hdf-refund-border);border-radius:0!important;padding-top:.85rem!important;color:var(--hdf-refund-accent)!important;font-weight:800}
.hdf-refund-document{display:grid;gap:var(--hdf-refund-section-gap,24px);min-width:0;counter-reset:refund-section}
.hdf-refund-section,.hdf-refund-editor-content{scroll-margin-top:calc(var(--hdf-header-sticky-offset,0px) + 1.25rem);min-width:0;padding:clamp(1.15rem,2.5vw,1.7rem);border:1px solid var(--hdf-refund-border);border-radius:var(--hdf-refund-card-radius,16px);background:var(--hdf-color-surface)}
.hdf-refund-section{counter-increment:refund-section}
.hdf-refund-page.is-accent-emphasized .hdf-refund-section{border-top:3px solid var(--hdf-refund-accent)}
.hdf-refund-section__head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.9rem;align-items:start;margin-bottom:1.1rem}
.hdf-refund-page.has-no-section-icons .hdf-refund-section__head{grid-template-columns:minmax(0,1fr)}
.hdf-refund-section__icon{display:grid;width:2.55rem;height:2.55rem;place-items:center;border-radius:.78rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-section__icon .hdf-icon{width:1.15rem;height:1.15rem}
.hdf-refund-section__head h2{display:flex;align-items:baseline;gap:.55rem;margin:0;font-size:clamp(1.3rem,2vw,1.75rem);line-height:1.18;letter-spacing:-.025em}
.hdf-refund-page.has-section-numbers .hdf-refund-section__head h2::before{content:counter(refund-section,decimal-leading-zero);color:var(--hdf-refund-accent);font-size:.68rem;font-weight:800;letter-spacing:.04em}
.hdf-refund-section__head p{max-width:52rem;margin:.45rem 0 0;color:var(--hdf-refund-muted);font-size:.88rem;line-height:1.68}
.hdf-refund-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.hdf-refund-summary-grid article,.hdf-refund-info-card{min-width:0;padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:calc(var(--hdf-refund-card-radius,16px) - 4px);background:var(--hdf-color-surface-subtle)}
.hdf-refund-summary-grid article>span,.hdf-refund-info-card>span{display:grid;width:2.3rem;height:2.3rem;place-items:center;margin-bottom:.7rem;border-radius:.68rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-summary-grid .hdf-icon,.hdf-refund-info-card .hdf-icon{width:1.05rem;height:1.05rem}
.hdf-refund-summary-grid h3,.hdf-refund-info-card h3,.hdf-refund-exclusion-list h3,.hdf-refund-steps h3,.hdf-refund-requirements h3{margin:0;font-size:.88rem;line-height:1.35}
.hdf-refund-summary-grid p,.hdf-refund-info-card p,.hdf-refund-exclusion-list p,.hdf-refund-steps p,.hdf-refund-requirements p{margin:.45rem 0 0;color:var(--hdf-refund-muted);font-size:.77rem;line-height:1.62}
.hdf-refund-boundary,.hdf-refund-callout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start;margin-top:1rem;padding:.9rem 1rem;border:1px solid var(--hdf-refund-border);border-radius:.75rem;background:var(--hdf-refund-soft)}
.hdf-refund-boundary>.hdf-icon,.hdf-refund-callout>.hdf-icon{width:1.15rem;height:1.15rem;color:var(--hdf-refund-accent)}
.hdf-refund-boundary strong,.hdf-refund-callout strong{font-size:.8rem}
.hdf-refund-boundary p,.hdf-refund-callout p{margin:.25rem 0 0;color:var(--hdf-refund-muted);font-size:.76rem;line-height:1.58}
.hdf-refund-callout.is-warning{background:var(--hdf-color-warning-soft)}
.hdf-refund-callout.is-muted{background:var(--hdf-color-surface-subtle)}
.hdf-refund-window{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem;align-items:center;margin-bottom:1rem;padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:.78rem;background:var(--hdf-refund-soft)}
.hdf-refund-window>span{display:grid;width:2.6rem;height:2.6rem;place-items:center;border-radius:.75rem;background:var(--hdf-color-surface);color:var(--hdf-refund-accent)}
.hdf-refund-window .hdf-icon{width:1.15rem;height:1.15rem}
.hdf-refund-window>div{display:grid;gap:.12rem;min-width:0}
.hdf-refund-window small{color:var(--hdf-refund-muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em}
.hdf-refund-window strong{font-size:.92rem;overflow-wrap:anywhere}
.hdf-refund-window p{margin:.15rem 0 0;color:var(--hdf-refund-muted);font-size:.74rem}
.hdf-refund-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.hdf-refund-card-grid.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.hdf-refund-info-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem}
.hdf-refund-info-card>span{margin:0}
.hdf-refund-exclusion-list{display:grid;gap:.55rem}
.hdf-refund-exclusion-list article,.hdf-refund-requirements article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:start;padding:.8rem 0;border-bottom:1px solid var(--hdf-refund-border)}
.hdf-refund-exclusion-list article:last-child,.hdf-refund-requirements article:last-child{border-bottom:0}
.hdf-refund-exclusion-list article>span,.hdf-refund-requirements article>span{display:grid;width:1.9rem;height:1.9rem;place-items:center;border-radius:.55rem;background:var(--hdf-color-surface-subtle);color:var(--hdf-refund-accent)}
.hdf-refund-exclusion-list .hdf-icon,.hdf-refund-requirements .hdf-icon{width:.9rem;height:.9rem}
.hdf-refund-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:0;padding:0;list-style:none}
.hdf-refund-steps li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;min-width:0;padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:calc(var(--hdf-refund-card-radius,16px) - 4px);background:var(--hdf-color-surface-subtle)}
.hdf-refund-steps li>span{display:grid;width:2rem;height:2rem;place-items:center;border-radius:999px;background:var(--hdf-refund-accent);color:var(--hdf-color-text-inverse);font-size:.75rem;font-weight:800}
.hdf-refund-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
.hdf-refund-request-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(14rem,.45fr);gap:1rem;align-items:center;margin-top:1rem;padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:.85rem;background:var(--hdf-color-surface-subtle)}
.hdf-refund-request-card>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem;align-items:start}
.hdf-refund-request-card>div:first-child>span{display:grid;width:2.6rem;height:2.6rem;place-items:center;border-radius:.75rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-request-card h3{margin:0;font-size:.95rem}
.hdf-refund-request-card p{margin:.35rem 0 0;color:var(--hdf-refund-muted);font-size:.77rem;line-height:1.58}
.hdf-refund-request-card small{display:block;margin-top:.4rem;color:var(--hdf-refund-muted);font-size:.7rem;line-height:1.5}
.hdf-refund-request-card__action{display:grid;gap:.55rem;justify-items:stretch;text-align:center}
.hdf-refund-policy-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.hdf-refund-policy-links a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;min-width:0;padding:.85rem;border:1px solid var(--hdf-refund-border);border-radius:.7rem;background:var(--hdf-color-surface-subtle);color:var(--hdf-refund-text);font-size:.78rem;font-weight:800;text-decoration:none}
.hdf-refund-policy-links a:hover,.hdf-refund-policy-links a:focus-visible{border-color:var(--hdf-refund-accent);color:var(--hdf-refund-accent)}
.hdf-refund-policy-links .hdf-icon{width:1rem;height:1rem}
.hdf-refund-contact-card{display:grid;gap:.75rem}
.hdf-refund-contact-card>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start;padding:.85rem;border:1px solid var(--hdf-refund-border);border-radius:.7rem;background:var(--hdf-color-surface-subtle)}
.hdf-refund-contact-card>div>span{display:grid;width:2.2rem;height:2.2rem;place-items:center;border-radius:.62rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-contact-card .hdf-icon{width:1rem;height:1rem}
.hdf-refund-contact-card small{display:block;color:var(--hdf-refund-muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em}
.hdf-refund-contact-card a:not(.hdf-refund-button),.hdf-refund-contact-card p{margin:.2rem 0 0;color:var(--hdf-refund-text);font-size:.82rem;font-weight:700;line-height:1.55;overflow-wrap:anywhere;text-decoration:none}
.hdf-refund-editor-content{color:var(--hdf-refund-muted)}
.hdf-refund-editor-content>:first-child{margin-top:0}
.hdf-refund-editor-content>:last-child{margin-bottom:0}
.hdf-refund-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:var(--hdf-refund-section-gap,24px);padding:1rem;border:1px solid var(--hdf-refund-border);border-radius:var(--hdf-refund-card-radius,16px);background:var(--hdf-color-surface)}
.hdf-refund-footer-actions>div{display:flex;align-items:center;gap:.7rem;min-width:0}
.hdf-refund-footer-actions>div>span{display:grid;width:2.2rem;height:2.2rem;place-items:center;border-radius:.65rem;background:var(--hdf-refund-soft);color:var(--hdf-refund-accent)}
.hdf-refund-footer-actions p{display:grid;gap:.1rem;margin:0;min-width:0}
.hdf-refund-footer-actions strong{font-size:.82rem}
.hdf-refund-footer-actions small{color:var(--hdf-refund-muted);font-size:.7rem}
.hdf-refund-footer-actions>a{color:var(--hdf-refund-accent);font-size:.76rem;font-weight:800;text-decoration:none;white-space:nowrap}
@media(max-width:68rem){.hdf-refund-hero{grid-template-columns:minmax(0,1fr)}.hdf-refund-layout{grid-template-columns:minmax(0,1fr)}.hdf-refund-page.has-sticky-toc .hdf-refund-toc:not(.is-inline){position:static;max-height:none}.hdf-refund-toc:not(.is-inline){order:-1}.hdf-refund-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:52rem){.hdf-refund-summary-grid,.hdf-refund-card-grid,.hdf-refund-card-grid.is-compact,.hdf-refund-steps,.hdf-refund-requirements,.hdf-refund-policy-links,.hdf-refund-request-card{grid-template-columns:minmax(0,1fr)}.hdf-refund-request-card__action{justify-items:start;text-align:left}}
@media(max-width:40rem){.hdf-refund-page{padding:1rem .65rem}.hdf-refund-hero,.hdf-refund-section,.hdf-refund-editor-content,.hdf-refund-footer-actions{padding:1.05rem;border-radius:max(.75rem,calc(var(--hdf-refund-card-radius,16px)*.78))}.hdf-refund-hero h1{max-width:none;font-size:clamp(2rem,11vw,3rem)}.hdf-refund-actions{display:grid;grid-template-columns:minmax(0,1fr)}.hdf-refund-button{width:100%}.hdf-refund-toc ol{grid-template-columns:minmax(0,1fr)}.hdf-refund-status dl>div{grid-template-columns:minmax(0,1fr)}.hdf-refund-status dd{text-align:left}.hdf-refund-section__head{grid-template-columns:minmax(0,1fr)}.hdf-refund-section__icon{width:2.25rem;height:2.25rem}.hdf-refund-info-card{grid-template-columns:minmax(0,1fr)}.hdf-refund-footer-actions{align-items:flex-start;flex-direction:column}.hdf-refund-footer-actions>a{white-space:normal}}
@media(prefers-reduced-motion:reduce){.hdf-refund-progress span,.hdf-refund-button{transition:none}.hdf-refund-button:hover,.hdf-refund-button:focus-visible{transform:none}}
@media print{.hdf-site-header,.hdf-site-footer,.hdf-refund-progress,.hdf-refund-actions,.hdf-refund-toc,.hdf-refund-footer-actions,.hdf-refund-request-card__action{display:none!important}.hdf-refund-page{padding:0;background:var(--hdf-color-surface)}.hdf-refund-page__inner{width:100%}.hdf-refund-hero,.hdf-refund-section,.hdf-refund-editor-content{break-inside:avoid;box-shadow:none}.hdf-refund-layout{display:block}.hdf-refund-document{display:block}.hdf-refund-section{margin-bottom:1rem}}
