@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0C121B;
  --surface: #15202D;
  --line: #2B3C51;
  --text: #EDF5FF;
  --muted: #AFBED0;
  --accent: #79DED9;
  --clipkit-accent: #91B7FF;
  --ocean-accent: #79DED9;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  scroll-padding-top: 22px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-weight: 400; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.055em; }
h1 { font-size: clamp(3.25rem, 8.2vw, 7.65rem); font-weight: 430; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 470; }
h3 { font-size: clamp(1.75rem, 3.6vw, 3.6rem); font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1232px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 5; padding: 10px 15px; background: var(--accent); color: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { min-height: 85px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; font-weight: 570; font-size: 1.3rem; letter-spacing: -.045em; white-space: nowrap; }
.brand-icon { display: block; width: 34px; height: 34px; margin-right: 9px; flex: none; }
.brand-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 36px); font-size: .875rem; color: var(--muted); }
nav a:hover, nav a[aria-current="page"], .footer a:hover, .back-link:hover { color: var(--accent); }
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(535px, 72svh, 780px);
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 42%, #1A3354, transparent 63%), var(--bg);
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(26px, 5vw, 82px);
  padding-block: clamp(52px, 8vw, 112px);
}
.home-hero h1 { font-size: clamp(2.7rem, 5.7vw, 5.75rem); }
.hero-product {
  display: block;
  overflow: hidden;
  border: 1px solid #91b7ff50;
  border-radius: 20px;
  padding: 10px;
  background: #15202df5;
  box-shadow: 0 24px 65px #0008;
  transition: border-color 220ms ease, transform 220ms ease;
}
.hero-product:hover { border-color: var(--accent); transform: translateY(-3px); }
.hero-product img { width: 100%; border-radius: 12px; }
.hero-product-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 14px;
  padding: 12px 8px 3px;
  font-size: .85rem;
}
.hero-product-caption span:first-child { font-weight: 600; }
.hero-product-caption span:last-child { color: var(--accent); }
.eyebrow { font-size: .79rem; font-weight: 540; letter-spacing: .115em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.hero-copy .eyebrow { margin-bottom: 19px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.status-dot.ocean { background: var(--ocean-accent); }
.lead { margin-block: 24px 28px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 56ch; }
.hero-copy .lead { max-width: 43ch; color: var(--muted); }
.orbit { position: absolute; inset: 0; }
.orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0c121bbe, #0c121b38 65%, transparent),
    linear-gradient(to bottom, #0c121b50, transparent 30%, transparent 76%, var(--bg));
}
.orbit canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }




.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border-radius: 999px; padding: 9px 16px; font-weight: 580; font-size: .925rem; }
.primary { background: var(--accent); color: var(--bg); border: 1px solid var(--accent); }
.primary:hover { background: var(--text); }
.secondary { border: 1px solid var(--line); background: #ffffff05; }
.secondary:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.windows-icon { display: inline-block; width: 14px; height: 14px; background: linear-gradient(currentColor 6px, transparent 6px) 0 0 / 6px 8px repeat-y, linear-gradient(currentColor 6px, transparent 6px) right top / 6px 8px repeat-y; }
.steam-button:disabled {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--ocean-accent) 34%, transparent);
  background: color-mix(in srgb, var(--ocean-accent) 11%, transparent);
  cursor: default;
}
.steam-icon { position: relative; display: inline-block; width: 17px; height: 17px; flex: none; }
.steam-icon::before, .steam-icon::after {
  content: "";
  position: absolute;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.steam-icon::before { width: 8px; height: 8px; right: 0; top: 0; }
.steam-icon::after { width: 5px; height: 5px; left: 1px; bottom: 1px; }
.steam-icon span {
  position: absolute;
  height: 2px;
  width: 8px;
  left: 5px;
  top: 10px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(-38deg);
}
.instagram-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
}
.instagram-icon::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.instagram-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}
.projects { padding-block: 56px 80px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 24px; }
.feature-card, .ocean-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.feature-card { min-height: 365px; background: radial-gradient(ellipse at 78% 32%, #1B3353, var(--surface) 62%); }
.card-copy { align-self: center; padding: clamp(22px, 3.8vw, 48px); }
.card-copy .eyebrow, .product-heading { margin-bottom: 10px; }
.card-copy p:not(.eyebrow) { margin-block: 14px 23px; color: var(--muted); max-width: 40ch; }
.app-mark { object-fit: contain; border-radius: 13px; }
.card-copy .app-mark { margin-bottom: 20px; }
.feature-visual { padding: 30px 28px 30px 0; align-self: center; }
.feature-visual img { width: 100%; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 16px 46px #0008; }
.feature-visual:focus-visible, .ocean-visual:focus-visible { outline-offset: -5px; }
.ocean-card { margin-top: 18px; grid-template-columns: 1fr .85fr; }
.ocean-card h3 { font-size: clamp(1.75rem, 3.6vw, 2.8rem); }
.ocean-visual {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 205px;
  background: radial-gradient(ellipse at 55% 56%, #18434D, transparent 67%),
    linear-gradient(150deg, #152B41, #0C121B 72%);
}
.ocean-visual canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ocean-shot .ocean-visual {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.footer { color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 26px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer .brand { color: var(--text); }
.product-hero { padding: 33px 0 60px; }
.back-link { display: inline-block; color: var(--muted); margin-bottom: 36px; font-size: .9rem; }
.product-heading { display: flex; align-items: center; column-gap: 14px; }
.product-tagline { font-size: clamp(1.3rem, 4vw, 2.7rem); font-weight: 460; letter-spacing: -.035em; margin-top: 12px; }
.product-hero .lead { margin-top: 13px; }
.product-shot { margin-top: 45px; padding: clamp(12px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 35% 0, #1B3353, var(--bg) 70%); }
.product-shot img { width: 100%; border-radius: 9px; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.content-section { border-top: 1px solid var(--line); padding-block: 44px 72px; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.workflow article, .download-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.workflow h3 { font-size: 1.6rem; margin-block: 12px; letter-spacing: -.035em; }
.workflow article > p:last-child, .download-panel p { color: var(--muted); }
kbd { padding: 1px 4px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; margin-top: 31px; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.download-panel { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.download-panel h2 { font-size: 1.75rem; margin-bottom: 9px; }
.ocean-page h1 { font-size: clamp(2.9rem, 8vw, 6.5rem); }
.ocean-page .product-shot { background: var(--surface); }
@media (max-width: 920px) {
  .wrap { width: min(100% - 48px, 1232px); }
  .feature-card { grid-template-columns: 1fr 1.15fr; }
  .feature-visual { padding-right: 20px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 68px; gap: 12px; }
  .brand { font-size: 1.1rem; }
  .brand-icon { width: 25px; height: 25px; margin-right: 5px; }
  nav { font-size: .78rem; gap: 13px; }
  .home-hero { min-height: 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 54px 74px; }
  .home-hero h1 { font-size: clamp(2.45rem, 9vw, 4.3rem); }

  .projects { padding-top: 28px; }
  .feature-card, .ocean-card { grid-template-columns: 1fr; }
  .feature-visual { padding: 0 15px 15px; }
  .ocean-visual { min-height: 0; aspect-ratio: 16/8; }
  .workflow, .gallery { grid-template-columns: 1fr; }
  .product-hero { padding-block: 22px 38px; }
  .back-link { margin-bottom: 29px; }
}

.brand-tld { color: var(--accent); }
.feature-card, .ocean-card {
  isolation: isolate;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.feature-card { --highlight: 145 183 255; }
.ocean-card { --highlight: 121 222 217; }
.clipkit-page, .feature-card, .hero-product { --accent: var(--clipkit-accent); }

.feature-card::after, .ocean-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse 320px 245px at var(--spot-x, 50%) var(--spot-y, 50%), rgb(var(--highlight) / .22), transparent 85%);
  opacity: 0;
  transition: opacity 280ms ease;
}
.feature-card:focus-within, .ocean-card:focus-within {
  border-color: rgb(var(--highlight) / .72);
  box-shadow: 0 8px 36px rgb(var(--highlight) / .10);
}
.feature-card:focus-within::after, .ocean-card:focus-within::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover, .ocean-card:hover {
    border-color: rgb(var(--highlight) / .72);
    box-shadow: 0 8px 36px rgb(var(--highlight) / .10);
  }
  .feature-card:hover::after, .ocean-card:hover::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card, .ocean-card, .feature-card::after, .ocean-card::after { transition: none; }
}
@media (max-width: 385px) {
  .site-header { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; padding-block: 12px; }
}

.carousel { background: var(--surface); }
.carousel-stage { min-width: 0; }
.carousel-slide img {
  aspect-ratio: 1122 / 710;
  object-fit: contain;
  background: var(--bg);
}
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.carousel-slide:not([hidden]) { animation: enter-slide 320ms ease-out; }
@keyframes enter-slide { from { opacity: .45; } to { opacity: 1; } }
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.carousel-count { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.carousel-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.carousel-buttons button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.carousel-buttons button:hover { border-color: var(--accent); }
.carousel-play { width: 11px; height: 14px; border-inline: 3px solid currentColor; }
[data-playing="false"] .carousel-play {
  width: 0;
  height: 0;
  border: 0;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
  margin-left: 3px;
}
.contact-page { max-width: 760px; padding-block: clamp(48px, 8vw, 100px); }
.contact-page h1 { font-size: clamp(3.35rem, 9vw, 6rem); }
.contact-form {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 4vw, 32px);
  background: var(--surface);
}
.contact-form p { color: var(--muted); }
.contact-form fieldset {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled {
  background: var(--line);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
@media (max-width: 680px) {
  .site-header { flex-wrap: wrap; padding-block: 12px; }
  .site-header nav { flex-wrap: wrap; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide:not([hidden]) { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product { transition: none; }
  .hero-product:hover { transform: none; }
}
