:root {
  --ht-ink:#14282f;
  --ht-muted:#586d74;
  --ht-line:#dce6e8;
  --ht-soft:#f5f8f9;
  --ht-teal:#087f8c;
  --ht-teal-dark:#066874;
  --ht-orange:#ff9318;
  --ht-navy:#0b242c;
  --ht-white:#ffffff;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body.ht-policy-page {
  margin:0;
  background:#fff;
  color:var(--ht-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.ht-policy-page a {
  color:var(--ht-teal);
  text-decoration:none;
}

.ht-policy-page a:hover {
  color:var(--ht-teal-dark);
}

.ht-policy-shell {
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
}

/* HEADER */

.ht-policy-header {
  position:sticky;
  top:0;
  z-index:100;
  height:72px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(15px);
  border-bottom:1px solid #e6ecee;
}

.ht-policy-header-inner {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.ht-policy-logo img {
  display:block;
  width:178px;
  max-height:36px;
  object-fit:contain;
}

.ht-policy-nav {
  display:flex;
  align-items:center;
  gap:24px;
}

.ht-policy-nav a {
  color:#3b4d53;
  font-size:.82rem;
  font-weight:700;
}

.ht-policy-nav .portal {
  padding:10px 15px;
  border:1px solid #cedcdf;
  border-radius:9px;
  color:var(--ht-teal);
}

/* HERO */

.ht-policy-hero {
  position:relative;
  overflow:hidden;
  padding:76px 0 66px;
  background:
    radial-gradient(circle at 82% 8%,rgba(8,127,140,.13),transparent 31%),
    radial-gradient(circle at 14% 100%,rgba(255,147,24,.08),transparent 29%),
    linear-gradient(180deg,#f8fbfb 0%,#fff 100%);
  border-bottom:1px solid var(--ht-line);
}

.ht-policy-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--ht-teal);
  font-size:.67rem;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ht-policy-kicker::before {
  content:"";
  width:18px;
  height:2px;
  border-radius:2px;
  background:var(--ht-orange);
}

.ht-policy-hero h1 {
  max-width:780px;
  margin:13px 0 16px;
  color:var(--ht-navy);
  font-size:clamp(2.6rem,5.5vw,4.7rem);
  line-height:.99;
  letter-spacing:-.055em;
}

.ht-policy-hero p {
  max-width:720px;
  margin:0;
  color:var(--ht-muted);
  font-size:1rem;
  line-height:1.75;
}

.ht-policy-meta {
  display:flex;
  flex-wrap:wrap;
  gap:16px 24px;
  margin-top:26px;
  color:#718187;
  font-size:.76rem;
}

.ht-policy-meta strong {
  color:#40545b;
}

/* MAIN */

.ht-policy-layout {
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:64px;
  align-items:start;
  padding:58px 0 60px;
}

.ht-policy-sidebar {
  position:sticky;
  top:100px;
}

.ht-policy-sidebar-card {
  padding:17px 20px;
  border:1px solid var(--ht-line);
  border-radius:15px;
  background:var(--ht-soft);
}

.ht-policy-sidebar-card strong {
  display:block;
  margin-bottom:13px;
  color:var(--ht-navy);
  font-size:.76rem;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.ht-policy-sidebar-card a {
  display:block;
  padding:5px 0;
  color:#52666d;
  font-size:.8rem;
  font-weight:650;
}

.ht-policy-sidebar-card a:hover {
  color:var(--ht-teal);
}

.ht-policy-content {
  min-width:0;
}

.ht-policy-section {
  padding:0 0 32px;
  margin:0 0 32px;
  border-bottom:1px solid var(--ht-line);
}

.ht-policy-section:last-child {
  margin-bottom:0;
  border-bottom:0;
}

.ht-policy-section h2 {
  margin:0 0 13px;
  color:var(--ht-navy);
  font-size:1.45rem;
  line-height:1.25;
  letter-spacing:-.025em;
}

.ht-policy-section h3 {
  margin:22px 0 9px;
  color:#263d45;
  font-size:1rem;
}

.ht-policy-section p,
.ht-policy-section li {
  color:#53666d;
  font-size:.92rem;
  line-height:1.78;
}

.ht-policy-section p {
  margin:0 0 13px;
}

.ht-policy-section ul {
  margin:10px 0 12px;
  padding-left:21px;
}

.ht-policy-section li + li {
  margin-top:6px;
}

.ht-policy-note {
  margin:20px 0 0;
  padding:17px 19px;
  border-left:3px solid var(--ht-teal);
  border-radius:0 10px 10px 0;
  background:#f2f8f8;
  color:#466068;
  font-size:.86rem;
  line-height:1.65;
}

/* SUPPORT */

.ht-support-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:3px 0 35px;
}

.ht-support-card {
  display:flex;
  flex-direction:column;
  min-height:172px;
  padding:22px 24px;
  border:1px solid var(--ht-line);
  border-radius:15px;
  background:#fff;
  box-shadow:0 12px 35px rgba(14,40,48,.045);
}

.ht-support-card-label {
  color:var(--ht-teal);
  font-size:.63rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.ht-support-card h2 {
  margin:10px 0 8px;
  color:var(--ht-navy);
  font-size:1.18rem;
}

.ht-support-card p {
  margin:0 0 19px;
  color:var(--ht-muted);
  font-size:.84rem;
  line-height:1.6;
}

.ht-support-card a {
  margin-top:auto;
  font-size:.82rem;
  font-weight:800;
}

.ht-support-wide {
  grid-column:1 / -1;
  min-height:0;
  padding:18px 24px;
  background:var(--ht-navy);
}

.ht-support-wide h2,
.ht-support-wide a {
  color:#fff;
}

.ht-support-wide p {
  color:#b8c8cc;
}

.ht-support-wide .ht-support-card-label {
  color:#79d3d8;
}

/* FOOTER */

.ht-policy-footer {
  position:relative;
  overflow:hidden;
  background:#091b21;
  color:#9cafb4;
}

.ht-policy-footer::before {
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--ht-teal),transparent);
  opacity:.45;
}

.ht-policy-footer-grid {
  display:grid;
  grid-template-columns:1.7fr repeat(3,1fr);
  gap:45px;
  padding:46px 0 35px;
}

.ht-policy-footer-brand img {
  width:165px;
  filter:brightness(0) invert(1);
}

.ht-policy-footer-brand p {
  max-width:300px;
  margin:13px 0 0;
  color:#84999f;
  font-size:.78rem;
  line-height:1.55;
}

.ht-policy-footer-nav strong {
  display:block;
  margin-bottom:11px;
  color:#fff;
  font-size:.72rem;
}

.ht-policy-footer-nav a {
  display:block;
  margin:7px 0;
  color:#91a5ab;
  font-size:.73rem;
}

.ht-policy-footer-nav a:hover {
  color:#fff;
}

.ht-policy-footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:17px 0 23px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#71868c;
  font-size:.69rem;
}

/* RESPONSIVE */

@media(max-width:850px) {
  .ht-policy-nav a:not(.portal) {
    display:none;
  }

  .ht-policy-layout {
    grid-template-columns:1fr;
    gap:30px;
    padding-top:40px;
  }

  .ht-policy-sidebar {
    position:static;
  }

  .ht-policy-sidebar-card {
    display:flex;
    flex-wrap:wrap;
    gap:5px 18px;
  }

  .ht-policy-sidebar-card strong {
    flex-basis:100%;
  }

  .ht-policy-footer-grid {
    grid-template-columns:1fr 1fr;
  }

  .ht-policy-footer-brand {
    grid-column:1/-1;
  }
}

@media(max-width:580px) {
  .ht-policy-shell {
    width:calc(100% - 28px);
  }

  .ht-policy-header {
    height:66px;
  }

  .ht-policy-logo img {
    width:155px;
  }

  .ht-policy-nav .portal {
    padding:8px 10px;
    font-size:.72rem;
  }

  .ht-policy-hero {
    padding:53px 0 48px;
  }

  .ht-policy-hero h1 {
    font-size:2.55rem;
  }

  .ht-support-grid {
    grid-template-columns:1fr;
  }

  .ht-support-wide {
    grid-column:auto;
  }

  .ht-policy-footer-grid {
    grid-template-columns:1fr 1fr;
    gap:28px 22px;
  }

  .ht-policy-footer-bottom {
    flex-direction:column;
    gap:4px;
  }
}

/* Refined accessible focus state */
.ht-policy-page a:focus {
  outline:none;
}

.ht-policy-page a:focus-visible {
  outline:2px solid var(--ht-teal);
  outline-offset:3px;
  border-radius:4px;
}

/* =====================================================
   HOGEYTECH LEGAL PAGES — FINAL COMPACT REFINEMENT
   ===================================================== */

.ht-policy-shell {
  width:min(1180px,calc(100% - 40px));
}

.ht-policy-layout {
  grid-template-columns:220px minmax(0,1fr);
  gap:48px;
  padding-top:48px;
  padding-bottom:56px;
}

.ht-policy-content {
  max-width:850px;
}

.ht-policy-section {
  padding-bottom:22px;
  margin-bottom:22px;
}

.ht-policy-section h2 {
  margin-bottom:9px;
  font-size:1.42rem;
}

.ht-policy-section h3 {
  margin-top:15px;
  margin-bottom:6px;
}

.ht-policy-section p,
.ht-policy-section li {
  font-size:.95rem;
  line-height:1.65;
}

.ht-policy-section p {
  margin-bottom:9px;
}

.ht-policy-section ul {
  margin-top:7px;
  margin-bottom:8px;
}

.ht-policy-section li + li {
  margin-top:3px;
}

.ht-policy-sidebar-card {
  padding:15px 17px;
}

.ht-policy-sidebar-card strong {
  margin-bottom:8px;
}

.ht-policy-sidebar-card a {
  padding:4px 0;
  font-size:.76rem;
}

@media(max-width:850px) {
  .ht-policy-layout {
    grid-template-columns:1fr;
    gap:26px;
  }

  .ht-policy-content {
    max-width:none;
  }
}

