@font-face {
  font-family: "Pretendard Variable";
  src: url("./assets/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f7f7f8;
  --ink: #080808;
  --muted: #5f6065;
  --line: #d7d7dc;
  --strong-line: #080808;
  --accent: #ff4f00;
  --max: 1280px;
  --sans: "Helvetica Neue", Arial, "Pretendard Variable", Pretendard, sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-220%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, auto);
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--strong-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  padding: 0 clamp(1rem, 4vw, 4rem);
}

.site-header[data-scrolled] {
  border-bottom-color: var(--accent);
}

.brand,
.nav a,
.button,
.text-link,
.closing-link,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  border-right: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 760;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  border-left: 0;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.86fr);
  grid-template-areas:
    "copy visual"
    "strip strip";
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  min-height: calc(100svh - 4rem);
  margin-inline: auto;
  border-inline: 0;
  padding: clamp(3rem, 7vw, 6.4rem) 0 0;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  padding: 0 clamp(1.1rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4rem) 0;
}

.section-mark {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 820;
  line-height: 1.02;
  word-break: keep-all;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  max-width: 16ch;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  word-break: keep-all;
}

h3 {
  font-size: clamp(1.14rem, 1.55vw, 1.42rem);
  font-weight: 760;
  line-height: 1.14;
}

.hero-lede {
  max-width: 38rem;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
  font-weight: 500;
  line-height: 1.72;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button,
.text-link,
.closing-link {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0.86rem 1.05rem;
  font-size: 0.94rem;
  font-weight: 760;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.text-link {
  background: var(--white);
  color: var(--ink);
}

.text-link:hover,
.text-link:focus-visible,
.closing-link:hover,
.closing-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 34rem;
  margin: 0;
  border-left: 0;
  background: var(--paper);
  overflow: hidden;
}

.hero-visual img {
  align-self: end;
  width: 100%;
  height: min(68vh, 44rem);
  object-fit: contain;
  object-position: center bottom;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 3vw, 2.5rem) 0;
  mix-blend-mode: multiply;
}

.hero-type {
  position: absolute;
  left: clamp(0.7rem, 2vw, 1.4rem);
  top: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--accent);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 850;
  line-height: 0.86;
  pointer-events: none;
}

.hero-visual figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  border-top: 1px solid var(--strong-line);
  background: var(--white);
  padding: 0.95rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 620;
}

.hero-visual figcaption span:first-child {
  color: var(--ink);
}

.hero-strip {
  grid-area: strip;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--strong-line);
  border-bottom: 1px solid var(--strong-line);
}

.hero-strip span {
  min-height: 4.5rem;
  border-right: 0;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
}

.hero-strip span:last-child {
  border-right: 0;
}

.statement,
.section,
.closing,
.site-footer {
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin-inline: auto;
}

.statement {
  border-bottom: 1px solid var(--strong-line);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.statement p {
  width: min(58rem, 100%);
  margin: 0 0 0 auto;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.2vw, 3.1rem);
  font-weight: 760;
  line-height: 1.22;
}

.section {
  border-bottom: 1px solid var(--strong-line);
  padding-block: clamp(4.2rem, 8vw, 7rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-bottom: 1.3rem;
}

.section-heading .section-mark {
  margin: 0;
}

.section-note {
  margin: 0 0 clamp(1.3rem, 3vw, 2rem) min(35%, 24rem);
  color: var(--muted);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--strong-line);
  border-left: 0;
}

.product-card {
  display: grid;
  grid-template-rows: minmax(18rem, 26rem) auto;
  border-right: 0;
  border-bottom: 1px solid var(--strong-line);
  background: var(--white);
}

.product-card figure {
  display: grid;
  min-height: 18rem;
  place-items: end center;
  margin: 0;
  background: var(--paper);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.2rem;
  mix-blend-mode: multiply;
}

.product-card div {
  padding: 1rem;
}

.product-index {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
}

.product-card p,
.text-rail p,
.steps p,
.faq p,
.closing p {
  color: var(--muted);
  line-height: 1.68;
}

.product-card p,
.text-rail p,
.steps p {
  margin: 0.7rem 0 0;
}

.text-rail {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  margin-top: 1.2rem;
  border-top: 1px solid var(--strong-line);
}

.text-rail article {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.text-rail article > p {
  grid-column: 2;
  margin-top: 0;
  word-break: keep-all;
}

.text-rail article + article {
  border-left: 0;
  padding-left: 1.2rem;
}

.text-rail span,
.steps span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--strong-line);
  border-left: 0;
}

.steps article {
  min-height: 18rem;
  border-right: 0;
  border-bottom: 1px solid var(--strong-line);
  padding: 1rem;
}

.steps span {
  display: block;
  margin-bottom: clamp(3rem, 8vw, 7rem);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.faq .section-heading {
  display: block;
  margin: 0;
}

.faq .section-heading h2 {
  margin-top: 1.2rem;
}

.faq-list {
  border-top: 1px solid var(--strong-line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  color: var(--ink);
  font-weight: 760;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--strong-line);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "-";
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.faq p {
  margin: 0;
  padding: 0 3rem 1.35rem 0;
}

.closing {
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--strong-line);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.closing h2 {
  max-width: 15ch;
}

.closing p {
  max-width: 42rem;
  margin: 1.1rem 0 0;
  font-size: 1.06rem;
}

.button.light {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.button.light:hover,
.button.light:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

.closing-link {
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 760;
}

:focus-visible {
  outline: 3px solid rgba(255, 79, 0, 0.45);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  body {
    background: var(--white);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: 1rem;
  }

  .brand {
    min-height: 3.35rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    min-height: 3.15rem;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "strip";
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-visual {
    min-height: 30rem;
    border-top: 1px solid var(--strong-line);
    border-left: 0;
  }

  .hero-visual img {
    height: 30rem;
  }

  .hero-strip,
  .product-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip span:nth-child(2n),
  .product-card:nth-child(2n),
  .steps article:nth-child(2n) {
    border-right: 0;
  }

  .section-heading,
  .faq,
  .closing {
    grid-template-columns: 1fr;
  }

  .section-note {
    margin-left: 0;
  }

  .faq .section-heading {
    margin-bottom: 2rem;
  }

  .text-rail {
    grid-template-columns: 1fr;
  }

  .text-rail article + article {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .hero,
  .statement,
  .section,
  .closing,
  .site-footer {
    width: auto;
    margin-inline: 1rem;
  }

  .hero {
    border-inline: 0;
    padding-top: 2.4rem;
  }

  h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link,
  .closing-link {
    width: 100%;
  }

  .hero-visual {
    min-height: 25rem;
  }

  .hero-visual img {
    height: 25rem;
  }

  .hero-visual figcaption,
  .hero-strip,
  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-strip span,
  .product-card,
  .steps article {
    border-right: 0;
  }

  .product-card {
    grid-template-rows: minmax(16rem, 22rem) auto;
  }

  .text-rail article {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }

  .steps article {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 2rem;
  }

  .faq p {
    padding-right: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
