/* ============ Pricing page (Mobbin-style) ============ */

.psection { padding: 72px 0; }
.p-hero { text-align: center; margin-bottom: 56px; }
.p-hero .eyebrow { margin-bottom: 18px; }
.p-title {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600; letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.p-sub { font-size: 15px; color: var(--text-dim); margin: 0; }
.p-h2 {
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0;
}

/* ---------- Nav ---------- */
.pnav { position: sticky; top: 0; z-index: 100; padding: 12px 16px; }
.pnav-inner {
  max-width: 1008px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 8px 10px 8px 22px;
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.pnav-brand { justify-self: start; display: flex; }
.pnav-brand img { height: 25px; width: auto; display: block; }
.pnav-menu {
  justify-self: center; display: flex; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.pnav-menu a { font-size: 13.5px; color: var(--text-dim); text-decoration: none; }
.pnav-menu a:hover { color: var(--black); }
.pnav-cta { justify-self: end; display: flex; gap: 8px; }
@media (max-width: 800px) {
  .pnav-inner { grid-template-columns: auto 1fr; }
  .pnav-menu { display: none; }
  .pnav-cta { justify-self: end; }
}

/* ---------- Compare table (Mobbin-style, open layout) ---------- */
.cmp-table {
  margin-top: 36px;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.cmp-head {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  position: sticky; top: 68px; z-index: 5;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  align-items: start;
}
.cmp-plan {
  position: relative;
  padding: 16px 20px 18px;
  display: flex; flex-direction: column; gap: 3px;
  text-align: left;
}
.cmp-plan.featured { background: #F4F4F1; border-radius: 14px 14px 0 0; }
.cmp-plan-name {
  font-family: var(--font-en);
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--black);
  display: flex; align-items: center; gap: 8px;
}
.cmp-pop {
  font-style: normal;
  font-family: var(--font-jp);
  font-size: 10px; font-weight: 600; letter-spacing: 0;
  background: var(--brand-green); color: white;
  border-radius: 999px; padding: 3px 9px;
}
.cmp-plan-price { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.cmp-btn {
  font-size: 12px !important;
  padding: 7px 16px !important;
  width: fit-content;
}
.cmp-group {
  padding: 36px 20px 8px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--black);
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  grid-column: 1 / -1;
}
.cmp-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-bottom: 1px solid #ECECEA;
  align-items: center;
}
.cmp-row:hover { background: #FAFAF8; }
.cmp-feature { padding: 14px 20px; font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.cmp-info {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.22);
  color: rgba(0,0,0,0.45);
  font-family: Georgia, serif; font-size: 9.5px; font-style: italic; font-weight: 600;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: help;
  position: relative;
}
.cmp-info:hover { border-color: rgba(0,0,0,0.5); color: var(--black); }
.cmp-tip {
  position: absolute;
  bottom: calc(100% + 9px); left: 50%;
  transform: translateX(-50%) translateY(3px);
  width: 230px;
  background: #111; color: rgba(255,255,255,0.95);
  font-family: var(--font-jp); font-style: normal; font-weight: 400;
  font-size: 11.5px; line-height: 1.7; text-align: left;
  padding: 9px 12px; border-radius: 9px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
}
.cmp-tip::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111;
}
.cmp-info:hover .cmp-tip, .cmp-info:focus .cmp-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cmp-cell { padding: 14px 20px; align-self: stretch; display: flex; align-items: center; }
.cmp-cell.featured { background: #F4F4F1; }
.cmp-yes { display: inline-flex; }
.cmp-no { color: rgba(0,0,0,0.25); }
.cmp-opt {
  font-size: 12px; color: var(--text-dim);
  background: transparent; padding: 0; border-radius: 0;
}
@media (max-width: 700px) {
  .cmp-head, .cmp-row { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .cmp-feature, .cmp-cell, .cmp-plan, .cmp-group { padding-left: 10px; padding-right: 10px; }
  .cmp-plan-name { font-size: 15px; }
  .cmp-btn { display: none; }
}

/* ---------- AI Buddy banner (Mobbin-style split w/ vertical marquee) ---------- */
.aib {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  background: #F4F4F1;
  border-radius: 24px;
  padding: 48px 48px 0 48px;
  overflow: hidden;
  align-items: center;
}
.aib-left { padding-bottom: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.aib-label {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--green-text);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.aib-soon {
  font-family: var(--font-jp);
  font-size: 10px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--yellow-text);
  border: 1px dashed var(--yellow-stroke);
  border-radius: 999px; padding: 3px 10px;
  white-space: nowrap;
}
.aib-title {
  font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.3; margin: 0 0 14px;
}
.aib-sub { font-size: 13.5px; line-height: 2; color: var(--text-dim); margin: 0 0 22px; max-width: 400px; }
.aib-price { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; }
.aib-price span { font-size: 11px; font-weight: 400; color: var(--text-dim); }
.aib-right {
  display: flex; gap: 14px;
  height: 380px;
  align-self: stretch;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.aim-col { flex: 1; overflow: hidden; }
.aim-track { display: flex; flex-direction: column; gap: 14px; }
.aim-track.up { animation: aimUp 26s linear infinite; }
.aim-track.down { animation: aimDown 30s linear infinite; }
.aib-right:hover .aim-track { animation-play-state: paused; }
@keyframes aimUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes aimDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
html[data-motion="off"] .aim-track { animation: none; }
.aim-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px -18px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.aim-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  border-radius: 999px; padding: 3px 10px;
  margin-bottom: 8px;
}
.aim-tag.green { background: var(--green-bg); color: var(--green-text); }
.aim-tag.blue { background: var(--blue-bg); color: var(--blue-text); }
.aim-tag.yellow { background: var(--yellow-bg); color: var(--yellow-text); }
.aim-body { font-size: 12px; line-height: 1.8; color: var(--black); }
@media (max-width: 820px) {
  .aib { grid-template-columns: 1fr; padding: 32px 24px 0 24px; }
  .aib-left { padding-bottom: 28px; }
  .aib-right { height: 240px; }
}

/* ---------- FAQ (Mobbin two-column) ---------- */
.faq2-grid {
  display: grid; grid-template-columns: 0.8fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.faq2-left { position: sticky; top: 100px; }
.faq2-note { font-size: 13px; line-height: 2; color: var(--text-dim); margin-top: 16px; }
.faq2-note a { color: var(--black); font-weight: 600; text-decoration: none; }
.faq2-note a:hover { text-decoration: underline; }
.faq2-item { border-bottom: 1px solid #ECECEA; }
.faq2-item:first-child { border-top: 1px solid #ECECEA; }
.faq2-q {
  appearance: none; background: none; border: none;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px;
  font-family: var(--font-jp);
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
.faq2-plus {
  position: relative; width: 14px; height: 14px; flex-shrink: 0;
}
.faq2-plus::before, .faq2-plus::after {
  content: '';
  position: absolute; background: var(--black);
  transition: transform 250ms cubic-bezier(.16,1,.3,1);
}
.faq2-plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq2-plus::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq2-item.open .faq2-plus::after { transform: rotate(90deg) scaleY(0); }
.faq2-a {
  max-height: 0; overflow: hidden;
  font-size: 13.5px; line-height: 2; color: var(--text-dim);
  transition: max-height 350ms cubic-bezier(.16,1,.3,1), padding 250ms ease;
  padding: 0 40px 0 2px;
}
.faq2-item.open .faq2-a { max-height: 200px; padding-bottom: 22px; }
@media (max-width: 760px) {
  .faq2-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq2-left { position: static; }
}
.pfoot { border-top: 0.5px solid var(--border-subtle); margin-top: 40px; }
.pfoot-cta {
  text-align: center; padding: 88px 24px;
}
.pfoot-cta h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.pfoot-cta .cta-buttons { display: flex; gap: 10px; justify-content: center; }
.pfoot-base {
  max-width: 1008px; margin: 0 auto;
  padding: 22px 32px;
  border-top: 0.5px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-dim);
}
.pfoot-base a { color: var(--text-dim); text-decoration: none; }
.pfoot-base a:hover { color: var(--black); }
