:root {
  --ink: #10272d;
  --muted: #5a6c72;
  --line: #dce7ea;
  --water: #087d8c;
  --water-deep: #063440;
  --navy: #08111f;
  --navy-soft: #13243a;
  --foam: #f5fafb;
  --signal: #f0522d;
  --sun: #ffd166;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(4, 32, 39, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--foam);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(220, 231, 234, 0.72);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--water-deep);
  font-size: 1.04rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--water-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--water);
}

.nav .language-toggle {
  padding: 4px 9px;
  border: 1px solid rgba(6, 52, 64, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero {
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 6vw, 76px) 58px;
  background:
    linear-gradient(90deg, rgba(245, 250, 251, 0.98) 0%, rgba(245, 250, 251, 0.9) 38%, rgba(245, 250, 251, 0.14) 72%),
    url("assets/regataracer-hero.png") center / cover no-repeat;
}

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

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--water-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(240, 82, 45, 0.13);
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  color: #082a33;
  font-size: clamp(3.35rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 62ch;
  color: #294a52;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(6, 52, 64, 0.18);
  border-radius: 999px;
  color: var(--water-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid var(--water-deep);
  border-radius: 10px;
  color: var(--water-deep);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button.primary {
  border-color: var(--signal);
  color: #fff;
  background: var(--signal);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 52, 64, 0.14);
}

main {
  background: var(--foam);
}

.section {
  padding: clamp(54px, 8vw, 100px) clamp(20px, 6vw, 76px);
}

.section.alt {
  background: #fff;
}

.section-header {
  max-width: 810px;
  margin-bottom: 36px;
}

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

.section-header.centered .section-kicker {
  justify-content: center;
}

h2 {
  margin-bottom: 16px;
  color: #0b313a;
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-header p:last-child,
.privacy-body p,
.step p,
.feature p,
.contact-section p {
  color: var(--muted);
}

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

.feature,
.step {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 52, 64, 0.055);
}

.feature {
  min-height: 232px;
}

.value-feature {
  border-color: rgba(8, 125, 140, 0.3);
  background: linear-gradient(145deg, #ffffff, #effbfc);
}

.value-feature .icon {
  color: #fff;
  background: var(--water);
}

.sync-feature {
  min-height: auto;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-color: rgba(240, 82, 45, 0.38);
  background: linear-gradient(115deg, #fff7f4, #ffffff 65%);
}

.sync-feature .icon {
  margin-bottom: 0;
  color: #fff;
  background: var(--signal);
}

.sync-feature h3 {
  margin-bottom: 5px;
}

.sync-feature p {
  margin-bottom: 0;
}

.icon {
  min-width: 54px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 0 9px;
  border-radius: 10px;
  color: var(--water-deep);
  background: #e8f7f9;
  font-size: 0.76rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.icon-symbol {
  font-size: 1.25rem;
}

h3 {
  margin-bottom: 10px;
  color: #123941;
  font-size: 1.12rem;
}

.screenshots-section {
  overflow: hidden;
  color: #f4f7fb;
  background:
    radial-gradient(circle at 50% 0%, #1a4269, transparent 45%),
    var(--navy);
}

.screenshots-section h2,
.screenshots-section .section-kicker {
  color: #fff;
}

.screenshots-section .section-header p:last-child {
  color: #b9c5d5;
}

.screenshot-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 30px);
  align-items: start;
  margin: 0 auto;
}

.screenshot-card {
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid #294463;
  border-radius: 24px;
  background: var(--navy-soft);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  object-position: top;
  background: #050a11;
}

.screenshot-card figcaption {
  padding: 19px;
  color: #b8c5d6;
  font-size: 0.94rem;
}

.screenshot-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.landscape-shot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  border-color: rgba(47, 128, 237, 0.8);
}

.landscape-shot img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #000;
}

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

.step {
  min-height: 240px;
}

.step-number {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--water);
  font-weight: 900;
}

.access-section {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(6, 52, 64, 0.97), rgba(8, 125, 140, 0.9)),
    url("assets/regataracer-hero.png") center / cover no-repeat;
}

.access-panel {
  max-width: 1150px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: center;
  margin: 0 auto;
}

.access-section h2 {
  max-width: 760px;
  color: #fff;
}

.access-section p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

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

.access-card {
  display: grid;
  gap: 6px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: rgba(4, 28, 35, 0.46);
  box-shadow: var(--shadow);
}

.access-card strong {
  font-size: 1.4rem;
}

.access-card span {
  color: var(--sun);
  font-weight: 800;
}

.access-card small {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background: #fff;
}

.contact-section > div {
  max-width: 740px;
}

.contact-section h2 {
  margin-bottom: 12px;
}

.support-section {
  background: linear-gradient(180deg, #edf8fa, #f5fafb);
}

.support-form {
  max-width: 920px;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(8, 125, 140, 0.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--water-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #b8cdd2;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.support-form textarea {
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--water);
  outline: 3px solid rgba(8, 125, 140, 0.16);
}

.support-form .button {
  width: fit-content;
  cursor: pointer;
}

.form-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.privacy-hero {
  padding: 140px clamp(20px, 6vw, 76px) 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 52, 64, 0.96), rgba(0, 124, 137, 0.72)),
    url("assets/regataracer-hero.png") center / cover no-repeat;
}

.privacy-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.privacy-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.privacy-hero .eyebrow {
  color: #fff;
}

.privacy-body {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 80px) clamp(20px, 6vw, 40px);
}

.privacy-body section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-body section:last-child {
  border-bottom: 0;
}

.privacy-body h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.74);
  background: #062a33;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 128px;
  }

  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 9px;
    overflow-x: auto;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 80svh;
    padding-top: 72px;
    background:
      linear-gradient(180deg, rgba(245, 250, 251, 0.97), rgba(245, 250, 251, 0.84) 60%, rgba(245, 250, 251, 0.24)),
      url("assets/regataracer-hero.png") 60% center / cover no-repeat;
  }

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

  .screenshot-card {
    max-width: 460px;
    margin-right: auto;
    margin-left: auto;
  }

  .landscape-shot {
    grid-column: auto;
    max-width: 100%;
  }

  .access-panel {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 540px) {
  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .step {
    min-height: auto;
  }

  .sync-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .sync-feature .icon {
    margin-bottom: 4px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
