/* FluidSpot static delivery styles */
:root {
  --background: #f6f7f6;
  --foreground: #121816;
  --brand: #486050;
  --brand-mid: #5d7a66;
  --brand-soft: #e8f0eb;
  --muted: #5c6b63;
  --surface: #ffffff;
  --border: #e2e8e4;
  --glow: rgba(72, 96, 80, 0.18);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 228, 0.7);
  background: rgba(246, 247, 246, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  height: 4.25rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .header-inner {
    height: 4.75rem;
    padding: 0 1.5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}

@media (min-width: 640px) {
  .logo img {
    height: 3rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
}

.nav-desktop a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--brand);
}

.nav-desktop a.active {
  border-bottom-color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-brand,
.btn-brand-sm {
  position: relative;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand);
  color: #fff;
  transition:
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-brand::before,
.btn-brand-sm::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 180%;
  height: 280%;
  z-index: -1;
  background: #fff;
  border-radius: 42% 48% 45% 40% / 48% 42% 52% 45%;
  transform: translate(-50%, 8%);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.55s ease;
  pointer-events: none;
}

.btn-brand:hover,
.btn-brand:focus-visible,
.btn-brand-sm:hover,
.btn-brand-sm:focus-visible {
  color: var(--brand);
  opacity: 1;
  box-shadow: 0 10px 28px -14px rgba(72, 96, 80, 0.55);
}

.btn-brand:hover::before,
.btn-brand:focus-visible::before,
.btn-brand-sm:hover::before,
.btn-brand-sm:focus-visible::before {
  transform: translate(-50%, -72%);
  animation: fluid-wobble 1.4s ease-in-out infinite;
}

@keyframes fluid-wobble {
  0%,
  100% {
    border-radius: 42% 48% 45% 40% / 48% 42% 52% 45%;
  }
  50% {
    border-radius: 48% 40% 42% 50% / 40% 50% 42% 48%;
  }
}

.btn-brand-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-outline {
  background: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--brand-soft);
  opacity: 1;
}

.btn-white {
  background: #fff;
  color: var(--brand);
}

.menu-toggle {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 1.5rem;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.nav-mobile .btn-brand-sm {
  margin-top: 0.75rem;
  display: inline-flex;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Layout helpers */
main {
  flex: 1;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 1.5rem;
  }
}

.section {
  padding: 4rem 1.25rem;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 1.5rem;
  }
}

.section-dark {
  background: var(--brand);
  color: #fff;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.section-title {
  margin: 0;
  max-width: 48rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3rem;
    line-height: 1.08;
  }
}

.section-body {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 640px) {
  .section-body {
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
}

.section-dark .section-body {
  color: rgba(255, 255, 255, 0.7);
}

.section-content {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .section-content {
    margin-top: 3rem;
  }
}

.soft-bg {
  background: rgba(232, 240, 235, 0.5);
}

.text-brand-mid {
  color: var(--brand-mid);
}

.text-muted {
  color: var(--muted);
}

.link-mid {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-mid);
  text-underline-offset: 4px;
}

.link-mid:hover {
  text-decoration: underline;
}

.link-white {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-underline-offset: 4px;
}

.link-white:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, var(--glow), transparent 55%),
    linear-gradient(180deg, #f6f7f6 0%, #eef3f0 50%, #f6f7f6 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-visual-desktop {
  display: none;
}

.hero-visual-mobile {
  display: flex;
  margin-top: 2.5rem;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  background: none;
  transform-origin: center bottom;
  cursor: default;
  pointer-events: auto;
}

.hero-visual .hero-bounce-wrap {
  opacity: 0;
  width: 100%;
  max-width: 200px;
  transform-origin: center bottom;
  animation: hero-bounce-in 1.15s cubic-bezier(0.34, 1.4, 0.64, 1) 0.28s forwards;
  will-change: transform, opacity;
  pointer-events: auto;
}

.hero-visual .hero-bounce-wrap img {
  max-width: none;
  width: 100%;
  display: block;
  height: auto;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 5rem 1.5rem;
  }

  .hero-visual .hero-bounce-wrap,
  .hero-visual img {
    max-width: 260px;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 92vh;
  }

  .hero-inner {
    min-height: 92vh;
    padding: 6rem 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
    gap: 2.5rem;
  }

  .hero-visual-mobile {
    display: none;
  }

  .hero-visual-desktop {
    display: flex;
    justify-content: flex-end;
  }

  .hero-visual .hero-bounce-wrap,
  .hero-visual img {
    max-width: 360px;
  }

  .hero-copy {
    max-width: 32rem;
  }
}

@media (min-width: 1024px) {
  .hero-visual .hero-bounce-wrap,
  .hero-visual img {
    max-width: 420px;
  }

  .hero-copy {
    max-width: 42rem;
  }
}

.hero h1 {
  margin: 0;
  max-width: 56rem;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
    line-height: 1.05;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero-lead {
    margin-top: 1.75rem;
    font-size: 1.125rem;
  }
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    margin-top: 2.5rem;
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }
}

.hero-audiences {
  margin: 2.5rem 0 0;
  max-width: 48rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero-audiences {
    margin-top: 3.5rem;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-bounce-in {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.86);
  }
  55% {
    opacity: 1;
    transform: translateY(-14px) scale(1.05);
  }
  75% {
    transform: translateY(6px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-fade {
  opacity: 0;
  animation: hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-delay-1 {
  animation-delay: 0.1s;
}
.hero-delay-2 {
  animation-delay: 0.22s;
}
.hero-delay-3 {
  animation-delay: 0.34s;
}
.hero-delay-4 {
  animation-delay: 0.46s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-fade,
  .hero-visual .hero-bounce-wrap,
  .hero-visual .hero-bounce-wrap img,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .btn-brand::before,
  .btn-brand-sm::before {
    transition: none;
    animation: none;
  }

  .btn-brand:hover::before,
  .btn-brand:focus-visible::before,
  .btn-brand-sm:hover::before,
  .btn-brand-sm:focus-visible::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: inherit;
    animation: none;
  }
}

/* Pillars */
.pillars {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 4rem 1.5rem;
}

.pillars-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

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

.pillar-value {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
}

@media (min-width: 640px) {
  .pillar-value {
    font-size: 3rem;
  }
}

.pillar-label {
  margin: 0.75rem 0 0;
  max-width: 16rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Grids */
.grid-3 {
  display: grid;
  gap: 3rem;
}

.grid-2 {
  display: grid;
  gap: 3rem 4rem;
}

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

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

.portal-num {
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  color: rgba(45, 90, 66, 0.8);
}

.portal-title {
  margin: 1.25rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.portal-body {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.why-item {
  border-left: 2px solid rgba(26, 48, 38, 0.25);
  padding-left: 1.25rem;
}

.why-item h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.why-item p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Why scroll stack */
.why-stack {
  position: relative;
  background: rgba(232, 240, 235, 0.4);
}

.why-stack-intro {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 228, 0.6);
  background: rgba(232, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .why-stack-intro {
    position: sticky;
    top: 4rem;
  }
}

@media (min-width: 640px) {
  .why-stack-intro {
    padding: 3.5rem 0;
  }
}

.why-stack-cards {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-stack-cards {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .why-stack-cards {
    display: block;
    padding-top: 1rem;
    padding-bottom: 2rem;
    gap: 0;
  }
}

.why-stack-slot {
  position: relative;
  height: auto;
}

@media (min-width: 768px) {
  .why-stack-slot {
    height: 72vh;
  }
}

.why-stack-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  box-shadow: none;
}

@media (min-width: 768px) {
  .why-stack-card {
    position: sticky;
    padding: 2rem 2.5rem;
    box-shadow: 0 18px 50px -28px rgba(26, 48, 38, 0.45);
  }
}

.why-stack-num {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.why-stack-num.on-dark {
  color: rgba(255, 255, 255, 0.55);
}

.why-stack-card h3 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .why-stack-card h3 {
    font-size: 1.875rem;
  }
}

.why-stack-card > p:last-child {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.why-stack-card > p.on-dark-body {
  color: rgba(255, 255, 255, 0.75);
}

.tone-0 {
  background: #f6f7f6;
}
.tone-1 {
  background: #eef3f0;
}
.tone-2 {
  background: #e8f0eb;
}
.tone-3 {
  background: #dfe9e3;
}
.tone-4 {
  background: #d4e0d9;
}
.tone-5 {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.tone-5 h3 {
  color: #fff;
}

.commit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

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

.commit-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* Comparison table */
.table-wrap {
  display: none;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

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

.comp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.comp-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .comp-cards {
    display: none;
  }
}

.comp-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem;
}

.comp-card h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.comp-card .label {
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.comp-card .value {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.comp-card .fluid {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(232, 240, 235, 0.7);
  padding: 0.65rem 0.75rem;
}

.comp-card .fluid .label {
  margin-top: 0;
  font-weight: 600;
  color: var(--brand);
}

.comp-card .fluid .value {
  font-weight: 500;
  color: var(--brand);
}

.comp-table th,
.comp-table td {
  padding: 1rem 1.25rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(226, 232, 228, 0.8);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table th {
  font-weight: 500;
  color: var(--muted);
}

.comp-table th.highlight {
  background: rgba(232, 240, 235, 0.7);
  color: var(--brand);
  font-weight: 600;
}

.comp-table td.highlight {
  background: rgba(232, 240, 235, 0.4);
  color: var(--brand);
  font-weight: 500;
}

.comp-table td.cap {
  font-weight: 500;
  color: var(--foreground);
}

/* Parking */
.parking-section {
  position: relative;
  background: var(--brand);
}

.parking-track {
  height: 200vh;
}

.parking-sticky {
  position: sticky;
  top: 4.25rem;
  min-height: calc(100svh - 4.25rem);
  display: flex;
  align-items: center;
  padding: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .parking-sticky {
    top: 4.75rem;
    min-height: calc(100svh - 4.75rem);
    padding: 2.5rem 1.5rem;
  }
}

.parking-card-wrap {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.parking-copy {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .parking-copy {
    margin-bottom: 2.5rem;
  }
}

.parking-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .parking-eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }
}

.parking-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.parking-body {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.parking-hint {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .parking-copy {
    margin-bottom: 2.5rem;
    text-align: left;
  }

  .parking-title {
    font-size: 2.25rem;
  }

  .parking-body {
    font-size: 1rem;
  }

  .parking-hint {
    text-align: left;
  }
}

.parking-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #d8e3dc;
  box-shadow: 0 24px 80px -40px rgba(0, 0, 0, 0.55);
}

.parking-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact */
.contact-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f7f6 0%, #eef2f0 100%);
}

.contact-grid {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .contact-grid {
    padding: 5rem 1.5rem;
    gap: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.contact-glow {
  position: absolute;
  right: -2.5rem;
  top: 2.5rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none;
  display: none;
}

@media (min-width: 640px) {
  .contact-glow {
    display: block;
  }
}

.contact-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.contact-steps li {
  display: flex;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.contact-form {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.5rem;
  box-shadow: 0 20px 60px -30px rgba(26, 48, 38, 0.35);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2rem;
  }
}

.fields {
  display: grid;
  gap: 1rem;
}

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

.field label,
.full-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.field input,
.full-label textarea {
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
  background: #eef1ef;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}

.field input:focus,
.full-label textarea:focus {
  box-shadow: 0 0 0 2px rgba(45, 90, 66, 0.3);
}

.full-label {
  margin-top: 1rem;
}

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

.tags {
  margin-top: 1.5rem;
}

.tags legend {
  font-size: 0.875rem;
  font-weight: 500;
}

.tag-list {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  border: 0;
  border-radius: 9999px;
  background: #eef1ef;
  color: var(--foreground);
  padding: 0.375rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.tag.active {
  background: var(--brand);
  color: #fff;
}

.form-submit {
  margin-top: 2rem;
  width: 100%;
}

.form-success {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-success[hidden],
.form-fields[hidden] {
  display: none !important;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 2rem;
}

@media (min-width: 640px) {
  .page-hero {
    padding: 6rem 1.5rem 3rem;
  }
}

.page-hero h1 {
  margin: 0;
  max-width: 48rem;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 3rem;
    line-height: 1.08;
  }
}

.page-hero p.lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 640px) {
  .page-hero p.lead {
    margin-top: 1.5rem;
    font-size: 1.125rem;
  }
}

.page-hero-visual {
  margin: 2rem 0 0;
  width: 100%;
  max-width: 220px;
}

.page-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .page-hero-visual {
    margin-top: 2.5rem;
    max-width: 300px;
  }
}

@media (min-width: 1024px) {
  .page-hero-visual {
    max-width: 28rem;
  }
}

.page-hero-visual-left {
  margin-left: 0;
  margin-right: auto;
}

.page-white {
  background: #fff;
}

.page-white .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.page-white .soft-bg,
.page-white .section-soft {
  background: #fff;
}

.glow {
  position: absolute;
  right: -4rem;
  top: 0;
  width: 20rem;
  height: 20rem;
  border-radius: 9999px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--brand);
  color: var(--brand-soft);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-brand {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.footer-logo {
  display: block;
  height: 3.5rem;
  width: auto;
}

.footer-copy {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.cta-split-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
