/* ============================================================
   Hill Solutions — business site
   Clean, corporate, whitespace-heavy.
   Brand palette derived from the Hill Solutions Ireland logo:
   gold hill, water blue, charcoal slate wordmark.
   No framework; single stylesheet.
   ============================================================ */

:root {
  --ink: #2b3742;
  --navy: #2f5578;
  --navy-deep: #22303d;
  --blue: #35698f;
  --blue-dark: #2b567a;
  --blue-soft: #eaf1f7;
  --sky: #f4f7fa;
  --white: #ffffff;
  --muted: #5c6e7e;
  --line: #d8e0e7;
  --gold: #e3a63c;
  --gold-dark: #a9741a;
  --gold-soft: #faf0d9;
  --note-bg: #fff8e8;
  --note-line: #e8cf96;
  --error: #b3261e;
  --ok: #1e7a46;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(34, 48, 61, 0.06), 0 8px 24px rgba(34, 48, 61, 0.07);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

code {
  font-family: "Cascadia Code", Consolas, "SF Mono", monospace;
  font-size: 0.9em;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--navy-deep); margin: 0 0 0.6em; font-weight: 650; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.62em 1.35em;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.8em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-deep); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 62px; width: auto; display: block; flex: 0 0 auto; }
.brand-text { font-weight: 650; font-size: 1.02rem; line-height: 1.1; }
.brand-text small {
  display: block; font-weight: 500; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.primary-nav {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.primary-nav > a {
  color: var(--ink); font-size: 0.94rem; font-weight: 550;
  padding: 8px 11px; border-radius: 7px; white-space: nowrap;
}
.primary-nav > a:hover { background: var(--sky); color: var(--blue-dark); text-decoration: none; }
.primary-nav .nav-cta { margin-left: 10px; white-space: nowrap; color: #fff; }
.primary-nav .nav-cta:hover { background: var(--sky); color: var(--blue-dark); text-decoration: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 40px; cursor: pointer; padding: 9px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--blue-soft) 0%, transparent 60%),
    linear-gradient(180deg, #fbfcfd 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.82rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); margin-bottom: 20px; }
.hero .lead { max-width: 46em; font-size: 1.13rem; color: #33424f; }
.accent { color: var(--gold-dark); }
.lead { font-size: 1.1rem; color: #33424f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-meta { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--sky); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 56em; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 10px; }
.section-action { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-head { padding: 76px 0 8px; }
.page-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 20em; }
.page-head .lead { max-width: 52em; margin-bottom: 8px; }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: #33424f; }
.card-accent { background: var(--gold-soft); border-color: #e2c98c; }
.card-accent h3 { color: var(--navy-deep); }
.card-accent p { color: #5c5136; }

/* ---------- Split (text + figure) ---------- */
.split {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
}
.split-reverse .screenshot-ph { order: -1; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 10px; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark);
  font-weight: 700; font-size: 0.95rem;
  border: 1px solid #e3c98b;
}
.steps > li::after {
  content: ""; position: absolute; left: 16px; top: 40px; bottom: 4px;
  width: 2px; background: var(--line);
}
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 4px; }
.steps-inline { max-width: 70em; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.step-card { position: relative; }
.step-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #3d2c07; font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Real product shots ---------- */
.product-shot { margin: 0; }
.product-shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  cursor: zoom-in;
}
.product-shot figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.product-shot .shot-show {
  display: block; margin: 14px auto 0;
  padding: 7px 18px;
  font-size: 0.88rem; font-weight: 600; font-family: inherit;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.product-shot .shot-show:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(16, 24, 32, 0.88);
  padding: 48px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  width: auto; height: auto;
  max-width: min(1800px, 94vw);
  max-height: 80vh;
  background: #fff; border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-hint { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }
body.lightbox-open { overflow: hidden; }

/* ---------- Screenshot placeholders ---------- */
.screenshot-ph {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 320px;
  background:
    repeating-linear-gradient(45deg, #edf2f6 0 14px, #f6f9fb 14px 28px);
  border: 2px dashed #b6c4d0;
  border-radius: var(--radius);
  color: var(--navy);
  text-align: center; padding: 28px;
}
.screenshot-wide { min-height: 260px; margin-top: 30px; }
.ph-icon { font-size: 2rem; color: #8ba3b8; }
.ph-label { font-weight: 650; }
.ph-note {
  font-size: 0.8rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- Proof strip ---------- */
.proof-strip {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  list-style: none; padding: 22px 28px; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proof-strip span {
  font-weight: 600; font-size: 0.95rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 9px;
}
.proof-strip span::before {
  content: "✓"; color: var(--gold-dark); font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(53, 105, 143, 0.45) 0%, transparent 55%),
    var(--navy-deep);
  color: #e8f0fb;
  border-top: 3px solid var(--gold);
  padding: 64px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b9c6d2; margin: 0; max-width: 34em; }

/* ---------- Lists ---------- */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #33424f; }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-dark); font-weight: 700;
}

.roadmap-list { list-style: none; padding: 0; }
.roadmap-list li {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: #33424f; font-weight: 550;
}
.roadmap-list li:last-child { border-bottom: 0; }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 11px;
}
.badge-roadmap { background: var(--note-bg); color: #8a6116; border: 1px solid var(--note-line); }
.badge-shipped { background: var(--blue-soft); color: var(--blue-dark); border: 1px solid #c3d2dd; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 30px;
}
.callout p { margin: 0; }
.callout-accent { background: var(--blue-soft); border: 1px solid #c3d2dd; }
.callout-accent h2 { font-size: 1.25rem; margin-bottom: 12px; }
.callout-note {
  background: var(--note-bg); border: 1px solid var(--note-line);
  color: #6b4d12;
}
.callout-note code { background: #fff; }

.fine-note { font-size: 0.88rem; color: var(--muted); }

/* ---------- Diagram ---------- */
.diagram {
  display: flex; align-items: stretch; gap: 18px;
  margin: 26px 0 14px;
}
.diagram-col { display: flex; flex-direction: column; gap: 10px; justify-content: center; flex: 0 1 auto; }
.diagram-col-main { flex: 1 1 auto; }
.diagram-box {
  background: var(--white);
  border: 1.5px solid #b6c4d0;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 650; color: var(--navy);
  font-size: 0.95rem; text-align: center;
}
.diagram-box small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; margin-top: 5px; line-height: 1.45; }
.diagram-box-main {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 110%);
  border-color: var(--navy); color: #fff;
  box-shadow: var(--shadow);
}
.diagram-box-main small { color: #c8d3dd; }
.diagram-box-dim { border-style: dashed; color: var(--muted); font-weight: 500; }
.diagram-arrow {
  align-self: center; font-size: 1.5rem; color: #8ba3b8; font-weight: 700;
}
.diagram-note { font-size: 0.95rem; color: var(--muted); max-width: 60em; }

/* ---------- Tech table ---------- */
.tech-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.tech-table th, .tech-table td {
  text-align: left; padding: 13px 20px; font-size: 0.97rem;
  border-bottom: 1px solid var(--line);
}
.tech-table th { background: var(--navy-deep); color: #fff; font-weight: 650; }
.tech-table td:first-child { font-weight: 650; color: var(--navy); width: 260px; }
.tech-table tr:last-child td { border-bottom: 0; }

/* ---------- Tiers ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 44px; align-items: stretch;
}
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.tier h2 { font-size: 1.3rem; margin-bottom: 6px; }
.tier-price { font-size: 2rem; font-weight: 700; color: var(--navy-deep); margin: 6px 0 2px; }
.tier-unit { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.tier .tick-list { margin-bottom: 22px; flex: 1; }
.tier-featured {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 26%);
  position: relative;
}
.tier-flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--blue); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px; padding: 4px 14px;
}
.pricing-extra { margin-top: 10px; }

/* ---------- Pricing comparison table ---------- */
.compare-heading { margin: 6px 0 16px; }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px;
}
.compare-table th, .compare-table td {
  padding: 11px 18px; font-size: 0.95rem; border-bottom: 1px solid var(--line); text-align: center;
}
.compare-table th { background: var(--navy-deep); color: #fff; font-weight: 650; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table td:first-child { font-weight: 600; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th:nth-child(3), .compare-table td:nth-child(3) { background: var(--blue-soft); }
.compare-table th:nth-child(3) { background: var(--blue); }
.compare-table .yes { color: var(--ok); font-weight: 700; }
.compare-table .no { color: #b9c3cd; }
.compare-note { font-size: 0.95rem; color: var(--muted); max-width: 72em; }
.compare-note strong { color: var(--navy-deep); }

/* ---------- Forms ---------- */
.license-form, .contact-form { margin-top: 6px; }
.license-form label, .contact-form label {
  display: block; font-weight: 650; color: var(--navy);
  margin-bottom: 7px; font-size: 0.95rem;
}
.license-row { display: flex; gap: 10px; flex-wrap: wrap; }
.license-row input { flex: 1 1 260px; }

input, select, textarea {
  font: inherit; color: var(--ink);
  border: 1.5px solid #b6c4d0; border-radius: 8px;
  padding: 11px 13px; width: 100%;
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 105, 143, 0.2);
}
textarea { resize: vertical; }
.req { color: var(--error); }

.form-status { min-height: 1.4em; font-weight: 550; margin: 12px 0; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }
.form-status.is-busy { color: var(--muted); }

.license-unlocked {
  margin-top: 18px; padding: 20px 22px;
  background: #eefaf2; border: 1px solid #bfe5cd; border-radius: var(--radius);
}
.license-unlocked .btn { margin-top: 8px; }
.license-unlocked .fine-note { margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .span-2 { grid-column: span 2; }
.contact-form .btn { margin-top: 6px; }
.contact-alt { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: #33424f; }

.version-box {
  margin-top: 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.version-box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.version-box p { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px;
  font-weight: 650; color: var(--navy-deep);
  list-style: none;
  position: relative; padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; color: var(--blue); font-weight: 600;
}
.faq[open] summary::after { content: "–"; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq p { padding: 16px 22px 18px; margin: 0; color: #33424f; }
.faq p + p { padding-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: #b9c6d2;
  padding: 54px 0 26px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer h3 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: #c8d3dd; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand p { color: #93a5b3; font-size: 0.95rem; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-logo { height: 84px; }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-text small { color: #93a5b3; }
.footer-fine { font-size: 0.85rem; color: #7c8f9d; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; font-size: 0.88rem; color: #93a5b3;
}
.footer-legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; gap: 6px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-reverse .screenshot-ph { order: 0; }
  .screenshot-ph { min-height: 240px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .diagram { flex-direction: column; align-items: center; }
  .diagram-arrow { transform: rotate(90deg); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
  .page-head { padding-top: 52px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tech-table td:first-child { width: auto; }
}
