/* ==========================================================================
   High Realm Graphics — Starter Landing Page
   Matches the fonts, colors and button style of highrealmgraphics.com.
   Typography-led layout; the only image is the existing HRG logo.
   ========================================================================== */

:root {
  /* Colors (same values as the main site) */
  --brand: #00acb2;     /* HRG teal */
  --teal: #007c83;      /* buttons, links */
  --teal-d: #05656b;    /* hover */
  --deep: #0e3a3f;      /* dark sections, footer */
  --ink: #16292c;       /* headings */
  --txt: #455a5e;       /* body text */
  --bg: #fbfdfd;        /* page background */
  --tint: #e8f6f6;      /* soft teal panels */
  --line: #d8e6e7;      /* borders */
  --aqua: #5fd6da;      /* accent on dark backgrounds */
  --white: #ffffff;
  --error: #a63d2f;
  --error-tint: #fbeae7;

  /* Type */
  --h: "Plus Jakarta Sans", "Open Sans", Arial, sans-serif;
  --b: "Open Sans", Arial, sans-serif;

  /* Shape and layout */
  --r: 16px;
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 9vw, 7rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--b);
  font-size: 17px;
  line-height: 1.7;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--h);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.45rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.025em; max-width: 24ch; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }

p { margin: 0 0 1.1em; max-width: 65ch; }

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-d); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-family: var(--h);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--aqua); }

.section { padding: var(--section-space) 0; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

/* Buttons: pill-shaped, like the main site */
.btn {
  display: inline-block;
  font-family: var(--h);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 14px 28px;
  border-radius: 99px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-d); color: var(--white); }

.btn-white { background: var(--white); color: var(--deep); }
.btn-white:hover { background: var(--tint); color: var(--deep); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-outline { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: var(--white); }

.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 253, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.logo img { display: block; width: 180px; height: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.btn) {
  font-family: var(--h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-list a:not(.btn):hover { color: var(--teal); }

@media (max-width: 860px) {
  .nav-list li:not(:last-child) { display: none; }
  .logo img { width: 150px; }
}

/* ---------- 1. Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(0, 172, 178, 0.45), transparent 70%),
    linear-gradient(160deg, #0e3a3f 0%, #0b4c52 55%, #05656b 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(4.5rem, 10vw, 6.5rem) 0 clamp(4rem, 9vw, 5.5rem);
}
.hero h1 { color: var(--white); max-width: 20ch; }
.hero h1 span { color: var(--aqua); }
.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 3rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}
.hero-proof strong { color: var(--white); font-family: var(--h); font-weight: 700; }
/* Centered hero (no graphic) */
.hero-inner { text-align: center; }
.hero h1 { margin-left: auto; margin-right: auto; max-width: 24ch; }
.hero .eyebrow { margin-left: auto; margin-right: auto; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero-actions, .hero-proof { justify-content: center; }
.hero-proof { max-width: 52rem; margin-left: auto; margin-right: auto; }

/* ---------- 2. Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}
.problem-item {
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--brand);
}
.problem-item p { margin: 0; }

/* ---------- 3. Solution ---------- */
.solution { background: var(--tint); }
.solution-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem 4.5rem;
  align-items: start;
}
.solution-intro { position: sticky; top: 7rem; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.checklist li {
  position: relative;
  padding: 1.2rem 0 1.2rem 2.4rem;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007c83' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.checklist strong {
  display: block;
  font-family: var(--h);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.scope-note {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--r);
}
.scope-note h3 { margin-bottom: 0.4rem; }
.scope-note p { margin: 0; max-width: 80ch; }
.scope-note strong { color: var(--ink); }

@media (max-width: 860px) {
  .solution-inner { grid-template-columns: 1fr; }
  .solution-intro { position: static; }
}

/* ---------- 4. Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.75rem;
  margin-top: 2.75rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
}
.price-card--featured {
  border: 2px solid var(--teal);
  box-shadow: 0 22px 44px -28px rgba(14, 58, 63, 0.45);
}
.price-tag {
  font-family: var(--h);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt);
  margin-bottom: 0.6rem;
}
.price-card--featured .price-tag { color: var(--teal); }
.price-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.6rem; }
.price { margin-bottom: 0.4rem; }
.price-amount {
  font-family: var(--h);
  font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.85rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period { margin-left: 0.35rem; }
.price-note { font-size: 0.95rem; margin-bottom: 1.5rem; }

.price-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  flex-grow: 1;
}
.price-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1.05rem;
  height: 1.05rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300acb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-terms {
  font-size: 0.9rem;
  background: var(--tint);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.price-terms strong { color: var(--ink); }

.pricing .pricing-grid { max-width: 54rem; }
.price-terms--wide { max-width: 54rem; margin: 1.75rem 0 0; }

.addons-title { font-size: 1.3rem; margin: 3rem 0 1.25rem; }
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
}
.addon-card { padding: 1.6rem 1.75rem; }
.addon-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.addon-head h4 { font-family: var(--h); font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 0; }
.addon-tag {
  display: table;
  margin-top: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  background: var(--tint);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.addon-price { font-family: var(--h); font-size: 1.35rem; font-weight: 800; color: var(--teal); margin: 0; white-space: nowrap; }
.addon-price span { font-family: var(--b); font-size: 0.85rem; font-weight: 400; color: var(--txt); }
.addon-card p:last-child { margin: 0; font-size: 0.95rem; }

.text-link {
  font-family: var(--h);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin: 2.75rem 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.75rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--h);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 2.6rem;
  text-align: center;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 3.4rem;
  right: -0.75rem;
  height: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps p { margin: 0; font-size: 0.96rem; }
@media (max-width: 960px) {
  .steps li::after { display: none; }
}

/* ---------- Who builds it ---------- */
.about { background: var(--white); border-top: 1px solid var(--line); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem 4.5rem;
  align-items: center;
}
.about-photo img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--r);
}
.about-titles {
  font-family: var(--h);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
  margin-top: 1.5rem;
}
.badges img { width: 48px; height: 48px; object-fit: contain; }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.quote {
  margin: 0;
  padding: 1.75rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--ink);
}
.quote figcaption { font-size: 0.85rem; }
.quote figcaption strong { display: block; font-family: var(--h); color: var(--ink); font-size: 0.95rem; }

@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo img { max-width: 260px; }
}

/* ---------- 5. FAQ ---------- */
.faq { background: var(--tint); }
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem 4.5rem;
  align-items: start;
}
.disclaimer {
  margin-top: 1.75rem;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.disclaimer h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.disclaimer p { font-size: 0.93rem; margin: 0; }

.faq-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.25rem 1.75rem;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-family: var(--h);
  font-weight: 700;
  color: var(--ink);
  padding: 1.25rem 2.5rem 1.25rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1.75rem;
  text-align: center;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list summary:hover { color: var(--teal); }
.faq-list details p { padding-right: 2.5rem; margin-top: -0.25rem; margin-bottom: 1.4rem; }

@media (max-width: 860px) {
  .faq-inner { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(800px 380px at 10% 110%, rgba(0, 172, 178, 0.3), transparent 70%),
    var(--deep);
  color: rgba(255, 255, 255, 0.85);
}
.contact h2 { color: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem 4.5rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  color: var(--txt);
  border-radius: var(--r);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-family: var(--h);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.req { color: var(--error); }
.optional { font-family: var(--b); font-weight: 400; color: var(--txt); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #c3d6d8;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 172, 178, 0.2);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.checkbox-field input { width: 1.15rem; height: 1.15rem; accent-color: var(--teal); margin: 0.2rem 0 0; flex-shrink: 0; }
.checkbox-field label { margin: 0; font-family: var(--b); font-weight: 600; }

.form-hint { font-size: 0.85rem; margin-bottom: 1.25rem; }
.field-note { font-size: 0.85rem; margin: 0.45rem 0 0; }

/* Honeypot: visually hidden but not display:none (some bots skip those) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { margin-top: 1.25rem; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status--success,
.form-status--error {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border-left: 4px solid;
}
.form-status--success { background: var(--tint); color: var(--teal-d); border-color: var(--teal); }
.form-status--error { background: var(--error-tint); color: var(--error); border-color: var(--error); }
.form-status ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
}

/* ---------- 6. Footer ---------- */
.site-footer {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #a9c6c8;
  padding: 3.5rem 0 3rem;
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem 3rem;
}
.footer-name,
.footer-heading {
  font-family: var(--h);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.footer-heading { font-size: 0.8rem; font-weight: 700; }
.footer-links ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { color: #d7ecee; }
.site-footer a:hover { color: var(--white); }
.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin: 0.5rem 0 0;
  max-width: none;
  font-size: 0.85rem;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Standalone result page (form fallback when JavaScript is off) ---------- */
.result-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}
.result-page .container { max-width: 40rem; }
.result-page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); }
.result-page ul { color: var(--error); padding-left: 1.2rem; margin-bottom: 1.75rem; }
