.effective-date{
  font-size: 13px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* Hero */
.policy-hero{
  padding: clamp(16px, 4vw, 28px) 0 clamp(28px, 5vw, 40px);
}
.policy-hero h1{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.policy-hero h1 .accent{
  color: var(--blue);
}
.policy-hero p.lede{
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 54ch;
  margin: 0;
}

/* At-a-glance receipt */
.receipt{
  margin-top: clamp(32px, 5vw, 44px);
  background: linear-gradient(180deg, var(--bg-raised), var(--surface));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: clamp(8px, 2vw, 10px);
  position: relative;
  overflow: hidden;
}
.receipt::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}
.receipt-row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.receipt-row + .receipt-row{
  border-top: 1px solid var(--surface-border);
}
.receipt-row .label{
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.receipt-row .label small{
  display: block;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-top: 3px;
}
.verdict{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.verdict svg{ width: 15px; height: 15px; flex: none; }
.verdict.no{
  background: rgba(57, 191, 255, 0.12);
  color: #7fd6ff;
  border: 1px solid rgba(57, 191, 255, 0.28);
}
.verdict.local{
  background: rgba(149, 101, 255, 0.14);
  color: #c4aaff;
  border: 1px solid rgba(149, 101, 255, 0.3);
}

/* Reading column */
main{
  padding-top: clamp(48px, 8vw, 72px);
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}
.policy{
  max-width: var(--measure);
}
section.policy-section{
  padding: clamp(36px, 6vw, 52px) 0;
  border-top: 1px solid var(--surface-border);
}
section.policy-section:first-of-type{
  border-top: none;
  padding-top: 0;
}
section.policy-section h2{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
section.policy-section h2::before{
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
  flex: none;
  transform: translateY(-5px);
}
section.policy-section h3{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 28px 0 10px;
  color: var(--ink);
}
section.policy-section p{
  margin: 0 0 16px;
  color: var(--ink-dim);
  text-wrap: pretty;
}
section.policy-section p:last-child{ margin-bottom: 0; }
section.policy-section strong{ color: var(--ink); font-weight: 600; }
section.policy-section ul{
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
section.policy-section li{
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  color: var(--ink-dim);
}
section.policy-section li::before{
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}
section.policy-section li strong{ color: var(--ink); }
code{
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  color: #cdd3e6;
}

.perm-table{
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 20px;
  font-size: 14.5px;
}
.perm-table th, .perm-table td{
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--surface-border);
  vertical-align: top;
}
.perm-table th{
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.perm-table td:first-child{
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: #cdd3e6;
  white-space: nowrap;
  width: 1%;
}
.perm-table td:last-child{ color: var(--ink-dim); }
.perm-table tr:last-child td{ border-bottom: none; }

/* Contact card */
.contact-card{
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(149,101,255,0.12), rgba(57,191,255,0.08));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-card .ctext p{ margin: 0; color: var(--ink-dim); }
.contact-card .ctext p:first-child{ color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.mail-btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gradient);
  color: #0a0c16;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(149, 101, 255, 0.55);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.mail-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(149, 101, 255, 0.65);
}
.mail-btn svg{ width: 16px; height: 16px; }

@media (max-width: 560px){
  .receipt-row{ grid-template-columns: 1fr; }
  .verdict{ justify-self: start; }
  .contact-card{ flex-direction: column; align-items: flex-start; }
  .mail-btn{ width: 100%; justify-content: center; }

  .perm-table, .perm-table thead, .perm-table tbody, .perm-table tr{ display: block; }
  .perm-table thead{ display: none; }
  .perm-table tr{
    padding: 14px 0;
    border-bottom: 1px solid var(--surface-border);
  }
  .perm-table tr:last-child{ border-bottom: none; }
  .perm-table td{
    display: block;
    padding: 0;
    border: none;
    white-space: normal;
    width: auto;
  }
  .perm-table td:first-child{
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce){
  .mail-btn{ transition: none; }
}
