@font-face {
  font-family: "Pretendard";
  src: url("../assets/fonts/PretendardVariable-subset.woff2?v=20261109-chat-content") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf5eb;
  --ink: #282525;
  --muted: #5d5652;
  --purple: #845d90;
  --rule: #bfb6aa;
  color: var(--ink);
  background: #f0e9de;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-padding-top: 28px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  padding-bottom: 70px;
  background: repeating-linear-gradient(0deg, #745e4903 0 1px, transparent 1px 4px), #f0e9de;
  font-size: 17px;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 10; padding: 10px 18px; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-top, .preview { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-top { height: 99px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d3c6b6; }
.site-brand { display: block; line-height: 0; }
.site-brand img { width: 152px; height: auto; mix-blend-mode: multiply; }
.back-link { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #64565b; }
.back-link:hover { color: var(--purple); }
.page-context { display: flex; align-items: center; justify-content: space-between; padding: 22px 2px 15px; gap: 20px; font-size: 13px; color: #6d5b5a; }
.page-context > span { font-size: 12px; }
.page-context > a { font-size: 12px; }
.page-context > a:hover { color: var(--purple); }
.chat-app-frame { display: block; width: 100%; height: 870px; border: 0; background: transparent; }
.chat-caption { margin: 13px 7px 0; color: #6b5d53; font-size: 12px; line-height: 1.8; }
.chat-caption a { color: #70477e; text-decoration: underline; text-underline-offset: 3px; }
.preview-image img { display: block; width: 100%; height: auto; border-radius: 4px; }
.preview-image > a { display: block; }
.preview-image figcaption { display: flex; gap: 8px; padding-inline: 7px; margin-top: 12px; font-size: 12px; color: #6b5d53; line-height: 1.8; }
.preview-caption-mark { font-size: 18px; line-height: 1.2; }

/* Keep the desktop paper surface; mobile uses the reference's open layout. */
.guide-surface {
  width: min(1110px, calc(100% - 96px));
  margin: 58px auto 0;
  padding: 29px 58px 30px;
  border: 1px solid #d1c3b0;
  border-radius: 4px 8px 6px 4px;
  background: repeating-linear-gradient(0deg, #8d784a03 0 1px, transparent 1px 3px), var(--paper);
  box-shadow: 3px 5px 0 -1px #f9f0e1, 3px 5px 0 #d5c8b6;
  scroll-margin-top: 28px;
}
.guide-nav { display: flex; align-items: stretch; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--rule); }
.guide-links { display: flex; align-items: stretch; gap: 32px; min-width: 0; }
.guide-links a { position: relative; display: flex; align-items: center; padding: 7px 0 21px; font-size: 16px; white-space: nowrap; }
.guide-links a[aria-current="location"] { font-weight: 700; }
.guide-links a[aria-current="location"]:after { content: ""; position: absolute; height: 3px; width: 100%; left: 0; bottom: 7px; background: var(--purple); }
.guide-nav a:hover { color: var(--purple); }
.return-link { display: flex; gap: 7px; align-items: center; align-self: flex-start; padding-block: 7px 21px; font-size: 15px; white-space: nowrap; }
.introduction { padding: 41px 0 39px; }
.section-label { color: var(--purple); font-size: 20px; font-weight: 650; line-height: 1.5; }
.introduction h2 { font-size: 42px; font-weight: 750; letter-spacing: -1.4px; line-height: 1.4; margin-top: 14px; }
.intro-copy { font-size: 20px; line-height: 1.8; letter-spacing: -.3px; margin-top: 18px; color: #403a37; word-break: keep-all; overflow-wrap: anywhere; }
.interaction-point { margin-top: 38px; }
.interaction-point + .interaction-point { margin-top: 34px; }
.interaction-point h3 { display: flex; align-items: center; gap: 21px; font-size: 25px; line-height: 1.5; font-weight: 700; letter-spacing: -.6px; }
.interaction-point h3:before { content: ""; width: 34px; height: 3px; background: var(--purple); flex-shrink: 0; }
.interaction-point p { margin: 12px 0 0 20px; color: #49423e; font-size: 18px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.before-use { border-top: 1px solid var(--rule); padding: 25px 0 28px; scroll-margin-top: 28px; }
.before-use h2 { font-size: 24px; font-weight: 650; letter-spacing: -.6px; line-height: 1.5; }
.before-use p { margin-top: 13px; color: #49423e; font-size: 17px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.before-use .use-etiquette { font-size: 15px; color: var(--muted); margin-top: 10px; }
.before-use p, .disclosure-body p { text-wrap: pretty; }
.disclosures { border-top: 1px solid var(--rule); }
.disclosures details { border-bottom: 1px solid var(--rule); scroll-margin-top: 28px; }
.disclosures summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; font-size: 19px; line-height: 1.6; cursor: pointer; list-style: none; }
.disclosures summary::-webkit-details-marker { display: none; }
.disclosures summary:hover { color: var(--purple); }
.details-symbol { width: 19px; height: 19px; position: relative; flex-shrink: 0; margin-right: 3px; }
.details-symbol:before, .details-symbol:after { content: ""; position: absolute; background: currentColor; }
.details-symbol:before { height: 1px; width: 19px; left: 0; top: 9px; }
.details-symbol:after { width: 1px; height: 19px; left: 9px; top: 0; }
details[open] .details-symbol:after { display: none; }
.disclosure-body { max-width: 830px; padding: 0 0 25px; }
.disclosure-body h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 650; line-height: 1.6; }
.disclosure-body h3:first-child { margin-top: 3px; }
.disclosure-body p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.intro-copy a, .disclosure-body a { color: #70477e; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ad93b5; }
.model-sources { padding-left: 21px; color: var(--muted); font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.model-sources li + li { margin-top: 5px; }
.guide-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px; padding-top: 35px; font-size: 14px; line-height: 1.8; color: #635b56; }
.guide-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.guide-footer a:hover { color: var(--purple); }

@media (max-width: 1050px) {
  .guide-surface { width: calc(100% - 64px); padding-inline: 38px; }
  .guide-links { gap: 25px; }
  .guide-links a { font-size: 15px; }
  .return-link { font-size: 14px; }
  .introduction h2 { font-size: 38px; }
  .intro-copy { font-size: 19px; }
  .interaction-point p { font-size: 17px; }
  .desktop-break { display: none; }
}

@media (max-width: 700px) {
  :root { background: #f7f3ec; scroll-padding-top: 20px; }
  body { background: #f7f3ec; padding-bottom: 38px; }
  .site-top, .preview { width: calc(100% - 36px); }
  .site-top { height: 78px; }
  .site-brand img { width: 125px; }
  .back-link { font-size: 11px; gap: 6px; }
  .page-context { padding-block: 18px 12px; font-size: 12px; }
  .page-context > span { font-size: 10px; }
  .page-context > a { font-size: 10px; }
  .chat-app-frame { height: 790px; }
  .chat-caption { font-size: 11px; margin-inline: 0; }
  .preview-image figcaption { font-size: 11px; margin-top: 11px; padding-inline: 0; }
  .guide-surface { width: calc(100% - 44px); margin-top: 34px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; scroll-margin-top: 20px; }
  .guide-nav { gap: 18px; }
  .guide-links { gap: 24px; }
  .guide-links a { font-size: 15px; padding-block: 0 19px; }
  .return-link { font-size: 13px; padding-block: 0 19px; gap: 5px; }
  .introduction { padding: 31px 0 32px; }
  .section-label { font-size: 18px; }
  .introduction h2 { font-size: 34px; margin-top: 13px; letter-spacing: -1.15px; }
  .intro-copy { font-size: 18px; line-height: 1.85; margin-top: 17px; }
  .interaction-point { margin-top: 31px; }
  .interaction-point + .interaction-point { margin-top: 28px; }
  .interaction-point h3 { font-size: 23px; gap: 18px; letter-spacing: -.5px; }
  .interaction-point h3:before { width: 28px; height: 3px; }
  .interaction-point p { font-size: 17px; margin: 12px 0 0 14px; line-height: 1.85; }
  .before-use { padding: 25px 0; scroll-margin-top: 20px; }
  .before-use h2 { font-size: 23px; }
  .before-use p { font-size: 17px; line-height: 1.85; margin-top: 13px; }
  .before-use .use-etiquette { font-size: 14px; }
  .disclosures details { scroll-margin-top: 20px; }
  .disclosures summary { padding: 17px 0; font-size: 18px; gap: 16px; }
  .details-symbol { width: 18px; height: 18px; margin-right: 2px; }
  .details-symbol:before { width: 18px; top: 8px; }
  .details-symbol:after { height: 18px; left: 8px; }
  .disclosure-body { padding-bottom: 23px; }
  .disclosure-body h3 { font-size: 16px; }
  .disclosure-body p { font-size: 15px; }
  .guide-footer { padding-top: 29px; font-size: 13px; }
}

@media (max-width: 560px) {
  .sentence-break { display: none; }
  .guide-nav { flex-wrap: wrap; gap: 0; }
  .guide-links { width: 100%; justify-content: space-between; gap: 10px; }
  .guide-links a { font-size: 14px; padding-bottom: 17px; }
  .guide-links a[aria-current="location"]:after { bottom: 6px; }
  .return-link { margin: 0 0 0 auto; font-size: 12px; padding: 2px 0 12px; }
  .guide-footer nav { gap: 8px 18px; }
  .introduction h2 { font-size: 31px; }
  .intro-copy { font-size: 17px; }
  .interaction-point h3 { font-size: 22px; gap: 15px; }
  .interaction-point h3:before { width: 24px; }
  .interaction-point p { margin-left: 11px; font-size: 16px; }
  .before-use h2 { font-size: 22px; }
  .before-use p { font-size: 16px; }
  .before-use .use-etiquette { font-size: 14px; }
  .disclosures summary { font-size: 17px; }
}

@media (max-width: 360px) {
  .guide-surface { width: calc(100% - 36px); }
  .guide-links { gap: 8px; }
  .guide-links a { font-size: 13px; }
  .introduction h2 { font-size: 29px; }
  .interaction-point h3 { font-size: 20px; gap: 12px; }
  .interaction-point p { margin-left: 0; }
  .disclosures summary { font-size: 16px; }
}
