@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101a19;
  --ink-soft: #243331;
  --teal: #0b6e6e;
  --teal-deep: #084f4f;
  --foam: #e7f3f1;
  --paper: #f3f7f5;
  --copper: #b85a2a;
  --line: rgba(16, 26, 25, 0.12);
  --shadow: 0 24px 60px rgba(8, 40, 40, 0.18);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(11, 110, 110, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 90, 42, 0.08), transparent 50%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
}

a:hover {
  color: var(--copper);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 247, 245, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  color: var(--teal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a[aria-current="page"] {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: #f5fbfa;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 20, 0.35) 0%, rgba(8, 20, 20, 0.72) 55%, rgba(8, 20, 20, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 40, 40, 0.45), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}
.hero-brand span {
  display: block;
  color: #8fd6d0;
  font-size: 0.42em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.hero p {
  margin: 0 0 1.6rem;
  font-size: 1.15rem;
  max-width: 34rem;
  color: rgba(245, 251, 250, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, #eef6f4 0%, var(--paper) 100%);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.section .lede {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  color: var(--ink-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  padding: 1.4rem 1.2rem 1.5rem;
  border-top: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.55);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.pillar p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.product {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product:hover,
.product:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  outline: none;
}
.product-visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9e8e5;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .product-visual img {
  transform: scale(1.04);
}
.product-body {
  padding: 1.15rem 1.2rem 1.35rem;
}
.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}
.product-body p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.train-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.train-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.train-list li {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--copper);
  background: rgba(255, 255, 255, 0.65);
}
.train-list strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}
.train-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatY 5.5s ease-in-out infinite;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  padding: 1.4rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.step p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.cta-band {
  margin: 0 0 4rem;
  padding: 3rem 2rem;
  background:
    linear-gradient(135deg, var(--teal-deep), #0d3f3f 55%, #1a2a28);
  color: #f5fbfa;
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.cta-band h2 {
  margin: 0;
  color: inherit;
}
.cta-band p {
  margin: 0;
  max-width: 36rem;
  color: rgba(245, 251, 250, 0.88);
}

.legal-page {
  padding: 3.5rem 0 5rem;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1.5rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}
.notice {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--copper);
  background: #fff6ef;
  margin: 1rem 0 1.5rem;
}

.legal-preview-banner {
  background: #fff6ef;
  border-bottom: 1px solid rgba(184, 90, 42, 0.25);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.legal-preview-banner p {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0.65rem auto;
  padding: 0 0.25rem;
}
.legal-preview-banner strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-disclaimer {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: #e8f0ee;
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.6rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li {
  margin-top: 0.35rem;
}
.site-footer a {
  text-decoration: none;
}
.footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.site-hashtags {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  line-height: 1.55;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .train-visual,
  .hero-content,
  .product,
  .product-visual img {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .pillars,
  .product-grid,
  .steps,
  .footer-grid,
  .train-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 78vh;
  }
}
