/* Shared styles for the international legal pages (terms, privacy, consumer
   health data). Same look as landing/terms.html and privacy-policy.html. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --red:#E24B4A;--red-dark:#A32D2D;--red-light:#FCEBEB;
  --teal:#1D9E75;--teal-light:#E1F5EE;
  --dark:#1A1A18;--dark2:#2C2C2A;--dark3:#444441;
  --gray:#5F5E5A;--gray-light:#D3D1C7;--gray-bg:#F1EFE8;--off-white:#F9F9F8;
  --white:#FFFFFF;
}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;background:var(--off-white);color:var(--dark2);overflow-x:hidden}

/* NAV */
nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(249,249,248,0.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--gray-light);padding:0 5%}
.nav-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:60px}
.nav-logo{font-family:'DM Sans',sans-serif;font-weight:700;font-size:16px;display:flex;align-items:center;gap:0;text-decoration:none}
.nav-logo .l-my{color:#C0392B}.nav-logo .l-safe{color:var(--dark2)}.nav-logo .l-card{color:var(--teal)}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-links a{text-decoration:none;font-size:0.875rem;color:var(--gray);font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--red)}

/* CONTENT */
.legal-page{max-width:800px;margin:0 auto;padding:100px 5% 60px}
.legal-page .eyebrow{font-size:0.78rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--teal);margin-bottom:0.5rem}
.legal-page h1{font-family:'DM Serif Display',serif;font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.2;margin-bottom:0.5rem;color:var(--dark)}
.legal-page .updated{font-size:0.85rem;color:var(--gray);font-style:italic;margin-bottom:2rem}
.legal-page h2{font-family:'DM Sans',sans-serif;font-size:1.05rem;font-weight:700;color:var(--dark);margin-top:2rem;margin-bottom:0.5rem;scroll-margin-top:80px}
.legal-page h3{font-family:'DM Sans',sans-serif;font-size:0.98rem;font-weight:700;color:var(--dark2);margin-top:1.4rem;margin-bottom:0.4rem;scroll-margin-top:80px}
.legal-page p{font-size:0.92rem;color:var(--gray);line-height:1.75;margin-bottom:0.5rem}
.legal-page ul{margin:0.25rem 0 0.75rem 1.25rem}
.legal-page li{font-size:0.92rem;color:var(--gray);line-height:1.7;margin-bottom:0.35rem}
.legal-page a{color:var(--red-dark)}
.legal-page strong{color:var(--dark2)}

.callout{border-radius:8px;padding:16px 20px;margin-bottom:1.25rem;font-size:0.88rem;line-height:1.6}
.callout.warn{background:#FFF3CD;border:1px solid #F5C518;color:#7D5300}
.callout.warn strong{color:#7D5300}
.callout.info{background:var(--teal-light);border:1px solid #A8DCC8;color:#145C46}
.callout.info a{color:#145C46}
.callout table.numbers{margin-top:10px;border-collapse:collapse;width:100%}
.callout table.numbers td{padding:4px 0;vertical-align:top;font-size:0.86rem}
.callout table.numbers td:first-child{font-weight:600;padding-right:16px;white-space:nowrap}
.callout table.numbers a{color:inherit;font-weight:700}

.country-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0.5rem 0 1.5rem}
.country-jump a{display:inline-block;padding:6px 14px;border-radius:999px;border:1px solid var(--gray-light);background:var(--white);font-size:0.85rem;font-weight:600;color:var(--dark2);text-decoration:none}
.country-jump a:hover{border-color:var(--red);color:var(--red)}

.table-wrap{overflow-x:auto;margin:0.75rem 0 1rem;-webkit-overflow-scrolling:touch}
table.data{border-collapse:collapse;width:100%;min-width:560px;font-size:0.84rem}
table.data th,table.data td{border:1px solid var(--gray-light);padding:8px 10px;text-align:left;vertical-align:top;color:var(--gray);line-height:1.5}
table.data th{background:var(--gray-bg);color:var(--dark2);font-weight:700}

.country-section{border-top:2px solid var(--gray-light);margin-top:2.5rem;padding-top:0.5rem}

/* FOOTER */
footer{background:var(--dark);padding:40px 5% 30px}
.footer-inner{max-width:1100px;margin:0 auto}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:0.8rem;color:rgba(255,255,255,0.4);flex-wrap:wrap;gap:12px}
.footer-bottom a{color:rgba(255,255,255,0.6);text-decoration:none}
.footer-bottom a:hover{color:white}
.footer-brand{text-align:center;margin-top:10px;font-size:0.72rem;color:rgba(255,255,255,0.22)}
.footer-brand a{color:inherit;text-decoration:underline}
.footer-brand a:hover{color:rgba(255,255,255,0.5)}

@media(max-width:600px){
  .nav-links{display:none}
  .legal-page{padding:80px 5% 40px}
  .callout table.numbers td:first-child{white-space:normal}
}

/* Narrow phone or large text (2026-10-20): the logo stays on one line, a long
   word or email address breaks instead of making the page wider than the
   screen, and the emergency numbers table may wrap its first column. */
.nav-inner{gap:12px}
.nav-logo{white-space:nowrap;flex-shrink:0}
.legal-page{overflow-wrap:anywhere}
.callout table.numbers{table-layout:fixed}
.callout table.numbers td:first-child{white-space:normal;width:60%}
table.data{overflow-wrap:normal}

/* Big headings break a long word (with a hyphen) when it is wider than the screen. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
