:root {
  --blue: #2445b8;
  --blue-deep: #18358e;
  --green: #00996a;
  --green-soft: #eaf6f2;
  --green-card: #f2fbf8;
  --red: #d6232f;
  --red-soft: #fff1f1;
  --text: #0b0b0d;
  --muted: #6c6f73;
  --line: #e5e5e5;
  --page: #f7f7f7;
  --card: #ffffff;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 72px 48px 96px;
}

.hero {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  padding-top: 8px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  height: 54px;
  padding: 0 29px;
  border-radius: 999px;
  color: #04996c;
  background: rgba(229, 242, 238, 0.92);
  box-shadow: inset 0 0 0 1px rgba(5, 156, 110, 0.04);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.shield-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linejoin: round;
}

.hero h1 {
  margin: 48px 0 20px;
  font-size: clamp(56px, 5.25vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 900px;
  margin: 0;
  color: #555;
  font-size: 28px;
  line-height: 1.9;
  font-weight: 400;
}

.tabs {
  width: 100%;
  height: 104px;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 8px;
  background: #fff;
  border: 2px solid #dedede;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.tabs-two {
  grid-template-columns: 1fr 1fr;
}

.tab {
  height: 86px;
  border: 0;
  border-radius: 18px;
  color: #505050;
  background: transparent;
  font: inherit;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.tab.is-active {
  color: #fff;
  background: var(--blue);
}

.tab.is-muted {
  opacity: 0.92;
}

.plan-section,
.faq-section {
  margin-top: 38px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-active-panel {
  animation: panelReveal 220ms ease both;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.plan-section h2,
.faq-section h2 {
  margin: 0;
  color: #050505;
  font-size: clamp(42px, 4.2vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.section-subtitle {
  margin: 24px 0 48px;
  color: #707276;
  font-size: 27px;
  line-height: 1.35;
}

.plan-card {
  padding: 38px 34px 32px;
  border: 4px solid var(--green);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% -10%, rgba(215, 242, 234, 0.9), transparent 42%),
    linear-gradient(180deg, #eef9f5 0%, #f8fffc 100%);
}

.plan-card-blue {
  border-color: var(--blue);
  background:
    radial-gradient(circle at 50% -10%, rgba(218, 228, 255, 0.88), transparent 42%),
    linear-gradient(180deg, #f0f4ff 0%, #fbfdff 100%);
}

.plan-card-schwab {
  margin-top: 34px;
  border-color: #1f4aa8;
  background:
    radial-gradient(circle at 50% -10%, rgba(224, 234, 255, 0.9), transparent 42%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand-logo {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #db1531;
  background: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(34, 64, 48, 0.06);
}

.brand-logo.sg {
  color: #2445b8;
}

.brand-logo.schwab {
  color: #1f4aa8;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-row h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.brand-group p {
  margin: 16px 0 0;
  color: #7b8085;
  font-size: 23px;
  line-height: 1.2;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--green);
  white-space: nowrap;
}

.price-block strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.collapse-toggle {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 220ms ease;
}

.collapse-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: 4px solid #777;
  border-left: 4px solid #777;
  transform: translateY(5px) rotate(45deg);
  transition: transform 220ms ease;
}

.collapse-toggle:hover {
  background: rgba(0, 0, 0, 0.045);
}

.collapse-toggle[aria-expanded="false"]::before {
  transform: translateY(-4px) rotate(225deg);
}

.plan-content {
  overflow: hidden;
  max-height: 200000px;
  opacity: 1;
  transition:
    max-height 320ms ease,
    opacity 200ms ease,
    margin-top 260ms ease;
}

.plan-card.is-collapsed .plan-header {
  border-bottom-color: transparent;
  padding-bottom: 0;
}

.plan-card.is-collapsed .plan-content {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.bank-intro {
  margin: 32px 0 38px;
  padding: 27px 26px;
  border-radius: 19px;
  color: #555b61;
  background: linear-gradient(180deg, #dceaf2 0%, #d4e4ec 100%);
  font-size: 24px;
  line-height: 1.85;
}

.bank-intro p {
  margin: 0;
}

.bank-intro strong {
  color: #0c0c0c;
  font-weight: 800;
}

.info-list {
  margin: 0;
}

.info-list div {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: #73777a;
  font-size: 25px;
  font-weight: 400;
}

.info-list dd {
  margin: 0;
  color: #090909;
  text-align: right;
  font-size: 25px;
  font-weight: 800;
}

.info-list div:first-child dd {
  color: var(--green);
  font-size: 31px;
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 54px;
}

.materials-panel {
  margin-top: 42px;
  padding: 30px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 229, 226, 0.92);
}

.materials-panel h4 {
  margin: 0 0 24px;
  color: #0b0b0d;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.materials-grid > div {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(246, 252, 250, 0.94), rgba(255, 255, 255, 0.9));
}

.materials-grid h5 {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
}

.plan-card-blue .materials-grid h5 {
  color: var(--blue);
}

.plan-card-schwab .materials-grid h5 {
  color: #1f4aa8;
}

.materials-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials-grid li {
  position: relative;
  padding-left: 18px;
  color: #5b6065;
  font-size: 19px;
  line-height: 1.35;
}

.materials-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.62;
}

.tutorial-flow {
  margin-top: 42px;
  padding: 30px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(211, 221, 239, 0.94);
}

.tutorial-flow h4 {
  margin: 0 0 24px;
  color: #0b0b0d;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  min-height: 210px;
  padding: 22px 20px;
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(31, 74, 168, 0.08);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: #2445b8;
  font-size: 15px;
  font-weight: 800;
}

.step-card h5 {
  margin: 0 0 12px;
  color: #0b0b0d;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: #5c626a;
  font-size: 17px;
  line-height: 1.55;
}

.reference-table {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(31, 74, 168, 0.12);
}

.reference-table div {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 54px;
  border-bottom: 1px solid rgba(31, 74, 168, 0.1);
}

.reference-table div:last-child {
  border-bottom: 0;
}

.reference-table strong,
.reference-table span {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 18px;
}

.reference-table strong {
  color: #1f4aa8;
  background: rgba(232, 239, 255, 0.78);
}

.reference-table span {
  color: #4d535a;
  background: rgba(255, 255, 255, 0.8);
}

.funding-table {
  margin-top: 22px;
}

.info-list a {
  color: inherit;
  text-decoration: none;
}

.schwab-section {
  margin-top: 42px;
  padding: 30px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(211, 221, 239, 0.94);
}

.schwab-section h4 {
  margin: 0 0 18px;
  color: #0b0b0d;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.schwab-section > p {
  margin: 0 0 24px;
  color: #5b6067;
  font-size: 21px;
  line-height: 1.75;
}

.schwab-pros-cons .notice-box {
  min-height: 285px;
}

.image-step {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid rgba(31, 74, 168, 0.1);
}

.image-step:first-of-type {
  border-top: 0;
  padding-top: 6px;
}

.image-step:last-child {
  padding-bottom: 0;
}

.image-step.text-only {
  grid-template-columns: 300px minmax(0, 1fr);
}

.step-copy {
  position: sticky;
  top: 22px;
  padding: 22px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(239, 245, 255, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(31, 74, 168, 0.08);
}

.step-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: #2445b8;
  font-size: 16px;
  font-weight: 850;
}

.step-copy h5 {
  margin: 0 0 12px;
  color: #0b0b0d;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.step-copy p {
  margin: 0;
  color: #596068;
  font-size: 18px;
  line-height: 1.65;
}

.text-note-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-radius: 18px;
  color: #53606b;
  background:
    linear-gradient(180deg, rgba(243, 247, 255, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px dashed rgba(31, 74, 168, 0.28);
}

.text-note-card strong {
  margin-bottom: 10px;
  color: #1f4aa8;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 850;
}

.text-note-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.schwab-shot {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 74, 168, 0.12);
  box-shadow: 0 18px 48px rgba(15, 40, 88, 0.09);
}

.schwab-section > .schwab-shot {
  margin-top: 20px;
}

.schwab-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.narrow-shot {
  max-width: 780px;
  justify-self: center;
}

.schwab-shot figcaption {
  margin: 0;
  padding: 14px 18px 16px;
  color: #66707a;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-top: 1px solid rgba(31, 74, 168, 0.08);
  font-size: 16px;
  line-height: 1.45;
}

.notice-box {
  min-height: 318px;
  padding: 29px 24px;
  border-radius: 18px;
}

.notice-box h4 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
}

.notice-box ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-box li {
  position: relative;
  padding-left: 34px;
  color: #565b5f;
  font-size: 25px;
  line-height: 1.25;
}

.benefit {
  background: linear-gradient(180deg, #eaf7f2 0%, #effbf7 100%);
}

.benefit h4,
.benefit li::before {
  color: var(--green);
}

.benefit li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.caution {
  background: linear-gradient(180deg, #fff0f0 0%, #fff7f7 100%);
}

.caution h4,
.caution li::before {
  color: #e41f2d;
}

.caution li::before {
  content: "-";
  position: absolute;
  left: 3px;
  top: 0;
  font-weight: 900;
}

.faq-section {
  padding-top: 34px;
}

.faq-section h2 {
  margin-bottom: 58px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

details {
  overflow: hidden;
  border: 2px solid #e1e1e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

summary {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  color: #0b0b0d;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: #777;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "×";
}

details[open] summary {
  min-height: 88px;
}

details p {
  margin: 0;
  padding: 0 32px 32px;
  color: #5d5f63;
  font-size: 25px;
  line-height: 1.75;
}

details[open]:first-child summary,
details[open]:nth-child(2) summary {
  background: #eef1fb;
}

@media (max-width: 900px) {
  .page-shell {
    padding: 42px 18px 72px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .trust-pill {
    height: 44px;
    padding: 0 19px;
    font-size: 16px;
  }

  .hero h1 {
    margin-top: 34px;
    font-size: 44px;
  }

  .hero-copy {
    font-size: 19px;
    line-height: 1.75;
  }

  .tabs {
    height: auto;
    margin-top: 56px;
    grid-template-columns: 1fr;
  }

  .tab {
    height: 58px;
    font-size: 20px;
  }

  .plan-card {
    padding: 24px 18px;
    border-width: 3px;
  }

  .plan-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-grid {
    grid-template-columns: 1fr;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .image-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .image-step.text-only {
    grid-template-columns: 1fr;
  }

  .step-copy {
    position: static;
  }

  .schwab-section {
    padding: 22px 16px;
  }

  .schwab-section h4 {
    font-size: 22px;
  }

  .schwab-section > p,
  .step-copy p {
    font-size: 17px;
  }

  .narrow-shot {
    max-width: 100%;
  }

  .bank-intro,
  .notice-box li,
  .materials-grid li,
  .info-list dt,
  .info-list dd,
  details p {
    font-size: 18px;
  }

  summary {
    padding: 0 20px;
    font-size: 20px;
  }
}
