@charset "utf-8";

/* ==========================================================================
   temi AI Service Robot  - Web Proposal
   Design tokens
   ========================================================================== */

/* 상용 한글 2,350자 + 라틴 + 기호로 줄인 서브셋 (471KB). 초기 로딩용 */
@font-face {
  font-family: "Pretendard Variable";
  src: url("../fonts/Pretendard-subset.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* 서브셋에 없는 희귀 글자가 나올 때만 브라우저가 내려받는 전체 폰트 (2MB) */
@font-face {
  font-family: "Pretendard Full";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #8e8e93;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --blue: #0066cc;
  --blue-hi: #1a84ff;
  --mint: #5fbfa9;
  --line: rgba(0, 0, 0, 0.08);
  --line-d: rgba(255, 255, 255, 0.12);

  --nav-h: 60px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  --r: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: "Pretendard Variable", "Pretendard Full", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--blue);
  color: #fff;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c7c7cc;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aeaeb2;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--wide {
  max-width: 1440px;
}

.section {
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.section--tight {
  padding-block: clamp(64px, 8vw, 110px);
}

/* Section heading block ---------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--dark .eyebrow {
  color: var(--blue-hi);
}

.h-xl {
  font-size: clamp(32px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.h-lg {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.h-md {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.lead {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 62ch;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.62);
}

.sec-head {
  margin-bottom: clamp(44px, 6vw, 80px);
}

.sec-head--center {
  text-align: center;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.sec-head--center .lead {
  margin-inline: auto;
}

.note {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
}

.section--dark .note {
  color: rgba(255, 255, 255, 0.4);
}

/* Reveal animation --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
.d4 {
  transition-delay: 0.32s;
}
.d5 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding-inline: 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s,
    border-color 0.25s;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: #0058b0;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #000;
}

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: #f0f0f2;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--sm {
  height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.btn--lg {
  height: 62px;
  padding-inline: 38px;
  font-size: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sec-head--center .btn-row {
  justify-content: center;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s,
    backdrop-filter 0.35s;
}

.nav.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
  flex: none;
}

.nav__logo span {
  color: var(--blue-hi);
}

.nav.is-scrolled .nav__logo span {
  color: var(--blue);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
  font-weight: 500;
}

.nav__menu a {
  opacity: 0.62;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav__menu a:hover,
.nav__menu a.is-active {
  opacity: 1;
}

/* CTA button inverts with the bar */
.nav .btn--dark {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}

.nav .btn--dark:hover {
  background: rgba(255, 255, 255, 0.28);
}

.nav.is-scrolled .btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.nav.is-scrolled .btn--dark:hover {
  background: #000;
}

@media (max-width: 900px) {
  .nav__menu {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding-bottom: clamp(56px, 8vh, 96px);
  padding-top: calc(var(--nav-h) + 40px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg video,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  animation: heroZoom 24s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1.12);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.6) 42%,
    rgba(0, 0, 0, 0.28) 72%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(95, 191, 169, 0.25);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  50% {
    box-shadow: 0 0 0 9px rgba(95, 191, 169, 0);
  }
}

.hero h1 {
  font-size: clamp(29px, 6.2vw, 82px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 20%, rgba(255, 255, 255, 0.48));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
  margin-bottom: 40px;
}

.hero .btn-row {
  margin-bottom: 46px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.hero__facts b {
  color: #fff;
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.42);
  animation: floatY 2.4s ease-in-out infinite;
}

@keyframes floatY {
  50% {
    transform: translate(-50%, 8px);
  }
}

@media (max-width: 700px) {
  .hero__scroll {
    display: none;
  }
  .hero .btn {
    width: 100%;
  }
  .hero .btn-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   Film gallery
   ========================================================================== */

.films {
  background: var(--dark);
  color: #fff;
}

.films__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  align-items: start;
}

@media (max-width: 1000px) {
  .films__layout {
    grid-template-columns: 1fr;
  }
}

.player {
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-d);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.player__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

/* blurred backdrop so vertical clips don't sit in dead black bars */
.player__blur {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(42px) saturate(1.1) brightness(0.34);
  transform: scale(1.1);
}

.player__stage video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.5s var(--ease);
}

.player__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0.35)
  );
}

.player__cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player__play {
  position: relative;
  z-index: 2;
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.player__cover:hover .player__play {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.3);
}

.player__play svg {
  margin-left: 4px;
}

.player__meta {
  padding: 22px clamp(20px, 2.4vw, 30px) 26px;
  border-top: 1px solid var(--line-d);
  background: #0b0b0b;
}

.player__title {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.player__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

/* Playlist ----------------------------------------------------------------- */

.playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pl-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  transition: background-color 0.28s, border-color 0.28s, transform 0.28s var(--ease);
}

.pl-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(3px);
}

.pl-item.is-active {
  background: rgba(26, 132, 255, 0.14);
  border-color: rgba(26, 132, 255, 0.5);
}

.pl-item__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.pl-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.pl-item__dur {
  position: absolute;
  right: 5px;
  bottom: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  letter-spacing: 0;
}

.pl-item__no,
.pl-item__title,
.pl-item__sub {
  display: block;
}

.pl-item__no {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-hi);
  margin-bottom: 4px;
}

.pl-item__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 4px;
}

.pl-item__sub {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .playlist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .playlist {
    grid-template-columns: 1fr;
  }
  .pl-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 36px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.section--soft .card {
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card__no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 16px;
}

.card__title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-2);
}

.card__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 204, 0.08);
  color: var(--blue);
  margin-bottom: 20px;
}

/* Numbered problem list (why) ---------------------------------------------- */

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

.prob__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.prob__title {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.prob__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-2);
}

.pull {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.pull img {
  width: clamp(78px, 11vw, 132px);
  flex: none;
}

@media (max-width: 560px) {
  .pull {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Reason cards (now)
   ========================================================================== */

.reason {
  position: relative;
  background: #fff;
  border-radius: var(--r);
  padding: clamp(26px, 2.8vw, 38px);
  border: 1px solid var(--line);
  overflow: hidden;
}

.reason::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}

.reason.is-in::before {
  transform: scaleY(1);
}

.reason__label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(0, 102, 204, 0.08);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.reason__title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.reason__text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ==========================================================================
   Role split (robot / human)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.panel {
  border-radius: clamp(22px, 2.4vw, 34px);
  padding: clamp(30px, 3.6vw, 54px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.panel--robot {
  background: #0e0e0e;
  color: #fff;
  border: 1px solid var(--line-d);
}

.panel--human {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.panel__tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

.panel--robot .panel__tag {
  color: var(--blue-hi);
}
.panel--human .panel__tag {
  color: var(--ink-3);
}

.panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: clamp(17px, 1.9vw, 24px);
  letter-spacing: -0.035em;
}

.panel__list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panel--robot .panel__list {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.panel--human .panel__list {
  font-weight: 600;
}

.panel__list svg {
  flex: none;
  color: var(--blue-hi);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

/* ==========================================================================
   Versus (old robot vs temi)
   ========================================================================== */

.vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
}

@media (max-width: 860px) {
  .vs {
    grid-template-columns: 1fr;
  }
  .vs__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.vs__col {
  border-radius: clamp(20px, 2.2vw, 30px);
  padding: clamp(26px, 3vw, 40px);
}

.vs__col--old {
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid var(--line);
}

.section--dark .vs__col--old {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-d);
}

.vs__col--new {
  background: linear-gradient(160deg, #0066cc, #0a4fa0);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 102, 204, 0.28);
}

.vs__head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  opacity: 0.75;
}

.vs__list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  font-size: clamp(14.5px, 1.4vw, 17px);
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.vs__col--new .vs__list li,
.section--dark .vs__col--old .vs__list li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.vs__list li:last-child {
  border-bottom: 0;
}

.vs__col--old .vs__list li {
  color: var(--ink-2);
  font-weight: 300;
}

.section--dark .vs__col--old .vs__list li {
  color: rgba(255, 255, 255, 0.5);
}

.vs__col--new .vs__list li {
  font-weight: 500;
}

.vs__list svg {
  flex: none;
  margin-top: 3px;
}

.vs__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  flex: none;
}

.section--dark .vs__arrow {
  background: #fff;
  color: var(--ink);
}

/* ==========================================================================
   Step flow
   ========================================================================== */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: currentColor;
  opacity: 0.16;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  text-align: center;
}

.step__no {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.section--dark .step__no {
  background: #1c1c1c;
  border-color: var(--line-d);
  color: #fff;
}

.step--hi .step__no {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 102, 204, 0.35);
}

.step__title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.step__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
}

.section--dark .step__text {
  color: rgba(255, 255, 255, 0.55);
}

.step__quote {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(0, 102, 204, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  line-height: 1.4;
}

.section--dark .step__quote {
  color: var(--blue-hi);
  background: rgba(26, 132, 255, 0.14);
}

/* ==========================================================================
   Product spec
   ========================================================================== */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
  }
}

.product__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 60px);
  border-radius: clamp(24px, 3vw, 40px);
  background: radial-gradient(
    120% 90% at 50% 20%,
    rgba(0, 102, 204, 0.14),
    rgba(0, 102, 204, 0) 62%
  );
}

.product__visual::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.16);
  filter: blur(70px);
}

.product__visual img {
  position: relative;
  width: min(320px, 72%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.28));
}

.spec {
  display: flex;
  flex-direction: column;
}

.spec__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.section--dark .spec__row {
  border-bottom-color: var(--line-d);
}

.spec__row:first-child {
  border-top: 1px solid var(--line);
}

.section--dark .spec__row:first-child {
  border-top-color: var(--line-d);
}

.spec__k {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.section--dark .spec__k {
  color: rgba(255, 255, 255, 0.42);
}

.spec__v {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .spec__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ==========================================================================
   Feature media rows (authoring / fleet)
   ========================================================================== */

.media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.media--flip .media__fig {
  order: 2;
}

@media (max-width: 860px) {
  .media {
    grid-template-columns: 1fr;
  }
  .media--flip .media__fig {
    order: 0;
  }
}

.media__fig {
  border-radius: clamp(18px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.media__fig img {
  width: 100%;
  height: auto;
}

.media__cap {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-weight: 400;
}

.mini {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.section--dark .mini {
  border-bottom-color: var(--line-d);
}

.mini:last-child {
  border-bottom: 0;
}

.mini__no {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
}

.mini__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.mini__text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
}

.section--dark .mini__text {
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Use cases (full bleed)
   ========================================================================== */

.case {
  position: relative;
  min-height: min(88svh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
  color: #fff;
}

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

.case__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 1.6s var(--ease);
}

.case:hover .case__bg img {
  transform: scale(1.04);
}

.case__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.1)
  );
}

.case__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(46px, 6vw, 84px);
}

.case__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-hi);
  margin-bottom: 16px;
}

.case__title {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.case__desc {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin-bottom: 34px;
}

.case__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 26px;
  max-width: 1000px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 26px;
}

.case__list li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  display: flex;
  gap: 9px;
}

.case__list b {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 3px;
}

.case__list svg {
  flex: none;
  margin-top: 4px;
  color: var(--blue-hi);
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.scroll-hint {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .scroll-hint {
    display: flex;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}

.ctable {
  min-width: 720px;
  font-size: 14.5px;
}

.ctable th,
.ctable td {
  padding: 18px clamp(14px, 1.8vw, 24px);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.ctable thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg-soft);
  position: sticky;
  top: 0;
}

.ctable thead th:nth-child(2) {
  background: rgba(0, 102, 204, 0.07);
  color: var(--blue);
}

.ctable tbody tr:last-child th,
.ctable tbody tr:last-child td {
  border-bottom: 0;
}

.ctable tbody th {
  font-weight: 600;
  color: var(--ink-2);
  width: 168px;
  font-size: 14px;
}

.ctable td:nth-of-type(1) {
  background: rgba(0, 102, 204, 0.035);
  font-weight: 500;
  line-height: 1.55;
}

.ctable td:nth-of-type(2) {
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.55;
}

/* ==========================================================================
   Proof / stats
   ========================================================================== */

.stat {
  text-align: center;
}

.stat__num {
  font-size: clamp(46px, 6.4vw, 88px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}

.stat__num em {
  font-style: normal;
  color: var(--blue);
}

.stat__label {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  margin-bottom: 6px;
}

.stat__sub {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-2);
}

.section--dark .stat__sub {
  color: rgba(255, 255, 255, 0.5);
}

.metrics {
  margin-top: clamp(44px, 5vw, 70px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.metrics__head {
  padding: 18px clamp(20px, 2.4vw, 30px);
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.metrics__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--blue);
  padding: 4px 9px;
  border-radius: 5px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.metric {
  padding: clamp(22px, 2.6vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric__k {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.metric__v {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.metric__v small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Price
   ========================================================================== */

.price {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
}

@media (max-width: 900px) {
  .price {
    grid-template-columns: 1fr;
  }
}

.price__main {
  background: linear-gradient(165deg, #16181c, #0b0c0e);
  color: #fff;
  border-radius: clamp(22px, 2.4vw, 32px);
  padding: clamp(30px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line-d);
}

.price__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.price__num {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.price__num small {
  font-size: 0.42em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.02em;
  margin-left: 6px;
}

.price__note {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-d);
}

.price__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.price__item {
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.price__item:last-child {
  border-bottom: 0;
}

.price__k {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price__v {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
}

@media (max-width: 520px) {
  .price__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ==========================================================================
   Impact
   ========================================================================== */

.impact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

@media (max-width: 980px) {
  .impact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .impact {
    grid-template-columns: 1fr;
  }
}

.impact__card {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-d);
}

.impact__who {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-hi);
  margin-bottom: 18px;
}

.impact__title {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.impact__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

/* ==========================================================================
   Character mascots
   ========================================================================== */

.mascot {
  pointer-events: none;
  user-select: none;
  animation: bob 4.5s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

.mascot--float {
  position: absolute;
  z-index: 3;
}

.mascot--tr {
  top: clamp(20px, 4vw, 60px);
  right: clamp(12px, 4vw, 60px);
  width: clamp(78px, 11vw, 150px);
}

.mascot--br {
  bottom: clamp(20px, 4vw, 50px);
  right: clamp(12px, 4vw, 60px);
  width: clamp(72px, 10vw, 140px);
}

@media (max-width: 760px) {
  .mascot--float {
    display: none;
  }
}

.mascot-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 40px);
}

.mascot-inline {
  width: clamp(90px, 12vw, 160px);
  flex: none;
  animation: bob 4.5s ease-in-out infinite;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.closing {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(80px, 12vw, 160px);
}

.closing__glow {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.4), transparent 65%);
  filter: blur(70px);
}

.closing__inner {
  position: relative;
  z-index: 2;
}

.closing__mascot {
  width: clamp(100px, 13vw, 168px);
  margin: 0 auto 30px;
  animation: bob 4.5s ease-in-out infinite;
}

.closing h2 {
  font-size: clamp(26px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.closing p {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 44px;
  line-height: 1.65;
}

.doc-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 13.5px;
  font-weight: 400;
}

.doc-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.doc-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.contact {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line-d);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.contact b {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 620px) {
  .closing .btn {
    width: 100%;
  }
  .closing .btn-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #000;
  color: rgba(255, 255, 255, 0.42);
  padding-block: clamp(44px, 5vw, 64px);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer__logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #fff;
  margin-bottom: 12px;
}

.footer__logo span {
  color: var(--blue-hi);
}

.footer__meta b {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Reference grid (public sector proof)
   ========================================================================== */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

@media (max-width: 980px) {
  .ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .ref-grid {
    grid-template-columns: 1fr;
  }
}

.ref {
  margin: 0;
  border-radius: clamp(16px, 1.8vw, 22px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

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

.ref figcaption {
  padding: 18px clamp(16px, 1.8vw, 22px) 22px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
}

.ref figcaption b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ==========================================================================
   Library hero band
   ========================================================================== */

.lib-hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 150px);
  display: flex;
  align-items: center;
  min-height: min(92svh, 860px);
}

.lib-hero__bg {
  position: absolute;
  inset: 0;
}

.lib-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.lib-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.lib-hero__inner {
  position: relative;
  z-index: 2;
}

.lib-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(40px, 5vw, 66px);
}

@media (max-width: 860px) {
  .lib-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .lib-flow {
    grid-template-columns: 1fr;
  }
}

.lib-flow__item {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.lib-flow__no {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue-hi);
  margin-bottom: 14px;
}

.lib-flow__item b {
  display: block;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 7px;
}

/* ==========================================================================
   Setup (one-time / ongoing)
   ========================================================================== */

.setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: stretch;
}

@media (max-width: 820px) {
  .setup {
    grid-template-columns: 1fr;
  }
  .setup__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.setup__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2.2vw, 28px);
  padding: clamp(26px, 3vw, 40px);
}

.setup__card--hi {
  background: linear-gradient(160deg, #0066cc, #0a4fa0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 102, 204, 0.24);
}

.setup__label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.09);
  color: var(--blue);
  margin-bottom: 18px;
}

.setup__card--hi .setup__label {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.setup__title {
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.setup__text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
}

.setup__card--hi .setup__text {
  color: rgba(255, 255, 255, 0.82);
}

.setup__arrow {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  flex: none;
}

/* ==========================================================================
   Library timeline
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    var(--blue-hi),
    rgba(255, 255, 255, 0.1)
  );
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-d);
}

.timeline li.is-last {
  border-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.timeline li.is-last::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 102, 204, 0.22);
}

.timeline__t {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--blue-hi);
  white-space: nowrap;
}

.timeline__d {
  font-size: clamp(14.5px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 640px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* ==========================================================================
   Demo request modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 40px);
}

.modal[hidden] {
  display: none;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal.is-open .modal__scrim {
  opacity: 1;
}

.modal__card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100svh - 28px);
  overflow-y: auto;
  background: #fbfcfe;
  border-radius: clamp(20px, 2.4vw, 30px);
  padding: clamp(34px, 3.6vw, 52px) clamp(22px, 3.2vw, 48px) clamp(24px, 2.6vw, 34px);
  overscroll-behavior: contain;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.modal.is-open .modal__card {
  opacity: 1;
  transform: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  background: rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s, color 0.2s;
  z-index: 3;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.09);
  color: var(--ink);
}

/* 카드가 overflow-y:auto 라서 음수 offset 은 잘립니다. 카드 안쪽에 배치합니다. */
.modal__mascot {
  position: absolute;
  top: 10px;
  right: clamp(52px, 8vw, 88px);
  width: clamp(86px, 12vw, 146px);
  pointer-events: none;
  animation: bob 4.5s ease-in-out infinite;
}

@media (max-width: 700px) {
  .modal__mascot {
    display: none;
  }
}

.modal__title {
  font-size: clamp(22px, 2.6vw, 33px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin-bottom: 14px;
  padding-right: clamp(0px, 12vw, 150px);
}

.modal__title b {
  font-weight: 800;
}

.modal__sub {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: clamp(24px, 3vw, 34px);
  padding-right: clamp(0px, 12vw, 150px);
}

.modal__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

@media (max-width: 700px) {
  .modal__grid {
    grid-template-columns: 1fr;
  }
}

.mpanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.8vw, 22px);
  padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2.2vw, 26px);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.mpanel__ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.mpanel__ico--tel {
  background: #eaf2ff;
  color: #1266d6;
}

.mpanel__ico--mail {
  background: #e8f5ee;
  color: #17864d;
}

.mpanel__title {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.mpanel__desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.mpanel__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 12px;
  border-radius: 13px;
  background: #eaf2ff;
  color: #0b5ed7;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.mpanel__tel:hover {
  background: #d9e8ff;
}

.mpanel__tel:active {
  transform: scale(0.98);
}

.mpanel--tel {
  justify-content: center;
}

.mpanel__hours {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.65;
}

.mpanel__hours b {
  color: var(--blue);
  font-weight: 600;
}

.mpanel__hours span {
  color: var(--ink-3);
  font-size: 12.5px;
}

.modal__or {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.modal__or span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

@media (max-width: 700px) {
  .modal__or {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
  }
}

.mform {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}

.mform__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mfield {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid #dfe3e8;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

select.mfield {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.mfield--area {
  height: auto;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
  min-height: 62px;
}

.mfield::placeholder {
  color: #a3a8b0;
}

.mfield:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
}

.mbtn {
  margin-top: 5px;
  height: 50px;
  border-radius: 12px;
  background: #17864d;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.mbtn:hover {
  background: #12703f;
}

.mbtn:active {
  transform: scale(0.98);
}

.mbtn:disabled {
  opacity: 0.6;
  cursor: default;
}

.mform__msg {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  min-height: 1em;
}

.mform__msg.is-ok {
  color: #17864d;
}

.mform__msg.is-err {
  color: #c0392b;
}

.modal__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-3);
  text-align: center;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.mt-l {
  margin-top: clamp(40px, 5vw, 68px);
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
