/* =========================================================
   Wilkie’s Cloud Services — site styles
   Edit the colour/spacing variables below to adjust the look.
   ========================================================= */

:root {
  --navy-950: #071226;
  --navy-900: #0a1a33;
  --navy-800: #11274a;
  --navy-700: #1b3763;
  --blue-500: #2f8cff;
  --blue-600: #0f6fe6;
  --blue-400: #5ba4ff;
  --blue-50: #eef5ff;
  --ink: #0f1d33;
  --text: #3b4a61;
  --muted: #64748b;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --red: #d13438;
  --red-bg: #fde8e8;
  --amber: #b26a00;
  --amber-bg: #fff3d6;
  --green: #107c41;
  --green-bg: #e3f5ea;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(15, 29, 51, .05), 0 8px 24px rgba(15, 29, 51, .06);
  --shadow-lg: 0 2px 4px rgba(15, 29, 51, .06), 0 24px 48px rgba(15, 29, 51, .12);
  --container: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px rgba(47, 140, 255, .3); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9375rem; box-shadow: none; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 51, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.125rem; letter-spacing: .04em; }
.brand-text span { font-size: .8125rem; color: #b8c7de; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: #d5dfee; text-decoration: none; font-size: .9375rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: transparent; border: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s, background .2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .5rem 1.5rem 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .site-nav .btn { margin-top: 1rem; width: 100%; padding: .85rem 1.5rem; }
}

/* No-JS fallback: keep the mobile menu usable */
.no-js .nav-toggle { display: none; }
@media (max-width: 920px) {
  .no-js .site-nav { display: block; position: static; padding-top: 0; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d6ea;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 140, 255, .28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(47, 140, 255, .12), transparent 60%),
    var(--navy-900);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 60%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .accent { color: var(--blue-400); }
.hero .eyebrow { color: var(--blue-400); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); max-width: 34rem; color: #c9d6ea; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.75rem; }

.hero-facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03);
}
.hero-facts li { padding: 1rem 1.4rem; display: flex; flex-direction: column; }
.hero-facts li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.fact-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #8ea3c2; }
.fact-value { color: #fff; font-weight: 650; font-size: 1.0625rem; }

.hero-panel {
  margin: 0; background: rgba(17, 39, 74, .75); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.panel-head { display: flex; align-items: center; gap: .75rem; padding: .25rem .25rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.panel-title { color: #fff; font-weight: 600; font-size: .9375rem; }
.panel-tag { margin-left: auto; font-size: .75rem; color: #8ea3c2; border: 1px solid rgba(255, 255, 255, .15); padding: .15rem .6rem; border-radius: 999px; }
.panel-list { list-style: none; margin: 0; padding: .75rem 0 0; }
.panel-list li {
  display: flex; align-items: center; gap: .9rem; padding: .8rem .5rem; color: #dbe5f3; font-size: .9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.panel-list li:last-child { border-bottom: 0; }
.hero-panel figcaption { font-size: .8125rem; color: #8ea3c2; padding: .75rem .5rem 0; }

/* RAG pills */
.rag {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 999px; min-width: 4.6rem; justify-content: center;
}
.rag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rag-red { color: var(--red); background: var(--red-bg); }
.rag-amber { color: var(--amber); background: var(--amber-bg); }
.rag-green { color: var(--green); background: var(--green-bg); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: 0; margin-top: -2.5rem; position: relative; z-index: 2; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.steps li { padding: 1.75rem 1.5rem; }
.steps li + li { border-left: 1px solid var(--line); }
.steps h3 { margin: .9rem 0 .4rem; }
.steps p { font-size: .9688rem; margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: .9375rem;
}

/* Review grid */
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-grid .card {
  display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; color: var(--ink); font-weight: 550;
  transition: border-color .15s, transform .15s;
}
.review-grid .card:hover { border-color: #bcd6fb; transform: translateY(-2px); }
.card-muted { background: var(--bg-alt); box-shadow: none; color: var(--muted) !important; }
.icon {
  flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: var(--blue-50);
  fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Report */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.rag-key { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: .75rem; }
.rag-key li { display: flex; align-items: center; gap: 1rem; }
.rag-key strong { color: var(--ink); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6fe6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.ticks strong { color: var(--ink); }

.finding { padding: 2rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); }
.finding-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.finding-head h3 { margin: 0; font-size: 1.25rem; }
.finding dl { margin: 0; }
.finding dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 1.1rem; }
.finding dd { margin: .3rem 0 0; color: var(--ink); }
.finding-note { margin: 1.5rem 0 0; font-size: .8125rem; color: var(--muted); }

/* Offer */
.offer {
  max-width: 620px; margin: 0 auto; padding: 2.5rem; text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.badge {
  display: inline-block; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: .8125rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px;
}
.price { margin: 1rem 0 .25rem; display: flex; align-items: baseline; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.amount { font-size: clamp(3rem, 7vw, 4rem); font-weight: 750; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.per { color: var(--muted); font-weight: 500; }
.offer-sub { color: var(--ink); font-weight: 600; margin-bottom: 2rem; }
.offer-list { text-align: left; margin: 0 auto 2.25rem; max-width: 440px; }
.offer-foot { margin: 1.25rem 0 0; font-size: .9375rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.founder { margin: 0; }
.founder img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 480 / 560; object-fit: cover; }
.about-quote {
  border-left: 3px solid var(--blue-500); padding: .25rem 0 .25rem 1.25rem; margin: 1.75rem 0;
  font-size: 1.125rem; font-weight: 600; color: var(--ink);
}
.about-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.about-meta span {
  font-size: .875rem; color: var(--text); background: #fff; border: 1px solid var(--line);
  padding: .35rem .85rem; border-radius: 999px;
}

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.faq details[open] { border-color: #bcd6fb; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 3.25rem 1.2rem 1.5rem; position: relative;
  font-weight: 600; color: var(--ink); border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.5rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 1.5rem 1.25rem; margin: 0; }

/* Contact */
.section-dark {
  color: #c9d6ea; position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 0% 0%, rgba(47, 140, 255, .2), transparent 60%), var(--navy-900);
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--blue-400); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact-points { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: .6rem; }
.contact-points li { display: flex; align-items: center; gap: .75rem; color: #fff; }
.contact-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); flex: none; }
.contact-email a { color: #fff; font-weight: 600; word-break: break-word; }
.contact-email a:hover { color: var(--blue-400); }

.contact-form { padding: 2rem; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid #d3dce8; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 140, 255, .18);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.form-note { font-size: .875rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c9; padding: 2.75rem 0 2rem; font-size: .9375rem; }
.disclaimer {
  color: #c9d6ea; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: .9375rem; background: rgba(255, 255, 255, .02);
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; }
.site-footer a { color: #d5dfee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-small { font-size: .8125rem; color: #7d8fab; margin: 1.5rem 0 0; }

/* ---------- Simple pages (thank-you, privacy, 404) ---------- */
.page-simple { min-height: calc(100vh - 72px); display: flex; flex-direction: column; }
.page-simple main { flex: 1; }
.simple-hero { padding: clamp(4rem, 10vw, 7rem) 0; }
.simple-card { max-width: 640px; margin: 0 auto; padding: clamp(2rem, 5vw, 3rem); text-align: center; box-shadow: var(--shadow-lg); }
.simple-card .check {
  width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--green-bg);
  display: grid; place-items: center;
}
.simple-card .check svg { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.next-steps { text-align: left; margin: 2rem 0; padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.next-steps h2 { font-size: 1.0625rem; margin-bottom: .9rem; }
.next-steps ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.prose h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.updated { color: var(--muted); font-size: .9375rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { max-width: 560px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .container { padding: 0 1.15rem; }
  .brand-text span { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 1.1rem; }
  .hero-facts li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .review-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
  .founder { max-width: 320px; }
  .offer, .contact-form, .finding { padding: 1.5rem; }
  .footer-row { flex-direction: column; }
}
