/* Ayuda Hosting — redesign draft. Brand colors sourced from live site palette
   (deep navy #01245C, sky blue #097EDE, orange accent #FF7638). Structural
   patterns (dark hero, pain/relief cards, monospace eyebrows, sticky CTA)
   inspired by cloudflare.com's presentation of technical products. */

:root {
  --navy: #01245C;
  --navy-deep: #010f2b;
  --blue: #097EDE;
  --orange: #FF7638;
  --ink: #111417;
  --paper: #F5F6F4;
  --line: #e2e4df;
  --muted: #5b6570;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Lato", "Noto Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}
.eyebrow.on-dark { color: #ffb08a; }

/* Top utility bar — mirrors the existing site's portal links */
.utility-bar {
  background: var(--navy-deep);
  color: #cfe0ff;
  font-size: 13px;
}
.utility-bar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-bar a { text-decoration: none; opacity: 0.85; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }

/* Nav */
header.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--blue); }
nav.primary { display: flex; gap: 28px; align-items: center; }
nav.primary a { text-decoration: none; font-size: 15px; color: var(--ink); }
nav.primary a:hover { color: var(--blue); }
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #e5601f; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 20% -10%, #0a3a86 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
  padding: 96px 0 80px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero p.lead { font-size: 19px; color: #cfe0ff; max-width: 46ch; margin: 0 0 32px; }
.hero .cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .cta-row .fine { font-family: var(--mono); font-size: 13px; color: #9db6e0; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: #d7e4ff;
}
.hero-card .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.hero-card .row:last-child { border-bottom: none; }
.hero-card .row b { color: #fff; font-family: var(--sans); }

/* Section shell */
section { padding: 72px 0; }
section.on-dark { background: var(--ink); color: #f2f2f0; }
h2.section-title { font-size: 34px; margin: 0 0 16px; letter-spacing: -0.01em; }
p.section-lead { font-size: 17px; color: var(--muted); max-width: 62ch; margin: 0 0 40px; }
section.on-dark p.section-lead { color: #b9bcb8; }

/* Pain / relief cards */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: #181c1f;
  border: 1px solid #2a2f33;
  border-radius: 10px;
  padding: 22px;
}
.pain-card .quote {
  font-family: var(--mono);
  font-size: 13.5px;
  color: #ff9f7a;
  margin: 0 0 14px;
}
.pain-card .relief { font-size: 14.5px; color: #d8dad6; margin: 0; }
.pain-card .relief b { color: #6fd39a; }
.note-inline {
  font-size: 12px;
  color: #7d827e;
  margin-top: 28px;
  font-style: italic;
}

/* Four numbered value props (verbatim from ayudahosting.com.au) */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
}
.value-card .num {
  font-family: var(--mono);
  color: var(--blue);
  font-size: 13px;
  margin: 0 0 12px;
}
.value-card p { margin: 0; font-size: 15.5px; }

/* Who it's for */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { border-radius: 10px; padding: 28px; }
.fit-card.yes { background: #eaf4ff; border: 1px solid #bcdcff; }
.fit-card.no { background: #fff; border: 1px solid var(--line); }
.fit-card h3 { margin: 0 0 14px; font-size: 18px; }
.fit-card ul { margin: 0; padding-left: 20px; }
.fit-card li { margin-bottom: 8px; font-size: 15px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.testi-card p.quote { font-size: 15px; margin: 0 0 16px; flex: 1; }
.testi-card .attr { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.testi-card .attr b { color: var(--ink); font-family: var(--sans); }

/* Stat strip */
.stat-strip {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}
.stat-strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.stat { min-width: 180px; }
.stat .num { font-size: 30px; font-weight: 700; font-family: var(--mono); }
.stat .label { font-size: 13px; color: #b9cdf0; }

/* CTA band */
.cta-band {
  background: var(--orange);
  color: #201200;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: 30px; }
.cta-band p { margin: 0 0 28px; font-size: 16px; }
.cta-band .btn-dark { background: var(--navy-deep); }

/* Footer */
footer.site-footer { background: var(--navy-deep); color: #cfe0ff; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #8fb0e0; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: #dbe7fb; font-size: 14.5px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 13px;
  color: #7f97c2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Get-started page */
.page-header { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-header h1 { font-size: 36px; margin: 0 0 12px; }
.page-header p { color: #cfe0ff; max-width: 60ch; margin: 0; font-size: 16px; }

.form-shell { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
form.qualify {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
}
form.qualify .field { margin-bottom: 20px; }
form.qualify label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
form.qualify input,
form.qualify select,
form.qualify textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid #cfd3ce;
  border-radius: 6px;
  background: #fbfbfa;
}
form.qualify .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.qualify .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
form.qualify button.btn-primary { width: 100%; padding: 14px; font-size: 16px; margin-top: 4px; }

.side-panel {
  background: #eaf4ff;
  border: 1px solid #bcdcff;
  border-radius: 10px;
  padding: 26px;
}
.side-panel h3 { margin: 0 0 12px; font-size: 17px; }
.side-panel ul { margin: 0 0 20px; padding-left: 20px; }
.side-panel li { margin-bottom: 8px; font-size: 14.5px; }
.side-panel .direct { border-top: 1px solid #bcdcff; padding-top: 16px; font-size: 14.5px; }
.side-panel .direct a { color: var(--blue); font-weight: 700; text-decoration: none; }

.confirm-state {
  display: none;
  background: #eafff2;
  border: 1px solid #a7e6bf;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}
.confirm-state.show { display: block; }
.confirm-state h3 { margin: 0 0 10px; }

@media (max-width: 860px) {
  .hero .wrap, .pain-grid, .value-grid, .fit-grid, .testi-grid, .footer-grid, .form-shell {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 36px; }
  nav.primary { display: none; }
}
