/* /rw-policy-center/styles.css */

/* Base reset */
* { 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: #0f172a;
  background: #f6f8fb;
}

/* Subtle background flair */
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(37,99,235,0.14), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(6,182,212,0.12), transparent 55%);
}

/* Links */
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Container — widened for desktop */
.container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(15,23,42,0.10);
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

/* Brand */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 800;
}

.brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(6,182,212,0.14));
  border: 1px solid rgba(15,23,42,0.10);
}

.brand__logo{
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name{ font-size: 14px; }
.brand__tag{
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  margin-top: 2px;
}

/* Top nav */
.topnav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.topnav__link{
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  padding: 8px 12px;
  border-radius: 999px;
}

.topnav__link:hover{
  background: rgba(15,23,42,0.06);
  color: #0f172a;
  text-decoration: none;
}

/* Hero */
.hero{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 22px;
}

.hero h1{
  margin: 0 0 6px;
  font-size: 40px;
  letter-spacing: -0.6px;
}

.hero__subtitle{
  margin: 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 10px 24px rgba(37,99,235,0.22);
}

.btn:hover{
  filter: brightness(1.05);
  text-decoration: none;
}

/* Grid — flexible, wide, dashboard feel */
.grid{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0 36px;
}

/* Cards */
.card{
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  color: inherit;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2,6,23,0.10);
  border-color: rgba(37,99,235,0.25);
  background: #ffffff;
  text-decoration: none;
}

.card__icon{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.card__body h2{
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.card__body p{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.card__arrow{
  margin-left: auto;
  font-size: 18px;
  font-weight: 900;
  color: rgba(15,23,42,0.45);
}

/* Support section */
.support{
  padding: 20px 0 40px;
}

.support__inner{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  padding: 20px;
}

.support__inner h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.support__inner p{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.86);
}

.footer__inner{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 13px;
  color: rgba(15,23,42,0.65);
}

.footer__inner a{
  font-weight: 700;
  color: rgba(15,23,42,0.75);
}

.footer__sep{ opacity: 0.55; }

/* Icon colors */
.icon--blue   { background: #2563eb; }
.icon--green  { background: #16a34a; }
.icon--slate  { background: #64748b; }
.icon--teal   { background: #06b6d4; }
.icon--amber  { background: #f59e0b; }
.icon--purple { background: #7c3aed; }
