/* ── Services & Pricing shared styles ── */

/* ====== LAYOUT ====== */
.svp-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ====== ACCOUNT LIMITS ====== */
.svp-account-sharing {
  margin: 8px 0 26px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(148, 163, 184, .25);
}

.svp-account-sharing h2 {
  margin: 0 0 2px;
  color: var(--ft-color-text);
  font-size: 16px;
}

.svp-account-sharing__summary {
  margin: 0 0 7px;
  color: var(--ft-color-text-soft);
  font-size: 12px;
}

.svp-account-sharing__table-wrap {
  margin: 0 0 6px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 5px;
}

.svp-account-sharing__table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  color: var(--ft-color-text);
  font-size: 11px;
  line-height: 1.4;
}

.svp-account-sharing__table th,
.svp-account-sharing__table td {
  padding: 5px 8px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.14);
  text-align: center;
}

.svp-account-sharing__table thead th {
  background: rgba(148, 163, 184, .08);
  color: #0f766e;
  font-weight: 700;
}

.svp-account-sharing__table tbody th {
  text-align: left;
  font-weight: 600;
}

.svp-account-sharing__table tbody tr:last-child th,
.svp-account-sharing__table tbody tr:last-child td {
  border-bottom: 0;
}

.svp-account-sharing__table td {
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
}

.svp-account-sharing__note {
  margin: 2px 0 0;
  color: var(--ft-color-text);
  font-size: 11px;
  line-height: 1.4;
}

/* ====== SECTION ====== */
.svp-section {
  margin-top: 48px;
}
.svp-section__head {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ft-color-line-strong);
}
.svp-section__head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ft-color-text);
}
.svp-section__head p {
  margin: 0;
  color: var(--ft-color-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* ====== CARD GRID ====== */
.svp-card-grid {
  display: grid;
  gap: 20px;
}
.svp-card-grid--2 { grid-template-columns: 1fr 1fr; }
.svp-card-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

/* ====== SERVICE CARD ====== */
.svp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--ft-color-line-strong);
  background: var(--ft-color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svp-card:hover {
  border-color: var(--ft-color-cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.svp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 14px;
}
.svp-card__icon--blue  { background: rgba(15, 118, 110, 0.06); color: #0f766e; }
.svp-card__icon--green { background: rgba(22, 163, 74, 0.10); color: #16a34a; }
.svp-card__icon--amber { background: rgba(217, 119, 6, 0.10); color: #d97706; }
.svp-card__icon--purple{ background: rgba(139,92,246,0.10); color: #8b5cf6; }
.svp-card__icon--teal  { background: rgba(20,184,166,0.10); color: #14b8a6; }

.svp-card__badge {
  align-self: flex-start;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.svp-card__badge--blue  { background: rgba(15, 118, 110, 0.08); color: #0f766e; }
.svp-card__badge--green { background: rgba(34,197,94,0.1); color: #4ade80; }
.svp-card__badge--amber { background: rgba(245,158,11,0.1); color: #fbbf24; }
.svp-card__badge--purple{ background: rgba(139,92,246,0.1); color: #a78bfa; }
.svp-card__badge--teal  { background: rgba(20,184,166,0.1); color: #2dd4bf; }

.svp-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ft-color-text);
}
.svp-card p {
  margin: 0 0 14px;
  color: var(--ft-color-text-soft);
  font-size: 14px;
  line-height: 1.65;
}
.svp-card ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1;
}
.svp-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ft-color-text-soft);
  font-size: 13.5px;
  line-height: 1.55;
}
.svp-card li::before {
  content: "→";
  position: absolute; left: 0;
  color: #0f766e;
  font-size: 11px;
}
.svp-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ft-color-line);
}

/* ====== PRICE CARD (pricing page) ====== */
.svp-price-card {
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid var(--ft-color-line-strong);
  background: var(--ft-color-surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svp-price-card:hover {
  border-color: var(--ft-color-cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.svp-price-card--highlight {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px rgba(15, 118, 110,0.25), 0 6px 28px rgba(15, 118, 110,0.10);
}
.svp-price-card--highlight:hover { border-color: #0f766e; }

.svp-price-card__head {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ft-color-line);
  margin-bottom: 18px;
}
.svp-price-card__head h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ft-color-text);
}
.svp-price-card__head p {
  margin: 0;
  color: var(--ft-color-text-soft);
  font-size: 13px;
  line-height: 1.5;
}
.svp-price-card__amount {
  text-align: center;
  margin: 18px 0;
}
.svp-price-card__amount .big {
  font-size: 38px;
  font-weight: 800;
  color: var(--ft-color-text);
  line-height: 1;
}
.svp-price-card__amount .per {
  display: block;
  margin-top: 4px;
  color: var(--ft-color-text-faint);
  font-size: 13px;
}
.svp-price-card__amount .yen {
  display: block;
  margin-top: 4px;
  color: var(--ft-color-text-faint);
  font-size: 12px;
  font-family: var(--ft-font-mono, monospace);
}

.svp-price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}
.svp-price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ft-color-text-soft);
  font-size: 13.5px;
  line-height: 1.55;
}
.svp-price-card li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.svp-price-card__action {
  margin-top: 20px;
  text-align: center;
}

/* ====== BUTTONS (reuse site-global .ft-button) ====== */
.svp-price-card__action .ft-button { width: 100%; }

/* ====== ACCOUNT STATUS (pricing page) ====== */
.svp-subscription-status {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid #c9e2d4;
  border-radius: 14px;
  background: var(--ft-color-surface-soft);
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.07);
}
.svp-subscription-status__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.svp-subscription-status__icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d8f0df;
  color: #176b4a;
  font-size: 18px;
  font-weight: 800;
}
.svp-subscription-status__body {
  min-width: 0;
  flex: 1;
}
.svp-subscription-status__eyebrow {
  margin-bottom: 3px;
  color: #176b4a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.svp-subscription-status__title {
  margin: 0;
  color: var(--ft-color-text);
  font-size: 18px;
  line-height: 1.25;
}
.svp-subscription-status__details {
  margin: 5px 0 0;
  color: var(--ft-color-text-soft);
  font-size: 13px;
  line-height: 1.55;
}
.svp-subscription-status__action {
  flex: 0 0 auto;
  align-self: center;
  color: #176b4a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svp-price-card__note-links {
  display: block;
  margin-top: 7px;
}
.svp-price-card__note-links a {
  color: var(--ft-color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svp-payment-choice-hero {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.svp-payment-choice-hero__note {
  margin: 16px auto 0;
  color: var(--ft-color-text-soft);
  font-size: 14px;
}

.svp-payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.svp-payment-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--ft-color-line-strong);
  border-radius: 14px;
  background: var(--ft-color-surface);
  box-shadow: 0 12px 28px rgba(19, 57, 47, 0.08);
}

.svp-payment-choice-card--primary {
  border-color: #7ec9b4;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.13);
}

.svp-payment-choice-card__badge {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  color: #176b4a;
  background: #e8f7f1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.svp-payment-choice-card h2 {
  margin: 18px 0 8px;
  color: var(--ft-color-text);
  font-size: 24px;
}

.svp-payment-choice-card p {
  flex: 1;
  color: var(--ft-color-text-soft);
  line-height: 1.65;
}

.svp-payment-choice-card .ft-button {
  width: 100%;
}

.svp-payment-choice-card .is-disabled {
  cursor: not-allowed;
  opacity: .52;
  pointer-events: none;
}

.svp-payment-choice-back {
  margin-top: 24px;
  text-align: center;
}

.svp-payment-choice-back a {
  color: var(--ft-color-primary);
  font-weight: 700;
}

@media (max-width: 860px) {
  .svp-payment-choice-grid {
    grid-template-columns: 1fr;
  }

  .svp-payment-choice-card {
    min-height: 0;
  }
}

/* ====== DIVIDER ====== */
.svp-divider {
  margin: 48px 0;
  border: none;
  border-top: 1px solid var(--ft-color-line);
}

/* ====== NOTE ROW ====== */
.svp-note {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--ft-color-surface-soft);
  border-left: 3px solid #0f766e;
  color: var(--ft-color-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

/* ====== SCENARIO TABLE ====== */
.svp-scenario-box {
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--ft-color-surface-soft);
  border: 1px solid var(--ft-color-line);
  margin-top: 14px;
}
.svp-scenario-box h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ft-color-text);
}
.svp-scenario-box p {
  margin: 0;
  color: var(--ft-color-text-soft);
  font-size: 13px;
  line-height: 1.55;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 860px) {
  .svp-card-grid--2,
  .svp-card-grid--3 { grid-template-columns: 1fr; }
  .svp-account-sharing__facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svp-shell { padding: 24px 16px 48px; }
  .svp-account-sharing { padding: 22px 18px; }
  .svp-account-sharing__intro { grid-template-columns: 1fr; }
  .svp-account-sharing h2 { font-size: 21px; }
  .svp-subscription-status { padding: 16px; }
  .svp-subscription-status__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .svp-subscription-status__action { grid-column: 2; align-self: start; }
}

.svp-alipay-amount {
  display: grid;
  gap: 8px;
}

.svp-alipay-amount label {
  color: var(--ft-color-text);
  font-weight: 600;
}

.svp-alipay-amount input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ft-color-line);
  border-radius: 8px;
  font: inherit;
}

.svp-alipay-amount .svp-alipay-amount__quote {
  flex: none;
  margin: 0;
}
