/* Northlight Aesthetic Dentistry - white/blue specialist system (offline) */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/Inter-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
}

:root {
  --nl-white: #ffffff;
  --nl-slate-50: #f8fafc;
  --nl-slate-100: #f1f5f9;
  --nl-slate-200: #e2e8f0;
  --nl-slate-300: #cbd5e1;
  --nl-slate-400: #94a3b8;
  --nl-slate-500: #64748b;
  --nl-slate-600: #475569;
  --nl-slate-700: #334155;
  --nl-slate-800: #1e293b;
  --nl-slate-900: #0f172a;
  --nl-blue-50: #eff6ff;
  --nl-blue-100: #dbeafe;
  --nl-blue-400: #60a5fa;
  --nl-blue-500: #3b82f6;
  --nl-blue-600: #2563eb;
  --nl-blue-700: #1d4ed8;
  --nl-nav-h: 5rem;
  --nl-bottom-nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--nl-white);
  color: var(--nl-slate-600);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-block-start: var(--nl-nav-h);
  padding-block-end: 0;
}

body.has-bottom-pad {
  padding-block-end: var(--nl-bottom-nav-h);
}

@media (min-width: 1024px) {
  body.has-bottom-pad {
    padding-block-end: 0;
  }
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--nl-blue-100);
  color: #1e3a8a;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

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

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

button,
[role="button"],
a,
.cursor-pointer,
input,
select,
textarea,
label {
  cursor: pointer;
}

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

.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;
}

/* Site header */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--nl-nav-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--nl-slate-100);
}

.nav-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .nav-inner {
    padding-inline: 1.5rem;
    gap: 1rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-tile {
  background: var(--nl-blue-600);
  color: #fff;
  padding: 0.375rem;
  border-radius: 0.5rem;
  display: flex;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.brand:hover .brand-tile {
  background: var(--nl-blue-700);
}

.brand-tile svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--nl-slate-900);
  line-height: 1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.6875rem;
  color: var(--nl-slate-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-block-start: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .brand-sub {
    font-size: 0.75rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nl-slate-500);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--nl-blue-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Full Book label crowds the wordmark on narrow phones - bottom nav covers Book */
.nav-actions .btn-dark {
  display: none;
  padding-inline: 0.875rem;
  min-height: 40px;
  font-size: 0.8125rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .nav-actions {
    gap: 0.75rem;
  }

  .nav-actions .btn-dark {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-actions {
    gap: 1rem;
  }

  .nav-actions .btn-dark {
    padding-inline: 1.25rem;
    min-height: 44px;
    font-size: 0.875rem;
  }
}

.call-stack {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  margin-inline-end: 0.5rem;
}

.call-label {
  font-size: 0.75rem;
  color: var(--nl-slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.call-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  letter-spacing: -0.025em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 1.25rem;
  padding-block: 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-dark {
  background: var(--nl-slate-900);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn-dark:hover {
  background: var(--nl-slate-800);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-blue {
  background: var(--nl-blue-600);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
  padding-inline: 2rem;
  padding-block: 0.875rem;
}

.btn-blue:hover {
  background: var(--nl-blue-700);
}

.btn-outline {
  background: #fff;
  color: var(--nl-slate-700);
  border-color: var(--nl-slate-200);
  padding-inline: 2rem;
  padding-block: 0.875rem;
}

.btn-outline:hover {
  background: var(--nl-slate-50);
}

.btn-full {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--nl-slate-700);
  border-radius: 0.5rem;
}

.icon-btn:hover {
  background: var(--nl-slate-50);
}

.menu-toggle {
  display: inline-flex;
}

@media (min-width: 768px) {
  .call-stack {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  inset-block: 0 0;
  inset-inline-end: 0;
  z-index: 56;
  width: min(20rem, 88vw);
  background: #fff;
  border-inline-start: 1px solid var(--nl-slate-100);
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.08);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 0.25rem;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nl-slate-700);
}

.drawer a:hover,
.drawer a.is-active {
  background: var(--nl-blue-50);
  color: var(--nl-blue-600);
}

.drawer-close-row {
  display: flex;
  justify-content: flex-end;
  margin-block-end: 0.5rem;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--nl-bottom-nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-start: 1px solid var(--nl-slate-200);
  padding-block: 0.25rem;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nl-slate-500);
  min-height: 44px;
}

.bottom-nav a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-nav a.is-active,
.bottom-nav a:hover {
  color: var(--nl-blue-600);
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

/* Layout helpers */
.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-narrow {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-form {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 6rem;
}

.section-sm {
  padding-block: 4rem;
}

.bg-white {
  background: #fff;
}
.bg-slate-50 {
  background: var(--nl-slate-50);
}
.bg-slate-900 {
  background: var(--nl-slate-900);
  color: #fff;
}
.border-y-slate {
  border-block: 1px solid var(--nl-slate-200);
}

.text-center {
  text-align: center;
}

.eyebrow {
  color: var(--nl-blue-600);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
  margin-block-end: 0.5rem;
}

.h1 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 2rem;
}

.h1-light {
  color: var(--nl-slate-400);
  font-weight: 300;
}

.h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

.h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--nl-slate-500);
  line-height: 1.625;
  margin: 0 0 2.5rem;
  max-width: 42rem;
  font-weight: 300;
}

.muted {
  color: var(--nl-slate-500);
  font-weight: 300;
}

@media (min-width: 1024px) {
  .h1 {
    font-size: 4.5rem;
  }
  .h2 {
    font-size: 2.25rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding-block-start: 1rem;
  padding-block-end: 3rem;
  overflow: hidden;
  background: var(--nl-slate-50);
}

@media (min-width: 1024px) {
  .hero {
    padding-block-start: 6rem;
    padding-block-end: 8rem;
  }
}

.hero-orb {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: min(800px, 120vw);
  height: min(800px, 120vw);
  background: rgba(219, 234, 254, 0.4);
  border-radius: 9999px;
  filter: blur(64px);
  transform: translateY(-50%) translateX(33%);
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  order: 2;
}

.hero-media {
  position: relative;
  z-index: 1;
  order: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  background: var(--nl-slate-100);
  aspect-ratio: 4 / 3;
  margin-inline: -0.25rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }

  .hero-inner {
    order: 1;
    max-width: none;
  }

  .hero-media {
    order: 2;
    margin-inline: 0;
    aspect-ratio: 4 / 3;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  color: var(--nl-slate-500);
  font-size: 0.75rem;
  font-weight: 500;
  margin-block-end: 2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--nl-blue-500);
  flex-shrink: 0;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
}

/* Method / Soft Lift */
.method-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.method-media {
  position: relative;
}

.method-frame {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
  background: var(--nl-slate-100);
}

.method-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-card {
  display: none;
  position: absolute;
  inset-block-end: -2rem;
  inset-inline-end: -2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--nl-slate-100);
  max-width: 20rem;
}

@media (min-width: 768px) {
  .award-card {
    display: block;
  }
}

.award-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.award-icon {
  background: var(--nl-blue-50);
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--nl-blue-600);
  display: flex;
}

.award-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-block-start: 2rem;
}

.feature-row {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--nl-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--nl-blue-600);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-row h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  margin: 0 0 0.25rem;
}

.feature-row p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--nl-slate-500);
  line-height: 1.625;
}

/* Services */
.services-head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-block-end: 4rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--nl-slate-200);
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: #93c5fd;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: var(--nl-slate-50);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1rem;
  color: var(--nl-slate-400);
  transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-icon {
  background: var(--nl-blue-50);
  color: var(--nl-blue-600);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--nl-slate-500);
}

.service-card li {
  margin-block-end: 0.5rem;
}

.service-card li::before {
  content: "• ";
}

/* Doctor band */
.doctor-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .doctor-layout {
    flex-direction: row;
  }
}

.doctor-photo-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .doctor-photo-wrap {
    width: 33.333%;
  }
  .doctor-copy {
    width: 66.666%;
  }
}

.doctor-photo {
  position: relative;
}

.doctor-glow {
  position: absolute;
  inset: 0;
  background: var(--nl-blue-500);
  border-radius: 1rem;
  transform: rotate(3deg);
  opacity: 0.2;
}

.doctor-photo img {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--nl-slate-700);
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.doctor-name {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .doctor-name {
    font-size: 2.25rem;
  }
}

.doctor-role {
  color: var(--nl-blue-400);
  font-size: 1.125rem;
  margin: 0 0 2rem;
  font-weight: 500;
}

.doctor-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--nl-slate-300);
  font-weight: 300;
  line-height: 1.625;
}

.doctor-bio p {
  margin: 0;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--nl-slate-800);
  margin-block-start: 2rem;
}

.stat-num {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-block-end: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--nl-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  cursor: pointer;
}

.pair-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--nl-slate-100);
  margin-block-end: 1rem;
  border: 1px solid var(--nl-slate-200);
}

.pair-stack {
  display: grid;
  grid-template-columns: 1fr;
}

.pair-half {
  position: relative;
  height: 12rem;
}

.pair-half + .pair-half {
  border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.pair-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-half img.is-before {
  filter: grayscale(1) contrast(1.25);
}

.pair-badge {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  color: #fff;
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  backdrop-filter: blur(4px);
  z-index: 1;
}

.pair-badge.before {
  background: rgba(0, 0, 0, 0.5);
}

.pair-badge.after {
  background: rgba(37, 99, 235, 0.8);
}

.gallery-card h3 {
  font-weight: 500;
  color: var(--nl-slate-900);
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.gallery-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--nl-slate-500);
}

.gallery-more {
  margin-block-start: 3rem;
  text-align: center;
}

.link-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nl-blue-600);
  min-height: 44px;
}

.link-blue:hover {
  color: var(--nl-blue-700);
}

/* Contact card */
.contact-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--nl-slate-200);
  overflow: hidden;
}

.contact-grid {
  display: grid;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  padding: 2.5rem;
}

.contact-form-pane {
  background: var(--nl-slate-50);
  padding: 2.5rem;
  border-block-start: 1px solid var(--nl-slate-100);
}

@media (min-width: 768px) {
  .contact-form-pane {
    border-block-start: 0;
    border-inline-start: 1px solid var(--nl-slate-100);
  }
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-row svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--nl-blue-600);
  margin-block-start: 0.25rem;
  flex-shrink: 0;
}

.contact-row h4 {
  margin: 0 0 0.25rem;
  font-weight: 500;
  color: var(--nl-slate-900);
  font-size: 0.875rem;
}

.contact-row p {
  margin: 0;
  color: var(--nl-slate-500);
  font-size: 0.875rem;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nl-slate-700);
  margin-block-end: 0.25rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  min-height: 44px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--nl-blue-500);
  box-shadow: 0 0 0 3px var(--nl-blue-100);
}

.field-error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-block-start: 0.25rem;
}

/* Footer */
.site-footer {
  background: #fff;
  border-block-start: 1px solid var(--nl-slate-200);
  padding-block-start: 4rem;
  padding-block-end: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1.5rem;
  color: var(--nl-blue-600);
}

.footer-brand span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nl-slate-900);
  letter-spacing: -0.025em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-block-end: 2rem;
  font-size: 0.875rem;
  color: var(--nl-slate-500);
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--nl-slate-900);
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--nl-slate-400);
  font-weight: 300;
  line-height: 1.6;
}

/* Page hero (inner) */
.page-hero {
  background: var(--nl-slate-50);
  padding-block: 3rem 2rem;
  border-block-end: 1px solid var(--nl-slate-100);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

.page-hero p {
  margin: 0;
  color: var(--nl-slate-500);
  font-weight: 300;
  max-width: 40rem;
}

/* Cards / misc */
.card {
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prose {
  max-width: 42rem;
  line-height: 1.7;
  color: var(--nl-slate-600);
  font-weight: 300;
}

.prose h2,
.prose h3 {
  color: var(--nl-slate-900);
  font-weight: 600;
  margin-block: 1.5rem 0.75rem;
}

.prose p {
  margin-block: 0 1rem;
}

.prose ul {
  padding-inline-start: 1.25rem;
  margin-block: 0 1rem;
}

.faq-item {
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  margin-block-end: 0.75rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--nl-slate-900);
}

.faq-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--nl-slate-500);
  font-weight: 300;
  line-height: 1.6;
}

.price-card {
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.price-card .amount {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--nl-slate-900);
  margin: 0.5rem 0 1rem;
}

.price-note {
  font-size: 0.75rem;
  color: var(--nl-slate-400);
}

/* Book wizard */
.wizard {
  max-width: 36rem;
  margin-inline: auto;
}

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-block-end: 2rem;
}

.wizard-step-dot {
  flex: 1;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--nl-slate-200);
}

.wizard-step-dot.is-active,
.wizard-step-dot.is-done {
  background: var(--nl-blue-600);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--nl-slate-200);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nl-slate-700);
}

.chip.is-selected,
.chip:hover {
  border-color: var(--nl-blue-600);
  color: var(--nl-blue-600);
  background: var(--nl-blue-50);
}

.wizard-panel {
  display: none;
}

.wizard-panel.is-active {
  display: block;
}

.wizard-actions {
  display: flex;
  gap: 0.75rem;
  margin-block-start: 1.5rem;
  flex-wrap: wrap;
}

/* Portal */
.portal-shell {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portal-shell {
    grid-template-columns: 14rem 1fr;
  }
}

.portal-side {
  background: var(--nl-slate-50);
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1rem;
}

.portal-side a,
.portal-side button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nl-slate-700);
  text-align: start;
}

.portal-side a:hover,
.portal-side button:hover {
  background: #fff;
  color: var(--nl-blue-600);
}

.portal-main {
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--nl-slate-100);
  border-radius: 0.5rem;
  background: var(--nl-slate-50);
  font-size: 0.875rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: #fff;
  border: 1px solid var(--nl-slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.testimonial img {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  margin-block-end: 1rem;
}

.testimonial p {
  font-size: 0.9375rem;
  color: var(--nl-slate-600);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.testimonial strong {
  display: block;
  font-size: 0.875rem;
  color: var(--nl-slate-900);
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-block-end: 1rem;
}

.blog-card h3 {
  margin: 0 0 0.5rem;
}

.blog-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--nl-slate-500);
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  background: #fff;
  border-radius: 0.75rem;
  max-width: 40rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.lightbox-pair {
  display: grid;
  grid-template-columns: 1fr;
}

.lightbox-half {
  position: relative;
}

.lightbox-inner img {
  width: 100%;
  max-height: 36vh;
  object-fit: cover;
}

.lightbox-inner img.is-before {
  filter: grayscale(1) contrast(1.25);
}

.lightbox-caption {
  padding: 1rem 1.25rem;
}

.lightbox-close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  background: #fff;
  border: 0;
  border-radius: 0.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast */
.toast-host {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: calc(var(--nl-bottom-nav-h) + 1rem);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .toast-host {
    inset-block-end: 1rem;
  }
}

.toast {
  background: var(--nl-slate-900);
  color: #fff;
  padding: 0.875rem 1.125rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  max-width: 20rem;
}

/* SVG icon size helpers */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.mt-2 {
  margin-block-start: 0.5rem;
}
.mt-4 {
  margin-block-start: 1rem;
}
.mt-6 {
  margin-block-start: 1.5rem;
}
.mt-8 {
  margin-block-start: 2rem;
}
.mb-4 {
  margin-block-end: 1rem;
}
.mb-6 {
  margin-block-end: 1.5rem;
}
.mb-8 {
  margin-block-end: 2rem;
}

.hidden {
  display: none !important;
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.media-cover {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

.media-16x10 {
  aspect-ratio: 16 / 10;
}

.media-4x3 {
  aspect-ratio: 4 / 3;
}

.text-sm {
  font-size: 0.875rem;
}

.font-medium {
  font-weight: 500;
}

.login-box {
  max-width: 24rem;
  margin-inline: auto;
}

.inline-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-orb {
    filter: none;
    opacity: 0.35;
  }
}
