/* /rw-policy/styles.css */
:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 10px 25px rgba(2, 6, 23, 0.08);

  --brand: #2563eb;
  --brand2: #06b6d4;

  --radius: 18px;
  --radiusSm: 14px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

body:before{
  content:"";
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(6,182,212,.12), transparent 55%);
}

a{ color: var(--brand); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 36px;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand__logo{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
  flex: 0 0 auto;
}

.brand__logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__title{
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand__sub{
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  color: rgba(15, 23, 42, 0.85);
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
}
.nav a:hover{
  background: rgba(255,255,255,.9);
  text-decoration: none;
}

.hero{
  padding: 22px 6px 14px;
}
.breadcrumb{
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 8px;
}
.breadcrumb a{ color: var(--brand); }

.h1{
  margin: 8px 0 6px;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.meta{
  color: var(--muted);
  font-size: 14px;
}

.grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
  margin-top: 14px;
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}

.card__body{
  padding: 20px 20px 18px;
}

.side{
  padding: 16px;
}
.side h3{
  margin: 4px 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.side a{
  display: block;
  padding: 8px 0;
  font-weight: 650;
}

.content h2{
  margin: 26px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.content h3{
  margin: 18px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.content p{
  color: rgba(15, 23, 42, 0.88);
  line-height: 1.65;
  margin: 10px 0;
}
.content ul, .content ol{
  margin: 10px 0 10px 22px;
  color: rgba(15, 23, 42, 0.88);
}
.content li{ margin: 6px 0; }

.hr{
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 18px 0;
}

.footer{
  margin-top: 18px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  color: rgba(15,23,42,0.65);
  font-size: 13px;
}

.footer__inner a{
  color: rgba(15,23,42,0.70);
  font-weight: 700;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
  .nav{ justify-content: flex-start; }
  .h1{ font-size: 34px; }
}

@media (max-width: 640px){
  .brand{ min-width: 0; }
  .h1{ font-size: 30px; }
  .nav a{ padding: 9px 11px; }
}
