/* ============================================================
   IKEN — landing page styles
   All design tokens live in :root CSS variables below.
   ============================================================ */

:root {
  --ink: #16191d;
  --ink-2: #1e232a;
  --paper: #f7f7f4;
  --card: #ffffff;
  --line: #e2e0da;
  --line-dark: #2b323b;
  --text: #1c1f23;
  --muted: #6e7278;
  --muted-dark: #9aa1ab;
  --accent: #e8590c;
  --accent-strong: #c74a08;
  --on-accent: #ffffff;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular,
    Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --radius-card: 4px;
  --radius-btn: 3px;
  --radius-chip: 2px;

  --section-pad: 80px;
  --header-h: 72px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

/* ---------- anchor scroll offset ---------- */
section,
#top {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  font-weight: 700;
  color: inherit;
  line-height: 1.1;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, transform 0.16s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn--ghost-dark {
  color: var(--paper);
  border-color: var(--line-dark);
}

.btn--ghost-dark:hover {
  border-color: var(--paper);
  color: var(--paper);
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.eyebrow--on-dark {
  color: var(--accent);
}

/* ---------- links ---------- */
.link {
  font-weight: 500;
  color: var(--accent-strong);
  text-decoration: none;
}

.link:hover {
  color: var(--accent);
}

.link--on-dark {
  color: var(--accent);
}

.link--on-dark:hover {
  color: var(--on-accent);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.brand__ik {
  color: var(--accent);
}

.brand__en {
  color: inherit;
}

.brand--footer {
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.site-nav__list a:hover {
  color: var(--accent);
}

.site-nav__cta {
  padding: 11px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 12, 14, 0.85) 0%,
    rgba(10, 12, 14, 0.62) 55%,
    rgba(10, 12, 14, 0.38) 100%
  );
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding-block: 96px 112px;
}

.hero__content {
  width: 100%;
  max-width: 660px;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--paper);
}

.hero__sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__chips {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-chip);
  padding: 7px 10px;
  white-space: nowrap;
}

/* ---------- compat strip ---------- */
.compat {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.compat__inner {
  padding-block: 28px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.compat__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 4px;
}

.compat__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
}

.compat__list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}

.compat__list li:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--muted);
}

/* ---------- sections ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--light {
  background: var(--paper);
  color: var(--text);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section__head {
  max-width: 720px;
}

.section__head h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section--dark h2 {
  color: var(--paper);
}

/* ---------- products ---------- */
.products {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  padding: 5px 8px;
}

.product__title {
  margin-top: 14px;
  font-size: 21px;
}

.product__text {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

.product__body .link {
  margin-top: 18px;
  font-size: 15px;
}

/* ---------- products banner ---------- */
.banner {
  margin-top: 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.banner__text {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.5;
  max-width: 760px;
}

.banner__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.banner .link {
  flex: none;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- why ---------- */
.why {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.why__left {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.why__left h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.why__left > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  max-width: 420px;
}

.why__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.why__item:last-child {
  border-bottom: 1px solid var(--line);
}

.why__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  padding-top: 6px;
}

.why__item h3 {
  font-size: 19px;
}

.why__item p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
}

/* ---------- oem ---------- */
.oem {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.oem__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.oem__content h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--paper);
}

.oem__list {
  margin-top: 26px;
}

.oem__list li {
  position: relative;
  padding: 9px 0 9px 22px;
  color: var(--muted-dark);
  font-size: 16px;
}

.oem__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.oem__content .btn {
  margin-top: 32px;
}

/* ---------- process ---------- */
.process {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process__step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.process__num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  line-height: 1;
}

.process__step h3 {
  margin-top: 14px;
  font-size: 19px;
}

.process__step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: start;
}

.contact__form h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--paper);
}

#contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid #3d4550;
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dark);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted-dark);
}

.form-note + .form-note {
  margin-top: 10px;
}

.form-note .mailto {
  color: var(--accent);
  text-decoration: none;
}

.form-note .mailto:hover {
  color: var(--on-accent);
}

.contact__aside {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: var(--ink-2);
  padding: 28px;
}

.contact__aside-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.contact__steps {
  margin-top: 18px;
}

.contact__steps li {
  position: relative;
  padding: 0 0 16px 20px;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.55;
}

.contact__steps li:last-child {
  padding-bottom: 0;
}

.contact__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.site-footer__top {
  padding-block: 56px 40px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__brand p {
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 15px;
}

.site-footer__nav {
  display: flex;
  gap: 64px;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__nav a {
  font-size: 14px;
  color: var(--muted-dark);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer__bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}

/* ---------- reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__content {
    max-width: 600px;
  }

  .products {
    gap: 20px;
  }

  .why,
  .oem,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why__left {
    position: static;
  }

  .why__left > p:last-child {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-pad: 56px;
    --header-h: 64px;
  }

  section,
  #top {
    scroll-margin-top: 72px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 32px -16px rgba(22, 25, 29, 0.22);
    padding: 8px 24px 20px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav__cta {
    margin-top: 16px;
    justify-content: center;
  }

  .hero__inner {
    min-height: 0;
    padding-block: 72px 84px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__chips {
    gap: 8px;
  }

  .compat__inner {
    flex-direction: column;
    gap: 12px;
  }

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

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .why__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .why__num {
    padding-top: 0;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .section__head h2,
  .oem__content h2,
  .contact__form h2 {
    font-size: 1.8rem;
  }

  .site-footer__nav {
    gap: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
