:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-soft: #eef2ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #090914;
  --muted: #657084;
  --line: rgba(15, 23, 42, 0.12);
  --purple: #6366f1;
  --green: #10b981;
  --purple-soft: rgba(99, 102, 241, 0.12);
  --green-soft: rgba(16, 185, 129, 0.12);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
  --nav-height: 76px;
}

html.theme-dark {
  color-scheme: dark;
  --bg: #121212;
  --bg-soft: #171722;
  --surface: rgba(24, 24, 31, 0.82);
  --surface-strong: #18181f;
  --text: #f6f7fb;
  --muted: #a5adbd;
  --line: rgba(255, 255, 255, 0.12);
  --purple-soft: rgba(99, 102, 241, 0.18);
  --green-soft: rgba(16, 185, 129, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, var(--purple-soft), transparent 34rem),
    radial-gradient(circle at 85% 10%, var(--green-soft), transparent 30rem),
    var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open,
body.demo-menu-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

::selection {
  background: rgba(16, 185, 129, 0.28);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:first-of-type {
  padding-top: 168px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

/* Subpage titles use the h1 tag for SEO (one h1 per page) but keep the h2 visual scale */
#about-title,
#portfolio-title {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
  max-width: none;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: fixed;
  z-index: 300;
  top: 18px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.nav-pill {
  position: relative;
  z-index: 510;
  pointer-events: auto;
  width: min(1120px, calc(100% - 32px));
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 12px 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand,
.footer-brand {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.08em;
}

.brand,
.nav-actions {
  position: relative;
  z-index: 2;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  padding: 6px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.06);
  white-space: nowrap;
}

.nav-link {
  position: relative;
  z-index: 1;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(16, 185, 129, 0.12));
  transform: translateY(-1px);
}


.nav-separator {
  width: 1px;
  height: 1.45rem;
  margin: 0 0.28rem;
  background: var(--line);
}

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

.theme-toggle,
.mobile-menu-toggle,
.mobile-menu-close,
.back-to-top {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-weight: 800;
}

.theme-toggle i {
  font-size: 1.1rem;
}

.theme-toggle:hover,
.mobile-menu-toggle:hover,
.mobile-menu-close:hover,
.back-to-top:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.45);
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  gap: 4px;
  align-content: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-small {
  min-height: 44px;
  padding: 0 1rem;
  font-size: 0.92rem;
}

.btn-purple {
  border-color: var(--purple);
  box-shadow: 0 0 0 rgba(99, 102, 241, 0);
}

.btn-purple:hover {
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 18px 42px rgba(99, 102, 241, 0.26);
}

.btn-green {
  border-color: var(--green);
}

.btn-green:hover {
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.24);
}

.btn-muted {
  border-color: var(--line);
  color: var(--muted);
}

.btn-muted:hover {
  background: rgba(100, 116, 139, 0.1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-title-prepared .hero-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.75em) scale(0.88);
  transform-origin: center bottom;
  will-change: opacity, filter, transform;
}

.hero-title-visible .hero-word {
  animation: hero-word-pop 0.68s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.12s + (var(--word-index) * 0.09s));
}

.hero-word-emphasis {
  position: relative;
}

.hero-word-emphasis::before,
.hero-word-emphasis::after {
  content: '';
  position: absolute;
  z-index: -1;
  height: 0.14em;
  border-top: max(3px, 0.035em) solid;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
}

.hero-word-emphasis::before {
  left: 2%;
  right: -2%;
  bottom: -0.1em;
  border-color: var(--purple);
  transform: rotate(-2.5deg) scaleX(0);
}

.hero-word-emphasis::after {
  left: 9%;
  right: -7%;
  bottom: -0.2em;
  border-color: var(--green);
  transform: rotate(1.5deg) scaleX(0);
}

.hero-title-visible .hero-word-emphasis::before {
  animation: hero-underline-purple 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.48s forwards;
}

.hero-title-visible .hero-word-emphasis::after {
  animation: hero-underline-green 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.61s forwards;
}

@keyframes hero-word-pop {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(0.75em) scale(0.88);
  }
  72% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-0.06em) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-underline-purple {
  from {
    opacity: 0;
    transform: rotate(-2.5deg) scaleX(0);
  }
  to {
    opacity: 1;
    transform: rotate(-2.5deg) scaleX(1);
  }
}

@keyframes hero-underline-green {
  from {
    opacity: 0;
    transform: rotate(1.5deg) scaleX(0);
  }
  to {
    opacity: 1;
    transform: rotate(1.5deg) scaleX(1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 58px;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 32px;
}

.section-cta {
  justify-content: center;
}

.demo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-panel-copy h2 {
  max-width: none;
  margin: 0;
}

.demo-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: color-mix(in srgb, var(--text) 36%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.demo-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-menu-shell {
  display: flex;
  flex-direction: column;
  width: min(1280px, 100%);
  max-height: min(90dvh, 920px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 0, var(--purple-soft), transparent 34rem),
    radial-gradient(circle at 90% 10%, var(--green-soft), transparent 30rem),
    var(--bg);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(52px) scale(0.98);
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-menu.open .demo-menu-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-menu-head {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.demo-menu-brand {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.demo-menu-actions {
  display: flex;
  gap: 10px;
}

.demo-menu-close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.demo-menu-content {
  width: 100%;
  padding: 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.demo-menu-title {
  margin-bottom: 30px;
}

.demo-menu-title h2 {
  margin: 0;
}

.demo-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-menu-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-browser {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.demo-browser img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

.demo-browser:hover img {
  transform: scale(1.025);
}

.demo-menu-card-body {
  padding: 20px;
}

.demo-menu-card-body h3 {
  margin-bottom: 16px;
}

.demo-menu-card-body > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-admin-preview {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.demo-admin-heading h3,
.demo-admin-heading p {
  margin-bottom: 0;
}

.demo-admin-carousel {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.demo-admin-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: zoom-in;
}

.demo-admin-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.demo-admin-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.demo-admin-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.demo-admin-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-admin-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.demo-admin-dots button.is-active {
  width: 28px;
  background: var(--purple);
}

.demo-admin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.demo-admin-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-admin-lightbox-dialog {
  position: relative;
  display: grid;
  place-items: center;
  max-width: min(1500px, 100%);
  max-height: calc(100dvh - 48px);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-admin-lightbox.open .demo-admin-lightbox-dialog {
  opacity: 1;
  transform: scale(1);
}

.demo-admin-lightbox-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.demo-admin-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.76);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .demo-menu-grid {
    grid-template-columns: 1fr;
  }

  .demo-menu-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) 1fr;
  }

  .demo-browser {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

}

@media (max-width: 760px) {
  .demo-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 20px;
    border-radius: 28px;
  }

  .demo-panel .btn {
    width: 100%;
  }

  .demo-menu {
    padding: 10px;
  }

  .demo-menu-shell {
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .demo-menu-head {
    padding: 14px 16px;
  }

  .demo-menu-content {
    padding: 26px 16px 32px;
  }

  .demo-menu-card {
    display: block;
  }

  .demo-browser {
    aspect-ratio: 1.45;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .demo-admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-admin-heading .btn {
    width: 100%;
  }

  .demo-admin-stage {
    aspect-ratio: 4 / 3;
  }

  .demo-admin-lightbox {
    padding: 12px;
  }

  .demo-admin-lightbox-dialog,
  .demo-admin-lightbox-dialog img {
    max-height: calc(100dvh - 24px);
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 32px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: center;
}

.hero-meta-visual {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 500px);
  margin: 24px auto 0;
}

.hero-meta-visual span {
  justify-content: flex-start;
  border-radius: 18px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.theme-dark .hero-meta-visual span {
  background: rgba(255, 255, 255, 0.06);
}


.browser-card {
  position: relative;
  z-index: 2;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, var(--surface-strong), rgba(255, 255, 255, 0.42));
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

html.theme-dark .browser-card {
  background: linear-gradient(145deg, rgba(31, 31, 42, 0.92), rgba(20, 20, 29, 0.74));
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.browser-top p {
  margin: 0 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
}

.browser-body {
  padding: 24px;
}

.mini-nav,
.mini-hero,
.mini-grid span,
.app-card-mini span,
.preview-lines span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.22), rgba(16, 185, 129, 0.22));
}

.mini-nav {
  width: 68%;
  height: 34px;
  margin-bottom: 26px;
}

.mini-hero {
  width: 92%;
  height: 128px;
  border-radius: 26px;
  margin-bottom: 20px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-grid span {
  height: 82px;
  border-radius: 20px;
}

.mini-code {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(9, 9, 20, 0.9);
  color: #e2e8f0;
}

.mini-code p {
  margin: 0.3rem 0;
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
}

.mini-code span {
  color: #35f2a6;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-weight: 850;
  backdrop-filter: blur(18px);
}

.badge-top {
  top: 78px;
  right: 0;
}

.badge-bottom {
  left: 4px;
  bottom: 64px;
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.52;
}

.orb-one {
  width: 360px;
  height: 360px;
  top: 18%;
  left: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  animation: orb-float-a 11s ease-in-out infinite;
}

.orb-two {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 70%);
  animation: orb-float-b 13s ease-in-out infinite;
}

@keyframes orb-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -26px); }
}

@keyframes orb-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-22px, 20px); }
}

.split-card,
.about-card,
.important-card,
.service-note,
.addons,
.contact-form,
.price-card,
.service-card,
.portfolio-card,
.process-grid article,
.faq-list .faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.split-card {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.price-card,
.portfolio-card,
.process-grid article {
  border-radius: var(--radius-lg);
  padding: 26px;
  opacity: 0;
  translate: 0 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card.is-visible,
.price-card.is-visible,
.portfolio-card.is-visible,
.process-grid article.is-visible {
  animation: card-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes card-reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.card-grid.four .service-card:nth-child(1) { animation-delay: 0ms; }
.card-grid.four .service-card:nth-child(2) { animation-delay: 70ms; }
.card-grid.four .service-card:nth-child(3) { animation-delay: 140ms; }
.card-grid.four .service-card:nth-child(4) { animation-delay: 210ms; }

.pricing-grid .price-card:nth-child(1) { animation-delay: 0ms; }
.pricing-grid .price-card:nth-child(2) { animation-delay: 80ms; }
.pricing-grid .price-card:nth-child(3) { animation-delay: 160ms; }

.portfolio-grid .portfolio-card:nth-child(1) { animation-delay: 0ms; }
.portfolio-grid .portfolio-card:nth-child(2) { animation-delay: 80ms; }
.portfolio-grid .portfolio-card:nth-child(3) { animation-delay: 160ms; }

.process-grid article:nth-child(1) { animation-delay: 0ms; }
.process-grid article:nth-child(2) { animation-delay: 70ms; }
.process-grid article:nth-child(3) { animation-delay: 140ms; }
.process-grid article:nth-child(4) { animation-delay: 210ms; }

.service-card:hover,
.price-card:hover,
.portfolio-card:hover,
.process-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.34);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 17px;
  font-size: 1.55rem;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.28s ease;
}

.service-card:hover .icon-wrap {
  transform: scale(1.08) rotate(-6deg);
  border-radius: 22px;
}

.icon-wrap.purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.icon-wrap.green {
  background: var(--green-soft);
  color: var(--green);
}

.service-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.service-note p {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border-color: rgba(16, 185, 129, 0.42);
  transform: translateY(-14px);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.13), var(--surface));
}

.price-card.featured:hover {
  transform: translateY(-20px);
}

.featured-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--green);
  color: #051811;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-label {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price {
  margin: 12px 0 18px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price-card ul {
  display: grid;
  gap: 0.72rem;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.price-card .btn {
  margin-top: auto;
}

.addons {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

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

.addon-list span {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
  min-height: 58px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.addon-list strong {
  color: var(--text);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-preview {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.portfolio-preview.has-image {
  overflow: hidden;
  padding: 0;
}

.portfolio-preview-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
}

.oazis-site {
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.28), transparent 36%), linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(99, 102, 241, 0.08));
}

.oazis-app {
  background: radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.28), transparent 34%), linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
}

.coming-soon {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08));
  font-size: 4rem;
  color: var(--green);
}

.preview-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-lines,
.app-card-mini {
  width: 78%;
  display: grid;
  gap: 12px;
}

.preview-lines span:nth-child(1) { height: 54px; }
.preview-lines span:nth-child(2) { height: 26px; width: 78%; }
.preview-lines span:nth-child(3) { height: 90px; border-radius: 22px; }

.app-card-mini {
  max-width: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.app-card-mini span:nth-child(1) { height: 82px; border-radius: 22px; }
.app-card-mini span:nth-child(2) { height: 24px; width: 90%; }
.app-card-mini span:nth-child(3) { height: 24px; width: 62%; }

.portfolio-content {
  padding: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-weight: 850;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.about-card {
  padding: 42px;
  border-radius: var(--radius-xl);
}

.about-stats {
  display: grid;
  gap: 16px;
}

.about-stats div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.2));
}

.about-stats strong {
  display: block;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 2.2rem;
  letter-spacing: -0.08em;
}

.about-stats span {
  color: var(--text);
  font-weight: 850;
  line-height: 1.35;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
}

.important-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
  padding: 42px;
  border-radius: var(--radius-xl);
}

.important-list {
  display: grid;
  gap: 0.85rem;
}

.important-list div {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
}

.important-list i {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--green);
  font-size: 1.25rem;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list .faq-item {
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  translate: 0 24px;
}

.faq-list .faq-item.is-visible {
  animation: card-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.faq-list .faq-item:nth-child(1) { animation-delay: 0ms; }
.faq-list .faq-item:nth-child(2) { animation-delay: 40ms; }
.faq-list .faq-item:nth-child(3) { animation-delay: 80ms; }
.faq-list .faq-item:nth-child(4) { animation-delay: 120ms; }
.faq-list .faq-item:nth-child(5) { animation-delay: 160ms; }
.faq-list .faq-item:nth-child(6) { animation-delay: 200ms; }
.faq-list .faq-item:nth-child(7) { animation-delay: 240ms; }
.faq-list .faq-item:nth-child(8) { animation-delay: 280ms; }
.faq-list .faq-item:nth-child(9) { animation-delay: 320ms; }
.faq-list .faq-item:nth-child(10) { animation-delay: 360ms; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 260px;
  opacity: 1;
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 24px;
}

.contact-links a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 760;
}

.contact-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 38px;
  border-radius: var(--radius-xl);
}

.form-row {
  position: relative;
  padding-top: 18px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  padding: 0.92rem 0 0.78rem;
  transition: border-color 0.2s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row select {
  cursor: pointer;
}

.form-row label {
  position: absolute;
  top: 26px;
  left: 0;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left;
  transition: transform 0.18s ease, color 0.18s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--purple);
}

.form-row input:focus + label,
.form-row input:not(:placeholder-shown) + label,
.form-row textarea:focus + label,
.form-row textarea:not(:placeholder-shown) + label,
.form-row select:focus + label,
.form-row select:valid + label {
  color: var(--purple);
  transform: translateY(-24px) scale(0.84);
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.checkbox-row a {
  color: var(--green);
  font-weight: 850;
}

.hidden-field {
  display: none;
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-weight: 820;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #ef4444;
}

.site-footer {
  padding: 70px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

html.theme-dark .site-footer {
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  gap: 34px;
}

.footer-grid > div {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.footer-grid h3 {
  margin-bottom: 4px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-bottom p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 0.88rem;
  line-height: 1.75;
}

.cookie-banner {
  position: fixed;
  z-index: 420;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 16px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 -18px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

html.theme-dark .cookie-banner {
  background: rgba(12, 12, 18, 0.78);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.24);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner > div:first-child {
  max-width: 760px;
}

.cookie-banner p {
  margin: 0.28rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 0 0 auto;
}


.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 9, 20, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cookie-modal-backdrop.visible {
  display: flex;
}

.cookie-modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.cookie-modal-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.cookie-options {
  display: grid;
  gap: 12px;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.16));
  cursor: pointer;
}

.cookie-option.disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.cookie-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 22px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-soft);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  justify-content: flex-end;
  background: rgba(9, 9, 20, 0.48);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .nav-pill {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
}

.mobile-menu-panel {
  width: min(390px, 88vw);
  height: 100%;
  pointer-events: auto;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 1.45rem;
  font-weight: 900;
}

.mobile-menu-close {
  width: 46px;
  height: 46px;
}

.mobile-menu a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.32rem;
  font-weight: 850;
}

.mobile-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.35rem 0;
  background: var(--line);
}

.mobile-menu .mobile-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  border: 2px solid var(--green);
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.legal-page {
  padding-top: 156px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.legal-card h2 {
  margin-top: 36px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.legal-card ul {
  color: var(--muted);
  line-height: 1.7;
}



.legal-table-wrap {
  width: 100%;
  margin: 1.15rem 0 1.3rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.18));
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table code {
  padding: 0.18rem 0.36rem;
  border-radius: 8px;
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 850;
}

.legal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 2rem;
}

.footer-bottom .footer-legal-line {
  display: inline-block;
  margin-top: 0.2rem;
}

@media (max-width: 1080px) {
  .nav-links,
  .nav-actions > .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-grid,
  .split-card,
  .about-grid,
  .important-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .contact-copy {
    position: static;
  }

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

  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 66px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .section:first-of-type {
    padding-top: 132px;
  }

  .nav-pill {
    width: calc(100% - 20px);
    padding: 9px 10px 9px 18px;
  }

  .theme-toggle-text {
    display: none;
  }

  .theme-toggle {
    min-width: 44px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-meta-visual,
  .addon-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .section-cta .btn,
  .contact-form .btn {
    width: 100%;
  }

  .card-grid.four,
  .service-note,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-card,
  .about-card,
  .important-card,
  .contact-form,
  .legal-card {
    padding: 26px;
    border-radius: 26px;
  }

  .browser-card {
    margin-top: 18px;
  }

  .floating-badge {
    position: static;
    margin-top: 12px;
  }

  .hero-visual {
    display: grid;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .cookie-actions,
  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-actions .btn,
  .cookie-modal-actions .btn {
    width: 100%;
  }

  .cookie-modal {
    padding: 22px;
    border-radius: 24px;
  }

  .cookie-modal-head {
    align-items: center;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-title-prepared .hero-word {
    opacity: 1;
    filter: none;
    transform: none;
    will-change: auto;
  }

  .hero-title-visible .hero-word,
  .hero-title-visible .hero-word-emphasis::before,
  .hero-title-visible .hero-word-emphasis::after {
    animation: none;
  }

  .hero-word-emphasis::before,
  .hero-word-emphasis::after {
    opacity: 1;
  }

  .hero-word-emphasis::before {
    transform: rotate(-2.5deg) scaleX(1);
  }

  .hero-word-emphasis::after {
    transform: rotate(1.5deg) scaleX(1);
  }

}


.subpage-main .subpage-hero {
  padding-top: 168px;
}

@media (max-width: 760px) {
  .subpage-main .subpage-hero {
    padding-top: 132px;
  }
}


@media (max-width: 980px) {
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
