:root {
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --color-navy-900: #0d2235;
  --color-turquoise-500: #26b7ae;
  --color-green-400: #7fd38b;
  --color-text: #243746;
  --color-muted: #627586;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 60px rgba(7, 21, 33, 0.08);
  --shadow-strong: 0 24px 80px rgba(7, 21, 33, 0.15);
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(38, 183, 174, 0.09), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(137, 191, 245, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fb 38%, #ffffff 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--color-navy-900);
  color: var(--color-white);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section--muted {
  background:
    linear-gradient(180deg, rgba(237, 244, 248, 0.72), rgba(255, 255, 255, 0.96)),
    var(--color-white);
}

.section--tint {
  background:
    radial-gradient(circle at 12% 18%, rgba(38, 183, 174, 0.14), transparent 22%),
    radial-gradient(circle at 88% 24%, rgba(137, 191, 245, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(232, 245, 251, 0.86), rgba(255, 255, 255, 0.98));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 34, 53, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.brand__logo {
  width: clamp(180px, 18vw, 235px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(13, 34, 53, 0.06);
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-muted);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-turquoise-500), var(--color-green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-navy-900);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  background: var(--color-navy-900);
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(13, 34, 53, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(13, 34, 53, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--color-navy-900);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(38, 183, 174, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-turquoise-500);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(38, 183, 174, 0.12);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-navy-900);
}

h1 {
  font-size: clamp(2.85rem, 5vw, 5rem);
}

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

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0;
}

.hero-text,
.footer-note {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.contact-layout,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
  font-size: 1.125rem;
  line-height: 1.55;
}


.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-turquoise-500), #1fa39b);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(38, 183, 174, 0.16);
}

.btn--secondary {
  border-color: rgba(13, 34, 53, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-navy-900);
}

.btn--secondary:hover,
.header-cta:hover {
  box-shadow: 0 16px 32px rgba(13, 34, 53, 0.12);
}

.hero-panel__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-navy-900);
}

.check-list,
.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-turquoise-500), var(--color-green-400));
  box-shadow: 0 0 0 6px rgba(38, 183, 174, 0.1);
}

.page-hero {
  padding: 4rem 0 3rem;
}

.page-hero__panel {
  padding: 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 34, 53, 0.08);
  box-shadow: var(--shadow-soft);
}

.visual-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 34, 53, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.visual-panel {
  padding: 1.5rem;
}

.visual-panel--soft {
  background:
    radial-gradient(circle at top right, rgba(137, 191, 245, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 252, 0.96));
}

.flow-top-md {
  margin-top: 1rem;
}

.shape-divider {
  position: relative;
  overflow: hidden;
}

.shape-divider::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 42% 58% 56% 44% / 48% 48% 52% 52%;
  background: radial-gradient(circle at 35% 35%, rgba(38, 183, 174, 0.14), rgba(137, 191, 245, 0.06));
  pointer-events: none;
}

.page-hero__panel .check-list {
  margin-top: 1rem;
}

.legal-document {
  max-width: 960px;
  overflow-wrap: anywhere;
}

.legal-document h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.legal-intro,
.legal-section {
  line-height: 1.75;
}

.legal-section {
  margin-top: 2.5rem;
  scroll-margin-top: 120px;
}

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

.legal-section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
}

.legal-section h3 {
  margin: 1.75rem 0 0.8rem;
  font-size: 1.15rem;
}

.legal-intro p + p,
.legal-section p + p {
  margin-top: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li + li {
  margin-top: 0.5rem;
}

.legal-document a {
  color: var(--color-teal-700, #177f79);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 34, 53, 0.08);
  box-shadow: var(--shadow-strong);
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--color-navy-900);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 34, 53, 0.12);
  border-radius: 14px;
  background: #fbfdff;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(38, 183, 174, 0.64);
  box-shadow: 0 0 0 4px rgba(38, 183, 174, 0.12);
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.form-status {
  font-size: 0.94rem;
  color: var(--color-muted);
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(38, 183, 174, 0.1);
  color: #177f79;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  padding: 4rem 0 2rem;
  background:
    radial-gradient(circle at top right, rgba(38, 183, 174, 0.16), transparent 26%),
    linear-gradient(180deg, #071521 0%, #0b1d2c 100%);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: min(260px, 100%);
  margin-bottom: 1rem;
}

.footer-brand {
  min-width: 0;
}

.footer-note {
  max-width: 34ch;
}

.site-footer strong {
  color: var(--color-white);
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: var(--color-white);
}

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

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

@media (max-width: 1080px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 34, 53, 0.08);
    box-shadow: var(--shadow-strong);
  }

  .contact-layout,
  .page-hero__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1.02rem;
  }

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

  .visual-panel {
    padding: 1.2rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .container {
    width: min(100% - 48px, 1120px);
  }

  .header-inner {
    gap: 1.2rem;
  }

  .hero-text {
    max-width: 760px;
    font-size: 1.08rem;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 78px;
    gap: 0.9rem;
  }

  .brand__logo {
    width: min(180px, 46vw);
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }
}

/* Homepage reference layout */

.hero-text {
  max-width: 42ch;
  margin-top: 0;
  font-size: 1.18rem;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1179px) {

  .hero-text {
    max-width: 44ch;
    font-size: 1.08rem;
  }
}

@media (max-width: 767px) {

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }
}
