:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #292524;
  --muted: #706762;
  --burgundy: #7e1833;
  --burgundy-dark: #621127;
  --rose: #ead5da;
  --line: #ded8d3;
  --line-strong: #cfc5be;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
.text-action:hover,
.support-links > a:not(.primary-action):hover {
  color: var(--burgundy);
}

.hero {
  min-height: min(70vh, 650px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vh, 112px) clamp(20px, 8vw, 120px);
  background-color: var(--paper);
  background-image: url("/site-assets/app-icon.png");
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: clamp(270px, 34vw, 460px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(58%, 690px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", "Apple SD Gothic Neo", serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-description {
  max-width: 580px;
  margin-bottom: 32px;
  color: #4d4541;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--burgundy);
  border-radius: 6px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.primary-action:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--burgundy);
}

.feature-visual {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.feature-visual img {
  display: block;
  width: min(100%, 1280px);
  height: auto;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-section,
.record-section,
.support-section {
  padding: clamp(72px, 10vw, 124px) 0;
}

.feature-section {
  background: var(--paper);
}

h2 {
  max-width: 760px;
  margin-bottom: 46px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.feature-list article {
  min-width: 0;
  padding: 28px clamp(20px, 3vw, 34px) 34px;
}

.feature-list article + article {
  border-left: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
}

.feature-list p,
.record-layout > p,
.support-layout p {
  margin-bottom: 0;
  color: var(--muted);
}

.record-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(40px, 8vw, 100px);
}

.record-layout h2 {
  margin-bottom: 0;
}

.record-layout > p {
  padding-bottom: 8px;
}

.support-section {
  background: #f5f0ed;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.support-layout h2 {
  margin-bottom: 18px;
}

.support-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.support-links > a:not(.primary-action) {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
}

footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #eee9e5;
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 600px;
    align-items: flex-end;
    padding-top: 250px;
    padding-bottom: 64px;
    background-position: center 34px;
    background-size: 230px;
  }

  .hero-inner {
    width: 100%;
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-visual img {
    min-width: 680px;
    transform: translateX(7%);
  }

  .feature-list,
  .record-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .feature-list article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .record-layout,
  .support-layout {
    gap: 30px;
  }

  .support-links {
    width: 100%;
  }

  .support-links .primary-action {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 16px;
  }

  nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 54px;
  }

  .feature-visual img {
    min-width: 600px;
  }
}

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