@font-face {
  font-family: "Hubot Sans";
  src:
    url("/fonts/Hubot-Sans.woff2") format("woff2 supports variations"),
    url("/fonts/Hubot-Sans.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal italic;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans";
  src:
    url("/fonts/MonaSansVF[wdth,wght,opsz,ital].woff2") format("woff2 supports variations"),
    url("/fonts/MonaSansVF[wdth,wght,opsz,ital].woff2") format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal italic;
  font-display: swap;
}

:root {
  /* Font Families */
  --font-heading: "Hubot Sans", system-ui, sans-serif;
  --font-body: "Mona Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Typography Design Tokens */
  --text-h1-weight: 700;
  --text-h1-track: -0.036em;
  --text-h1-line: 1.02;
  --text-h2-weight: 680;
  --text-h2-track: -0.026em;
  --text-body-line: 1.58;
  --text-body-weight: 450;
  --text-label-track: 0.05em;
  --text-label-weight: 500;
  --text-label-transform: uppercase;

  /* Color Tokens (Coastal Organic Tech) */
  --bg: #F4F8F5;
  --bg-alt: #E7F0EC;
  --surface: #FFFFFF;
  --surface-soft: #F0F6F3;

  --text: #17363C;
  --text-secondary: #4E676D;
  --text-muted: #73868A;

  --hero-dark: #0F4F58;
  --hero-mid: #1B6A73;
  --hero-light: #5C9494;

  --hero-headline: #F3F7F4;
  --hero-body: #D7E6E1;
  --hero-label: #C3D8D2;

  --brand: #1B6A73;
  --brand-strong: #0F4F58;
  --brand-soft: #5C9494;
  --coastal-soft: #A8C3BC;

  --cta: #BE6644;
  --cta-hover: #9B5235;
  --cta-soft: #D48660;
  --cta-text: #FFF8F1;

  --sand: #DCCDBB;

  --line: #D2DFDA;
  --line-strong: #B9CBC5;

  --footer-dark: #0C424A;
  --footer-mid: #115A63;

  /* Layout & System */
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 12px 32px rgba(19, 56, 61, 0.08);
  --shadow-md: 0 20px 40px rgba(19, 56, 61, 0.12);
  --max-width: 1180px;
  --space-section: clamp(3.75rem, 8vw, 6.5rem);
  --space-gap: clamp(1.1rem, 3vw, 1.75rem);
}


/* Theme Modifiers */
.theme-operator {
  --bg: #F8FAFC; /* Mist / Cool White */
  --surface: #FFFFFF;
  --brand-strong: #0F4F58; /* Deeper contrast for text */
}

.theme-premium {
  --hero-dark: #0A3238; /* Richer, darker anchor teal */
  --brand: #1B6A73; 
  --shadow-md: 0 24px 56px rgba(10, 30, 33, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-synthesis-weight: none;
  font-synthesis-style: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-variation-settings: "wght" 450, "wdth" 102, "opsz" 14;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(27, 106, 115, 0.045), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(92, 148, 148, 0.035), transparent 24%),
    radial-gradient(circle at 55% 82%, rgba(190, 102, 68, 0.025), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, #E7F0EC 100%);
  line-height: var(--text-body-line);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--cta);
  color: var(--cta-text);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  min-height: 100vh;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

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

.section-tight {
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.section-soft {
  background: linear-gradient(180deg, var(--bg-alt), var(--surface-soft));
  border-top: 0;
  border-bottom: 0;
  position: relative;
}

/* Decorative top line for soft sections */
.section-soft::before {
  content: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--cta);
  box-shadow: 0 0 0 0.25rem rgba(224, 95, 79, 0.14);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--text);
  line-height: var(--text-h1-line);
  font-weight: var(--text-h1-weight);
}

h1 {
  font-size: clamp(2.45rem, 5.6vw, 3.9rem);
  letter-spacing: var(--text-h1-track);
  font-variation-settings: "wght" 700, "wdth" 106;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  letter-spacing: var(--text-h2-track);
  font-variation-settings: "wght" 680, "wdth" 104;
}

h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  letter-spacing: -0.015em;
  line-height: 1.16;
  font-variation-settings: "wght" 660, "wdth" 103;
}

p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: var(--text-body-line);
  font-weight: var(--text-body-weight);
}


.price-row strong,
.proof-card figcaption strong,
.outcome-card h3,
.faq-item summary {
  font-family: var(--font-heading);
  font-variation-settings: "wght" 660, "wdth" 103;
}

.price-row span,
.proof-card figcaption,
.faq-item p,
.scope-note,
.support-note,
.minor-note {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-variation-settings: "wght" 450, "wdth" 102, "opsz" 14;
}

.price-tag,
.package-price,
.step-number {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

ul,
ol {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.45rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--brand) 60%, var(--brand-soft) 100%);
  border-bottom: 1px solid rgba(223, 238, 234, 0.10);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 3.05rem;
  height: 3.05rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.brand-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(19, 56, 61, 0.1));
}

.brand-copy,
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong,
.brand-text strong {
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-copy strong,
.brand-copy span,
.brand-text strong,
.brand-text small {
  color: inherit;
}

.brand-copy strong,
.brand-text strong {
  color: var(--hero-headline);
  font-family: var(--font-heading);
  font-variation-settings: "wght" 690, "wdth" 105;
}

.brand-copy span {
  font-size: 0.76rem;
  color: rgba(223, 238, 234, 0.68);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(243, 247, 244, 0.88);
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 560, "wdth" 102, "opsz" 14;
  position: relative;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--hero-headline);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-links a[aria-current="page"] {
  color: var(--cta);
  font-weight: 700;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn,
.nav-phone,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 560, "wdth" 102, "opsz" 14;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.nav-phone:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.btn-primary,
.nav-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 14px 28px rgba(190, 102, 68, 0.22);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--cta-hover);
}

.btn-secondary,
.nav-phone {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hero-headline);
  border-color: rgba(223, 238, 234, 0.20);
}

.nav-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(223, 238, 234, 0.28);
}

.btn-ghost {
  background: transparent;
  color: #f8faf9;
  border-color: rgba(248, 250, 249, 0.24);
}

.hero {
  background:
    linear-gradient(135deg, var(--hero-dark) 0%, var(--brand) 60%, var(--brand-soft) 100%);
  color: #ffffff;
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 102, 104, 0.18), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(252, 248, 242, 0.08), transparent 26%),
    radial-gradient(circle at 78% 80%, rgba(201, 121, 97, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 54, 57, 0.08));
  pointer-events: none;
}

.hero h1 {
  color: var(--hero-headline);
  max-width: 16ch;
  line-height: 1.02;
}

.hero-copy .eyebrow,
.hero-copy .section-kicker {
  color: var(--hero-label);
}

.hero p {
  color: var(--hero-body);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(285px, 390px);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .hero-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem 1.6rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(110, 165, 161, 0.22);
  border-top: 3px solid rgba(201, 121, 97, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(19, 56, 61, 0.14);
  color: var(--text);
}

.hero .hero-panel h2 {
  color: var(--hero-dark);
}

.hero .hero-panel p,
.hero .hero-panel li {
  color: var(--text-secondary);
}

.hero .hero-panel .section-kicker {
  color: var(--cta);
}

.hero .hero-panel li::marker {
  color: rgba(201, 121, 97, 0.92);
}

.hero .hero-panel ul {
  margin-top: 0.2rem;
  padding-left: 1.1rem;
}

body[data-page="/automation"] .hero-copy .eyebrow {
  color: rgba(223, 238, 234, 0.92);
}

body[data-page="/automation"] .hero-lead {
  max-width: 46rem;
}

body[data-page="/automation"] .hero-meta li {
  background: rgba(248, 250, 249, 0.1);
  border-color: rgba(248, 250, 249, 0.14);
}

body[data-page="/"] .hero {
  padding: clamp(1.6rem, 3.5vw, 2.8rem) 0 clamp(2.8rem, 6vw, 4.2rem);
}

body[data-page="/"] .hero-grid {
  align-items: stretch;
}

body[data-page="/"] .hero-copy {
  padding-top: 0;
}


body[data-page="/"] .btn-secondary,
body[data-page="/"] .btn-ghost,
body[data-page="/"] .nav-phone {
  background: rgba(255, 255, 255, 0.10);
  color: var(--hero-headline);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="/"] .btn-secondary:hover,
body[data-page="/"] .btn-ghost:hover,
body[data-page="/"] .nav-phone:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="/"] .portal-instruction {
  display: none;
}

.hero-portals {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.9rem;
  height: 100%;
}

.portal-instruction {
  display: none;
}

.portal-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(19, 56, 61, 0.12);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: var(--text);
  border: 1px solid rgba(15, 79, 88, 0.08);
}

.portal-link:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(19, 56, 61, 0.16);
  border-color: rgba(15, 79, 88, 0.08);
}

.portal-link strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--hero-dark);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-variation-settings: "wght" 660, "wdth" 103;
}

.portal-link span {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 450, "wdth" 102, "opsz" 14;
}

.hook-text {
  display: none;
}

.portal-cta {
  font-family: var(--font-body);
  font-weight: 520;
  font-size: 0.84rem !important;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  transition: transform 0.2s ease, color 0.2s ease;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 520, "wdth" 102, "opsz" 14;
}

.portal-link:hover .portal-cta {
  color: var(--cta);
  transform: translateX(4px);
}

.hero-copy > p,
.hero-copy ul,
.hero-copy .hero-actions,
.hero-copy .hero-meta {
  margin-top: 1.1rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.56;
  font-weight: 450;
  max-width: 39rem;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 450, "wdth" 102, "opsz" 14;
}

.hero-audit {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(223, 238, 234, 0.14);
  border-radius: 12px;
  color: var(--hero-body) !important;
  font-size: 0.96rem;
  width: fit-content;
  display: inline-block;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 500, "wdth" 102, "opsz" 14;
}

.hero-audit strong {
  color: var(--hero-headline);
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
  background: none;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-variation-settings: "wght" 560, "wdth" 102, "opsz" 14;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-points,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.hero-points li,
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.9rem;
  border-radius: 10px;
  background: rgba(248, 250, 249, 0.08);
  border: 1px solid rgba(248, 250, 249, 0.12);
  color: rgba(248, 250, 249, 0.96);
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 520, "wdth" 102, "opsz" 14;
}

.card,
.pricing-card,
.step-card,
.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.pricing-card:hover,
.step-card:hover,
.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 157, 162, 0.2);
}

.grid-3,
.grid-2,
.proof-grid,
.pricing-grid,
.steps-grid,
.summary-grid {
  display: grid;
  gap: var(--space-gap);
}

.grid-3,
.proof-grid,
.pricing-grid,
.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.pricing-card,
.step-card,
.summary-card {
  padding: 1.4rem;
}

.card p,
.pricing-card p,
.step-card p,
.summary-card p,
.proof-card figcaption {
  margin-top: 0.7rem;
  color: var(--text-secondary);
}

.selector-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selector-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(46, 157, 162, 0.12);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.selector-card .btn {
  width: fit-content;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.proof-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.proof-card figcaption {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

.proof-card figcaption strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--hero-dark);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.why-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  max-width: 54rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: flex-start;
  font-size: 1.03rem;
  line-height: 1.55;
  padding: 0.15rem 0;
}

.check-list li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-top: 0.28rem;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}

.check-list li strong {
  grid-column: 2;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--hero-dark);
  display: block;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.22rem;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 620, "wdth" 102, "opsz" 14;
}

.check-list li span {
  grid-column: 2;
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

#why-coastal-tech .section-header {
  max-width: 40rem;
  margin-bottom: 1.1rem;
}

#why-coastal-tech .section-header h2 {
  font-size: clamp(2.15rem, 4vw, 2.9rem);
  line-height: 1.05;
}

#why-coastal-tech .section-kicker {
  margin-bottom: 0.7rem;
}

#why-coastal-tech.section {
  padding-top: clamp(3.2rem, 7vw, 4.8rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.price-list {
  display: grid;
  gap: 0.9rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(253, 255, 255, 0.92);
  border: 1px solid rgba(25, 50, 57, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.price-row:hover {
  border-color: rgba(201, 121, 97, 0.34);
  box-shadow: 0 10px 24px rgba(201, 121, 97, 0.1);
  transform: translateY(-1px);
}

.price-row strong {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--hero-dark);
}

.price-row span {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.3;
  opacity: 0.92;
}

.price-tag {
  color: var(--brand-strong);
  font-size: 1.4rem;
  font-weight: 900;
  white-space: nowrap;
}

.package-card.is-featured,
.summary-card.is-featured,
.step-card.is-featured {
  border-color: var(--brand);
  border-top: 6px solid var(--brand);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card.is-featured:hover,
.summary-card.is-featured:hover,
.step-card.is-featured:hover {
  transform: translateY(-4px) scale(1.03);
}

.package-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--cta);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.package-price,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 121, 97, 0.16);
  color: var(--cta);
  font-weight: 800;
}

body[data-page="/smart-home"] .eyebrow,
body[data-page="/smart-home"] .section-kicker,
body[data-page="/smart-home"] .package-eyebrow,
body[data-page="/smart-home"] .price-tag,
body[data-page="/smart-home"] .package-price,
body[data-page="/smart-home"] .step-number {
  font-family: var(--font-body);
}

.step-number {
  min-width: 4rem;
}

.section-header {
  max-width: 44rem;
  margin-bottom: 1.7rem;
}

.section-header p {
  margin-top: 0.8rem;
}

.section-header .section-kicker {
  color: var(--cta);
  position: relative;
  padding-right: 3.1rem;
}

.section-header .section-kicker::after {
  content: "";
  width: 2.2rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(201, 121, 97, 0.66);
  display: inline-block;
  margin-left: 0.15rem;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem;
  background:
    linear-gradient(135deg, var(--hero-dark) 0%, var(--brand-strong) 60%, var(--brand) 100%);
  color: #fffaf4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--cta);
}

.cta-band .section-kicker {
  color: rgba(255, 224, 220, 0.78);
}

.cta-band h2,
.cta-band h3,
.cta-band p {
  color: #f8faf9;
}

.cta-band .actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.scope-note,
.support-note,
.minor-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--cta);
  background: rgba(46, 157, 162, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--brand-soft);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  color: var(--hero-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0;
}

.trust-bar {
  background: var(--bg-alt);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0;
  font-optical-sizing: auto;
  font-variation-settings: "wght" 560, "wdth" 102, "opsz" 14;
}

.trust-brands {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 680;
  color: var(--text-secondary);
  margin: 0;
  font-variation-settings: "wght" 660, "wdth" 103;
}

.trust-brands li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.trust-brands li:not(:last-child)::after {
  content: "·";
  font-size: 1.5rem;
  color: var(--line-strong);
  line-height: 0;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.outcome-card h3 {
  font-size: 1.25rem;
  color: var(--hero-dark);
  margin-bottom: 0.5rem;
}

.outcome-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.fit-section {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}

.fit-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.fit-item {
  padding: 1rem;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--brand);
  font-weight: 600;
  color: var(--hero-dark);
}

#audit-deliverables,
.audit-deliverables {
  position: relative;
}

.audit-deliverables p {
  color: var(--hero-body);
}

.audit-deliverables .minor-note,
.audit-deliverables .audit-credit-note {
  color: var(--hero-body);
}

#what-automation-is .grid-2 {
  align-items: start;
}

#what-automation-is p {
  max-width: 34rem;
  font-size: 1.05rem;
}

.audit-deliverables {
  background: var(--hero-dark);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.audit-deliverables h3 {
  color: var(--hero-headline);
  margin-bottom: 1.25rem;
}

.audit-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.audit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--hero-body);
}

.audit-list li::before {
  content: "✓";
  color: var(--cta-soft);
  font-weight: 900;
}

.audit-kicker {
  color: var(--cta-soft) !important;
}

.audit-credit-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer {
  padding: 2rem 0 5.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(25, 50, 57, 0.12);
}

.footer-copy {
  max-width: 40rem;
  margin-top: 0.55rem;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 150%);
  z-index: 80;
  width: min(calc(100% - 1.5rem), 36rem);
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(252, 250, 247, 0.98);
  border: 1px solid rgba(21, 48, 55, 0.12);
  border-radius: 1.4rem;
  box-shadow: 0 12px 32px rgba(18, 54, 64, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-sticky-cta.is-visible {
  transform: translate(-50%, 0);
}

.mobile-sticky-cta .btn {
  min-width: 0;
  box-shadow: none;
}

.legal-main {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal-card {
  background: var(--surface);
  border: 1px solid rgba(25, 50, 57, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-card section + section {
  margin-top: 1.4rem;
}

.legal-meta {
  margin-top: 0.7rem;
}

.legal-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.nav-cta {
  text-decoration: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-strong);
}

.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--cta);
}

.legal-intro {
  margin-top: 0.8rem;
}

.legal-block h2 {
  margin-bottom: 0.55rem;
}

.footer-simple {
  border-top: 1px solid rgba(25, 50, 57, 0.12);
  padding-top: 1.3rem;
}

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

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .proof-grid,
  .pricing-grid,
  .steps-grid,
  .summary-grid,
  .cta-band,
  .footer-inner,
  .fit-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .trust-bar-inner {
    gap: 0.9rem;
  }

  .trust-brands {
    justify-content: center;
  }

  .audit-list {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.2rem, 9.8vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .btn,
  .nav-phone {
    width: 100%;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .hero-panel,
  .audit-deliverables {
    padding: 1.35rem;
  }

  .trust-bar {
    padding: 1rem 0;
  }

  .trust-brands {
    gap: 1rem;
    font-size: 1rem;
  }

  .audit-list li {
    font-size: 0.92rem;
  }

  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: clamp(3rem, 12vw, 4.25rem) 0;
  }
}


#shared-proof .section-header {
  margin-bottom: 1.35rem;
}


.topbar .brand,
.topbar .nav-links a,
.topbar .nav-phone {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
