/* =========================================================
   Appomate — Landing Page
   Design tokens ported from the original theme
   ========================================================= */

:root {
  /* Core palette */
  --background: #0b1820;
  --foreground: #e8f2f7;
  --card: #122030;
  --muted: #1a3040;
  --muted-foreground: #7ba3b8;
  --input-background: #1a3040;
  --border: rgba(62, 206, 206, 0.12);
  --destructive: #d4183d;

  /* Accent colors */
  --primary: #3ecece;          /* teal */
  --primary-foreground: #0b1820;
  --teal: #3ecece;
  --amber: #e8a84c;
  --blue: #5b8fe8;
  --rose: #e85b8f;

  --radius: 0.625rem;          /* 10px */

  /* Type roles */
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Layout */
  --container-6xl: 72rem;      /* 1152px */
  --container-4xl: 56rem;      /* 896px  */
  --container-3xl: 48rem;      /* 768px  */
  --container-2xl: 42rem;      /* 672px  */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}
.container--6xl { max-width: calc(var(--container-6xl) + 48px); }
.container--4xl { max-width: calc(var(--container-4xl) + 48px); }
.container--3xl { max-width: calc(var(--container-3xl) + 48px); }
.container--2xl { max-width: calc(var(--container-2xl) + 48px); }

.text-muted { color: var(--muted-foreground); }
.text-teal  { color: var(--teal); }
.text-amber { color: var(--amber); }
.text-blue  { color: var(--blue); }
.text-rose  { color: var(--rose); }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Section rhythm */
.section {
  padding-block: 80px;
  padding-inline: 24px;
  border-top: 1px solid var(--border);
  position: relative;
}
.section--lg { padding-block: 96px; }
.section--overflow { overflow: hidden; }

/* Primary CTA button (teal-filled with dark text) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: calc(var(--radius) - 2px);
  transition: opacity 0.2s ease;
  line-height: 1;
}
.btn:hover { opacity: 0.9; }

.btn--teal {
  background: var(--teal);
  color: #0b1820;
}
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-lg   { font-size: 1rem;     padding: 16px 32px; }
.btn-md   { font-size: 1rem;     padding: 14px 28px; }
.btn-sm   { font-size: 0.875rem; padding: 10px 20px; }

.btn .icon { flex-shrink: 0; }

/* small check / x bubbles */
.icon-bubble {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 24, 32, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.nav__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: calc(var(--radius) - 2px);
  transition: opacity 0.2s ease;
}
.nav__cta:hover { opacity: 0.9; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 96px 24px;
}
.hero__grid-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(62, 206, 206, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 206, 206, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb { position: absolute; border-radius: 999px; pointer-events: none; }
.orb--teal {
  top: -128px; left: -128px; width: 384px; height: 384px;
  background: radial-gradient(circle, rgba(62, 206, 206, 0.133) 0%, transparent 70%);
}
.orb--blue {
  top: 40px; right: 0; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(91, 143, 232, 0.125) 0%, transparent 70%);
}
.orb--amber {
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 160px; border-radius: 0;
  background: radial-gradient(ellipse, rgba(232, 168, 76, 0.078) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: calc(var(--container-6xl) + 85px);
  margin-inline: auto;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--amber);
  border: 1px solid rgba(232, 168, 76, 0.25);
  background: rgba(232, 168, 76, 0.05);
  line-height: 1.4;
}
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 3.75rem;      /* 60px */
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero__cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero__cta-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.hero__media { display: none; }
.hero__media-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(62, 206, 206, 0.094),
    0 0 0 1px rgba(62, 206, 206, 0.125);
}
.hero__media-frame img { width: 100%; height: auto; }

/* =========================================================
   PROBLEM  ("Sound familiar?")
   ========================================================= */
.problem {
  position: relative;
  overflow: hidden;
}
.problem__stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(139, 92, 246, 0.03) 40px,
    rgba(139, 92, 246, 0.03) 41px
  );
}
.problem__glow {
  position: absolute;
  top: -80px; left: -80px;
  width: 288px; height: 288px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 91, 143, 0.094) 0%, transparent 70%);
}

.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3rem;           /* 48px */
  line-height: 1;
  color: var(--foreground);
}
.section-head p {
  color: var(--muted-foreground);
  margin-top: 12px;
  font-size: 1.125rem;
  max-width: 36rem;
}

.pain-grid {
  display: grid;
  gap: 12px;
}
.pain-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 20px;
  background: rgba(232, 91, 143, 0.031);
  border: 1px solid rgba(232, 91, 143, 0.133);
  border-left: 3px solid var(--rose);
}
.pain-card__x {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(232, 91, 143, 0.145);
  color: var(--rose);
}
.pain-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.truth {
  margin-top: 40px;
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #122030 60%, rgba(232, 168, 76, 0.07) 100%);
  border: 1px solid rgba(232, 168, 76, 0.19);
}
.truth__corner {
  position: absolute;
  top: 0; right: 0;
  width: 128px; height: 128px;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(232, 168, 76, 0.125) 0%, transparent 70%);
}
.truth p { position: relative; line-height: 1.65; font-size: 1rem; }
.truth p:first-of-type { color: var(--foreground); }
.truth p + p { margin-top: 12px; color: var(--muted-foreground); }
.truth__lead { font-weight: 700; color: var(--amber); }

/* =========================================================
   AUTHORITY BRIDGE  ("We see this every week")
   ========================================================= */
.authority__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}
.authority__copy h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.25rem;        /* 36px */
  margin-bottom: 16px;
  line-height: 1;
}
.authority__copy p {
  color: var(--muted-foreground);
  line-height: 1.65;
}
.authority__copy p + p { margin-top: 16px; }

.authority__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}
.stat-card {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 13%, transparent);
  border-radius: calc(var(--radius) - 2px);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 176px;
}
.stat-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  margin-bottom: 4px;
  line-height: 1;
  color: var(--accent, var(--teal));
}
.stat-card__label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   4R METHOD
   ========================================================= */
.method__grid {
  display: grid;
  gap: 20px;
}
.method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--accent, var(--teal));
}
.method-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.method-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent, var(--teal));
}
.method-card__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}
.method-card__desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}
.method-card__value {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: auto;
  color: var(--accent, var(--teal));
}

/* =========================================================
   WHAT YOU WALK AWAY WITH
   ========================================================= */
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.25rem;        /* 36px */
  margin-bottom: 40px;
}
.walkaway-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.walk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 16px 24px;
  border-left: 3px solid var(--accent, var(--teal));
}
.walk-item .icon-bubble {
  width: 24px;
  height: 24px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 15%, transparent);
  color: var(--accent, var(--teal));
}
.walk-item span:last-child { color: var(--foreground); }

.guarantee {
  margin-top: 32px;
  border: 1px solid rgba(62, 206, 206, 0.2);
  background: var(--card);
  border-radius: calc(var(--radius) - 2px);
  padding: 24px;
}
.guarantee p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.guarantee strong { color: var(--foreground); font-weight: 600; }

/* =========================================================
   ABOUT APPOMATE
   ========================================================= */
.about {
  text-align: center;
}
.about__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(62, 206, 206, 0.063) 0%, transparent 70%);
}
.about__inner { position: relative; max-width: calc(var(--container-3xl) + 48px); }
.about h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 16px 0;
}
.about__lead {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 auto 64px;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.about-stat {
  border-radius: 12px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 15%, transparent);
}
.about-stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent, var(--teal));
}
.about-stat__label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f2235 0%, #0b1820 40%, #12200f 100%);
}
.pricing__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(232, 168, 76, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.pricing__glow-amber {
  position: absolute;
  bottom: -96px; left: -96px;
  width: 320px; height: 320px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 168, 76, 0.125) 0%, transparent 65%);
}
.pricing__glow-teal {
  position: absolute;
  top: -64px; right: 0;
  width: 288px; height: 288px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(62, 206, 206, 0.07) 0%, transparent 65%);
}
.pricing__inner {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: start;
}
.pricing__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;         /* 72px */
  color: var(--amber);
  margin-top: 12px;
  line-height: 1;
}
.pricing__gst { color: var(--muted-foreground); font-size: 0.875rem; margin-top: 4px; }
.pricing__features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.pricing__features li { display: flex; gap: 8px; align-items: flex-start; }
.pricing__features .icon { margin-top: 2px; flex-shrink: 0; color: var(--teal); }

.compare__label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.compare__col { display: flex; flex-direction: column; gap: 16px; }
.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 16px 20px;
}
.compare-card__k {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-card__v { color: var(--foreground); font-weight: 600; margin-top: 4px; }

/* =========================================================
   WHO IT'S FOR
   ========================================================= */
.who__grid {
  display: grid;
  gap: 32px;
}
.who h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.who h3.is-for { color: var(--teal); }
.who h3.not-for { color: var(--muted-foreground); }
.who ul { display: flex; flex-direction: column; gap: 12px; }
.who li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.who li .icon { margin-top: 2px; flex-shrink: 0; }
.who li .icon.check { color: var(--teal); }
.who li .icon.cross { color: var(--destructive); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
  color: inherit;
}
.faq-item:hover { border-color: rgba(62, 206, 206, 0.4); }
.faq-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.faq-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item__q { font-weight: 600; color: var(--foreground); }
.faq-item__chevron {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
  margin-top: 12px;
  color: var(--muted-foreground);
  line-height: 1.65;
  display: none;
}
.faq-item[aria-expanded="true"] .faq-item__a { display: block; }

/* =========================================================
   FINAL CTA + FORM
   ========================================================= */
.final { position: relative; overflow: hidden; }
.final__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(62, 206, 206, 0.08) 0%, transparent 70%);
}
.final__inner { position: relative; max-width: calc(var(--container-2xl) + 48px); }
.final h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 2.25rem;        /* 36px */
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.05;
}
.final__intro {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground);
}
.final__intro strong { font-weight: 700; }

.form, .hbspt-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}
.field input,
.field textarea,
.field select {
  background: var(--input-background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 12px 16px;
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(123, 163, 184, 0.5); }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: none; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237ba3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form__submit {
  margin-top: 8px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: calc(var(--radius) - 2px);
  transition: opacity 0.2s ease;
}
.form__submit:hover { opacity: 0.9; }
.form__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.form-success {
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(62, 206, 206, 0.3);
  border-radius: 12px;
  padding: 40px;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(62, 206, 206, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}
.form-success h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--muted-foreground); line-height: 1.6; }
.is-hidden { display: none !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__logo { height: 32px; width: auto; object-fit: contain; }
.footer__copy { font-size: 0.75rem; color: var(--muted-foreground); }

/* =========================================================
   RESPONSIVE — sm (>=640px)
   ========================================================= */
@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }

  .hero__cta-row { flex-direction: row; align-items: center; }

  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .method__grid { grid-template-columns: repeat(2, 1fr); }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { flex-direction: row; }
}

/* =========================================================
   RESPONSIVE — md (>=768px)
   ========================================================= */
@media (min-width: 768px) {
  .section-head h2 { font-size: 3rem; }        /* 60px */
  .authority__copy h2 { font-size: 3rem; }        /* 48px */
  .section-title { font-size: 3rem; }             /* 48px */
  .about h2 { font-size: 3rem; }                  /* 48px */
  .final h2 { font-size: 3.75rem; }               /* 60px */

  .authority__inner { flex-direction: row; }
  .authority__copy,
  .authority__stats { width: 50%; }

  .truth { padding: 36px; }

  .pricing__inner { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   RESPONSIVE — lg (>=1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .hero__title { font-size: 4.5rem; }             /* 72px */
  .hero__inner { grid-template-columns: repeat(2, 1fr); }
  .hero__media { display: block; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Contact Form 7 bridging ---- */

/* CF7 wraps each control in a span — make it fill the field column */
.form .wpcf7-form-control-wrap { display: block; width: 100%; }

/* Re-assert the field styling over CF7 / theme defaults */
.form .field input.wpcf7-form-control,
.form .field textarea.wpcf7-form-control,
.form .field select.wpcf7-form-control {
  width: 100%;
  background: var(--input-background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 12px 16px;
  color: var(--foreground);
  font-size: 0.875rem;
}
.form .field textarea.wpcf7-form-control { resize: none; }

/* keep the custom dropdown arrow */
.form .field select.wpcf7-form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237ba3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* focus state */
.form .field input.wpcf7-form-control:focus,
.form .field textarea.wpcf7-form-control:focus,
.form .field select.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* validation */
.form .wpcf7-not-valid { border-color: var(--destructive) !important; }
.wpcf7-not-valid-tip { color: #ff8ba7; font-size: 0.75rem; margin-top: 4px; }

/* success / error banner (CF7 appends this at the end of the form) */
.wpcf7-response-output {
  margin: 4px 0 0 !important;
  padding: 12px 16px !important;
  border-width: 1px !important;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: rgba(62, 206, 206, 0.4) !important;
  background: rgba(62, 206, 206, 0.08);
  color: var(--foreground);
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  border-color: var(--destructive) !important;
  background: rgba(212, 24, 61, 0.08);
  color: #ffb3c3;
}
.wpcf7-spinner { margin: 0 0 0 8px; }