:root {
  color-scheme: light;
  --paper: #f7f7f8;
  --white: #fff;
  --ink: #18181b;
  --muted: #555760;
  --line: #dedee3;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #2258bd;
  outline-offset: 4px;
}
.shell { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead, footer .shell, .wordmark, .navigation, .links {
  display: flex;
  align-items: center;
}
.masthead, footer .shell { justify-content: space-between; gap: 1rem; }
.masthead { min-height: 5rem; border-bottom: 1px solid var(--line); }
.wordmark { gap: .65rem; font-size: 1.05rem; font-weight: 750; text-decoration: none; }
.wordmark img { border-radius: .65rem; }
.navigation, .links { gap: clamp(.8rem, 2vw, 1.5rem); flex-wrap: wrap; }
.navigation a, .links a { font-size: .92rem; color: var(--muted); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 5.7vw, 4.7rem); line-height: 1.08; letter-spacing: -.065em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.04em; line-height: 1.25; }
h3 { font-size: 1.15rem; letter-spacing: -.025em; }
.lead, .description { color: var(--muted); line-height: 1.65; word-break: keep-all; }
.lead { margin-top: 1.25rem; max-width: 33rem; font-size: 1.1rem; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.action:hover { background: #37373e; }
.store-badge { display: inline-block; margin-top: 1.5rem; }
.store-badge img { display: block; width: auto; height: 48px; }
.store-attribution { margin-top: .75rem; color: var(--muted); font-size: .78rem; }
.preview {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  margin: 0 auto;
  border-radius: 1.4rem;
  box-shadow: 0 1rem 2.25rem #19192118;
}
.band { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.3rem; }
.feature-list p { margin-top: .45rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.3rem; }
.calculator { max-width: 38rem; padding-block: 2.75rem 3.5rem; }
.calculator h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.calculator form { margin-top: 1.5rem; padding: clamp(1rem, 4vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.field { display: grid; gap: .45rem; margin-bottom: .95rem; font-weight: 650; }
.field input {
  width: 100%;
  min-height: 2.8rem;
  padding: .5rem .75rem;
  border: 1px solid #a3a3ac;
  border-radius: .6rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.result { margin: 1.2rem 0 0; padding: 1rem; border-radius: .75rem; background: var(--paper); line-height: 1.6; overflow-wrap: anywhere; }
.result output { display: block; font-size: 1.45rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.result small { color: var(--muted); }
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .masthead { min-height: 4rem; }
  .hero, .feature-list { grid-template-columns: 1fr; }
  .preview { width: min(100%, 14rem); }
  footer .shell { align-items: start; flex-direction: column; }
}
:lang(ko) h1 { word-break: keep-all; }

.guide section { margin-block: 1.6rem; }
.guide section p { margin-top: .55rem; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.related { margin-top: 1rem; }
