/*
  Shared layout for app landing pages (lookatme/, picseas/, samepose/).
  Each app sets its colors in its own page.css and adds its hero art there.

  Page order: header → hero → features → (optional) details → closing → footer
*/
:root {
  --bg: #111;
  --ink: #fff;
  --muted: #aaa;
  --accent: #fff;
  --button-bg: #fff;
  --button-ink: #111;
  --line: rgba(255, 255, 255, .16);
  --section-bg: #f4f4f5;
  --section-ink: #111;
  --section-muted: #666;
  --section-accent: #111;
  --card-bg: #fff;
  --card-line: rgba(0, 0, 0, .1);
  --closing-glow: rgba(255, 255, 255, .08);
  --display: "DM Sans", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { word-break: keep-all; }

.page-header, main, footer { max-width: 1440px; margin: 0 auto; }
.page-header { min-height: 86px; padding: 22px 5vw; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.wordmark { font: 700 22px var(--display); letter-spacing: -.06em; white-space: nowrap; }
.wordmark span { margin-left: 5px; color: var(--accent); font-size: 15px; }
.page-header nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 600; }
.page-header nav a:hover, footer a:hover { color: var(--accent); }
.language-switch { display: flex; align-items: center; gap: 4px; color: var(--muted); font: 600 10px var(--display); }
.language-switch button { padding: 6px 2px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; opacity: .55; }
.language-switch button.active { opacity: 1; color: var(--accent); }

.hero { position: relative; min-height: 720px; padding: 100px 5vw 110px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 5vw; overflow: hidden; }
.hero-copy, .hero-art { min-width: 0; }
.eyebrow { margin-bottom: 22px; color: var(--accent); font: 700 11px var(--display); letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .closing h2 { margin-bottom: 28px; font: 600 clamp(52px, 6vw, 88px)/1.15 var(--display); letter-spacing: -.07em; }
.hero h1 em, .closing h2 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.9; word-break: keep-all; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin: 36px 0 26px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 23px; border-radius: 999px; background: var(--button-bg); color: var(--button-ink); font-size: 13px; font-weight: 700; transition: transform .2s ease, opacity .2s ease; }
a.store-link:hover { transform: translateY(-3px); }
.store-link.is-pending { border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; }
.quiet-link { padding-bottom: 5px; border-bottom: 1px solid var(--muted); color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-note { max-width: 560px; color: var(--muted); font-size: 12px; line-height: 1.7; opacity: .85; word-break: keep-all; }
.hero-art { position: relative; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; isolation: isolate; }
.art-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; z-index: -1; }
.art-orbit-one { width: 510px; height: 510px; }
.art-orbit-two { width: 370px; height: 370px; border-style: dashed; }

.features, .details { padding: 120px 5vw 140px; background: var(--section-bg); color: var(--section-ink); }
.details { padding-top: 0; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw 6vw; align-items: end; margin-bottom: 62px; }
.section-intro .eyebrow { grid-column: 1 / -1; color: var(--section-accent); margin-bottom: 0; }
.section-intro h2 { margin: 0; font: 600 clamp(42px, 5vw, 68px)/1.18 var(--display); letter-spacing: -.065em; }
.section-intro > p:last-child { max-width: 470px; margin: 0 0 5px; color: var(--section-muted); font-size: 16px; line-height: 1.8; word-break: keep-all; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { min-height: 285px; padding: 32px; border: 1px solid var(--card-line); border-radius: 18px; background: var(--card-bg); }
.feature-index { color: var(--section-accent); font: 700 10px var(--display); letter-spacing: .15em; }
.feature-grid h3 { margin: 35px 0 14px; font-size: 24px; letter-spacing: -.04em; }
.feature-grid p { max-width: 550px; margin-bottom: 0; color: var(--section-muted); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--card-line); }
.detail-list li { padding: 26px 0; border-bottom: 1px solid var(--card-line); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.detail-list strong { font: 600 18px var(--display); letter-spacing: -.03em; }
.detail-list span { color: var(--section-muted); font-size: 14px; text-align: right; word-break: keep-all; }
.detail-list a { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.detail-list a:hover strong { color: var(--section-accent); }

.closing { min-height: 580px; padding: 100px 5vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 50%, var(--closing-glow), var(--bg) 65%); }
.closing .eyebrow { margin-bottom: 22px; }
.closing p:not(.eyebrow) { max-width: 540px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.8; word-break: keep-all; }

footer { min-height: 100px; padding: 28px 5vw; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer div { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 80px; }
  .hero-art { min-height: 440px; }
  .section-intro { grid-template-columns: minmax(0, 1fr); }
  .section-intro .eyebrow { grid-column: auto; }
  .feature-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .feature-grid article { min-height: 0; }
}
@media (max-width: 600px) {
  .page-header, .hero, .features, .details, .closing, footer { padding-left: 22px; padding-right: 22px; }
  .page-header nav { gap: 13px; }
  .page-header nav > a { display: none; }
  .hero { min-height: 0; padding-top: 70px; padding-bottom: 65px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 15px; }
  .hero-art { min-height: 350px; }
  .art-orbit-one { width: 360px; height: 360px; }
  .art-orbit-two { width: 260px; height: 260px; }
  .features { padding-top: 88px; padding-bottom: 95px; }
  .details { padding-bottom: 95px; }
  .section-intro h2 { font-size: 43px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid h3 { margin-top: 25px; }
  .detail-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .detail-list span { text-align: left; }
  .detail-list a { flex-direction: column; align-items: flex-start; gap: 6px; }
  .closing { min-height: 500px; }
  .closing h2 { font-size: 45px; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
