/* LINE AI受付 홈페이지 v1.0 — 디자인 시스템 「아이링크소프트」 + 화면 설계서 v1.0 (주 색 brand-red, 대표 확정 2026-10-23) */
:root {
  color-scheme: light;
  --brand-red: #d11919;
  --brand-red-tint: #fdf1f1;
  --brand-red-line: rgba(209,25,25,0.35);
  --ink: #1f2430;
  --ink-soft: #4a5162;
  --cream: #faf7f4;
  --card: #ffffff;
  --dash-navy: #232838;
  --dash-navy-2: #2e3348;
  --line-green: #06c755;
  --line-green-dark: #05a847;
  --input-border: #d5d5da;
  --rule: rgba(31,36,48,0.12);
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --radius-sm: 12px; --radius-icon: 14px; --radius-md: 18px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-card: 0 10px 40px rgba(31,36,48,0.08);
  --shadow-btn: 0 8px 24px rgba(209,25,25,0.25);
  --shadow-phone: 0 30px 80px rgba(31,36,48,0.28);
  --space-gutter: 24px; --space-section: 84px; --space-heading: 56px; --wrap-max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap-max) + 2 * var(--space-gutter)); margin: 0 auto; padding-left: max(var(--space-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-gutter), env(safe-area-inset-right, 0px)); }
section { padding-block: var(--space-section); }
.sec-white { background: var(--card); }
.sec-head { text-align: center; margin-bottom: var(--space-heading); display: grid; gap: 10px; justify-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; color: var(--brand-red); line-height: 1.4; }
.sec-title { font-family: var(--font-serif); font-size: 36px; line-height: 1.5; font-weight: 700; }
.sec-desc { color: var(--ink-soft); max-width: 40em; }
.nowrap { white-space: nowrap; }

/* Button (DS) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; font-family: inherit; line-height: 1.4; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-primary { background: var(--brand-red); color: #fff; box-shadow: var(--shadow-btn); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(31,36,48,0.18); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-dark); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
/* Chip (DS, brand-red 대체) */
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--brand-red); border: 1px solid var(--brand-red-line); font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: var(--radius-pill); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250,247,244,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; display: block; }
.gnav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.gnav a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.gnav a:hover { color: var(--brand-red); }
.header-cta .short { display: none; }

/* Hero */
.hero { padding-block: 72px var(--space-section); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-serif); font-size: 52px; line-height: 1.35; letter-spacing: 0.01em; margin: 18px 0 20px; }
.hero .lead { font-size: 17px; color: var(--ink-soft); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.conds { list-style: none; padding: 0; margin: 22px 0 10px; display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.conds li::before { content: "✓"; color: var(--brand-red); font-weight: 800; margin-right: 8px; }
.fine { font-size: 13px; color: var(--ink-soft); }
.signup-link { font-size: 14px; margin-top: 14px; color: var(--ink-soft); }
.signup-link a, .signup-sub { color: var(--brand-red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.signup-sub { display: block; text-align: center; font-size: 13.5px; margin-top: 12px; }
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--ink); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-phone); }
.phone-screen { background: linear-gradient(180deg, #e8f7ee 0%, #ffffff 100%); border-radius: 30px; padding: 18px 14px 22px; min-height: 460px; }
.phone-top { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.bubble { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 12.5px; line-height: 1.65; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.bubble.bot { background: #fff; border-bottom-left-radius: 4px; }
.bubble.me { background: var(--line-green); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble .ok { margin-top: 8px; padding: 8px 10px; background: var(--brand-red-tint); border-radius: 10px; font-size: 11px; color: var(--brand-red); font-weight: 700; text-align: center; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin: -2px 0 12px; }
.quick span { background: #fff; border: 1px solid rgba(6,199,85,0.35); color: var(--line-green-dark); font-size: 10.5px; font-weight: 700; padding: 6px 11px; border-radius: var(--radius-pill); }

/* Values */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gutter); }
.value { background: var(--cream); border-radius: var(--radius-md); padding: 34px 28px; text-align: center; display: grid; gap: 8px; align-content: start; }
.value .big { font-size: 34px; font-weight: 800; line-height: 1.3; color: var(--brand-red); }
.value h3 { font-size: 19px; line-height: 1.6; }
.value p { font-size: 13.5px; color: var(--ink-soft); }

/* Features (FeatureCard) */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feat { background: var(--card); border-radius: var(--radius-md); padding: 30px; display: flex; gap: 18px; box-shadow: var(--shadow-card); }
.feat .fic { flex: 0 0 48px; height: 48px; border-radius: var(--radius-icon); background: var(--brand-red-tint); color: var(--brand-red); display: flex; align-items: center; justify-content: center; }
.feat .fic svg { width: 24px; height: 24px; }
.feat .num { font-size: 11px; font-weight: 800; color: var(--brand-red); letter-spacing: 0.15em; display: block; margin-bottom: 4px; }
.feat h3 { font-size: 17px; line-height: 1.6; margin-bottom: 6px; }
.feat p { font-size: 13.5px; color: var(--ink-soft); }
.feat .note { font-size: 12px; margin-top: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gutter); list-style: none; padding: 0; margin: 0; }
.step { background: var(--card); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-card); display: grid; gap: 8px; align-content: start; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; line-height: 1.6; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* Dashboard */
.dash { background: linear-gradient(135deg, var(--dash-navy), var(--dash-navy-2)); color: #fff; }
.dash .sec-desc { color: rgba(255,255,255,0.8); }
.dash .eyebrow { color: #ffb4b4; }
.shot { border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.shot img, .shot picture { display: block; width: 100%; height: auto; }
.shot .fallback { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 13px; padding: 16px; text-align: center; }
.dash-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 14px; }
.dash-points li::before { content: "✓"; color: #ffb4b4; font-weight: 800; margin-right: 8px; }

/* LINE demo */
.demo { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--cream); border-radius: var(--radius-md); padding: 36px; max-width: 760px; margin: 0 auto; }
.qr-box { width: 180px; height: 180px; background: #fff; border-radius: var(--radius-sm); padding: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); }
.qr-box img { display: block; width: 156px; height: 156px; image-rendering: pixelated; }
.demo h3 { font-size: 19px; line-height: 1.6; margin-bottom: 6px; }
.demo p { color: var(--ink-soft); font-size: 14px; }
.demo .sp-only { display: none; margin-top: 16px; }
.demo .qr-hint { font-size: 13px; margin-top: 10px; }

/* Pricing (PriceCard) */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gutter); align-items: stretch; }
.price-card { background: var(--card); border-radius: var(--radius-md); padding: 40px 30px 34px; box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column; }
.price-card.best { border: 2px solid var(--brand-red); }
.price-card .tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--brand-red); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 18px; border-radius: var(--radius-pill); white-space: nowrap; }
.price-card h3 { font-size: 18px; text-align: center; }
.price-card .amount { text-align: center; font-size: 46px; font-weight: 800; line-height: 1.2; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.price-card .per { text-align: center; font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-card li { font-size: 14px; padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed rgba(31,36,48,0.1); }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand-red); font-weight: 800; }
.price-card .btn { width: 100%; }
.band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--card); border: 1.5px dashed var(--rule); border-radius: var(--radius-md); padding: 18px 24px; font-weight: 700; }
.price-notes { margin-top: 18px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--cream); border-radius: var(--radius-sm); padding: 18px 22px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-red); font-weight: 800; font-size: 20px; line-height: 1.2; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }

/* Contact */
.contact-box { max-width: 760px; margin: 0 auto; background: var(--cream); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-size: 14px; font-weight: 700; }
.req { color: var(--brand-red); font-size: 12px; margin-left: 6px; }
.input, .textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); padding: 12px 14px; }
.textarea { min-height: 120px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--brand-red); }
.err { font-size: 12.5px; color: var(--brand-red); font-weight: 700; min-height: 0; }
.err:empty { display: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.opts legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; background: #fff; border: 1.5px solid var(--input-border); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 13.5px; cursor: pointer; }
.opt input:checked + span { border-color: var(--brand-red); color: var(--brand-red); font-weight: 700; }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand-red); }
.alert { background: #fff; border: 1.5px solid var(--brand-red); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; }
.alert b { color: var(--brand-red); }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 10px 0; }
.done[hidden] { display: none; }
.done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-red); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.done h3 { font-size: 21px; }
.done p { color: var(--ink-soft); }
.preview-note { font-size: 12px; color: var(--ink-soft); }

/* Company */
.company h2 { font-family: var(--font-serif); font-size: 32px; line-height: 1.5; text-align: center; margin-bottom: 40px; }
.company dl { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 11em 1fr; border-top: 1px solid var(--rule); }
.company dt, .company dd { margin: 0; padding: 16px 8px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.company dt { font-weight: 700; }
.company dd { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Mobile sticky CTA */
.sticky-cta { display: none; }

@media (max-width: 1023px) {
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot { max-width: 600px; margin: 0 auto; border-radius: 20px; }
}
@media (max-width: 880px) {
  :root { --space-section: 56px; --space-heading: 36px; }
  .gnav { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .sec-title { font-size: 28px; }
  .company h2 { font-size: 26px; }
  .grid3, .steps, .grid2, .dash-points { grid-template-columns: 1fr; }
  .grid3.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3.values .value:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --space-gutter: 16px; }
  .prices { grid-template-columns: 1fr; gap: 32px; }
  .header-cta .long { display: none; }
  .header-cta .short { display: inline; }
  .site-header .wrap { height: 60px; }
  .logo img { height: 26px; }
  .hero h1 { font-size: 30px; }
  .hero-ctas .btn { width: 100%; }
  .grid3.values { grid-template-columns: 1fr; }
  .value { padding: 26px 22px; }
  .feat { padding: 22px; }
  .shot { max-width: 320px; margin: 0 auto; border-radius: 28px; }
  .demo { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
  .demo .qr-box, .demo .qr-hint { display: none; }
  .demo .sp-only { display: flex; width: 100%; }
  .contact-box { padding: 26px 18px; }
  .form .row { grid-template-columns: 1fr; }
  .company dl { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; border-bottom: 0; }
  .band { flex-direction: column; align-items: stretch; text-align: center; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,0.96); border-top: 1px solid var(--rule); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transition: transform .2s; }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
