@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/quicksand-variable-latin.woff2") format("woff2");
}

:root {
  --ink: #092e72;
  --muted: #395897;
  --line: #d7e4f8;
  --soft: #f4f7fd;
  --soft-blue: #e7f0fd;
  --blue: #2965c8;
  --deep-blue: #092e72;
  --sky: #70a5f4;
  --pale-blue: #a4c6f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(9, 46, 114, 0.14);
  --radius: 28px;
  font-family: "Quicksand", "Avenir Next", "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 18%, rgba(164, 198, 244, 0.24), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(112, 165, 244, 0.16), transparent 32%),
    var(--white);
  color: var(--ink);
  line-height: 1.65;
}

.shoal-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(219, 230, 243, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: 184px;
  text-decoration: none;
}

.wordmark img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 650;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(9, 46, 114, 0.16);
  border-radius: 999px;
  background: rgba(239, 245, 253, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.language-switcher a,
.language-switcher span {
  min-width: 30px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
}

.language-switcher [aria-current="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(9, 46, 114, 0.1);
}

.language-switcher a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  background: rgba(248, 251, 255, 0.18);
  color: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.26), transparent 52%, rgba(164, 198, 244, 0.08)),
    linear-gradient(180deg, transparent 72%, rgba(255, 255, 255, 0.24));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-kicker,
.product-label {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--blue);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(18, 96, 213, 0.12);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 700;
}

.hero h1 em {
  font-family: inherit;
  font-weight: 500;
  font-style: normal;
  color: var(--blue);
}

.hero-lead {
  max-width: 650px;
  margin: 32px 0 0;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--muted);
}

.hero .eyebrow {
  color: var(--blue);
}

.hero .eyebrow span {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(41, 101, 200, 0.12);
}

.hero .button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(41, 101, 200, 0.25);
}

.hero .button-primary:hover {
  background: var(--deep-blue);
}

.hero .button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.store-button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.store-button:focus-visible,
.main-nav a:focus-visible,
.wordmark:focus-visible,
.text-link:focus-visible,
.inline-links a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(41, 101, 200, 0.25);
}

.button-primary:hover {
  background: var(--deep-blue);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero-brand {
  position: relative;
  display: flex;
  min-height: 490px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.hero-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(112%, 620px);
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 56%, rgba(164, 198, 244, 0.2), rgba(112, 165, 244, 0.08) 48%, transparent 72%);
  filter: blur(24px);
  animation: hero-halo-drift 12s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes hero-halo-drift {
  0% {
    opacity: 0.84;
    transform: translate3d(-12px, 8px, 0) scale(0.96, 0.98);
  }

  48% {
    opacity: 1;
    transform: translate3d(10px, -7px, 0) scale(1.04, 1.02);
  }

  100% {
    opacity: 0.88;
    transform: translate3d(-3px, 12px, 0) scale(1, 1.05);
  }
}

.hero-brand img {
  width: min(100%, 520px);
  filter: drop-shadow(0 24px 28px rgba(9, 46, 114, 0.12));
}

.hero-brand p {
  margin: -2% 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.principles {
  padding: 26px 0 42px;
}

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

.principles article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.principles span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.principles h2 {
  margin: 20px 0 4px;
  font-size: 1.35rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 112px 0;
}

.split-section,
.section-heading {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 88px;
}

.split-section h2,
.section-heading h2,
.contact-card h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-copy {
  font-size: 1.16rem;
  color: var(--muted);
}

.section-copy p:first-child {
  margin-top: 0;
}

.products {
  background: rgba(244, 247, 253, 0.9);
}

.section-heading {
  align-items: end;
  margin-bottom: 42px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 610px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(9, 46, 114, 0.2);
}

.product-main {
  padding: clamp(36px, 6vw, 72px);
}

.product-main .product-label {
  color: var(--sky);
}

.improov-logo {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(3, 18, 45, 0.28);
}

.product-tagline {
  margin: 18px 0 26px;
  color: var(--sky);
  font-family: inherit;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
}

.product-main > p:not(.product-label, .product-tagline) {
  max-width: 650px;
  color: #d7e4f8;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--sky);
  font-weight: 800;
}

.store-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-size: 0.88rem;
}

.store-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.product-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding: 32px 28px 0;
  background:
    radial-gradient(circle at 65% 30%, rgba(164, 198, 244, 0.9), transparent 28%),
    linear-gradient(145deg, #70a5f4, #2965c8 42%, #092e72 78%);
}

.app-preview {
  width: auto;
  max-width: 100%;
  max-height: 590px;
  filter: drop-shadow(0 28px 34px rgba(3, 18, 45, 0.38));
}

.coming-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
}

.coming-card h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.coming-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.coming-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px var(--soft-blue);
}

.contact-section {
  padding-top: 90px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 34px;
  background: linear-gradient(135deg, #092e72, #2965c8 62%, #70a5f4);
  color: var(--white);
}

.section-kicker.light {
  color: #d7e4f8;
}

.contact-card p:not(.section-kicker) {
  margin-top: 0;
  color: #e7f0fd;
  font-size: 1.08rem;
}

.button-light {
  background: var(--white);
  color: var(--deep-blue);
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 50px;
  align-items: center;
}

.footer-grid > div p,
.copyright {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .wordmark {
  width: 166px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.88rem;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: var(--blue);
}

.copyright {
  grid-column: 1 / -1;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: 100px 0 68px;
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.88), rgba(255, 255, 255, 0.76));
}

.page-hero.compact {
  padding-bottom: 52px;
}

.page-hero p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.content-section {
  display: grid;
  gap: 22px;
  padding: 42px 0 112px;
}

.support-card {
  padding: clamp(30px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(7, 39, 91, 0.07);
}

.support-card h2 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
}

.support-card > p:not(.product-label, .response-note) {
  color: var(--muted);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  font-weight: 700;
  font-size: 0.9rem;
}

.inline-links a,
.text-link,
.prose a {
  color: var(--blue);
}

.muted-card {
  box-shadow: none;
  background: var(--soft);
}

.text-link {
  font-size: 1.12rem;
  font-weight: 800;
}

.response-note {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.prose {
  padding: 42px 0 112px;
  color: #294c86;
}

.prose h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 16px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--soft);
}

.error-card {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 56px;
  text-align: center;
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 38px 0 0;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}

.error-card h1 {
  margin: 14px 0 10px;
  font-size: 2.2rem;
  line-height: 1.1;
}

.error-card > p:not(.error-code) {
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .section-heading,
  .product-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-section,
  .section-heading,
  .contact-card {
    gap: 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-brand {
    min-height: 390px;
  }

  .product-visual {
    min-height: 460px;
  }

  .section-heading {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .shell,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    align-items: flex-start;
    padding: 16px 0;
  }

  .wordmark {
    width: 152px;
  }

  .main-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.82rem;
  }

  .main-nav a:nth-child(1),
  .main-nav a:nth-child(2) {
    display: none;
  }

  .nav-cta {
    padding: 8px 13px;
  }

  .language-switcher {
    order: -1;
  }

  .hero {
    padding: 72px 0 78px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .hero-brand {
    min-height: 320px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .product-main {
    padding: 36px 24px 42px;
  }

  .product-visual {
    min-height: 400px;
    padding-inline: 18px;
  }

  .app-preview {
    max-height: 430px;
  }

  .store-links {
    flex-direction: column;
    align-items: stretch;
  }

  .coming-card {
    padding: 28px;
  }

  .contact-card {
    padding: 38px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }

  .page-hero {
    padding: 72px 0 48px;
  }

  .error-card {
    padding: 38px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand::before {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
