/* ============================================================
   Gappy Stay LP v6 — The Perfected Build
   High-quality typography, monochrome palette, and a high-impact 2-col hero.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:      #FAFAFA;
  --surface: #FFFFFF;
  --dark:    #141414;
  --text:    #1A1A1A;
  --text2:   #6B6B6B;
  --text3:   #999999;
  --border:  #E8E8E8;
  --wa-green:#075E54;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.w { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.w-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }

section { padding: 140px 0; }

@media (max-width: 768px) {
  .w, .w-sm { padding: 0 20px; }
  section { padding: 96px 0; }
}

/* ============================================================
   TYPOGRAPHY — Line break control
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  color: var(--text);
  word-break: keep-all; /* No breaks mid-word in Japanese */
  overflow-wrap: break-word;
  letter-spacing: -0.01em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-p {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 14px; padding: 13px 28px;
  background: var(--dark); color: #fff; border: none; border-radius: 8px;
  transition: opacity .18s; white-space: nowrap;
}
.btn-p:hover { opacity: .82; }

.btn-g {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 14px; padding: 13px 28px;
  background: transparent; color: var(--text2);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color .18s, color .18s; white-space: nowrap;
}
.btn-g:hover { border-color: var(--text2); color: var(--text); }

/* ============================================================
   01 HEADER
   ============================================================ */
.hd {
  position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 100;
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease;
}
.hd.scrolled { border-color: var(--border); }

.hd-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.hd-logo { font-weight: 600; font-size: 15px; }

.hd-nav { display: flex; align-items: center; gap: 32px; }
.hd-nav a { font-size: 13px; color: var(--text2); transition: color .15s; }
.hd-nav a:hover { color: var(--text); }

.hd-cta {
  font-size: 13px; font-weight: 500; padding: 7px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  transition: all .18s;
}
.hd-cta:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

@media (max-width: 768px) {
  .hd-nav a:not(.hd-cta) { display: none; }
}

/* ============================================================
   02 HERO — Restored 2-col Split + Large Visual
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 52px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* Subtle background gradient for premium feel */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, #F5F5F3 0%, var(--surface) 60%);
  z-index: 0;
}

.hero-in {
  display: grid; grid-template-columns: 5fr 6fr; gap: 48px;
  align-items: center; width: 100%; position: relative; z-index: 1;
}

.hero-text { text-align: left; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34C759;
}

.hero-h {
  font-size: 52px; line-height: 1.25; margin-bottom: 24px;
}
.hero-h em {
  font-style: normal;
  background: linear-gradient(135deg, #1A1A1A 0%, #666 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-weight: 300; font-size: 17px; line-height: 1.8;
  color: var(--text2); max-width: 440px; margin-bottom: 40px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 56px; }

/* Metrics in Hero */
.hero-metrics {
  display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid var(--border);
}
.hm-item { display: flex; flex-direction: column; gap: 2px; }
.hm-val { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 32px; color: var(--text); }
.hm-lbl { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em; }

/* Huge visual on the right */
.hero-visual {
  position: relative;
  height: 100%; display: flex; align-items: center;
}
.hero-img {
  width: 140%; max-width: none; /* Let it bleed out slightly */
  object-fit: contain;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.1));
  transform: translateX(10%); /* Offset into the bleed */
}

@media (max-width: 768px) {
  .hero { align-items: flex-start; padding: 100px 0 60px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-h { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-p, .hero-actions .btn-g { width: 100%; text-align: center; }
  .hero-metrics { flex-wrap: wrap; gap: 24px; }
  .hero-img { width: 100%; transform: none; margin: 0 -20px; width: calc(100% + 40px); }
}

/* ============================================================
   03 PAIN POINTS
   ============================================================ */
.pains { background: var(--surface); }
.pain {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  padding: 56px 0; border-top: 1px solid var(--border);
}
.pain:last-child { border-bottom: 1px solid var(--border); }
.pain h2 { font-size: 22px; line-height: 1.6; }
.pain p { font-size: 15px; color: var(--text2); }

@media (max-width: 768px) {
  .pain { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .pain h2 { font-size: 19px; }
}

/* ============================================================
   04 SOLUTION
   ============================================================ */
.sol { background: var(--bg); }
.sec-lbl {
  display: block; font-size: 11px; font-weight: 500; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 24px;
}
.sol-h { font-size: 38px; line-height: 1.4; max-width: 600px; margin-bottom: 72px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step-t { font-size: 18px; margin-bottom: 12px; }
.step-d { font-size: 14px; color: var(--text2); line-height: 1.75; }

@media (max-width: 768px) {
  .sol-h { font-size: 28px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   05 FEATURES
   ============================================================ */
.feat { background: var(--surface); }
.feat-main { padding: 56px 0; border-top: 1px solid var(--border); }
.feat-main h3 { font-size: 28px; margin-bottom: 16px; }
.feat-main p { font-size: 16px; color: var(--text2); max-width: 560px; }

.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.feat-item { padding: 48px 48px 48px 0; border-right: 1px solid var(--border); }
.feat-item:last-child { padding: 48px 0 48px 48px; border-right: none; }
.feat-item h4 { font-size: 18px; margin-bottom: 10px; }
.feat-item p { font-size: 14px; color: var(--text2); }

@media (max-width: 768px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-item { padding: 40px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .feat-item:last-child { border-bottom: none; }
}

/* ============================================================
   06 CASE STUDY
   ============================================================ */
.cs { background: var(--bg); }
.cs-quote { font-size: 24px; line-height: 1.75; max-width: 720px; font-weight: 400; }
.cs-meta { margin-top: 24px; font-size: 13px; color: var(--text3); }

@media (max-width: 768px) {
  .cs-quote { font-size: 19px; }
}

/* ============================================================
   07 TIMELINE
   ============================================================ */
.tl { background: var(--surface); }
.tl-track { position: relative; max-width: 800px; margin-top: 64px; }
.tl-bar { position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--border); }
.tl-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tl-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--dark); margin-bottom: 20px; }
.tl-tt { font-size: 15px; margin-bottom: 6px; }
.tl-td { font-size: 13px; color: var(--text2); }

@media (max-width: 768px) {
  .tl-bar { left: 6px; width: 1px; height: 100%; top: 0; }
  .tl-items { grid-template-columns: 1fr; gap: 40px; }
  .tl-item { padding-left: 36px; position: relative; }
  .tl-dot { position: absolute; left: 0; top: 4px; margin: 0; }
}

/* ============================================================
   08 PRICING
   ============================================================ */
.pr { background: var(--bg); }
.pr-num { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 100px; line-height: 1; margin-bottom: 20px; letter-spacing: -0.04em; }
.pr-sub { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.pr-desc { font-size: 15px; color: var(--text2); max-width: 440px; }
.pr-note { font-size: 13px; color: var(--text3); border-top: 1px solid var(--border); margin-top: 48px; padding-top: 48px; max-width: 440px; }

@media (max-width: 768px) {
  .pr-num { font-size: 72px; }
}

/* ============================================================
   09 FAQ
   ============================================================ */
.faq { background: var(--surface); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; background: none; border: none; text-align: left;
  font-size: 17px; font-weight: 400; gap: 24px;
}
.faq-ic { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; background: var(--text); }
.faq-ic::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.faq-ic::after { top: 0; left: 7px; width: 1.5px; height: 16px; transition: transform .25s ease; }
.faq-item.open .faq-ic::after { transform: rotate(90deg) scaleY(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-in { padding-bottom: 32px; font-size: 14px; color: var(--text2); line-height: 1.8; max-width: 640px; }

/* ============================================================
   10 FINAL CTA
   ============================================================ */
.cta-f { background: var(--dark); text-align: center; }
.cta-f-h { font-size: 38px; color: #fff; margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.45; }
.cta-f .btn-p { background: #fff; color: var(--dark); padding: 15px 40px; }

@media (max-width: 768px) {
  .cta-f-h { font-size: 28px; }
}

/* ============================================================
   11 FOOTER
   ============================================================ */
.ft { border-top: 1px solid var(--border); padding: 56px 0; background: var(--bg); }
.ft-in { display: flex; justify-content: space-between; align-items: flex-start; }
.ft-logo { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.ft-info { font-size: 13px; color: var(--text3); line-height: 1.8; }
.ft-link a { font-size: 13px; color: var(--text3); transition: color .15s; }
.ft-link a:hover { color: var(--text); }

@media (max-width: 768px) {
  .ft-in { flex-direction: column; gap: 40px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero-h, .hero-sub, .hero-actions, .hero-visual, .hero-metrics {
    opacity: 0; transform: translateY(16px);
    animation: fadeUp .8s var(--ease) forwards;
  }
  .hero-eyebrow { animation-delay: .05s; }
  .hero-h { animation-delay: .15s; }
  .hero-sub { animation-delay: .25s; }
  .hero-actions { animation-delay: .35s; }
  .hero-visual { animation-delay: .5s; transform: translateY(24px); }
  .hero-metrics { animation-delay: .65s; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
}
