@font-face {
  font-family: Pretendard;
  src: url('pretendard-variable.woff2') format('woff2');
  font-weight: 45 920;
  font-display: swap;
}

/* Type: 52 / 36 / 20 / 18 / 14. Space: 8, 16, 24, 48, 96, 144. */
:root {
  color-scheme: light;
  --ink: #141a26;
  --muted: #505a6b;
  --line: #e5e8ee;
  --soft: #f6f7f9;
  --moa: #2d53ce;
  --talk: #0b7a5c;
  --gap: 9rem;
  font-family: Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1.125rem; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
:where(a, button):focus-visible { outline: 3px solid var(--moa); outline-offset: 4px; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; word-break: keep-all; }
h1 { font-size: 3.25rem; line-height: 1.3; letter-spacing: -.02em; }
h2 { font-size: 2.25rem; line-height: 1.35; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; line-height: 1.5; }
p { color: var(--muted); word-break: keep-all; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
.small { font-size: .875rem; }
.shell { width: min(100% - 8rem, 75rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { display: flex; align-items: center; gap: 3rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.25rem; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.mark { width: 1.5rem; height: 1.5rem; }
nav { display: flex; gap: 1.5rem; margin-left: auto; color: var(--muted); font-size: 1rem; }
nav a:hover, .policies a:hover, .more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem 1.5rem; border: 1px solid var(--ink); border-radius: .5rem; font-size: 1rem; font-weight: 600; }
.button-line { min-height: 2.5rem; padding: .25rem 1rem; border-color: var(--line); }
.button-line:hover { border-color: var(--ink); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #2a3346; }

.hero { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 3rem; padding-block: 1.5rem 0; }
.hero-copy p { max-width: 24rem; margin-top: 1.5rem; }
.hero-copy .button { margin-top: 1.5rem; }
.hero-photo { position: relative; }
.hero-photo img { height: min(70vh, 42rem); min-height: 26rem; border-radius: 1.5rem; object-position: 62% 35%; }
.talk { position: absolute; left: 1.5rem; bottom: 1.5rem; display: grid; gap: .5rem; width: min(19rem, 100% - 3rem); }
.bubble { width: fit-content; padding: .5rem 1rem; border-radius: 1rem 1rem 1rem .25rem; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.5; word-break: keep-all; }
.bubble-ask { justify-self: end; border-radius: 1rem 1rem .25rem 1rem; color: #fff; background: var(--ink); }

.products, .scene { padding-top: var(--gap); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.product img { aspect-ratio: 3 / 2; border-radius: 1rem; }
.product h3 { margin-top: 1.5rem; }
.name { display: block; }
.name-moa { color: var(--moa); }
.name-talk { color: var(--talk); }
.product > p { margin-top: .5rem; }
.product .piece { display: flex; align-items: center; gap: 1rem; min-height: 5.5rem; margin-top: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.piece-bar i { flex: 1; height: .5rem; border-radius: 1rem; background: var(--moa); }
.piece-bar b { font-weight: 650; font-variant-numeric: tabular-nums; }
.piece-talk { flex-wrap: wrap; gap: .5rem; }
.piece-talk .bubble { background: var(--soft); }
.piece-talk .bubble-ask { justify-self: auto; background: var(--ink); }
.more { display: inline-block; margin-top: 1rem; font-size: 1rem; font-weight: 600; }

.scene img { aspect-ratio: 21 / 9; border-radius: 1.5rem; object-position: center 60%; }
.scene .small { margin-top: 1.5rem; }
.scene h2 { margin-top: .5rem; }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; padding: 0; list-style: none; }
.moments li { padding-top: 1rem; border-top: 1px solid var(--ink); }
.moments strong { font-size: 1.25rem; font-weight: 650; }
.moments p { margin-top: .5rem; }
.moments span { display: block; margin-top: .5rem; font-size: .875rem; font-weight: 600; }

.closing { margin-top: var(--gap); padding-block: 6rem; background: var(--soft); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.closing-grid > div + div { padding-left: 3rem; border-left: 1px solid var(--line); }
.closing p { max-width: 30rem; margin-top: 1.5rem; }
.closing .small { margin-top: 1rem; }
.closing .button { margin-top: 1.5rem; }

.footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; }
.footer p, .footer dl, .policies { color: var(--muted); font-size: .875rem; }
.footer p, .footer dl { margin-top: .5rem; }
.footer dl { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.footer dd { overflow-wrap: anywhere; }
.policies { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

@media (max-width: 64rem) {
  .shell { width: min(100% - 4rem, 75rem); }
  h1 { font-size: 2.75rem; }
  .hero { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 48rem) {
  :root { --gap: 6rem; }
  body { font-size: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  h3, .moments strong { font-size: 1.125rem; }
  .shell { width: calc(100% - 2.5rem); }
  .header { gap: 1rem; min-height: 4rem; }
  nav { gap: 1rem; }
  .hero, .product-grid, .moments, .closing-grid { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; padding-top: 1rem; }
  .hero-copy p, .hero-copy .button { margin-top: 1rem; }
  .hero-photo img { height: 26rem; min-height: 0; border-radius: 1rem; }
  .talk { left: 1rem; bottom: 1rem; width: min(17rem, 100% - 2rem); }
  .product img { aspect-ratio: 4 / 3; }
  .scene img { aspect-ratio: 4 / 3; border-radius: 1rem; }
  .moments { gap: 1.5rem; }
  .closing { padding-block: 3rem; }
  .closing-grid > div + div { padding: 3rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer { flex-direction: column; }
}
