/* Orvia — static styles */

/* === Page Load Animation === */
@keyframes pageIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes floatMockup {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes blobDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  25% {
    transform: translate(60px, -40px) scale(1.05);
    opacity: 0.65;
  }

  50% {
    transform: translate(30px, 30px) scale(1.1);
    opacity: 0.55;
  }

  75% {
    transform: translate(-40px, 10px) scale(1.03);
    opacity: 0.6;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
}

@keyframes blobDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }

  25% {
    transform: translate(-50px, 50px) scale(1.08);
    opacity: 0.6;
  }

  50% {
    transform: translate(-20px, -30px) scale(1.04);
    opacity: 0.5;
  }

  75% {
    transform: translate(40px, 20px) scale(1.1);
    opacity: 0.55;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
}

@keyframes blobDrift3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  33% {
    transform: translate(40px, 40px) scale(1.06);
    opacity: 0.55;
  }

  66% {
    transform: translate(-30px, -20px) scale(1.02);
    opacity: 0.45;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
}

@keyframes blobDrift4 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }

  50% {
    transform: translate(-60px, 30px) scale(1.12);
    opacity: 0.5;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

:root {
  --bg: #F4F2ED;
  --fg: #1F3646;
  --muted: #56636A;
  --secondary: #C8D3D6;
  --accent: #9EAEA4;
  --warm: #CBBEAA;
  --border: #d9dde0;
  --card: #ffffff;
  --primary: #1F3646;
  --primary-fg: #F4F2ED;
  --shadow-soft: 0 10px 30px -12px rgba(31, 54, 70, .18);
  --shadow-card: 0 6px 20px -10px rgba(31, 54, 70, .15);
  --grad-text: linear-gradient(90deg, #1F3646 0%, #9EAEA4 60%, #CBBEAA 100%);
  --grad-primary: linear-gradient(135deg, #1F3646, #9EAEA4);
  --grad-warm: linear-gradient(135deg, #CBBEAA, #9EAEA4);
  --grad-blobs: radial-gradient(circle at 20% 20%, rgba(158, 174, 164, .35), transparent 60%), radial-gradient(circle at 80% 70%, rgba(203, 190, 170, .35), transparent 55%);
  --radius: 14px;
  --section-divider: linear-gradient(90deg, transparent 0%, rgba(158, 174, 164, .25) 20%, rgba(203, 190, 170, .35) 50%, rgba(158, 174, 164, .25) 80%, transparent 100%);
  --section-divider-warm: linear-gradient(90deg, transparent 0%, rgba(203, 190, 170, .2) 20%, rgba(31, 54, 70, .12) 50%, rgba(203, 190, 170, .2) 80%, transparent 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(165deg, #eae6de 0%, #F4F2ED 25%, #e8ece9 50%, #F4F2ED 75%, #efe9e0 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  animation: pageIn .6s ease both;
  position: relative;
  overflow-x: hidden;
}

/* === Global Animated Background === */
.global-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.blob-1 {
  width: 700px;
  height: 700px;
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(140, 165, 150, .7) 0%, rgba(158, 174, 164, .3) 40%, transparent 100%);
  animation: blobDrift1 18s ease-in-out infinite;
}

.blob-2 {
  width: 600px;
  height: 600px;
  top: 8%;
  right: -12%;
  background: radial-gradient(circle, rgba(195, 178, 155, .65) 0%, rgba(203, 190, 170, .25) 40%, transparent 100%);
  animation: blobDrift2 22s ease-in-out infinite;
}

.blob-3 {
  width: 550px;
  height: 550px;
  top: 45%;
  left: 10%;
  background: radial-gradient(circle, rgba(175, 195, 200, .6) 0%, rgba(200, 211, 214, .2) 40%, transparent 100%);
  animation: blobDrift3 20s ease-in-out infinite;
}

.blob-4 {
  width: 650px;
  height: 650px;
  bottom: -8%;
  right: 5%;
  background: radial-gradient(circle, rgba(140, 165, 150, .55) 0%, rgba(158, 174, 164, .2) 40%, transparent 100%);
  animation: blobDrift4 25s ease-in-out infinite;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

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

.small {
  font-size: 14px;
}

.xs {
  font-size: 12px;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 18px;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: opacity .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.btn-pill {
  border-radius: 999px;
}

.btn-lg {
  padding: 12px 24px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(31, 54, 70, .28);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .7);
  color: var(--fg);
}

.btn-outline:hover {
  background: #fff;
}

.btn-light {
  background: var(--bg);
  color: var(--fg);
}

.btn-light:hover {
  opacity: .9;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(244, 242, 237, .88);
  border-bottom: 1px solid rgba(217, 221, 224, .35);
  box-shadow: 0 1px 12px -4px rgba(31, 54, 70, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  gap: 6px;
  font-size: clamp(15px, 1.2vw + 10px, 18px);
  color: var(--muted);
}

.nav-desktop a {
  padding: 6px 14px;
  border-radius: 10px;
  transition: all .25s ease;
}

.nav-desktop a:hover {
  color: var(--fg);
  background: rgba(31, 54, 70, .06);
  box-shadow: 0 2px 8px -2px rgba(31, 54, 70, .08);
}

.nav-cta {
  display: none;
  font-size: clamp(14px, 1vw + 12px, 16px);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: .25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
  border-top: 1px solid rgba(217, 221, 224, .6);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, transform .28s ease, padding .28s ease;
}

.nav-mobile.is-open {
  padding: 16px 20px;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile a {
  padding: 4px 0;
}

.nav-mobile .btn {
  margin-top: 8px;
}

@media (min-width: 768px) {

  .nav-desktop,
  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Tablet adjustments for header */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-inner {
    gap: 8px;
  }

  .nav-desktop {
    gap: 2px;
    font-size: 14px;
  }

  .nav-desktop a {
    padding: 5px 10px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  .brand img {
    height: 28px;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 48px 20px;
  align-items: center;
}

/* Hero load animations */
.hero .reveal:first-child {
  animation: heroSlideUp .9s cubic-bezier(.22, 1, .36, 1) .15s both;
  opacity: 1;
  transform: none;
}

.hero .reveal.mockup-wrap {
  animation: heroSlideRight 1s cubic-bezier(.22, 1, .36, 1) .4s both;
  opacity: 1;
  transform: none;
}

.hero .badge {
  animation: fadeInUp .7s ease .3s both;
}

.hero .hero-title {
  animation: fadeInUp .7s ease .45s both;
}

.hero .hero-sub {
  animation: fadeInUp .7s ease .6s both;
}

.hero .promise {
  animation: fadeInUp .7s ease .7s both;
}

.hero .hero-cta {
  animation: fadeInUp .7s ease .8s both;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 56px 24px;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    gap: 56px;
    padding: 80px 32px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(217, 221, 224, .7);
  background: rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
}

.hero-title {
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 20px 0 0;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 60px;
  }
}

.hero-sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
  max-width: 36rem;
}

@media (min-width: 640px) {
  .hero-sub {
    font-size: 18px;
  }
}

.promise {
  margin-top: 20px;
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .5);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

/* Mockup */
.mockup-wrap {
  position: relative;
  animation: floatMockup 6s ease-in-out infinite;
}

.mockup-glow {
  position: absolute;
  inset: -24px;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(158, 174, 164, .35), rgba(203, 190, 170, .25), rgba(200, 211, 214, .45));
  filter: blur(28px);
}

.mockup {
  position: relative;
  background: #fff;
  border: 1px solid rgba(217, 221, 224, .6);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  transition: box-shadow .4s ease, transform .4s ease;
}

.mockup:hover {
  box-shadow: 0 16px 48px -12px rgba(31, 54, 70, .22);
}

.mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mockup-title {
  font-size: 18px;
  font-weight: 600;
  margin: 2px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(200, 211, 214, .6);
  border-radius: 999px;
  padding: 4px 10px;
}

.mockup-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  background: rgba(200, 211, 214, .3);
  border-radius: 12px;
  padding: 12px;
}

.stat-v {
  font-size: 20px;
  font-weight: 600;
  margin: 2px 0 0;
}

.mockup-rows {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(217, 221, 224, .6);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
}

.row> :nth-child(2) {
  flex: 1;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-accent {
  background: rgba(158, 174, 164, .5);
}

.dot-warm {
  background: rgba(203, 190, 170, .6);
}

.dot-secondary {
  background: rgba(200, 211, 214, .7);
}

.mockup-ai {
  margin-top: 20px;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ai-title {
  font-weight: 500;
  margin: 0;
  font-size: 14px;
}

.ai-sub {
  opacity: .8;
  margin: 2px 0 0;
  font-size: 14px;
}

/* Sections */
.section {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(85%, 900px);
  height: 1px;
  background: var(--section-divider);
}

.section:first-of-type::before {
  display: none;
}

@media (min-width: 1024px) {
  .section {
    padding: 64px 0;
  }
}

.section-head {
  max-width: 48rem;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 600;
}

@media (min-width: 640px) {
  .section-head h2 {
    font-size: 36px;
  }
}

.section-head p {
  margin-top: 12px;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 640px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .65);
  border-radius: 16px;
  padding: 20px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(31, 54, 70, .18);
  border-color: rgba(158, 174, 164, .4);
}

.card h3 {
  margin: 16px 0 6px;
  font-size: 16px;
}

.card-lg {
  padding: 24px;
}

.card-lg h3 {
  font-size: 18px;
}

.icon-box {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  background: rgba(200, 211, 214, .6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.icon-grad {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: var(--primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.icon-grad-warm {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  background: var(--grad-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .6);
  border-radius: 12px;
  padding: 14px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(31, 54, 70, .12);
  background: rgba(255, 255, 255, .85);
}

.benefit p {
  margin: 0;
  font-size: 14px;
}

.check {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.benefit:hover .check {
  transform: scale(1.15);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  transition: all .3s cubic-bezier(.22, 1, .36, 1);
}

.tab:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(31, 54, 70, .1);
}

.tab.is-active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
  box-shadow: 0 4px 16px -4px rgba(31, 54, 70, .25);
}

.tab-panel {
  margin-top: 24px;
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .tab-panel {
    padding: 32px;
  }
}

.tab-icon {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  background: rgba(200, 211, 214, .6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.tab-panel h3 {
  margin: 0;
  font-size: 20px;
}

.tab-panel p {
  margin-top: 8px;
}

/* Steps */
.step {
  position: relative;
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 20px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -8px rgba(31, 54, 70, .14);
}

.step-n {
  position: absolute;
  top: -12px;
  left: 20px;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.step-icon {
  font-size: 20px;
  margin-top: 4px;
  color: var(--accent);
}

.step h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

/* Diff */
.diff {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 24px;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.diff:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -8px rgba(31, 54, 70, .14);
  background: rgba(255, 255, 255, .9);
}

.diff p {
  margin: 0;
  font-weight: 500;
}

/* CTA */
.cta-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #2a4d5e 50%, #1F3646 100%);
  color: var(--primary-fg);
  border-radius: 24px;
  padding: 32px;
  transition: box-shadow .4s ease;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(158, 174, 164, .15) 0%, transparent 70%);
  animation: blobDrift1 12s ease-in-out infinite;
  pointer-events: none;
}

.cta-block:hover {
  box-shadow: 0 20px 60px -16px rgba(31, 54, 70, .35);
}

@media (min-width: 1024px) {
  .cta-block {
    padding: 48px;
  }
}

.cta-block h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  position: relative;
}

@media (min-width: 640px) {
  .cta-block h3 {
    font-size: 30px;
  }
}

.cta-block p {
  margin: 12px 0 24px;
  opacity: .85;
  max-width: 36rem;
  position: relative;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

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

.contact-form,
.contact-aside {
  border: 1px solid rgba(217, 221, 224, .6);
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 24px;
}

@media (min-width: 1024px) {

  .contact-form,
  .contact-aside {
    padding: 32px;
  }
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

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

.field {
  margin-bottom: 16px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .85);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--fg);
  transition: .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 54, 70, .15);
}

.field textarea {
  resize: vertical;
}

.err {
  color: #b3261e;
  font-size: 12px;
  margin: 4px 0 0;
  min-height: 0;
}

.err:empty {
  display: none;
}

.success {
  margin-top: 16px;
  background: rgba(158, 174, 164, .3);
  border: 1px solid rgba(158, 174, 164, .4);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}

.contact-aside h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.contact-aside a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.contact-aside a:hover {
  color: var(--primary);
}

.aside-foot {
  padding-top: 12px;
  border-top: 1px solid rgba(217, 221, 224, .6);
  margin-top: 12px;
}

/* Contact SVG Icons */
.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity .3s ease, transform .3s ease;
}

.contact-aside a:hover .contact-icon,
.footer-contact a:hover .contact-icon {
  opacity: 1;
  transform: scale(1.1);
}

.contact-icon-sm {
  width: 16px;
  height: 16px;
}

.contact-aside a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 480px) {
  .contact-icon {
    width: 16px;
    height: 16px;
  }

  .contact-icon-sm {
    width: 14px;
    height: 14px;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 48rem;
  margin-top: 36px;
}

.faq {
  border: 1px solid rgba(217, 221, 224, .5);
  background: linear-gradient(135deg, rgba(255, 255, 255, .7) 0%, rgba(248, 246, 242, .6) 100%);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(158, 174, 164, .08) 0%, rgba(203, 190, 170, .1) 50%, rgba(200, 211, 214, .08) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  border-radius: 16px;
}

.faq:hover::before {
  opacity: 1;
}

.faq:hover {
  transform: translateY(-3px);
  border-color: rgba(158, 174, 164, .35);
  box-shadow: 0 10px 30px -10px rgba(31, 54, 70, .12);
}

.faq[open] {
  box-shadow: 0 12px 36px -10px rgba(31, 54, 70, .16);
  border-color: rgba(158, 174, 164, .45);
  background: linear-gradient(135deg, rgba(255, 255, 255, .85) 0%, rgba(248, 246, 242, .75) 100%);
}

.faq[open]::before {
  opacity: 1;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
  z-index: 1;
  padding: 2px 0;
}

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

.faq .chev {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 211, 214, .3);
  font-size: 12px;
  flex-shrink: 0;
}

.faq:hover .chev {
  background: rgba(158, 174, 164, .25);
}

.faq[open] .chev {
  transform: rotate(180deg);
  background: rgba(158, 174, 164, .35);
}

.faq p {
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
  animation: faqSlideIn .4s cubic-bezier(.22, 1, .36, 1) both;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 221, 224, .4);
}

@keyframes faqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(217, 221, 224, .6);
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 48px 20px;
}

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

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-desc {
  margin-top: 16px;
  max-width: 22rem;
}

.site-footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer ul a:hover {
  color: var(--fg);
}

.footer-copy {
  border-top: 1px solid rgba(217, 221, 224, .6);
  padding: 20px 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

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

/* Staggered children reveal */
.grid-3 .reveal:nth-child(1),
.grid-4 .reveal:nth-child(1) {
  transition-delay: 0s;
}

.grid-3 .reveal:nth-child(2),
.grid-4 .reveal:nth-child(2) {
  transition-delay: .1s;
}

.grid-3 .reveal:nth-child(3),
.grid-4 .reveal:nth-child(3) {
  transition-delay: .2s;
}

.grid-4 .reveal:nth-child(4) {
  transition-delay: .3s;
}

.grid-3 .reveal:nth-child(4) {
  transition-delay: .15s;
}

.grid-3 .reveal:nth-child(5) {
  transition-delay: .25s;
}

.grid-3 .reveal:nth-child(6) {
  transition-delay: .35s;
}

.grid-4 .reveal:nth-child(5) {
  transition-delay: .1s;
}

.grid-4 .reveal:nth-child(6) {
  transition-delay: .2s;
}

.grid-4 .reveal:nth-child(7) {
  transition-delay: .3s;
}

.grid-4 .reveal:nth-child(8) {
  transition-delay: .4s;
}

/* FAQ staggered reveal */
.faq-list .reveal:nth-child(1) {
  transition-delay: 0s;
}

.faq-list .reveal:nth-child(2) {
  transition-delay: .08s;
}

.faq-list .reveal:nth-child(3) {
  transition-delay: .16s;
}

.faq-list .reveal:nth-child(4) {
  transition-delay: .24s;
}

.faq-list .reveal:nth-child(5) {
  transition-delay: .32s;
}

/* Header load animation */
.site-header {
  animation: fadeInUp .6s ease .05s both;
}

/* Ensure main content is above blobs */
main,
.site-footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mockup-wrap,
  .mockup-glow,
  .cta-block::before {
    animation: none !important;
  }

  .blob {
    animation: none !important;
  }

  body,
  .site-header,
  .hero .badge,
  .hero .hero-title,
  .hero .hero-sub,
  .hero .promise,
  .hero .hero-cta,
  .hero .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}