/* TEKHERO interim coming-soon page. Tokens per TEKHERO_A04_DESIGN_SYSTEM (dark theme, DSN-09B). */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700-latin-ext.9d351bd922.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700-latin.3787a5a419.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-latin-ext.6744a7f509.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-latin.8909904ab6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg-canvas: #1c1c1e;
  --color-bg-raised: #232326;
  --color-brand-yellow: #fcee1f;
  --color-text-primary: #f5f5f0;
  --color-text-secondary: #9a9a94;
  --color-text-on-brand: #0a0a0a;
  --color-border-subtle: #2a2a2a;
  --color-focus-ring: #fcee1f;

  --font-display: "Barlow Condensed", "Bahnschrift", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", "Bahnschrift", ui-sans-serif, system-ui, sans-serif;

  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 64px;

  --chamfer-size: 12px;

  --motion-duration-fast: 150ms;
  --motion-duration-slow: 400ms;
  --motion-duration-breathe: 4000ms;
  --motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --motion-easing-decelerate: cubic-bezier(0, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg-canvas);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  position: relative;
  overflow-x: hidden;
}

.page {
  position: relative;
  max-width: 640px;
  width: 100%;
  text-align: center;
  padding: var(--space-8) 0;
}

.logo {
  margin: 0 0 var(--space-8);
}

.logo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-8);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-yellow);
  color: var(--color-text-on-brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.125rem;
  text-decoration: none;
  padding: 14px 28px;
  clip-path: polygon(
    0 0,
    calc(100% - var(--chamfer-size)) 0,
    100% var(--chamfer-size),
    100% 100%,
    0 100%
  );
  margin-bottom: var(--space-12);
  transition: transform var(--motion-duration-fast) var(--motion-easing-standard),
    background var(--motion-duration-fast) var(--motion-easing-standard);
}

.cta:hover {
  background: #e6da1c;
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible,
.products a:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.products {
  margin: 0 0 var(--space-12);
}

.products h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4);
}

.products ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid var(--color-border-subtle);
}

.products li {
  border-bottom: 1px solid var(--color-border-subtle);
}

.products a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 4px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--motion-duration-fast) var(--motion-easing-standard);
}

.products a:hover {
  color: var(--color-brand-yellow);
}

.products a:hover .arrow {
  transform: translateX(4px);
  color: var(--color-brand-yellow);
}

.products a .arrow {
  color: var(--color-text-secondary);
  flex-shrink: 0;
  display: inline-block;
  transition: transform var(--motion-duration-fast) var(--motion-easing-standard),
    color var(--motion-duration-fast) var(--motion-easing-standard);
}

footer {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

footer p {
  margin: 0 0 var(--space-4);
}

footer a {
  color: var(--color-text-secondary);
}

.motif {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 120px;
  height: 120px;
  opacity: 0.18;
  pointer-events: none;
  animation: motif-breathe var(--motion-duration-breathe) ease-in-out infinite alternate;
}

@keyframes motif-breathe {
  from {
    opacity: 0.12;
    transform: translateY(0);
  }
  to {
    opacity: 0.28;
    transform: translateY(4px);
  }
}

/* Entrance: a single restrained fade-up, staggered per section, plays once on load. */
.reveal {
  animation: reveal-fade-up var(--motion-duration-slow) var(--motion-easing-decelerate) both;
}

.reveal-1 { animation-delay: 0ms; }
.reveal-2 { animation-delay: 80ms; }
.reveal-3 { animation-delay: 160ms; }
.reveal-4 { animation-delay: 220ms; }
.reveal-5 { animation-delay: 420ms; }

.products.reveal-4 ul li {
  opacity: 0;
  animation: reveal-fade-up var(--motion-duration-slow) var(--motion-easing-decelerate) both;
}

.products.reveal-4 ul li:nth-child(1) { animation-delay: 260ms; }
.products.reveal-4 ul li:nth-child(2) { animation-delay: 300ms; }
.products.reveal-4 ul li:nth-child(3) { animation-delay: 340ms; }
.products.reveal-4 ul li:nth-child(4) { animation-delay: 380ms; }

@keyframes reveal-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motif {
    animation: none;
    opacity: 0.18;
  }
  .reveal,
  .products.reveal-4 ul li {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .products a,
  .products a .arrow,
  .cta {
    transition: none;
  }
  .cta:hover,
  .products a:hover .arrow {
    transform: none;
  }
}
