/* ================================
   Pivot QR — Landing Page Styles
   ================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8f6;
  --bg-soft: #f0f4ef;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #eef0ec;

  /* Brand greens (from Pivot QR logo) */
  --brand-50: #f0f9ec;
  --brand-100: #d9efc7;
  --brand-200: #b8e08c;
  --brand-300: #9CC936;
  --brand-400: #7ABD35;
  --brand-500: #3CA737;
  --brand-600: #1A7B3A;
  --brand-700: #0F6D37;
  --brand-800: #064425;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 25px 60px -20px rgba(15, 23, 42, .25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-feature-settings: "palt";
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-alt); }
.btn-primary {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 109, 55, 0.4); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-link { padding: 11px 0; border: 0; background: transparent; color: var(--brand-700); }
.btn-link:hover { background: transparent; text-decoration: underline; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.price-tag {
  font-size: 13px; font-weight: 500; opacity: .85;
  padding-left: 8px; margin-left: 4px; border-left: 1px solid rgba(255,255,255,.3);
}

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 14px; color: var(--text-muted); transition: color .15s; }
.site-nav a:hover { color: var(--text); }
.site-nav .btn { color: var(--text); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(156, 201, 54, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(60, 167, 55, 0.08), transparent 60%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "copy   visual"
    "cta    visual";
  column-gap: 60px;
  row-gap: 36px;
  align-items: start;
}
.hero__copy     { grid-area: copy; }
.hero__cta-wrap { grid-area: cta; align-self: end; }
.hero__visual   { grid-area: visual; align-self: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.eyebrow--accent { background: var(--brand-50); color: var(--brand-700); }
.hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero .lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 32px;
}
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__hint { margin-top: 18px; font-size: 13px; color: var(--text-light); }

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  width: 280px;
  position: relative;
}
.hero-card--qr { transform: rotate(-2deg); }
.qr-illust { width: 100%; height: auto; display: block; }
.hero-card__url {
  margin-top: 18px;
  text-align: center;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.hero-flows {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; max-width: 320px;
}
.hero-flows li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-flows li.active {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 600;
}
.hero-flows .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}
.hero-flows li.active .dot { background: var(--brand-500); }

/* -------- Hero schedule visualization (replaces QR card) -------- */
.hero-schedule {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 24px 20px;
  width: min(440px, 100%);
}
.hero-schedule__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 16px;
}
.hero-schedule__badge {
  font-size: 11px; font-weight: 600;
  color: var(--brand-700); background: var(--brand-50);
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.hero-schedule__url {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 16px; font-weight: 600;
  color: var(--text);
}
.hero-schedule__timeline { list-style: none; padding: 0; margin: 0; }
.hero-schedule__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.hero-schedule__item:last-child { border-bottom: 0; }
.hero-schedule__pill {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; text-align: center;
  background: var(--brand-50); color: var(--brand-700);
}
.hero-schedule__pill.is-upcoming { background: #fff4d6; color: #92560a; }
.hero-schedule__line { min-width: 0; }
.hero-schedule__date {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px; color: var(--text-muted);
}
.hero-schedule__dest {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-schedule__item.is-active .hero-schedule__dest { color: var(--brand-800); }
.hero-schedule__caption {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 12px; color: var(--text-muted);
}

/* -------- Schedule spotlight section -------- */
.schedule-spot {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.schedule-spot__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.schedule-spot__visual { display: flex; justify-content: center; }
.sched-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  width: 100%; max-width: 480px;
}
.sched-card__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}
.sched-card__chip {
  font-size: 14px; font-weight: 700; color: var(--text);
}
.sched-card__add {
  background: var(--brand-600); color: #fff; border: 0;
  padding: 7px 13px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  cursor: default;
  pointer-events: none;
}
.sched-card__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fafbfc;
  margin-bottom: 10px;
}
.sched-card__item:last-child { margin-bottom: 0; }
.sched-card__item.is-active {
  background: var(--brand-50);
  border-color: var(--brand-300);
}
.sched-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  text-align: center;
  background: #e5e7eb; color: var(--text-muted);
  height: fit-content;
}
.sched-pill.is-active { background: var(--brand-100); color: var(--brand-800); }
.sched-pill.is-upcoming { background: #fff4d6; color: #92560a; }
.sched-card__body { min-width: 0; }
.sched-card__date {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px; color: var(--text-muted);
}
.sched-card__url {
  font-size: 14px; color: var(--text); margin: 4px 0 2px;
  font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sched-card__note {
  font-size: 11px; color: var(--text-light);
}
.schedule-spot__points { display: flex; flex-direction: column; gap: 28px; }
.spot-point { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.spot-point__num {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 800;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.04em;
}
.spot-point h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 700; }
.spot-point p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* Section head left-aligned variant */
.section-head--left { text-align: left; max-width: none; }

/* Use case tag */
.usecase__tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--brand-700); background: var(--brand-50);
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* -------- Benefits -------- */
.benefits {
  padding: 56px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-alt);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.benefit { text-align: left; }
.benefit__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit__icon svg { width: 22px; height: 22px; display: block; }
.benefit h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.benefit p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* -------- Sections -------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* -------- Use case grid -------- */
.usecase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s;
}
.usecase:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.usecase h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.usecase p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* -------- Features grid -------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.feature__num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.feature h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* -------- Screenshots -------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.shots figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* -------- Pricing -------- */
.pricing {
  display: flex; justify-content: center;
}
.pricing__card {
  background: #fff;
  border: 2px solid var(--brand-500);
  border-radius: 20px;
  padding: 48px 48px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.pricing__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}
.pricing__subtitle {
  margin: 6px 0 28px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.pricing__price {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  margin: 0 0 4px;
  text-align: center;
}
.pricing__amount {
  font-family: "Inter", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pricing__amount .yen {
  font-size: 32px;
  font-weight: 700;
  margin-right: 2px;
}
.pricing__per {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing__divider {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 28px 0 24px;
}
.pricing__list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.pricing__list li {
  font-size: 14px;
  padding-left: 30px;
  position: relative;
  color: var(--text);
}
.pricing__list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Stripe button (Omusubi-style) */
.btn-stripe {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  gap: 10px;
}
.btn-stripe:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(15, 109, 55, 0.4);
  transform: translateY(-1px);
}
.btn-stripe .stripe-mark {
  width: 22px; height: 22px;
  display: inline-flex;
  color: #fff;
}

/* Note box at bottom of pricing */
.pricing__note-box {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.pricing__note-icon {
  color: var(--brand-600);
  font-size: 16px;
  line-height: 1.4;
}
.pricing__note-box p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* -------- FAQ -------- */
.faq {
  display: flex; flex-direction: column; gap: 10px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform .15s;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* -------- Final CTA -------- */
.cta-final {
  padding: 100px 0;
  text-align: center;
  background:
    linear-gradient(180deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: #fff;
}
.cta-final h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}
.cta-final p {
  font-size: 16px;
  opacity: 0.85;
  margin: 0 0 32px;
}
.cta-final .btn-primary {
  background: #fff;
  color: var(--brand-800);
  border-color: #fff;
}
.cta-final .btn-primary:hover {
  background: var(--brand-50);
  color: var(--brand-800);
  border-color: var(--brand-50);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.35);
}
.cta-final .btn-primary .price-tag { border-left-color: rgba(15, 109, 55, 0.3); }

/* -------- Footer -------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand p { margin: 0; font-size: 13px; color: var(--text-light); }
.site-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__nav a {
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer__nav a:hover { color: var(--text); }

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "cta";
    gap: 36px;
  }
  .hero__cta-wrap { align-self: stretch; }
  .hero__visual   { align-self: stretch; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .usecase__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; }
  .schedule-spot__grid { grid-template-columns: 1fr; gap: 40px; }
  .schedule-spot__visual { order: -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .site-header__inner { height: 56px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 15px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .benefits { padding: 40px 0; }
  .benefits__grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .usecase__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__card { padding: 36px 24px 28px; }
  .pricing__amount { font-size: 44px; }
  .pricing__amount .yen { font-size: 24px; }
  .cta-final { padding: 70px 0; }
}
