:root {
  color-scheme: light;
  --paper: #f8f8f4;
  --ink: #20221e;
  --muted: #545a51;
  --line: #c6c9bd;
  --accent: #254739;
  --title: Georgia, 'Noto Serif KR', 'AppleMyungjo', Batang, serif;
  --body: 'Malgun Gothic', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 100% / 1.65 var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
::selection { color: var(--ink); background: #dce8dc; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.frame { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1; inset: 8px auto auto 8px; padding: 8px 14px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 75px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wordmark { font: 700 1.5rem/1.2 var(--title); letter-spacing: -.045em; text-decoration: none; }
.language { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 4px; color: var(--muted); font-size: .9375rem; text-decoration: none; }
.language:hover, .wordmark:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.intro { padding-block: 48px 43px; }
h1 { font: 700 clamp(2rem,5.4vw,4.125rem)/1.16 var(--title); letter-spacing: -.045em; }
.intro h1 > span { display: block; word-break: keep-all; }
.intro p { margin-top: 17px; max-width: 62ch; color: var(--muted); font-size: clamp(1rem,1.6vw,1.2rem); }
.product-jump { display: none; }
.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.product { display: flex; flex-direction: column; min-width: 0; gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; scroll-margin-block-start: 16px; }
.product:target { border-top-color: var(--accent); }
.product-image { display: grid; place-items: center; grid-template-rows: minmax(0,1fr); aspect-ratio: 16 / 9; padding: 4%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.product .product-image { margin-top: auto; }
.product-image.compass { background: #e6ebe1; }
.product-image.coach { background: #ece8f0; }
.product-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.product h2 { margin-bottom: 7px; font: 700 clamp(1.65rem,3vw,2.3rem)/1.15 var(--title); letter-spacing: -.04em; }
.product p { max-width: 50ch; margin-bottom: 14px; font-size: 1.0625rem; color: var(--muted); word-break: keep-all; }
.product-links, .product-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 5px; }
.visit-link, .store-link, .details-link { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-size: .9375rem; font-weight: 650; }
.visit-link { padding: 8px 13px; border-radius: 6px; background: var(--accent); color: #fff; text-decoration: none; }
.visit-link:hover { background: #183729; }
.store-link { color: var(--accent); text-decoration: none; }
.details-link { color: var(--muted); text-decoration: none; }
.store-link:hover, .details-link:hover { text-decoration: underline; }
.link-arrow { text-decoration: none; font-weight: 500; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; row-gap: 6px; margin-top: 58px; min-height: 78px; padding-block: 10px; border-top: 1px solid var(--ink); }
.site-footer .wordmark { font-size: 1.19rem; }
.site-footer nav { display: flex; flex-wrap: wrap; column-gap: 19px; }
.site-footer nav a, .product-support a { display: inline-flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 4px; min-height: 44px; color: var(--muted); font-size: .875rem; }
.detail { padding-top: 24px; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.detail-feature { margin-block: 22px 48px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.detail-intro h1 { max-width: 14ch; }
.detail-intro p { margin-block: 18px 14px; color: var(--muted); font-size: 1.125rem; word-break: keep-all; }
.how { padding-top: 22px; border-top: 1px solid var(--line); }
.how h2 { font-size: 1.3rem; margin-bottom: 14px; }
.how-grid { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; padding: 0; margin: 0; }
.how-grid h3 { font-size: 1rem; }
.how-grid p { max-width: 56ch; margin-top: 5px; color: var(--muted); }
.product-support { margin-top: 24px; display: flex; gap: 20px; }

@media (max-width: 920px) {
  .frame { width: min(100% - 64px, 1240px); }
  .products { gap: 20px; }
  .intro { padding-block: 38px 43px; }
  .detail-feature { grid-template-columns: 1fr; }
  .detail-intro h1 { max-width: none; }
}

@media (max-width: 620px) {
  .frame { width: calc(100% - 40px); }
  .site-header { min-height: 64px; }
  .wordmark { font-size: 1.32rem; }
  .intro { padding-block: 34px 24px; }
  .intro p { margin-top: 15px; }
  .product-jump { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 16px; }
  .product-jump a { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--accent); font-size: .875rem; font-weight: 650; text-decoration: none; }
  .product-jump a:hover { background: #e6ebe1; }
  .products, .how-grid { grid-template-columns: 1fr; }
  .products { gap: 26px; }
  .product { padding-top: 18px; gap: 14px; }
  .product p { margin-bottom: 10px; }
  .product-image { aspect-ratio: auto; min-height: 136px; }
  .site-footer { display: block; margin-top: 36px; padding-block: 16px; }
  .site-footer nav { display: grid; margin-top: 5px; }
  .detail-feature { margin-block: 16px 34px; }
}
