:root {
  color-scheme: light;
  --ink: #181817;
  --secondary: #585853;
  --line: #deded9;
  --paper: #f4f3ef;
  --page-width: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, figure, p { margin: 0; }
body { background: white; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.header, main {
  width: min(100%, var(--page-width));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}
.brand, .login, .action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.brand img { display: block; }
.login, .action {
  padding-inline: 1.25rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 650;
  transition: background-color .16s, transform .16s;
}
.login { background: var(--paper); }
.login:hover { background: var(--line); }
.action { min-height: 48px; padding-inline: 1.6rem; background: var(--ink); color: white; }
.action:hover { background: #383836; }
.action:active, .login:active { transform: scale(.96); }
main {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 3rem clamp(2rem, 4.5vw, 4rem);
  padding-block: clamp(3.5rem, 9vh, 7rem);
}
.intro h1 {
  font-size: clamp(2.55rem, 4.75vw, 4.55rem);
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: 1.15;
  text-wrap: balance;
}
.intro p {
  margin-block: 1.5rem 2rem;
  color: var(--secondary);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.comparison {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2.5rem);
  border-radius: 1.5rem;
  background: var(--paper);
}
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 1.4vw, 1.4rem); }
figcaption { margin-bottom: .85rem; text-align: center; font-size: .875rem; font-weight: 650; text-wrap: balance; }
.invitation {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  background: white;
  box-shadow: 0 2px 4px #00000008, 0 8px 18px #0000000d;
}
.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 63%; outline: 1px solid #0000001a; outline-offset: -1px; }
.captured { background: #000; }
.details { display: grid; gap: .4rem; padding: 1.15rem .25rem; text-align: center; }
.details strong { font-family: "AppleMyungjo", "Batang", serif; font-size: clamp(1rem, 2vw, 1.55rem); font-weight: 500; }
.details span { color: var(--secondary); font-size: clamp(.63rem, .95vw, .8rem); }
.note { margin: 1.25rem auto 0; color: var(--secondary); text-align: center; font-size: .8rem; line-height: 1.55; text-wrap: pretty; }
.live-demo { grid-column: 1 / -1; justify-self: center; width: min(100%, 32rem); text-align: center; }
.live-demo summary { padding: .85rem; cursor: pointer; font-weight: 650; }
.live-demo p { padding-block: .5rem 1rem; color: var(--secondary); line-height: 1.5; }
.live-demo iframe { width: 100%; height: min(72svh, 42rem); border: 1px solid var(--line); border-radius: 1rem; }
@media (max-width: 52rem) {
  .header { min-height: 4.25rem; }
  main { grid-template-columns: minmax(0, 1fr); max-width: 39rem; gap: 2rem; padding-block: 2.5rem; }
  .intro { text-align: center; }
  .intro p { margin-block: 1rem 1.25rem; }
  .wide { display: none; }
  .details { padding-block: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .action, .login { transition: none; }
}
