/* 5minutemint — shared styles for legal and policy pages (dark brand v3) */
:root {
  --bg: #081A1F;
  --bg-2: #0C2328;
  --surface: #12303A;
  --surface-2: #17404B;
  --line: rgba(240,234,214,0.08);
  --line-2: rgba(240,234,214,0.16);
  --text: #F0EAD6;
  --text-muted: #A8B8B5;
  --text-dim: #6F8280;
  --teal: #14B8A6;
  --teal-bright: #5EEAD4;
  --teal-soft: rgba(20,184,166,0.15);
  --amber: #FDBA74;
  --coral: #F5928C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.col { max-width: 760px; margin: 0 auto; padding: 0 32px; }
a { color: var(--teal-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.6) blur(14px);
  background: rgba(8,26,31,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background-image: url('/mint_brand_pack/mint-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}
.brand-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.brand-parent {
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-left: 8px; border-left: 1px solid var(--line-2); padding-left: 12px;
}
.nav ul { list-style: none; display: flex; gap: 28px; font-size: 14px; }
.nav ul a { color: var(--text-muted); }
.nav ul a:hover { color: var(--teal-bright); }
.cta {
  background: var(--teal); color: var(--bg) !important;
  padding: 11px 22px; border-radius: 999px; font-weight: 500; font-size: 14px;
}
.cta:hover { background: var(--teal-bright); }

/* Breadcrumbs */
.crumbs {
  max-width: 760px; margin: 40px auto 0; padding: 0 32px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--teal-bright); }
.crumbs span.sep { opacity: 0.5; }

/* Hero block */
.legal-hero { padding: 60px 32px 20px; max-width: 760px; margin: 0 auto; }
.legal-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -0.025em;
}
.legal-hero .tag {
  margin-top: 20px; font-size: 18px; color: var(--text-muted);
  line-height: 1.55; max-width: 620px;
}
.legal-hero .back {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); letter-spacing: 0.04em;
}
.legal-hero .back:hover { color: var(--teal-bright); }

/* Numbered sections */
.sections { padding: 60px 0 80px; }
.sec {
  max-width: 760px; margin: 0 auto 48px; padding: 0 32px;
  display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start;
}
.sec .num {
  font-family: 'Fraunces', serif; font-weight: 400; font-size: 28px;
  color: var(--text-dim); line-height: 1;
  border-right: 1px solid var(--line); padding: 4px 16px 4px 0;
}
.sec h2 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 14px; color: var(--text);
}
.sec p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.sec p:last-child { margin-bottom: 0; }
.sec ul { list-style: none; margin: 14px 0; }
.sec ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  color: var(--text-muted); font-size: 15px; line-height: 1.65;
}
.sec ul li strong { color: var(--text); font-weight: 500; }
.sec ul.check li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal-soft); border: 1px solid var(--teal);
}
.sec ul.x li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(245,146,140,0.14); border: 1px solid var(--coral);
}

/* Callout */
.callout {
  background: var(--surface); border-left: 3px solid var(--teal);
  padding: 18px 22px; margin: 18px 0; border-radius: 4px;
}
.callout strong { color: var(--text); font-weight: 500; }
.callout p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Contact card */
.contact-card {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 28px 32px; margin-top: 36px;
}
.contact-card h3 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em; margin-bottom: 10px; color: var(--text);
}
.contact-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.contact-card .mail {
  display: inline-block; margin-top: 14px; font-weight: 500;
  color: var(--teal-bright); font-size: 15px;
}
.contact-card .mail:hover { color: var(--text); }

/* Hub intro */
.hub-intro { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.hub-intro h2 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--teal-bright);
  margin-bottom: 16px;
}
.hub-intro h3 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 38px;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; color: var(--text);
}
.hub-intro p { color: var(--text-muted); font-size: 17px; line-height: 1.6; }

.principles {
  max-width: 1160px; margin: 48px auto 80px; padding: 0 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.pcard {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 26px;
}
.pcard h4 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px;
  margin-bottom: 10px; letter-spacing: -0.015em; color: var(--text);
}
.pcard p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.app-grid {
  max-width: 1160px; margin: 40px auto 80px; padding: 0 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.acard {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.acard:hover { border-color: var(--teal); transform: translateY(-2px); }
.acard h4 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em; color: var(--text);
}
.acard .kind {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-bright);
}
.acard p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.acard ul { list-style: none; margin-top: 6px; }
.acard ul li {
  font-size: 13px; color: var(--text-muted); padding-left: 20px; position: relative;
  margin-bottom: 6px;
}
.acard ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-soft); border: 1px solid var(--teal);
}
.acard .more {
  margin-top: auto; color: var(--teal-bright); font-size: 13px; font-weight: 500;
  padding-top: 8px;
}

/* Footer */
footer { padding: 60px 0 48px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-grid {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.foot-grid h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px; font-weight: 500;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-grid li { font-size: 14px; }
.foot-grid li a { color: var(--text-muted); }
.foot-grid li a:hover { color: var(--teal-bright); }
.foot-brand p { color: var(--text-muted); font-size: 14px; margin-top: 20px; max-width: 340px; line-height: 1.6; }
.foot-bottom {
  max-width: 1160px; margin: 52px auto 0; padding: 24px 32px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-dim);
}

@media (max-width: 720px) {
  .nav ul { display: none; }
  .sec { grid-template-columns: 1fr; gap: 10px; }
  .sec .num { border-right: 0; padding: 0; font-size: 22px; color: var(--teal-bright); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .legal-hero h1 { font-size: 34px; }
}
