*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --p: #ee2b6c;
  --p-dim: rgba(238,43,108,.12);
  --p-glow: rgba(238,43,108,.28);
  --bg: #f7f5f5;
  --dark: #0e0e0e;
  --muted: #7a7a8a;
  --border: rgba(0,0,0,.07);
  --font: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media(min-width:768px){ .container { padding: 0 40px; } }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247,245,245,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
  max-width: 1160px; margin: 0 auto;
}
@media(min-width:768px){ .nav { height: 72px; padding: 0 40px; } }

.logo { display:flex; align-items:center; gap:6px; text-decoration:none; }
.logo-icon { font-size:30px; color:var(--p); }
.logo-text { font-size:22px; font-weight:900; color:var(--dark); letter-spacing:-1px; }

.nav-links { display:none; gap:32px; align-items:center; }
@media(min-width:768px){ .nav-links { display:flex; } }
.nav-links a { font-size:13px; font-weight:600; color:var(--dark); text-decoration:none; transition:color .2s; }
.nav-links a:hover { color:var(--p); }
.nav-links a.active { color:var(--p); }

.btn-pill {
  background:var(--p); color:#fff; border:none; border-radius:999px;
  padding:10px 22px; font-family:var(--font); font-weight:700; font-size:13px;
  cursor:pointer; white-space:nowrap;
  box-shadow: 0 4px 18px var(--p-glow);
  transition: transform .15s, box-shadow .15s;
  text-decoration:none; display:inline-block;
}
.btn-pill:hover { transform:translateY(-1px); box-shadow:0 8px 28px var(--p-glow); }

.ham { display:flex; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.ham span { display:block; width:22px; height:2.5px; background:var(--dark); border-radius:3px; }
@media(min-width:768px){ .ham { display:none; } }

.mob-menu {
  position:fixed; inset:0; background:rgba(247,245,245,.97);
  backdrop-filter:blur(16px); z-index:300;
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:28px;
}
.mob-menu.open { display:flex; }
.mob-close { position:absolute; top:22px; right:22px; background:none; border:none; font-size:28px; cursor:pointer; color:var(--dark); line-height:1; }
.mob-menu a { font-size:30px; font-weight:800; color:var(--dark); text-decoration:none; transition:color .2s; }
.mob-menu a:hover { color:var(--p); }
.mob-menu .btn-pill { font-size:17px; padding:14px 36px; margin-top:8px; }

/* ── PAGE HERO ── */
.page-hero {
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--bg) 60%);
  position: relative;
  padding: clamp(48px,8vw,96px) 20px clamp(40px,6vw,72px);
  text-align: center;
}
.page-hero::before {
  content:''; position:absolute; top:-200px; right:-200px;
  width:600px; height:600px;
  background:radial-gradient(circle, rgba(238,43,108,.08) 0%, transparent 65%);
  border-radius:50%; pointer-events:none;
}
.page-hero-inner { position:relative; z-index:1; max-width:640px; margin:0 auto; }

.ph-eyebrow {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--p-dim); color:var(--p);
  padding:6px 14px; border-radius:999px;
  font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  margin-bottom:20px;
}
.ph-eyebrow .material-symbols-outlined { font-size:13px; }

.page-hero h1 {
  font-size: clamp(30px,5vw,58px);
  font-weight:900; line-height:1.08; letter-spacing:-1.5px; margin-bottom:16px;
}
.page-hero h1 .accent { color:var(--p); font-style:italic; }
.page-hero p {
  font-size: clamp(14px,1.6vw,17px); color:var(--muted); line-height:1.75; margin-bottom:20px;
}

.update-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:#fff; border:1.5px solid var(--border);
  border-radius:999px; padding:6px 14px;
  font-size:12px; font-weight:600; color:var(--muted);
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.update-badge .material-symbols-outlined { font-size:14px; color:var(--p); }

/* ── SUMMARY CARDS ── */
.summary-strip {
  background:#fff;
  border-bottom: 1px solid var(--border);
  padding: clamp(32px,5vw,56px) 20px;
}
@media(min-width:768px){ .summary-strip { padding-left:40px; padding-right:40px; } }

.summary-inner {
  max-width:1160px; margin:0 auto;
}
.summary-label {
  text-align:center; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.12em; color:var(--muted);
  margin-bottom:24px;
}
.summary-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:12px;
}
@media(min-width:640px){ .summary-grid { grid-template-columns:repeat(4,1fr); } }

.sum-card {
  background:var(--bg); border-radius:16px; padding:18px 16px;
  border:1.5px solid var(--border); text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  transition: border-color .25s, transform .25s;
}
.sum-card:hover { border-color:rgba(238,43,108,.25); transform:translateY(-3px); }
.sum-icon { width:40px; height:40px; border-radius:12px; background:var(--p-dim); color:var(--p); display:flex; align-items:center; justify-content:center; }
.sum-icon .material-symbols-outlined { font-size:20px; }
.sum-card h4 { font-size:13px; font-weight:800; }
.sum-card p { font-size:11px; color:var(--muted); line-height:1.5; }

/* ── MAIN LAYOUT ── */
.terms-layout {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(48px,6vw,80px) 20px clamp(64px,8vw,112px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media(min-width:1024px){
  .terms-layout {
    grid-template-columns: 240px 1fr;
    gap: 60px;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ── STICKY SIDEBAR ── */
.sidebar { display:none; }
@media(min-width:1024px){
  .sidebar { display:block; position:sticky; top:96px; }
}

.sidebar-title { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; margin-bottom:14px; }
.sidebar-nav { display:flex; flex-direction:column; gap:2px; }
.sidebar-nav a {
  display:flex; align-items:center; gap:8px;
  padding:9px 12px; border-radius:10px;
  font-size:13px; font-weight:600; color:var(--muted);
  text-decoration:none;
  transition: background .2s, color .2s;
  border-left: 2px solid transparent;
}
.sidebar-nav a:hover { background:var(--p-dim); color:var(--p); }
.sidebar-nav a.active { color:var(--p); background:var(--p-dim); border-left-color:var(--p); }
.sidebar-nav a .material-symbols-outlined { font-size:16px; flex-shrink:0; }

.sidebar-related {
  margin-top:28px; background:#fff; border-radius:16px;
  padding:18px; border:1.5px solid var(--border);
  display:flex; flex-direction:column; gap:10px;
}
.sidebar-related-title { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.sidebar-related a {
  display:flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--dark);
  text-decoration:none; transition:color .2s;
}
.sidebar-related a:hover { color:var(--p); }
.sidebar-related a .material-symbols-outlined { font-size:16px; color:var(--muted); }

/* ── MOBILE TOC ── */
.mobile-toc {
  background:#fff; border:1.5px solid var(--border);
  border-radius:18px; padding:18px 20px; margin-bottom:8px;
}
@media(min-width:1024px){ .mobile-toc { display:none; } }

.toc-toggle {
  display:flex; align-items:center; justify-content:space-between;
  cursor:pointer; background:none; border:none; width:100%; padding:0; font-family:var(--font);
}
.toc-toggle-left { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color:var(--dark); }
.toc-toggle-left .material-symbols-outlined { font-size:18px; color:var(--p); }
.toc-arrow { font-size:18px; color:var(--muted); transition:transform .25s; }
.toc-arrow.open { transform:rotate(180deg); }

.toc-list {
  display:none; flex-direction:column; gap:2px;
  margin-top:14px; padding-top:14px; border-top:1px solid var(--border);
}
.toc-list.open { display:flex; }
.toc-list a {
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:10px;
  font-size:13px; font-weight:600; color:var(--muted);
  text-decoration:none; transition:background .2s,color .2s;
}
.toc-list a:hover { background:var(--p-dim); color:var(--p); }
.toc-list a .material-symbols-outlined { font-size:15px; flex-shrink:0; }

/* ── CONTENT ── */
.terms-content { display:flex; flex-direction:column; gap:0; }

.tc-section {
  padding: clamp(32px,4vw,48px) 0;
  border-bottom: 1px solid var(--border);
}
.tc-section:first-child { padding-top:0; }
.tc-section:last-child { border-bottom:none; }

.tc-head {
  display:flex; align-items:center; gap:12px; margin-bottom:20px;
}
.tc-icon {
  width:40px; height:40px; border-radius:12px;
  background:var(--p-dim); color:var(--p);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.tc-icon .material-symbols-outlined { font-size:20px; }
.tc-section h2 { font-size:clamp(18px,2.5vw,24px); font-weight:800; letter-spacing:-.3px; }

.tc-section p {
  font-size:clamp(13px,1.4vw,15px); color:#444; line-height:1.85; margin-bottom:14px;
}
.tc-section p:last-child { margin-bottom:0; }

.tc-section ul, .tc-section ol {
  list-style:none; display:flex; flex-direction:column; gap:10px; margin-bottom:16px;
}
.tc-section ul li, .tc-section ol li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:clamp(13px,1.4vw,15px); color:#444; line-height:1.75;
}
.tc-section ul li::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--p); flex-shrink:0; margin-top:8px;
}
.tc-section ol { counter-reset:ol-c; }
.tc-section ol li { counter-increment:ol-c; }
.tc-section ol li::before {
  content:counter(ol-c);
  min-width:22px; height:22px; border-radius:50%;
  background:var(--p-dim); color:var(--p);
  font-size:11px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-top:2px;
}

.tc-highlight {
  background:var(--p-dim); border-left:3px solid var(--p);
  border-radius:0 12px 12px 0; padding:14px 18px;
  margin:18px 0; font-size:clamp(13px,1.4vw,14px);
  color:var(--dark); line-height:1.7; font-weight:500;
}
.tc-highlight strong { color:var(--p); }

.tc-warning {
  background:#fff8f0; border-left:3px solid #f59e0b;
  border-radius:0 12px 12px 0; padding:14px 18px;
  margin:18px 0; font-size:clamp(13px,1.4vw,14px);
  color:#92400e; line-height:1.7; font-weight:500;
  display:flex; gap:10px; align-items:flex-start;
}
.tc-warning .material-symbols-outlined { font-size:18px; color:#f59e0b; flex-shrink:0; margin-top:1px; }

/* do/don't grid */
.do-dont {
  display:grid; grid-template-columns:1fr 1fr;
  gap:12px; margin:18px 0;
}
@media(max-width:480px){ .do-dont { grid-template-columns:1fr; } }

.dd-col { border-radius:16px; padding:18px; }
.dd-col.do { background:#f0fdf4; border:1.5px solid #bbf7d0; }
.dd-col.dont { background:#fff1f2; border:1.5px solid #fecdd3; }
.dd-title {
  display:flex; align-items:center; gap:6px;
  font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
  margin-bottom:12px;
}
.dd-col.do .dd-title { color:#15803d; }
.dd-col.dont .dd-title { color:#be123c; }
.dd-title .material-symbols-outlined { font-size:16px; }
.dd-col ul { margin:0; gap:8px; }
.dd-col ul li { font-size:12px; color:#444; line-height:1.6; }
.dd-col.do ul li::before { background:#22c55e; }
.dd-col.dont ul li::before { background:#f43f5e; }

/* ── CTA ── */
.section-cta { padding:48px 20px 72px; }
@media(min-width:768px){ .section-cta { padding:72px 40px; } }
.cta-inner {
  background:var(--p); border-radius:clamp(24px,6vw,48px);
  padding:clamp(40px,7vw,80px) clamp(24px,5vw,80px);
  text-align:center; color:#fff; position:relative; overflow:hidden;
  max-width:1160px; margin:0 auto;
}
.cta-blob1,.cta-blob2 { position:absolute; border-radius:50%; background:rgba(255,255,255,.12); filter:blur(60px); pointer-events:none; }
.cta-blob1 { width:280px; height:280px; top:-80px; right:-80px; }
.cta-blob2 { width:280px; height:280px; bottom:-80px; left:-80px; }
.cta-inner h3 { position:relative; font-size:clamp(22px,4vw,48px); font-weight:900; letter-spacing:-1px; line-height:1.1; max-width:600px; margin:0 auto 14px; }
.cta-inner p { position:relative; color:rgba(255,255,255,.8); font-size:clamp(13px,1.6vw,17px); max-width:420px; margin:0 auto 32px; line-height:1.7; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cta-btn-white {
  background:#fff; color:var(--p); border:none; border-radius:14px;
  padding:13px clamp(22px,3vw,36px); font-family:var(--font); font-weight:900;
  font-size:clamp(13px,1.6vw,16px); cursor:pointer;
  box-shadow:0 8px 28px rgba(0,0,0,.18);
  transition:transform .15s,box-shadow .15s; text-decoration:none; display:inline-block;
}
.cta-btn-white:hover { transform:translateY(-2px); }
.cta-btn-outline {
  background:transparent; color:#fff; border:2px solid rgba(255,255,255,.4); border-radius:14px;
  padding:13px clamp(22px,3vw,36px); font-family:var(--font); font-weight:700;
  font-size:clamp(13px,1.6vw,16px); cursor:pointer;
  transition:background .2s,border-color .2s; text-decoration:none; display:inline-block;
}
.cta-btn-outline:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); }

/* ── FOOTER ── */
footer { background:#f0eeee; border-top:1px solid var(--border); padding:clamp(40px,6vw,72px) 20px clamp(20px,3vw,36px); }
@media(min-width:768px){ footer { padding-left:40px; padding-right:40px; } }
.footer-inner { max-width:1160px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px 24px; margin-bottom:36px; }
@media(min-width:768px){ .footer-grid { grid-template-columns:2fr 1fr 1fr; } }
.footer-brand { grid-column:1/-1; }
@media(min-width:768px){ .footer-brand { grid-column:auto; } }
.footer-logo { display:flex; align-items:center; gap:6px; text-decoration:none; margin-bottom:10px; }
.footer-logo .material-symbols-outlined { font-size:26px; color:var(--p); }
.footer-logo-text { font-size:18px; font-weight:900; color:var(--dark); }
.footer-brand p { color:var(--muted); font-size:13px; line-height:1.6; max-width:240px; }
.footer-col h6 { font-weight:700; font-size:11px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:14px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-col ul a { text-decoration:none; color:var(--muted); font-size:13px; transition:color .2s; }
.footer-col ul a:hover { color:var(--p); }
.footer-bottom { border-top:1px solid var(--border); padding-top:20px; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; color:var(--muted); font-size:12px; }
.socials { display:flex; gap:14px; }
.socials a { color:var(--muted); transition:color .2s; }
.socials a:hover { color:var(--p); }
.socials .material-symbols-outlined { font-size:20px; }

/* ── MOBILE BOTTOM NAV ── */
.bottom-nav {
  position:fixed; bottom:0; left:0; right:0; z-index:150;
  background:rgba(255,255,255,.92); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-top:1px solid var(--border);
  display:flex; justify-content:space-around; align-items:center;
  height:64px; padding-bottom:env(safe-area-inset-bottom);
}
@media(min-width:768px){ .bottom-nav { display:none; } }
@media(max-width:767px){ body { padding-bottom:72px; } }
.bnav-item { display:flex; flex-direction:column; align-items:center; gap:2px; text-decoration:none; color:var(--muted); font-size:10px; font-weight:600; padding:8px 14px; }
.bnav-item .material-symbols-outlined { font-size:22px; font-variation-settings:'FILL' 0; }
.bnav-item.active { color:var(--p); }
.bnav-item.active .material-symbols-outlined { font-variation-settings:'FILL' 1; }