:root {
  color-scheme: light;
  --ink: #211f1b;
  --muted: #68635a;
  --canvas: #f7f3eb;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --line: #ded8cd;
  --accent: #dd5b3e;
  --accent-dark: #ad3e29;
  --warm: #e9d9c4;
  --green: #3f6755;
  --shadow: 0 18px 54px rgb(51 43 32 / 12%);
  --radius-large: 2rem;
  --shell: min(72rem, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 0.6rem;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(247 243 235 / 88%);
  border-bottom: 1px solid rgb(222 216 205 / 72%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgb(33 31 27 / 10%);
  border-radius: 22%;
  box-shadow: 0 2px 8px rgb(33 31 27 / 16%);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing-card h2,
.document-header h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
}

.hero-description {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover {
  background: #39352f;
}

.button-secondary {
  background: rgb(255 255 255 / 42%);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--surface-strong);
  border-color: #c5bdb1;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-device {
  position: relative;
  width: min(calc(100% - 2rem), 22rem);
  justify-self: center;
  margin: 0;
  padding: 0.45rem;
  background: #171613;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 3rem;
  box-shadow: var(--shadow), 0 32px 90px rgb(112 73 45 / 18%);
  transform: rotate(2deg);
}

.hero-device::before {
  position: absolute;
  z-index: -1;
  width: 135%;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgb(221 91 62 / 25%), transparent 68%);
  inset: 20% auto auto -18%;
}

.hero-device img {
  width: 100%;
  height: auto;
  background: var(--warm);
  border-radius: 2.55rem;
}

.trust-band {
  color: #fff;
  background: var(--green);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 2rem;
}

.trust-grid p {
  margin: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 0.2rem;
}

.trust-grid span {
  color: rgb(255 255 255 / 76%);
  font-size: 0.9rem;
}

.feature-section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.section-heading h2,
.closing-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section-heading > p:last-child {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.shot-card {
  min-width: 0;
  margin: 0;
}

.shot-frame {
  padding: clamp(0.25rem, 0.6vw, 0.45rem);
  overflow: hidden;
  background: #181713;
  border-radius: clamp(1.7rem, 3vw, 2.7rem);
  box-shadow: 0 20px 45px rgb(48 39 27 / 14%);
}

.shot-frame img {
  width: 100%;
  height: auto;
  background: var(--warm);
  border-radius: clamp(1.45rem, 2.7vw, 2.35rem);
}

.shot-card figcaption {
  padding: 1.25rem 0.35rem 0;
}

.shot-card figcaption strong,
.shot-card figcaption span {
  display: block;
}

.shot-card figcaption strong {
  margin-bottom: 0.35rem;
  font-size: 1.16rem;
}

.shot-card figcaption span {
  color: var(--muted);
  font-size: 0.93rem;
}

.closing-section {
  padding: 1rem 0 clamp(5rem, 10vw, 8rem);
}

.closing-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 6vw, 5rem);
  color: #fff;
  background: var(--accent-dark);
  border-radius: var(--radius-large);
}

.closing-card h2 {
  max-width: 14ch;
}

.closing-card p:last-child {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 76%);
}

.closing-card .eyebrow {
  color: rgb(255 255 255 / 68%);
}

.closing-card .button {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fff;
}

.document-main {
  min-height: 70vh;
}

.document {
  max-width: 50rem;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.document-header {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  font-size: clamp(2.7rem, 7vw, 5.25rem);
}

.document-summary {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.effective-date {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.document section + section {
  margin-top: 3.5rem;
}

.document h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.document p {
  color: #49453e;
}

.document ul {
  padding-left: 1.35rem;
  color: #49453e;
}

.document li + li {
  margin-top: 0.55rem;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 750;
}

details {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding-right: 2rem;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 0;
  right: 0.25rem;
  color: var(--accent-dark);
  content: "+";
  font-size: 1.25rem;
  line-height: 1.3;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0.8rem 0 0;
  padding-right: 2rem;
}

.site-footer {
  color: #ddd7cd;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.5rem 3rem;
  padding-block: 3rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span,
.copyright {
  color: #99938a;
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
}

.footer-inner nav a {
  color: #ddd7cd;
  font-size: 0.92rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid #3b3833;
}

@media (max-width: 52rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1,
  .hero-description {
    max-width: none;
  }

  .hero-device {
    width: min(76vw, 21rem);
    transform: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

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

  .closing-card {
    display: grid;
    align-items: start;
  }

  .closing-card h2 {
    max-width: none;
  }

  .closing-card .button {
    justify-self: start;
  }
}

@media (max-width: 35rem) {
  :root {
    --shell: min(100% - 1.5rem, 72rem);
  }

  .header-inner {
    min-height: 4rem;
  }

  .nav-list {
    gap: 0.75rem;
  }

  .nav-list a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card {
    width: min(100%, 20rem);
    margin-inline: auto;
  }

  .closing-card {
    gap: 2rem;
    border-radius: 1.4rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
