/* ===================================================================
   Right Tech Soft — global design tokens
   Source of truth: https://righttechsoft.com/ (read 2026-10-27)
   Gilroy is a commercial typeface we cannot license/self-host here;
   Sora is used as the closest free geometric-sans substitute at the
   same weights (400/500/700/800) the source site uses.
   =================================================================== */

:root {
  /* ---- Brand colour palette (measured from the live site) ---- */
  --color-bg: #07090F;              /* page background */
  --color-bg-elevated: #0E141F;     /* footer / elevated panels */
  --color-bg-header: rgba(7, 9, 15, 0.72); /* fixed header, glassy */
  --color-surface: #11161F;         /* cards / inputs on dark bg */
  --color-border: rgba(234, 240, 247, 0.12);

  --color-text: #EAF0F7;            /* primary text on dark */
  --color-text-secondary: #C2CBD9;  /* body copy */
  --color-text-muted: #9098A8;      /* captions, labels */

  --color-accent: #65FFB0;          /* signature mint/green */
  --color-accent-contrast: #042018; /* text sat on top of accent */
  --color-black: #000000;
  --color-light: #E8ECF1;
  --color-error: #FF8A80;
  --color-success: var(--color-accent);

  /* ---- Typography ---- */
  --font-family-base: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-size-h1: 60px;   --line-height-h1: 63px;   --font-weight-h1: 800;
  --font-size-h2: 42px;   --line-height-h2: 48px;   --font-weight-h2: 800;
  --font-size-h3: 16px;   --line-height-h3: 21px;   --font-weight-h3: 700;
  --font-size-body: 19px; --line-height-body: 32px; --font-weight-body: 400;
  --font-size-link: 17px; --line-height-link: 28px; --font-weight-link: 400;
  --font-size-button: 14px; --line-height-button: 23px; --font-weight-button: 600;
  --letter-spacing-eyebrow: 0.08em;

  /* ---- Spacing scale (8px base unit) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Radius / shape ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* ---- Layout ---- */
  --container-width: 1280px;
  --header-height: 78px;

  /* ---- Shadows / effects ---- */
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);
  --focus-ring: 0 0 0 3px rgba(101, 255, 176, 0.45);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }

/* ---- Typography elements ---- */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-family-base);
}
h1 {
  font-size: clamp(2.25rem, 1rem + 6vw, var(--font-size-h1));
  line-height: 1.05;
  font-weight: var(--font-weight-h1);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.75rem, 1rem + 4vw, var(--font-size-h2));
  line-height: 1.15;
  font-weight: var(--font-weight-h2);
  letter-spacing: -0.01em;
}
h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}
@media (min-width: 700px) {
  h1 { line-height: var(--line-height-h1); }
  h2 { line-height: var(--line-height-h2); }
}
p { margin: 0; }
a {
  color: var(--color-text);
  font-size: var(--font-size-link);
  line-height: var(--line-height-link);
  font-weight: var(--font-weight-link);
  text-decoration: none;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family-base);
  font-size: var(--font-size-button);
  line-height: var(--line-height-button);
  font-weight: var(--font-weight-button);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-text); }

.btn-sm { padding: var(--space-2) var(--space-4); font-size: 13px; }
.btn-lg { padding: var(--space-4) var(--space-7); font-size: 15px; }

/* ---- Form fields (opt-in forms, etc.) ---- */
input, textarea, select {
  font-family: var(--font-family-base);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}
input::placeholder, textarea::placeholder { color: var(--color-text-muted); }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--color-accent); }

/* =================================================================
   Landing page: header
   ================================================================= */
.site-header {
  background: var(--color-bg-header);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-4);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo__right { color: var(--color-text); }
.logo__tech { color: var(--color-accent); }
.logo__soft { color: var(--color-text-muted); font-weight: 600; }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-9) var(--space-8);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(101, 255, 176, 0.14), transparent 70%),
    var(--color-bg);
}
.hero__inner {
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__inner h1 { margin-top: var(--space-4); }
.hero__subhead {
  margin-top: var(--space-5);
  max-width: 600px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-text);
}
.hero__body {
  margin-top: var(--space-4);
  max-width: 640px;
  color: var(--color-text-secondary);
}
.hero__actions { margin-top: var(--space-7); }

/* ---- 404 / error state ---- */
.hero--error {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-9);
}
.error__code {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  opacity: 0.9;
}
.hero--error .eyebrow { margin-top: var(--space-4); }
.hero--error h1 { margin-top: var(--space-3); }

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-6) 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__trust-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: rgba(101, 255, 176, 0.16);
  color: var(--color-accent);
  font-size: 11px;
}

/* =================================================================
   Testimonial
   ================================================================= */
.testimonial {
  background: var(--color-bg-elevated);
  padding-block: var(--space-8);
}
.testimonial__inner {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial__mark {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-text);
  font-weight: 500;
}
.testimonial footer {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
}
.testimonial__role {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* =================================================================
   Opt-in form
   ================================================================= */
.optin { padding-block: var(--space-9); }
.optin__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
.optin__copy p { margin-top: var(--space-4); max-width: 480px; }
.optin__copy h2 { margin-top: var(--space-3); }

.form-card {
  display: grid;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input { width: 100%; }
.form-card__submit { width: 100%; margin-top: var(--space-2); }

.form-message {
  margin: 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 600;
}
.form-message.is-success { color: var(--color-success); }
.form-message.is-error { color: var(--color-error); }

@media (min-width: 860px) {
  .optin__inner { grid-template-columns: 1fr 440px; gap: var(--space-9); text-align: left; }
  .optin__copy { text-align: left; padding-top: var(--space-4); }
}

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-7);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
.site-footer__legal {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* =================================================================
   Booking page (step 2, after the audit form)
   ================================================================= */
.site-header__step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.booking-hero { padding-block: var(--space-8) var(--space-6); }
.booking-hero h1 { font-size: clamp(2rem, 1rem + 4vw, 48px); line-height: 1.1; }

.booking { padding-block: var(--space-6) var(--space-9); }
.booking__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

.booking__calendar {
  min-height: 640px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.booking__calendar iframe { width: 100%; border: 0; }
.booking__placeholder {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.booking__aside-title { font-size: 24px; line-height: 1.2; }
.booking__steps {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}
.booking__steps li { display: flex; gap: var(--space-4); align-items: flex-start; }
.booking__steps h3 { color: var(--color-text); }
.booking__steps p { margin-top: var(--space-1); font-size: 16px; line-height: 1.5; }
.booking__step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(101, 255, 176, 0.16);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}
.booking__trust { justify-content: flex-start; flex-direction: column; margin-top: var(--space-6); }

@media (min-width: 960px) {
  .booking__inner { grid-template-columns: 1fr 360px; gap: var(--space-8); }
  .booking__aside { padding-top: var(--space-2); }
}

/* =================================================================
   Footer links
   ================================================================= */
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}
.site-footer__links a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.site-footer__links a:hover { color: var(--color-accent); }

/* =================================================================
   Guarantee asterisk + tooltip
   ================================================================= */
.guarantee-note {
  position: relative;
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  color: var(--color-accent);
  cursor: help;
  padding-inline: 2px;
}
.guarantee-note::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 220px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  white-space: normal;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}
.guarantee-note:hover::after,
.guarantee-note:focus-visible::after { opacity: 1; visibility: visible; }
.guarantee-note:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* =================================================================
   Legal pages (guarantee terms)
   ================================================================= */
.legal-hero {
  padding-block: var(--space-8) var(--space-6);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(101, 255, 176, 0.10), transparent 70%),
    var(--color-bg);
}
.legal__inner { max-width: 820px; }
.legal-hero h1 { margin-top: var(--space-3); font-size: clamp(2rem, 1rem + 4vw, 48px); line-height: 1.1; }
.legal__updated { margin-top: var(--space-3); font-size: 14px; color: var(--color-text-muted); }

.legal { padding-block: var(--space-6) var(--space-9); }
.legal h2 {
  margin-top: var(--space-8);
  font-size: 24px;
  line-height: 1.25;
}
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p { margin-top: var(--space-4); }
.legal ul { margin: var(--space-4) 0 0; padding-left: var(--space-5); display: grid; gap: var(--space-3); }
.legal a { font-size: inherit; line-height: inherit; color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--color-text); }

.legal__summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.legal .legal__summary h2 { margin-top: 0; font-size: 20px; }
.legal__summary p { font-size: 15px; color: var(--color-text-muted); }

/* =================================================================
   Booking picker (custom Zoho Bookings front end)
   ================================================================= */
.picker [hidden] { display: none !important; }
.picker__tz { font-size: 14px; line-height: 1.4; color: var(--color-text-muted); }
.picker__status { font-size: 16px; line-height: 1.5; color: var(--color-text-secondary); }
.picker__tz + .picker__status:not([hidden]) { margin-top: var(--space-3); }
.picker__heading {
  margin: var(--space-6) 0 var(--space-3);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.picker__tz + div > .picker__heading,
.picker__status + div > .picker__heading { margin-top: var(--space-4); }

.picker__days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: var(--space-2);
}
.picker__times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: var(--space-2);
}
.picker__day, .picker__time {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.picker__day:hover, .picker__time:hover { border-color: var(--color-text-muted); }
.picker__day:focus-visible, .picker__time:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.picker__day[aria-pressed="true"], .picker__time[aria-pressed="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-contrast);
}
.picker__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3) var(--space-2);
  line-height: 1.2;
}
.picker__day-wd, .picker__day-mo { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.picker__day-num { font-size: 22px; font-weight: 800; padding-block: 2px; }
.picker__time { padding: var(--space-3) var(--space-2); font-size: 15px; font-weight: 600; }

.picker__confirm { display: grid; gap: var(--space-4); }
.picker__confirm .picker__heading { margin-bottom: 0; }
.picker__summary { font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--color-text); }
.picker__submit { width: 100%; }

.picker__done { text-align: center; padding: var(--space-8) var(--space-4); outline: none; }
.picker__done h2 { margin-top: var(--space-4); }
.picker__done p { margin-top: var(--space-3); }
.picker__done a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
#picker-done-when { font-size: 20px; font-weight: 600; color: var(--color-text); }
.picker__done-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(101, 255, 176, 0.16);
  color: var(--color-accent);
}
