@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: local("Fraunces"), local("Georgia");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("Source Sans 3"), local("Segoe UI"), local("Candara");
}

:root {
  /* Canonical DI.SK CI (light) — aligned with Home-Dashboard web/styles.css */
  --petrol-dark: #0e3d48;
  --petrol: #2f8f9c;
  --petrol-mid: #1f6b76;
  --cyan: #3ec9d6;
  --yellow: #c9a61c;
  --accent-btn: #b89618;
  --accent-btn-text: #0d3540;
  --cream: #e8f2f4;
  --mist: #c5dde3;
  --text: #0d3540;
  --text-soft: #3a646c;
  --theme-chrome: #174f5a;
  --bg-1: #cfe8ee;
  --bg-2: #e7f4f6;
  --bg-3: #b9d5dc;
  --glow-a: rgba(255, 212, 38, 0.2);
  --glow-b: rgba(62, 201, 214, 0.32);
  --hero-overlay: #0b1c22;
  --hero-overlay-mid: #123038;

  /* Legacy token aliases used in this stylesheet */
  --ink: var(--text);
  --ink-soft: var(--text-soft);
  --teal: var(--petrol);
  --teal-deep: var(--petrol-mid);
  --foam: var(--cream);
  --paper: var(--cream);
  --copper: var(--yellow);

  --line: rgba(13, 53, 64, 0.12);
  --shadow: 0 24px 60px rgba(14, 61, 72, 0.18);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Candara, sans-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%, var(--glow-a), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, var(--glow-b), transparent 50%),
    linear-gradient(165deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 100%);
  background-attachment: fixed;
  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(--petrol);
}

.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(232, 242, 244, 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 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--petrol-dark);
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 2.55rem;
  width: auto;
  max-width: min(220px, 52vw);
}
.brand span {
  color: var(--petrol);
  font-weight: 600;
}

.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(--accent-btn);
  color: var(--accent-btn-text);
}
.btn-primary:hover {
  background: var(--yellow);
  color: var(--accent-btn-text);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--petrol);
  color: var(--petrol-mid);
}

.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(11, 28, 34, 0.35) 0%, rgba(11, 28, 34, 0.72) 55%, rgba(11, 28, 34, 0.9) 100%),
    linear-gradient(90deg, rgba(14, 61, 72, 0.48), 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-logo-wrap {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.75rem;
  background: rgba(245, 251, 250, 0.94);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 28, 34, 0.28);
}
.hero-logo {
  display: block;
  height: clamp(2.6rem, 6vw, 3.4rem);
  width: auto;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.brand-logo--footer {
  height: 2.1rem;
  max-width: 180px;
}
.footer-brand {
  margin: 0 0 0.75rem;
  line-height: 0;
}
.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, var(--mist) 0%, var(--cream) 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: var(--mist);
}
.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(--yellow);
  background: rgba(255, 244, 220, 0.92);
  margin: 1rem 0 1.5rem;
}

.legal-preview-banner {
  background: rgba(255, 244, 220, 0.95);
  border-bottom: 1px solid rgba(201, 166, 28, 0.35);
  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: linear-gradient(180deg, var(--cream) 0%, var(--mist) 100%);
  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;
  }
}
