:root {
  color-scheme: light;
  --ink: #0b1d40;
  --ink-2: #102a4c;
  --text: #233044;
  --muted: #667085;
  --soft: #f5f7fb;
  --wash: #f8fafc;
  --paper: #ffffff;
  --line: #dfe5ee;
  --brand: #173b8f;
  --brand-soft: #eef4ff;
  --action: #2563eb;
  --action-hover: #1d4ed8;
  --app-violet: #6b5bff;
  --app-purple: #9d6bff;
  --success: #067647;
  --success-soft: #ecfdf3;
  --partner: #3154b8;
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --label-title-gap: 18px;
  --header-height: 72px;
  --mobile-content: 100%;
  font-family:
    Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 233, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 950;
}

.brand img {
  display: block;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.nav-links a {
  padding: 8px 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--action);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  min-height: auto;
  padding: clamp(38px, 5vw, 64px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 86px);
  background: var(--paper);
}

.hero-section,
.section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.hero-copy {
  display: grid;
  row-gap: 0;
  max-width: 680px;
  padding-top: 0;
}

.eyebrow {
  display: flex;
  width: fit-content;
  margin: 0;
  padding: 0 0 0 10px;
  border-left: 3px solid var(--action);
  color: var(--action-hover);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
}

.section-kicker {
  display: flex;
  width: fit-content;
  margin: 0;
  padding: 0 0 0 10px;
  border-left: 3px solid var(--action);
  color: var(--action-hover);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dd,
dt {
  overflow-wrap: anywhere;
}

h1 {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.8rem, 3.5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

h1 > span {
  white-space: nowrap;
}

h1 em {
  color: var(--action);
  font-style: normal;
}

.hero-title-line .hero-highlight {
  display: inline-block;
  color: var(--action);
}

.rotating-text {
  display: inline-grid;
  min-width: 4.25em;
  overflow: hidden;
  color: var(--action);
  vertical-align: bottom;
}

.rotating-text__word {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  will-change: transform, opacity;
}

.rotating-text__word.is-leaving {
  transform: translateY(-112%);
  opacity: 0;
}

.rotating-text__word.is-entering {
  transform: translateY(112%);
  opacity: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.product-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-self: center;
  width: 100%;
  padding: clamp(18px, 2.8vw, 36px) 0;
}

.phone-carousel {
  --phone-screen-width: clamp(250px, min(26vw, 32vh), 372px);
  --phone-frame-height: clamp(516px, min(53.6vw, 66vh), 767px);
  --phone-screen-gap: 28px;
  width: min(100%, var(--phone-carousel-width, var(--phone-screen-width)));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
}

.phone-carousel::-webkit-scrollbar {
  display: none;
}

.phone-carousel.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.phone-track {
  display: flex;
  gap: var(--phone-screen-gap);
  width: max-content;
  padding: 0 0 18px;
}

.phone-track::before,
.phone-track::after {
  display: none;
  content: "";
}

.phone-slide {
  display: flex;
  flex: 0 0 var(--phone-stage-width, var(--phone-screen-width));
  justify-content: center;
  scroll-snap-align: center;
}

.phone-stage {
  display: flex;
  justify-content: center;
  width: var(--phone-stage-width, var(--phone-screen-width));
  height: var(--phone-frame-height);
  container-type: inline-size;
}

.phone-frame {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  width: auto;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: max(5px, 1.9cqw) solid #101820;
  border-radius: 12.4cqw;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.phone-screenshot {
  flex: 0 0 auto;
  display: none;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: top center;
}

.phone-frame.has-screenshot .phone-screenshot {
  display: block;
}

.phone-frame.has-screenshot .screenshot-placeholder {
  display: none;
}

.screenshot-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 26px;
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.screenshot-placeholder strong {
  color: var(--ink);
  font-size: 1rem;
}

.screenshot-placeholder span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.section {
  padding: clamp(66px, 9vw, 116px) clamp(20px, 5vw, 72px);
  min-height: calc(100svh - var(--header-height));
}

.section-heading,
.demo-copy {
  display: grid;
  row-gap: 0;
  max-width: 1120px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.demo-copy h2 {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 2.75vw, 2.82rem);
  line-height: 1.14;
  letter-spacing: 0;
  word-break: keep-all;
}

.eyebrow + h1,
.section-kicker + h2 {
  margin-top: var(--label-title-gap);
}

.section-heading > p:not(.section-kicker),
.demo-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.problem-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.usecase-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.problem-grid h3,
.usecase-grid h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.problem-grid p,
.usecase-grid p,
.benefit-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.benefit-list {
  display: grid;
  gap: 14px;
  max-width: 1020px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.benefit-list span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
}

.benefit-list h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  align-content: center;
}

.demo-copy h2 {
  max-width: 100%;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #101820;
  box-shadow: var(--shadow-md);
}

.video-shell video,
.video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-shell video {
  display: block;
  object-fit: cover;
}

.video-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.video-shell.has-video .video-fallback {
  display: none;
}

.video-shell:not(.has-video) video {
  display: none;
}

.play-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-mark::after {
  display: block;
  width: 0;
  height: 0;
  margin: 24px 0 0 30px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
  content: "";
}

.video-fallback strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.video-fallback p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-areas:
    "brand links"
    "brand meta";
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 8px 32px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  scroll-snap-align: end;
}

.footer-brand {
  display: flex;
  grid-area: brand;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
}

.footer-meta {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 800;
}

.footer-links {
  display: flex;
  grid-area: links;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 900;
}

.footer-links a {
  padding: 3px 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--action);
}

.footer-meta {
  grid-area: meta;
  justify-self: end;
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

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

@media (min-width: 1041px) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero-section,
  .section {
    scroll-snap-stop: always;
    min-height: calc(100svh - var(--header-height));
    padding-top: clamp(64px, 7vh, 88px);
    padding-bottom: clamp(64px, 7vh, 88px);
  }

  .section {
    display: grid;
    align-content: center;
  }

  .section:not(.demo-section) {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .demo-section {
    align-content: center;
  }

  .section-heading {
    margin-bottom: clamp(24px, 3vh, 34px);
  }

  .problem-grid article,
  .usecase-grid article {
    min-height: clamp(168px, 20vh, 220px);
  }
}

@media (max-width: 1040px) {
  .hero-section,
  .demo-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section {
    min-height: auto;
  }

  .demo-section {
    padding-bottom: clamp(66px, 9vw, 116px);
  }

  .problem-section {
    min-height: auto;
    padding-bottom: clamp(66px, 9vw, 116px);
  }

  .product-preview {
    align-items: flex-start;
  }

  .phone-carousel {
    --phone-screen-width: clamp(250px, min(52vw, 36vh), 360px);
    --phone-frame-height: clamp(516px, min(107vw, 74vh), 742px);
  }

  .problem-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    gap: 18px;
    min-height: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
  }

  :root {
    --header-height: 51px;
  }

  .brand img {
    height: 26px;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 28px 16px 42px;
  }

  .hero-section > *,
  .section > * {
    max-width: 100%;
  }

  .section {
    padding: 56px 16px;
  }

  .section-heading,
  .demo-copy {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
  }

  .hero-copy {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
    overflow: hidden;
    padding-top: 0;
  }

  .eyebrow,
  .section-kicker {
    padding: 0 0 0 9px;
    font-size: 0.72rem;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.86rem, 7.7vw, 2.16rem);
    line-height: 1.14;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  h1 > span {
    white-space: normal;
  }

  .rotating-text,
  .rotating-text__word {
    white-space: nowrap;
  }

  .section-heading h2,
  .demo-copy h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 8.4vw, 2.42rem);
    line-height: 1.2;
    word-break: keep-all;
  }

  .demo-copy h2 {
    max-width: 100%;
  }

.section-heading > p:not(.section-kicker),
.demo-copy > p:not(.section-kicker) {
  width: 100%;
  max-width: 100%;
}

  .hero-lead {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.62;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .product-preview {
    align-items: center;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-top: 28px;
    padding: 0;
  }

  .phone-carousel {
    --phone-screen-width: min(260px, calc(100vw - 88px));
    --phone-frame-height: clamp(474px, 148vw, 536px);
    --phone-screen-gap: 24px;
    width: 100vw;
    max-width: none;
  }

  .phone-track {
    padding: 0 0 18px;
  }

  .phone-track::before,
  .phone-track::after {
    display: none;
  }

  .phone-slide {
    flex-basis: var(--phone-stage-width, var(--phone-screen-width));
  }

  .phone-stage {
    width: var(--phone-stage-width, var(--phone-screen-width));
    height: var(--phone-frame-height);
    margin-right: auto;
    margin-left: auto;
  }

  .phone-frame {
    min-height: 0;
  }

  .benefit-list article {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .usecase-grid,
  .benefit-list {
    width: var(--mobile-content);
  }

  .problem-grid article,
  .usecase-grid article {
    min-height: auto;
    width: 100%;
    padding: 22px;
  }

  .site-footer {
    grid-template-areas:
      "brand"
      "links"
      "meta";
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 16px 28px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-meta {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}
