:root {
  color-scheme: light;
  --paper: #f8f7ef;
  --ink: #192d25;
  --pine: #174b39;
  --dark: #103a2b;
  --muted: #4f6158;
  --border: #d9ded3;
  --mint: #dce9da;
  --white: #fffef8;
  --focus: #b45421;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: fixed; z-index: 2; left: 1rem; top: 1rem; transform: translateY(-200%); background: white; padding: .6rem; }
.skip:focus { transform: none; }
.shell { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 30px; font-weight: 760; letter-spacing: -.08em; }
.brand-dot { margin-left: -8px; color: #a65329; }
.brand-mark { width: 23px; height: 23px; display: inline-block; border: 2px solid var(--pine); border-radius: 48% 48% 48% 18%; transform: rotate(-16deg); }
.brand-mark::before { content: ""; display: block; margin: 5px; width: 9px; height: 9px; background: var(--pine); border-radius: 55%; }
.nav, .actions { display: flex; align-items: center; gap: 26px; }
.nav > a { text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav > a:not(.button):hover, .text-link:hover { text-decoration: underline; }
.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; min-height: 51px; background: var(--pine); color: white; padding: .72rem 1.1rem; text-decoration: none; font-weight: 700; text-align: center; }
.button:hover { background: var(--dark); }
.button-small { min-height: 40px; padding: .5rem .85rem; }
.button-secondary { background: transparent; color: var(--pine); border-color: #9bab9f; }
.button-secondary:hover { background: var(--mint); }
.text-link { color: var(--pine); font-size: .95rem; font-weight: 700; text-underline-offset: .28em; }
.hero { display: grid; grid-template-columns: 1fr minmax(320px, .9fr); align-items: center; gap: clamp(40px, 7vw, 114px); padding-block: clamp(66px, 11vw, 135px); }
.hero-copy h1 { margin: 0; font-size: clamp(2.5rem, 5.25vw, 4.9rem); font-weight: 760; line-height: 1.14; letter-spacing: -.09em; word-break: keep-all; }
.hero-copy h1 span { color: #a65329; }
.hero-copy p { max-width: 28rem; margin: 27px 0 30px; color: var(--muted); line-height: 1.85; font-size: clamp(1rem, 1.5vw, 1.12rem); word-break: keep-all; }
.hero-sample { position: relative; isolation: isolate; min-width: 0; overflow: hidden; display: grid; place-items: center; min-height: 380px; padding: clamp(24px, 5vw, 56px); background: #214e3c; border-radius: 22px; box-shadow: 0 18px 50px #214e3c18; }
.halo { position: absolute; z-index: -1; inset: -40px; background: repeating-radial-gradient(ellipse at 85% 26%, transparent 0 25px, #dce9da21 26px 27px, transparent 28px 47px), radial-gradient(ellipse at 88% 80%, #08624b, transparent 58%); }
.sample-content { width: min(100%, 350px); display: grid; gap: 12px; }
.sample-label { margin: 0 0 3px; color: #e2ebdf; font-size: .79rem; font-weight: 650; }
.bubble { border-radius: 12px 12px 12px 3px; background: #e3edda; color: #204534; padding: 12px 15px; font-size: .91rem; line-height: 1.55; justify-self: start; }
.bubble-second { justify-self: end; border-radius: 12px 12px 3px 12px; background: #f2e5d0; }
.memory-card { margin: 3px 0 3px 16px; background: var(--white); border: 1px solid #dfe5d9; border-radius: 12px; box-shadow: 0 9px 26px #09251952; padding: 18px 20px; }
.memory-card h2 { font-size: 1.28rem; margin: 6px 0 10px; letter-spacing: -.06em; }
.memory-kicker { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: #4b6254; font-weight: 720; }
.memory-symbol { color: var(--pine); font-size: 1rem; }
.memory-card dl, .memory-card dd { margin: 0; }
.memory-card dl div { display: flex; gap: 13px; padding: 6px 0 3px; border-top: 1px solid #e8e9e0; font-size: .79rem; }
.memory-card dt { flex: 0 0 6.3em; color: var(--muted); }
.connect-section { padding-block: clamp(48px, 7vw, 84px); border-block: 1px solid var(--border); background: #eef0e5; }
.connect-head h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.2vw, 2.85rem); letter-spacing: -.075em; }
.connect-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.steps article { padding: 20px; min-width: 0; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; }
.steps h3 { letter-spacing: -.04em; margin: 10px 0 8px; }
.steps p { font-size: .91rem; line-height: 1.6; margin: 0; color: var(--muted); word-break: keep-all; }
.step-mark { min-width: 30px; min-height: 30px; display: inline-grid; place-items: center; color: #174b39; background: var(--mint); border-radius: 8px; font-size: 1.07rem; font-weight: 800; }
.footer { min-height: 94px; display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--ink); font-size: 21px; }
.footer a:last-child { margin-left: auto; }
.page { width: min(100% - 40px, 900px); min-height: 57vh; margin: 55px auto 72px; }
.page-narrow { max-width: 480px; }
.page h1 { margin: 0 0 15px; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.075em; }
.page h2 { margin: 0 0 12px; font-size: 1.34rem; letter-spacing: -.045em; }
.page p, .page li { color: var(--muted); line-height: 1.65; word-break: keep-all; }
.panel { border: 1px solid var(--border); border-radius: 16px; background: var(--white); padding: clamp(18px, 5vw, 28px); margin-top: 16px; }
.form { display: grid; gap: 13px; }
.form label { display: grid; gap: 6px; font-weight: 650; color: var(--ink); }
.form input { min-height: 47px; width: 100%; padding: .6rem .7rem; color: var(--ink); background: white; border: 1px solid #aab7ac; border-radius: 8px; }
.form input:focus { border-color: var(--pine); }
.full { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-size: .86rem; color: var(--muted); }
.divider::after, .divider::before { content: ""; height: 1px; flex: 1; background: var(--border); }
.notice { padding: 10px 12px; background: #e7efdf; border-radius: 7px; overflow-wrap: anywhere; }
.notice:empty { display: none; }
.notice.error { background: #f9e8e1; color: #843920; }
.page-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.link-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.link-list li { padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; overflow-wrap: anywhere; }
.connection-info { padding: 12px; background: #eef1e8; border-radius: 8px; font: .86rem/1.65 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.connection-info:focus { outline: 2px solid var(--focus); }
.candidate { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.candidate p { flex: 1; margin: 0; min-width: 13rem; overflow-wrap: anywhere; }
.candidate small { display: block; color: var(--muted); }
.status-tag { color: #205b46; font-weight: 720; }
@media (max-width: 870px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-sample { padding: 20px; min-height: 332px; }
  .actions { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .header { min-height: 67px; }
  .nav { gap: 12px; }
  .nav-guide { display: none; }
  .brand { font-size: 25px; }
  .hero { grid-template-columns: 1fr; padding-block: 46px; gap: 28px; }
  .hero-copy p { margin: 18px 0 22px; }
  .hero-sample { min-height: 295px; padding-block: 23px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps article { padding: 16px; }
  .page { margin-block: 36px 55px; }
  .footer { gap: 12px; min-height: 76px; }
}
