/* Shared shell for the five merchant policy pages.
   Kept apart from index.html so the landing page stays one self-contained
   file and these five stay cacheable across navigations. Same tokens as the
   storefront -- a customer who lands here must not feel they left the brand. */

:root{
  --night:#080b18; --night-2:#0e1226; --night-3:#161b36;
  --ivory:#f7f1e1; --parch:#efe6cd;
  --gold:#c9a227; --gold-lt:#ecd28a; --gold-dk:#8a6f1f;
  --rust:#a83f20; --mist:#9aa3cc;
  --maxw:760px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--night); color:var(--parch);
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:19px; line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
html[lang="ta"] body{font-family:'Hind Madurai','Cormorant Garamond',serif; font-size:17.5px}

.shell{max-width:var(--maxw); margin:0 auto; padding:0 22px}

/* --- masthead --- */
header{
  border-bottom:1px solid rgba(201,162,39,.22);
  background:linear-gradient(180deg,var(--night-2),var(--night));
  padding:20px 0;
}
.bar{display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{
  font-family:'Marcellus',serif; letter-spacing:.16em; font-size:15px;
  color:var(--gold-lt); text-decoration:none; white-space:nowrap;
}
.langs{display:flex; gap:6px}
.langs button{
  font:inherit; font-size:13px; cursor:pointer;
  background:transparent; color:var(--mist);
  border:1px solid rgba(154,163,204,.3); border-radius:999px;
  padding:5px 13px; transition:.18s;
}
.langs button:hover{color:var(--ivory); border-color:var(--gold)}
.langs button[aria-pressed="true"]{
  color:var(--night); background:var(--gold-lt); border-color:var(--gold-lt);
}
.langs button:focus-visible,a:focus-visible{
  outline:2px solid var(--gold-lt); outline-offset:3px;
}

/* --- document --- */
main{padding:52px 0 72px}
.klabel{
  display:inline-block; font-family:'Catamaran',sans-serif;
  font-size:11px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:10px;
}
h1{
  font-family:'Marcellus',serif; font-weight:400;
  font-size:clamp(30px,5.5vw,42px); line-height:1.2;
  color:var(--ivory); margin:0 0 14px;
}
html[lang="ta"] h1{font-family:'Hind Madurai',serif; font-weight:600}
.updated{
  font-family:'Catamaran',sans-serif; font-size:12.5px;
  letter-spacing:.06em; color:var(--mist); margin:0 0 34px;
}
.rule{
  height:1px; border:0; margin:0 0 34px;
  background:linear-gradient(90deg,var(--gold),rgba(201,162,39,0));
}
h2{
  font-family:'Marcellus',serif; font-weight:400;
  font-size:23px; color:var(--gold-lt);
  margin:38px 0 12px; line-height:1.3;
}
html[lang="ta"] h2{font-family:'Hind Madurai',serif; font-weight:600; font-size:21px}
p{margin:0 0 15px}
ul{margin:0 0 15px; padding-left:22px}
li{margin-bottom:9px}
strong{color:var(--ivory); font-weight:600}
a{color:var(--gold-lt); text-decoration:underline; text-underline-offset:3px}
a:hover{color:var(--ivory)}

/* A boxed statement for the one line on each page that carries the promise. */
.pledge{
  border:1px solid rgba(201,162,39,.3); border-left:3px solid var(--gold);
  background:rgba(201,162,39,.05);
  border-radius:4px; padding:16px 20px; margin:0 0 22px;
}
.pledge p:last-child{margin-bottom:0}

/* Contact rows. */
.rows{border-top:1px solid rgba(154,163,204,.18); margin-top:8px}
.row{
  display:flex; flex-wrap:wrap; gap:4px 18px; padding:14px 2px;
  border-bottom:1px solid rgba(154,163,204,.18);
}
.row .k{
  flex:0 0 150px; font-family:'Catamaran',sans-serif;
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--mist); padding-top:4px;
}
.row .v{flex:1 1 220px; min-width:0; word-break:break-word}

footer{
  border-top:1px solid rgba(201,162,39,.18);
  padding:26px 0 44px; color:var(--mist); font-size:15px;
}
.flinks{display:flex; flex-wrap:wrap; gap:8px 20px; margin-bottom:16px}
.flinks a{
  color:var(--mist); text-decoration:none;
  font-family:'Catamaran',sans-serif; font-size:13px;
}
.flinks a:hover{color:var(--gold-lt)}
.legal{font-size:14px; line-height:1.6; opacity:.85}

[data-ta],[data-en]{display:none}
html[lang="ta"] [data-ta]{display:revert}
html[lang="en"] [data-en]{display:revert}

@media (max-width:520px){
  body{font-size:18px}
  .row .k{flex:0 0 100%}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important}
}
