/* glanceport.com (site-rework tools/glanceport_site.py). Warm paper like the old Glance pages: text 14.5:1, muted 7.3:1, accent 5.4:1. */
:root { --bg: #f6f1e7; --raised: #fffaf1; --line: #e2d7c4; --text: #2a1d12; --muted: #5e4c3b; --accent: #a3461f; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.75 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; padding: 8px 12px; background: var(--text); color: var(--bg); z-index: 9; }
.top { position: sticky; top: 0; z-index: 5; background: rgb(246 241 231 / 0.94); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.top-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.top-nav a:hover { color: var(--text); background: var(--raised); }
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; }
.tag { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: 0.85rem; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; font-weight: 800; }
h1 span { color: var(--muted); font-weight: 700; font-size: 0.6em; margin-left: 8px; }
.lead { margin: 14px 0 12px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--accent); }
.hero p:last-child { max-width: 36em; }
h2 { margin-bottom: 24px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.what, .shots, .status { padding: 64px 0 0; }
.status { padding-bottom: 8px; }
.contact { padding: 64px 0 80px; }
.contact > p { max-width: 40em; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 800; text-decoration: none; }
.text-link { color: var(--accent); font-weight: 700; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modes article { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); }
.modes h3 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; }
.making { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #f3dccf; color: #7a3519; font-size: 0.78rem; font-weight: 800; vertical-align: middle; }
.why { max-width: 44em; margin-top: 24px; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shot-grid figure { margin: 0; }
.shot-grid img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 0.95rem; font-weight: 700; }
.note { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.status p + p { margin-top: 12px; }
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--muted); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-mark { width: 96px; }
  .modes, .shot-grid { grid-template-columns: 1fr; }
  .top-nav a { padding: 6px 8px; }
}

/* contact form (tools/remote_form.py): the company form, posting to https://reseorch-ai.com/api/contact */
.contact-form[hidden] { display: none; }
.contact-form { display: grid; gap: 8px; max-width: 34em; margin-top: 20px; }
.contact-form label { font-weight: 700; font-size: 0.9rem; margin-top: 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #e2d7c4; background: #ffffff; color: #2a1d12; font: inherit; }
.contact-form .button { justify-self: start; margin-top: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.form-result { min-height: 1.5em; font-size: 0.9rem; font-weight: 600; }
.form-result[data-state="ok"] { color: #1d6b35; }
.form-result[data-state="error"] { color: #b3261e; }
.form-turnstile { margin-top: 8px; }
/* Collection notice next to the site forms (sec-docs-ops-20261113, G2). Shared by both sites. */
.form-privacy { margin: 4px 0 0; padding: 10px 12px; border: 1px solid rgba(127, 127, 127, 0.35); border-radius: 10px; font-size: 0.8rem; line-height: 1.55; opacity: 0.92; }
.form-privacy-title { margin: 0 0 4px; font-weight: 700; }
.form-privacy ul { margin: 0; padding-left: 1.1em; }
.form-privacy li { margin: 0; }
.form-privacy li b { font-weight: 700; margin-right: 0.35em; }
.form-privacy-extra { margin: 6px 0 0; }
/* D125 consent: required consent checkbox under the notice (site-rework prepare_switch.py). */
/* form label/input rules on both sites are (0,1,1) and give inputs width:100% and padding; these win on specificity. */
form label.form-consent { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; font-size: 0.9rem; font-weight: 600; line-height: 1.45; cursor: pointer; }
form label.form-consent input[type="checkbox"] { width: 1.1em; height: 1.1em; min-width: 1.1em; padding: 0; margin: 0.15em 0 0; border-radius: 3px; flex: none; accent-color: currentColor; }
/* the studio's .studio-copy p (1.08rem, margin-bottom 16px) otherwise enlarges the notice's two paragraphs. */
form .form-privacy p { font-size: inherit; color: inherit; max-width: none; }
form .form-privacy p.form-privacy-title { margin: 0 0 4px; }
form .form-privacy p.form-privacy-extra { margin: 6px 0 0; }
/* transfer consent: the separate 국외 이전 notice sits under the first checkbox (site-rework prepare_switch.py). */
form .form-privacy.form-transfer { margin-top: 10px; }
