@font-face {
  font-family: NuafilmSans;
  src: url(PretendardVariable.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #1e1526;
  --muted: #6b6375;
  --line: #e3dced;
  --white: #ffffff;
  --accent: #7c3aed;
  --accent-light: #f3e8ff;
  --accent-glow: rgba(124, 58, 237, 0.18);
  --card-shadow: 0 10px 25px -5px rgba(35, 24, 46, 0.05), 0 8px 10px -6px rgba(35, 24, 46, 0.03);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: NuafilmSans, 'Malgun Gothic', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection { background: var(--accent-light); color: var(--accent); }

header, main, footer {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
}

/* HEADER */
.independent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}
.product-brand {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.8px;
}
.product-brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0;
}
.independent-header nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.independent-header nav a {
  padding: 8px 0;
  color: var(--muted);
  transition: color 0.15s;
}
.independent-header nav a:hover { color: var(--accent); }
.header-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: all 0.2s;
}
.header-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.skip { position: fixed; top: -100px; background: var(--ink); color: white; z-index: 10; padding: 10px; }
.skip:focus { top: 8px; }

/* TYPOGRAPHY & TAGS */
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
}
h1, h2, h3, p, figure { margin-top: 0; }
h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -2.4px;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 800;
}
h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -1.4px;
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 750;
}
h3 { font-size: 21px; letter-spacing: -0.5px; line-height: 1.4; margin-bottom: 14px; }
p { margin-bottom: 18px; }
.lead { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 580px; }
.fine { font-size: 12px !important; line-height: 1.8; color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pill {
  display: inline-block;
  align-self: start;
  width: fit-content;
  background: var(--accent-light);
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  border-radius: 20px;
  padding: 4px 12px;
}

/* BUTTONS */
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 650;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.button.primary:hover {
  background: #6d28d9;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.35);
}
.button.quiet {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.button.quiet:hover { background: #f3f0f7; }

/* HERO SECTION */
.product-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 80px;
}
.product-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-id span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.definition-label { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }

/* SMARTPHONE MOCKUP */
.hero-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.smartphone-frame {
  position: relative;
  width: 275px;
  height: 540px;
  border-radius: 44px;
  background: #000;
  border: 10px solid #23182e;
  box-shadow: 0 25px 50px -10px rgba(35, 24, 46, 0.28);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  background: #23182e;
  border-radius: 12px;
  z-index: 5;
}
.hero-shorts-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-overlay-badge {
  position: absolute;
  bottom: 18px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 10, 22, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}
.mockup-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  font-weight: 500;
}

/* SECTIONS COMMON */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2 { margin-bottom: 0; }

/* METRICS SECTION */
.metrics-section { padding: 40px 0 80px; border-top: none; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.metric-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s;
}
.metric-card:hover { transform: translateY(-4px); }
.metric-num {
  font-size: 42px;
  font-weight: 850;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
.metric-num small { font-size: 17px; font-weight: 600; margin-left: 4px; }
.metric-card h4 { font-size: 16px; font-weight: 750; margin: 0 0 8px; color: var(--ink); }
.metric-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* CUSTOMER PAIN */
.customer-pain h2 { max-width: 900px; }
.pain-intro { font-size: 17px; color: var(--muted); max-width: 920px; line-height: 1.8; }
.pain-signals {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
}
.pain-signals li {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-left: 4px solid #ef4444;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: var(--card-shadow);
}

/* BEFORE & AFTER (CHANGE ROWS) */
.change-context { color: var(--muted); font-size: 13px; margin: 0 0 28px; }
.change-rows { display: flex; flex-direction: column; gap: 20px; }
.change-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 24px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  align-items: center;
}
.change-title-col h3 { margin: 0 0 8px; font-size: 19px; }
.change-before, .change-after {
  padding: 18px 20px;
  border-radius: 10px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.change-before {
  background: #faf9fb;
  border: 1px dashed #cfc5d6;
}
.change-after {
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
}
.change-label {
  font-weight: 750;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: inline-block;
}
.change-before .change-label { color: #8e8496; }
.change-after .change-label { color: var(--accent); }
.change-row p { margin: 0; font-size: 14px; line-height: 1.7; }

.business-outcome {
  padding: 32px 36px;
  margin-top: 36px;
  border-radius: 14px;
  border: 1px solid #d4c2e6;
  border-left: 5px solid var(--accent);
  background: #ffffff;
}
.business-outcome h3 { font-size: 24px; margin-bottom: 12px; }
.business-outcome > p:not(.eyebrow) { font-size: 15px; color: var(--muted); }
.outcome-measure {
  font-size: 12px !important;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #dfd1ee;
}

/* CASE STUDY */
.case-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.case-media {
  padding: 16px;
  background: #23182e;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}
.case-media video {
  width: 100%;
  max-height: 480px;
  border-radius: 10px;
  display: block;
}
.case-copy h3 { font-size: 26px; }
.case-copy > p { color: var(--muted); font-size: 15px; }
.proof {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 22px 0;
}
.proof b { font-size: 12px; color: var(--accent); }
.proof p { margin: 6px 0 0; font-size: 13px; }
.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  padding: 6px 0;
}

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.steps li {
  background: var(--white);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--accent);
}
.steps span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.steps h3 { margin-top: 14px; font-size: 19px; }
.steps p { color: var(--muted); font-size: 13px; margin-bottom: 0; }

/* DELIVER & FIT */
.customer-fit, .deliver {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.customer-fit ul, .deliver ul { list-style: none; padding: 0; margin: 0 0 20px; }
.customer-fit li, .deliver li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
}
.customer-fit li:before, .deliver li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}
.scope {
  grid-column: 1 / -1;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 20px 20px 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}
details p { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.8; }

/* CONSULT FORM */
.consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--card-shadow);
}
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
label span { font-weight: 400; color: var(--muted); }
input, textarea {
  display: block;
  width: 100%;
  border: 1px solid #d4cde0;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 46px;
  background: #faf8fc;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  background: #fff;
}
textarea { resize: vertical; }
.form-status { font-size: 12px; margin: 12px 0 0; min-height: 22px; color: var(--accent); }

/* FOOTER */
footer {
  padding: 44px 0 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
footer > p { font-size: 12px; color: var(--muted); margin: 0; text-align: right; }
footer .fine { grid-column: 1 / -1; text-align: left; }

/* DIALOG */
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  max-width: min(1000px, 92vw);
  max-height: 90vh;
  background: var(--paper);
}
dialog::backdrop { background: rgba(18, 12, 24, 0.75); }
.dialog-close {
  display: block;
  margin: 0 0 14px auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 16px;
  background: white;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  header, main, footer { width: calc(100% - 40px); }
  .product-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .hero-mockup-wrapper { grid-column: 1; grid-row: 2; }
  .metrics-grid { grid-template-columns: 1fr; }
  .pain-signals { grid-template-columns: 1fr; }
  .change-row { grid-template-columns: 1fr; }
  .case-layout, .customer-fit, .deliver, .faq, .consult { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer > p { text-align: left; }
}
/* White canvas and preserved Gemini art direction. */
.hero-copy-wrap { align-self: end; min-width: 0; }
.hero-mockup-wrapper { grid-column: 2; grid-row: 1 / span 2; }
.hero-actions { grid-column: 1; align-self: start; margin-top: -24px; }
.advantage-tag { display: block; font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 18px; letter-spacing: -.7px; }
.continuity-section { padding-top: 54px; }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.scene-grid figure { margin: 0; min-width: 0; }
.scene-grid img { width: 100%; height: auto; aspect-ratio: 9/16; border-radius: 14px; border: 1px solid var(--line); }
.scene-grid figcaption { padding: 18px 0 0; }
.scene-grid figcaption span { font-size: 12px; font-weight: 750; color: var(--accent); font-variant-numeric: tabular-nums; }
.scene-grid h3 { font-size: 19px; margin: 7px 0; }
.scene-grid p { color: var(--muted); font-size: 14px; margin: 0; }
.scene-note { margin: 24px 0 0; }
.text-link { color: var(--accent); font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.draft-download { background: none; border: 0; padding: 4px 0; font-size: 12px; }
.header-cta { flex-shrink: 0; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
@media(max-width:960px) {
  .hero-copy-wrap { grid-column: 1; grid-row: 1; }
  .hero-mockup-wrapper { grid-column: 1; grid-row: 2; }
  .hero-actions { grid-column: 1; grid-row: 3; margin-top: 0; justify-content: center; }
  .product-hero { row-gap: 28px; }
  .independent-header { flex-wrap: wrap; padding: 18px 0 12px; gap: 12px 20px; }
  .independent-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
  .product-brand { font-size: 21px; }
  .product-brand small { font-size: 10px; }
  .scene-grid { gap: 18px; }
}
@media(max-width:600px) {
  h1 { font-size: clamp(30px,8.5vw,42px); letter-spacing: -1.6px; }
  .product-id { flex-wrap: wrap; gap: 4px 8px; margin-bottom: 16px; }
  .lead { font-size: 15px; line-height: 1.8; margin-bottom: 0; }
  .product-hero { padding: 32px 0 48px; }
  .smartphone-frame { width: 232px; height: 448px; border-width: 8px; border-radius: 36px; }
  .mockup-caption { margin-bottom: 0; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .header-cta { font-size: 12px; padding: 8px 12px; }
  .independent-header nav { font-size: 12px; gap: 8px; }
  .product-brand small { max-width: 160px; line-height: 1.4; }
  .section { padding: 48px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 26px; }
  .scene-grid { grid-template-columns: 1fr; gap: 30px; }
  .scene-grid figure { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: 18px; }
  .scene-grid img { border-radius: 10px; }
  .scene-grid figcaption { padding-top: 0; }
  .scene-grid h3 { font-size: 17px; }
  .scene-grid p { font-size: 13px; }
  .change-row { padding: 22px 18px; gap: 16px; }
  .change-before, .change-after { padding: 16px; }
  .business-outcome { padding: 24px 20px; }
  .business-outcome h3 { font-size: 21px; }
  form { padding: 24px 18px; }
  form .actions .button { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Actual produced films: same-model comparison and three distinct deliverables. */
.model-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.model-comparison figure { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); align-items: center; gap: 24px; margin: 0; }
.model-comparison img { width: 100%; height: auto; aspect-ratio: 9/16; border: 1px solid var(--line); border-radius: 14px; }
.model-comparison figcaption span,.work-format { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .4px; }
.model-comparison h3 { font-size: 21px; margin: 10px 0; }
.model-comparison p { font-size: 14px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.work-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; }
.work-media { background: #23182e; }
.work-media video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: contain; }
.work-copy { padding: 24px; }
.work-copy h3 { font-size: 20px; margin: 10px 0 12px; }
.work-copy p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.work-copy .work-point { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink); }
@media(max-width:960px) {
  .model-comparison { gap: 24px; }
  .model-comparison figure { display: block; }
  .model-comparison figcaption { padding-top: 18px; }
  .work-grid { gap: 16px; }
  .work-copy { padding: 18px; }
  .work-copy h3 { font-size: 18px; }
}
@media(max-width:600px) {
  .model-comparison { gap: 18px; }
  .model-comparison h3 { font-size: 17px; }
  .model-comparison p { font-size: 13px; }
  .model-comparison .text-link { font-size: 12px; }
  .work-grid { grid-template-columns: 1fr; gap: 26px; }
  .work-copy { padding: 22px; }
}
