/* High Street Digital — site styles */
:root {
  --cream: #FBF7F0;
  --navy: #1B2A4A;
  --navy-2: #243659;
  --ink: #16181D;
  --muted: #5B6170;
  --gold: #E9A21A;
  --line: #E7E0D3;
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- logo (matches the HSD wordmark) ---------- */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--white); border: 3px solid var(--ink); border-radius: 8px;
  padding: 6px 14px 5px; text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 4px var(--white);
}
.logo-word {
  font-family: "Archivo", "Inter", sans-serif; font-weight: 800;
  letter-spacing: 0.02em; font-size: 17px; line-height: 1.1; white-space: nowrap;
}
.logo-rule { display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 3px; }
.logo-rule::before, .logo-rule::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.logo-stars { color: var(--gold); font-size: 10px; letter-spacing: 2px; line-height: 1; }

/* ---------- header ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--navy); text-decoration: underline; }
.btn {
  display: inline-block; background: var(--navy); color: var(--white) !important;
  text-decoration: none !important; font-weight: 600; padding: 12px 22px;
  border-radius: 10px; border: 2px solid var(--navy); font-size: 16px;
}
.btn:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: #F2B23A; }
.btn-ghost { background: transparent; color: var(--white) !important; border-color: rgba(255,255,255,.5); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 88px 0 96px; }
.hero h1 {
  font-family: "Archivo", "Inter", sans-serif; font-weight: 800;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; margin: 0 0 22px; max-width: 820px;
}
.hero h1 .gold { color: var(--gold); }
.hero p.lead { font-size: 20px; color: #D8DEEA; max-width: 640px; margin: 0 0 34px; }
.hero .stars { color: var(--gold); letter-spacing: 6px; font-size: 22px; margin-bottom: 18px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-size: 14px; color: #AEB8CC; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
h2 { font-family: "Archivo", "Inter", sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 44px; font-size: 18px; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--cream);
  border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 16px;
  font-weight: 800; font-family: "Archivo", sans-serif;
}

/* ---------- how it works ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 3px solid var(--navy); position: relative; }
.plan .tag {
  position: absolute; top: -14px; left: 28px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.plan h3 { margin: 0; font-size: 22px; }
.price { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 46px; margin: 12px 0 0; line-height: 1; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); font-family: "Inter", sans-serif; }
.yearly { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: 16px; }
.plan li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }
.plan li.off { color: #A3A8B3; }
.plan li.off::before { content: "–"; color: #A3A8B3; left: 4px; }
.small-print { color: var(--muted); font-size: 14px; margin-top: 24px; max-width: 860px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- contact ---------- */
.contact { background: var(--navy); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); }
.contact p { color: #D8DEEA; max-width: 560px; margin: 0 auto 28px; font-size: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #A3A8B3; padding: 34px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #D8DEEA; margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 84px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 40px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: #2C303A; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; background: var(--white); }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--cream); }
.callout { background: var(--white); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 8px; margin: 18px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .grid-4, .grid-2, .plans { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 68px; }
  section { padding: 60px 0; }
  .logo-word { font-size: 14px; }
}
