/* Sea U Soon marketing site — tokens aligned with SysTokens (navy / teal / ice / yellow) */

:root {
  --navy: #001b3a;
  --navy-deep: #003454;
  --teal: #008397;
  --teal-mid: #006c83;
  --ice: #f2fbfd;
  --ice-muted: #e8f0f2;
  --ink: #001529;
  --muted: #7e8b97;
  --yellow: #edd02f;
  --white: #ffffff;
  --font-display: "Syne", sans-serif;
  --font-body: "Karla", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 131, 151, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ice) 0%, var(--white) 40%, var(--ice-muted) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  z-index: 40;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), color 0.35s var(--ease);
  color: var(--white);
}

.site-header.is-scrolled {
  background: rgba(0, 27, 58, 0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.45rem 0.9rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  z-index: 39;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.65rem 0;
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero — one composition, full-bleed image */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
  will-change: transform;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 27, 58, 0.25) 0%, rgba(0, 27, 58, 0.15) 35%, rgba(0, 27, 58, 0.78) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 8vh, 4.5rem);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero-copy.is-in {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--yellow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-primary:hover {
  background: #f5dc4a;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-get .btn-ghost {
  color: var(--navy);
  border-color: rgba(0, 27, 58, 0.35);
}

.section-get .btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(0, 131, 151, 0.08);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 10vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--navy);
  max-width: 16ch;
}

.section-copy > p,
.water-copy > p:not(.eyebrow),
.get-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 38ch;
}

.section-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .section-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
}

.section-visual {
  margin: 0;
  overflow: hidden;
}

.section-visual img {
  width: 100%;
  height: clamp(16rem, 42vw, 28rem);
  object-fit: cover;
  filter: saturate(1.05);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 131, 151, 0.2);
}

.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.steps span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1rem;
}

/* Water section — image as dominant plane */

.section-water {
  padding: 0;
  display: grid;
}

.water-visual {
  margin: 0;
  min-height: clamp(18rem, 55vw, 32rem);
}

.water-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.water-copy {
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-mid) 100%);
  color: var(--white);
}

.water-copy .eyebrow {
  color: var(--yellow);
}

.water-copy h2 {
  color: var(--white);
}

.water-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 900px) {
  .section-water {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 28rem;
  }

  .water-visual,
  .water-visual img {
    min-height: 100%;
    height: 100%;
  }

  .water-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Get */

.section-get {
  text-align: left;
  background:
    linear-gradient(180deg, transparent, rgba(0, 131, 151, 0.06)),
    var(--ice);
}

.section-get h2 {
  max-width: 14ch;
}

.section-get .cta-row {
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--yellow);
  margin: 0 0 0.35rem;
}

.footer-meta,
.footer-fine {
  margin: 0;
  font-size: 0.95rem;
}

.footer-fine {
  margin-top: 1.25rem;
}

.footer-fine a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* Reveal on scroll */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
    transform: none;
  }

  .hero-copy,
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* —— Legal / compliance pages —— */

body.page-legal {
  background: var(--ice);
}

.site-header.header-solid {
  background: var(--navy);
  color: var(--white);
  position: sticky;
}

.legal-main {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.legal-updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  max-width: none;
}

.legal-main h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin: 1.35rem 0 0.5rem;
}

.legal-main p,
.legal-main li {
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-main p {
  margin: 0 0 1rem;
}

.legal-main ul,
.legal-main ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.legal-main li {
  margin-bottom: 0.45rem;
}

.legal-main a {
  color: var(--teal-mid);
  font-weight: 600;
}

.legal-callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-left: 4px solid var(--teal);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(237, 208, 47, 0.35);
}

.site-footer .footer-entity {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.apps-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 700px) {
  .apps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.app-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.app-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.business-strip {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--white);
  border-top: 1px solid rgba(0, 131, 151, 0.15);
  border-bottom: 1px solid rgba(0, 131, 151, 0.15);
}

.business-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.business-strip p {
  margin: 0 0 0.75rem;
  max-width: 42rem;
  color: var(--muted);
}

.business-strip p:last-child {
  margin-bottom: 0;
}
