/* CloudVista Works — CloudVistaWorks.com — Sky Deck SaaS */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --ink: #0f2744;
  --ink-soft: #5a6f8a;
  --sky: #0284c7;
  --sky-deep: #0369a1;
  --sky-soft: #38bdf8;
  --mist: #e8f4fc;
  --cloud: #f4f9fd;
  --paper: #f8fbfe;
  --white: #ffffff;
  --line: rgba(15, 39, 68, 0.1);
  --shadow: 0 20px 50px rgba(2, 132, 199, 0.1);
  --shadow-soft: 0 8px 28px rgba(15, 39, 68, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --header-h: 76px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 40% at 90% 0%, rgba(56, 189, 248, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 30% at 0% 40%, rgba(2, 132, 199, 0.06), transparent 45%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sky);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sky-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sky);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — soft floating SaaS bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 251, 254, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.4rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--sky-deep);
}

.nav-cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 1rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease,
    box-shadow 0.25s var(--ease), border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  background: var(--sky-deep);
  color: var(--white);
  border-color: var(--sky-deep);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--sky-soft);
  color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--sky-deep);
  border-color: var(--white);
  box-shadow: 0 12px 30px rgba(15, 39, 68, 0.12);
}

.btn-light:hover {
  background: var(--mist);
  color: var(--sky-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--white);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero — soft sky deck, mid-left, floating clouds */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, #0369a1 0%, #0284c7 42%, #38bdf8 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='900' height='500' viewBox='0 0 900 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='160' cy='380' rx='140' ry='50' fill='%23ffffff' opacity='0.14'/%3E%3Cellipse cx='240' cy='370' rx='100' ry='42' fill='%23ffffff' opacity='0.18'/%3E%3Cellipse cx='720' cy='120' rx='160' ry='55' fill='%23ffffff' opacity='0.12'/%3E%3Cellipse cx='800' cy='110' rx='90' ry='38' fill='%23ffffff' opacity='0.16'/%3E%3Cellipse cx='500' cy='420' rx='180' ry='48' fill='%23ffffff' opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  animation: cloud-drift 22s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 120px;
  right: 8%;
  top: 18%;
  background: url("data:image/svg+xml,%3Csvg width='280' height='120' viewBox='0 0 280 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='90' cy='78' rx='70' ry='32' fill='%23ffffff' opacity='0.22'/%3E%3Cellipse cx='150' cy='70' rx='85' ry='38' fill='%23ffffff' opacity='0.28'/%3E%3Cellipse cx='200' cy='78' rx='55' ry='28' fill='%23ffffff' opacity='0.2'/%3E%3C/svg%3E")
    no-repeat center / contain;
  animation: cloud-float 14s ease-in-out infinite alternate;
}

@keyframes cloud-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-28px);
  }
}

@keyframes cloud-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-18px, 12px);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-content {
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #e0f2fe;
  letter-spacing: -0.03em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-deck {
  position: relative;
  min-height: 280px;
  animation: rise 1s var(--ease) 0.15s both;
}

.hero-deck-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.18);
  width: min(100%, 240px);
}

.hero-deck-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.hero-deck-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.hero-deck-card:nth-child(1) {
  top: 8%;
  left: 8%;
  z-index: 3;
  animation: float-a 7s ease-in-out infinite;
}

.hero-deck-card:nth-child(2) {
  top: 38%;
  right: 0;
  z-index: 2;
  animation: float-b 8s ease-in-out infinite;
}

.hero-deck-card:nth-child(3) {
  bottom: 6%;
  left: 18%;
  z-index: 1;
  animation: float-c 9s ease-in-out infinite;
}

.deck-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  margin-right: 0.4rem;
  vertical-align: middle;
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fade-up 0.7s var(--ease) both;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding: 3.5rem 0 4rem;
  }

  .hero-deck {
    min-height: 220px;
    order: -1;
  }

  .hero-deck-card {
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    animation: none;
  }
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--mist);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

/* Features — soft SaaS deck tiles */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e0f2fe, #bae6fd);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--sky-deep);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* About — stacked cloud layers */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  min-height: 300px;
  position: relative;
  border-radius: 28px;
  background: linear-gradient(160deg, #0369a1, #38bdf8 70%, #e0f2fe);
  overflow: hidden;
}

.split-visual::before,
.split-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.split-visual::before {
  width: 200px;
  height: 90px;
  left: 12%;
  bottom: 28%;
  border-radius: 100px;
  animation: cloud-float 10s ease-in-out infinite alternate;
}

.split-visual::after {
  width: 160px;
  height: 70px;
  right: 10%;
  top: 22%;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.45);
  animation: cloud-float 12s ease-in-out infinite alternate-reverse;
}

.cloud-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding: 2rem;
  z-index: 1;
}

.cloud-layer {
  width: min(88%, 280px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cloud-layer span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

.cloud-layer:nth-child(2) {
  width: min(78%, 250px);
  opacity: 0.95;
}

.cloud-layer:nth-child(3) {
  width: min(68%, 220px);
  opacity: 0.9;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-visual {
    min-height: 240px;
    order: -1;
  }
}

/* Services — soft flow modules */
.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s var(--ease);
}

.service-item:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow);
}

.service-item:hover .service-title {
  color: var(--sky-deep);
}

.service-num {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #e0f2fe, #bae6fd);
  color: var(--sky-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  transition: color 0.2s ease;
}

.service-item p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
}

.service-arrow {
  color: var(--sky);
  font-size: 1.25rem;
  transition: transform 0.25s var(--ease);
}

.service-item:hover .service-arrow {
  transform: translateX(5px);
}

@media (max-width: 600px) {
  .service-item {
    grid-template-columns: 2.75rem 1fr;
  }

  .service-arrow {
    display: none;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.panel:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow);
}

a.panel {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.panel:hover {
  transform: translateY(-3px);
  color: inherit;
}

.panel h3 {
  margin-bottom: 0.5rem;
}

.panel p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.panel-featured {
  border-color: rgba(2, 132, 199, 0.4);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 55%);
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.12);
}

.price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
  color: var(--sky-deep);
}

.price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.panel ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.panel ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--sky);
  border-radius: 50%;
}

.value-list {
  display: grid;
  gap: 1.75rem;
}

.value-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.value-item p {
  color: var(--ink-soft);
  margin: 0;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.2s ease;
}

.blog-item:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.35);
}

.blog-item:hover h3 {
  color: var(--sky-deep);
}

.blog-date {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-top: 0.35rem;
}

.blog-item h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  transition: color 0.2s ease;
}

.blog-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (max-width: 560px) {
  .blog-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.prose p {
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-detail {
  margin-bottom: 1.75rem;
}

.contact-detail h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.4rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--sky);
}

.form {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--ink);
  width: 100%;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid rgba(2, 132, 199, 0.3);
  border-color: var(--sky);
  background: var(--white);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.page-hero {
  padding: 4.25rem 0 3.25rem;
  background: linear-gradient(155deg, #0369a1 0%, #0284c7 55%, #38bdf8 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='600' height='200' viewBox='0 0 600 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='480' cy='140' rx='120' ry='40' fill='%23ffffff' opacity='0.12'/%3E%3Cellipse cx='540' cy='130' rx='70' ry='30' fill='%23ffffff' opacity='0.16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  animation: rise 0.75s var(--ease) both;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin: 0;
}

.legal {
  max-width: 44rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.check-list li {
  padding: 1.25rem 1.25rem 1.25rem 3rem;
  position: relative;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--sky);
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 45%, var(--sky) 45%);
}

.check-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.site-footer {
  background: linear-gradient(180deg, #0f2744, #0a1c30);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand a {
  color: var(--white);
  text-decoration: none;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sky-soft);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 420px;
  margin-right: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  z-index: 200;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fade-up 0.4s var(--ease) both;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.cookie-banner .btn-group {
  gap: 0.5rem;
}

.cookie-banner .btn {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.cta-band {
  padding: 4.5rem 0;
  text-align: center;
  background: linear-gradient(145deg, #0369a1, #0284c7 50%, #0ea5e9);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 90px;
  left: 8%;
  bottom: 15%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 70px;
  right: 10%;
  top: 20%;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 100px;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.login-box {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
}

.login-box p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .hero-bg::after,
  .hero-deck-card,
  .split-visual::before,
  .split-visual::after,
  .reveal,
  .hero-content,
  .hero-deck,
  .page-hero .container {
    animation: none !important;
  }
}
