/* Shared styling for the standalone policy pages (returns, privacy, terms).
   Kept out of Try_Site.html deliberately: these pages have to be readable by a
   crawler without running any JavaScript, so they are plain documents rather
   than sections of the app. */

:root {
    --cream: #F9F7F2;
    --paper: #FFFFFF;
    --dark:  #2D2A26;
    --muted: #6B655C;
    --gold:  #C5A065;
    --rule:  #E7E2D8;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--dark);
    font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
header {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1.25rem 1.5rem;
}
header .inner {
    max-width: 46rem; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
header a { color: var(--dark); text-decoration: none; }
.wordmark { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; letter-spacing: .06em; }
.backlink { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.backlink:hover { color: var(--gold); }

main { max-width: 46rem; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500; font-size: clamp(2.2rem, 6vw, 3rem);
    line-height: 1.1; margin: 0 0 .6rem; text-wrap: balance;
}
.standfirst { color: var(--muted); margin: 0 0 1rem; font-size: 1.05rem; }
.updated {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted); margin: 0 0 2.5rem;
}
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600; font-size: 1.6rem;
    margin: 2.5rem 0 .5rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

.card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 1.4rem 1.6rem;
    margin: 1.5rem 0;
}
.card p:last-child { margin-bottom: 0; }

.terms { list-style: none; padding: 0; margin: 1.5rem 0; }
.terms li {
    display: flex; gap: 1rem; padding: .85rem 0;
    border-bottom: 1px solid var(--rule);
}
.terms li:first-child { border-top: 1px solid var(--rule); }
.terms .label {
    flex: 0 0 9.5rem;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted); padding-top: .28rem;
}
.terms .value { flex: 1; }
@media (max-width: 560px) {
    .terms li { flex-direction: column; gap: .15rem; }
    .terms .label { flex: none; padding-top: 0; }
}

a.cta {
    display: inline-block; margin-top: .5rem;
    background: var(--gold); color: #fff; text-decoration: none;
    padding: .85rem 2rem; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .16em;
    transition: background .2s;
}
a.cta:hover { background: var(--dark); }

footer {
    border-top: 1px solid var(--rule);
    margin-top: 3.5rem; padding-top: 1.5rem;
    color: var(--muted); font-size: .88rem;
}
footer a { color: var(--gold); }
.policy-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: .75rem; }
.policy-nav a { font-size: .8rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
