:root {
  --blue: #2f5fff;
  --blue-deep: #123184;
  --blue-dark: #0d2777;
  --purple: #892cfd;
  --pink: #fc1aa6;
  --orange: #ff9b00;
  --ink: #142387;
  --line: #2f5fff;
  --paper: #ffffff;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  width: 493px;
  margin: 0 auto;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

.lp-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.section {
  position: relative;
  padding: 48px 30px;
}

.section-heading {
  margin: 0 0 28px;
  text-align: center;
}

.section-heading .eyebrow {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 0;
  color: var(--paper);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.02em;
}

.section-heading.light .eyebrow,
.section-heading.light h2 {
  color: #fff;
}

/* Hero */
.hero {
background: url("../images/photos/fv.png") no-repeat center bottom;
    background-size: cover;
     position: relative;
    min-height: 800px;
}

.hero-inner {
    position: relative;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}



.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 24px 16px 0;
}


.brand img {
    width: 70%;
    object-fit: contain;
    margin: 0 auto;
}

.site-header > p {
  width: calc(100% - 28px);
  margin: 0;
  padding: 15px 24px 16px;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  background: var(--pink);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.hero-copy {
  position: relative;
  padding: 23px 24px 0;
  text-align: center;
  margin-bottom: auto;
}
.hero-bottom {
    margin-top: auto;
}
.hero-badges,
.hero-support {
    flex-shrink: 0;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-copy h1 {
  margin: 0;
  background: linear-gradient(95.67deg, #2F5FFF 8.03%, #882CFC 90.92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 55px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: #132387;
  font-size: 45px;
}

.hero-visual {
  position: relative;
  margin-top: 24px;
}

.hero-visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 74px;
  background: linear-gradient(180deg, transparent, rgb(9 52 131 / 22%));
  content: "";
  pointer-events: none;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-badges {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin: 24px 26px 20px;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: grid;
  width: 85px;
  aspect-ratio: 0.9;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  padding: 2px;
  background: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hero-badge-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2F5FFF 0%, #882CFC 100%);
    clip-path: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.hero-support {
  display: grid;
  gap: 9px;
  margin: 0 29px 24px;
}

.hero-support p {
    position: relative;
    margin: 0;
    padding: 13px 15px 13px 40px;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
    background: #fff;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-family: 'Inter';
    text-align: center;
}

.hero-support p span {
  color: var(--pink);
}

.hero-support p::before {
    position: absolute;
    top: 49.9%;
    left: 2px;
    display: grid;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    place-items: center;
    border-radius: 50%;
    color: #fff;
    content: "";
    background: var(--pink) url(../images/icons/laptop.svg) center center / 33px 33px no-repeat;
}

.hero-support p + p::before {
  content: "";
  background: var(--pink) url("../images/icons/globe.svg") center center / 36px 36px no-repeat;
}

/* CTA */
.conversion-block {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 493 / 180;
  padding: 0;
  background: #fff;
  text-align: center;
}

.conversion-block > p {
    position: absolute;
    z-index: 2;
    top: 19.44%;
    left: 22.11%;

    display: grid;
    place-items: center;

    width: 55.78%;
    height: 18.33%;

    margin: 0;
    color: var(--pink);
    font-size: clamp(13px, 3.25vw, 16px);
    font-weight: 800;
    line-height: 1;

    background: transparent;
}

.conversion-block > p::before,
.conversion-block > p::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(6.4% 0, 100% 0, 93.2% 100%, 0 100%);
}

.conversion-block > p::before {
    background: var(--pink); /* Border */
}

.conversion-block > p::after {
    top: 1.5px;
    right: 3.5px;
    bottom: 0;
    left: 2px;
    background: #fff;
}

.conversion-block > p span {
    position: relative;
    z-index: 1;
}

.primary-cta {
  position: absolute;
  top: 26.67%;
  left: 7.1%;
  display: flex;
  width: 85.8%;
  height: 53.89%;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(40px, 10.14vw, 50px);
  padding: 0 0 0 20.8%;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: clamp(20px, 4.97vw, 24.5px);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(18,49,132,0.22), 0 4px 10px rgba(0,0,0,0.14);
  transition: box-shadow 160ms ease;
}

.primary-cta:hover {
  box-shadow: 0 18px 44px rgba(18,49,132,0.26), 0 6px 18px rgba(0,0,0,0.18);
}

/* Hover: text scales slightly (no upward motion) */
.primary-cta > span:first-child {
  display: inline-block;
  transition: transform 160ms ease;
}
.primary-cta:hover > span:first-child {
  transform: scale(1.06);
}

.primary-cta .cta-arrow {
  display: grid;
  width: clamp(40px, 10.14vw, 50px);
  height: auto;
  flex: 0 0 clamp(40px, 10.14vw, 50px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  font-size: clamp(16px, 4.06vw, 20px);
}
.shiny-btn .primary-cta {
  position: relative;
  overflow: hidden; /* clips the shine sweep to the button shape */
  isolation: isolate;
}

.shiny-btn .primary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
     100deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  opacity: 0;
  pointer-events: none;
}

.shiny-btn.shine-animate .primary-cta::after {
  animation: shine-sweep 1.1s ease-in-out;
}

@keyframes shine-sweep {
  0% {
    left: -75%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    }
  100% {
    left: 125%;
    opacity: 0;
  }
}

/* Why now */
.why-now {
  padding: 47px 10px 61px;
  border: 3px solid #3B36EC;
  background: #3B36EC;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 50% 100%, 0 96%);
}

.why-now .section-heading .eyebrow {
  display: none;
}

.why-now .section-heading h2 {
  font-size: 29px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-grid li {
  display: flex;
  min-height: 202px;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 12px;
  background: #fff;
  color: var(--ink);
}

.signal-grid li > span:not(.signal-photo) {
  display: none;
}

.signal-grid strong {
  order: -2;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.signal-photo-yen img,
.signal-photo-prices img {
    max-width: 150px;
}

.signal-photo-sidework img,
.signal-photo-ai img {
    max-width: 200px;
}

.signal-photo {
    display: flex;
    justify-content: center;
}

.signal-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-conclusion {
  margin: 34px 0 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* Market */
.market {
  padding: 59px 30px 0;
  background: #fff;
}

.market > .section-heading .eyebrow {
  display: none;
}

.market > .section-heading h2 {
  color: var(--blue);
  font-size: 41px;
}
.market > .section-heading h2 span {
  color: #132387;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.market-grid li {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.market-grid li span {
    order: 2;
    display: block;
    color: transparent;
    width: var(--icon-size);
    height: var(--icon-size);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 12px;
}

.market-grid li:nth-child(1) span {
  background-image: url("../images/icons/market-cloud.png");
  margin-top: 0;
  --icon-size: 138px;
}

.market-grid li:nth-child(2) span {
  background-image: url("../images/icons/market-world.png");
  margin-top: 0;
  --icon-size: 138px;
}

.market-grid li:nth-child(3) span {
  background-image: url("../images/icons/market-dollar.png");
  transform: scale(1.15);
  --icon-size: 120px;
  margin-top: 0;
}

.market-grid li:nth-child(4) span {
  background-image: url("../images/icons/market-growth.png");
  --icon-size: 108px;
}

.market-grid strong {
  min-height: 52px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.market-reasons {
  margin: 0 -30px;
  padding: 38px 30px 45px;
  background: linear-gradient(145deg, #3c39f4, #4037f3);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  color: #fff;
}

.market-reasons > h2 {
  margin: 0 0 31px;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.market-reasons > h2 span {
 font-size: 35px;
}
.market-lead {
  margin: 0 0 29px;
  padding: 23px 21px;
  background: #fff;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.market-lead strong {
  display: block;
  color: var(--pink);
  font-size: 23px;
}

.reason-grid {
  display: grid;
  gap: 16px;
}

.reason-grid article {
  position: relative;
  min-height: 115px;
  padding: 0 0 0 100px;
}

.reason-grid article::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 82px;
  height: 82px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.reason-grid article:nth-child(1)::before {
  background-image: url("../images/icons/reason-japan.png");
}

.reason-grid article:nth-child(2)::before {
  background-image: url("../images/icons/reason-culture.png");
}

.reason-grid article:nth-child(3)::before {
  background-image: url("../images/icons/reason-value.png");
}

.reason-grid .check {
  position: absolute;
  top: 0;
  left: 98px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.reason-grid h3 {
  margin: 0 0 7px;
  padding-left: 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.reason-grid p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.market-conclusion {
  transform: skewY(-3deg);
  position: relative;
  margin: -38px -30px 0;
  padding: 25px 40px 45px;
  background: var(--pink);
  color: #fff;
  font-size: 29px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.42;
  text-align: center;
  clip-path: polygon(0 10%, 100% 0, 100% 80%, 0 87%);
}

.market-conclusion strong {
  display: block;
  transform: skewY(-3deg);
}
.market-conclusion p {
  transform: skewY(-3deg);
}

/* English barrier */
.english-barrier {
  padding: 50px 30px 0;
  background: #fff;
}

.question-card {
  position: relative;
  min-height: 260px;
  margin: 0 -30px;
  padding: 52px 38px 0;
  background: #fff;
  text-align: center;
}
.question-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: #2F5FFF;
  clip-path: polygon(0 60%, 50% 100%, 100% 60%, 100% 100%, 0 100%);
  z-index: 2;
}
.question-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  width: min(100%, 450px); /* or 90vw */
  aspect-ratio: 450 / 320;
  height: auto;
  background: url("../images/icons/bubble.png") center bottom / 100% auto no-repeat;
  z-index: 1;
  margin: 0 0 -48px;
}


.question-card > p {
  display: none;
}

.question-card h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.45;
    top: -2px; /* Move text up */
}

.ai-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: -1px -30px 0;
  padding: 25px 30px 68px;
  background: linear-gradient(180deg, #2F5FFF 0%, #882CFC 100%);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  list-style: none;
  position: relative;
  z-index: 2;
}

.ai-use-grid li {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 14px;
  background: #fff;
  text-align: center;
}

.ai-use-grid strong {
  color: #132387;
  font-size: 24px;
  font-weight: 700;
}

.ai-use-grid span {
  order: 2;
  display: block;
  width: 130px;
  height: 130px;
  margin-top: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  font-size: 0;
}

.ai-use-grid li:nth-child(1) span {
  background-image: url("../images/icons/ai-writing.png");
}

.ai-use-grid li:nth-child(2) span {
  background-image: url("../images/icons/ai-message.png");
}

.ai-use-grid li:nth-child(3) span {
  background-image: url("../images/icons/ai-image.png");
}

.ai-use-grid li:nth-child(4) span {
  background-image: url("../images/icons/ai-proposal.png");
}

.power-message {
    margin: -30px -30px 0;
    padding: 43px 37px 50px;
    transform: skewY(-2deg);
    background: var(--pink);
    color: #fff;
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    clip-path: polygon(0 10%, 100% 0, 100% 80%, 0 87%);
    height: 200px;
}

.power-message span {
  display: block;
  font-size: 33px;
  transform: skewY(-2deg);
}

/* Why Kredo */
.kredo-way {
  padding: 20px 30px 0;
  background: #fff;
}

.kredo-way .section-heading .eyebrow {
  display: none;
}

.kredo-way .section-heading {
  margin-bottom: 6px;
}

.kredo-way .section-heading h2 {
  display: block;
  color: var(--blue);
  font-size: 33px;
  font-weight: 700;
  line-height: 130%;
  padding: 0 0 20px;
}

.kredo-way .section-heading h2 span {
  color: var(--pink);
  font-size: 38px;
  font-weight: 700;
}

.kredo-reason-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kredo-reason-list li {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  padding: 21px 22px 21px 112px;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  background: #3B36EC;
  color: #fff;
}

.kredo-reason-list li span {
  position: absolute;
  top: 18px;
  left: 22px;
  width: 70px;
  height: 70px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  font-size: 0;
}

.kredo-reason-list li:nth-child(1) span {
  background-image: url("../images/icons/kredo-english.png");
}

.kredo-reason-list li:nth-child(2) span {
  background-image: url("../images/icons/kredo-ai.png");
}

.kredo-reason-list li:nth-child(3) span {
  background-image: url("../images/icons/kredo-knowhow.png");
}

.kredo-reason-list li:nth-child(4) span {
  background-image: url("../images/icons/kredo-support.png");
}

.kredo-reason-list p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.kredo-divider {
    position: relative;
    margin: -10px -30px -2px;
    height: 18px;
    z-index: 5;
    pointer-events: none;
}

.kredo-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}
.kredo-conclusion {
  margin: 0px -30px 0;
  padding: 34px 45px 43px;
  background: var(--pink);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
   position: relative;
    z-index: 1;
}
/* 
.kredo-conclusion::before {
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
    width: 100%;
    height: 12px;
} */
.kredo-conclusion span {
  display: block;
  margin-top: 7px;
  font-size: 34px;
}

/* Stories */
.stories {
  padding: 0 0px 50px;
  background: #fff;
}

.stories .section-heading {
   position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 8px;
}

.stories .section-heading .eyebrow {
  display: none;
}

.stories .section-heading h2 {
  font-size: 34px;
}

.story-grid {
  display: grid;
  gap: 22px;
  padding: 0 30px;
}

.story-card {
  padding: 16px 13px 13px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: 5px 5px 0 var(--line);
}

.story-card > header {
  display: grid;
  grid-template-columns: 154px 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 5px 15px;
  border-bottom: 1px solid var(--line);
}

.story-avatar {
  width: 142px;
  height: 142px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff center / cover no-repeat;
  color: transparent;
  font-size: 0;
}

.story-avatar-miu {
  background-image: url("../images/photos/story-miu.jpg");
}

.story-avatar-yugo {
  background-image: url("../images/photos/story-yugo.jpg");
}

.story-card:nth-child(3) .story-avatar {
  background-image: url("../images/photos/story-kurumi.jpg");
}

.story-card:nth-child(4) .story-avatar {
  background-image: url("../images/icons/girl.png");
  background-size: contain;
}

.story-card:nth-child(5) .story-avatar {
  background-image: url("../images/icons/story-kohei.png");
  background-size: contain;
}

.story-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
}

.story-card header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-card header li {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.story-result {
  margin: 15px 5px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.story-card blockquote {
  margin: 0;
  padding: 17px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

/* Features */
.features {
  padding: 36px 30px 54px;
  background: linear-gradient(145deg, var(--blue), var(--purple));
}

.features > .section-heading {
  position: relative;
  padding: 27px 18px;
  background: #fff;
}

.features > .section-heading::after {
  position: absolute;
  bottom: -18px;
  left: calc(50% - 17px);
  border: 18px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  content: "";
}

.features .section-heading .eyebrow {
  display: none;
}

.features .section-heading h2 {
  color: var(--blue);
  font-size: 34px;
}

.feature-grid {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

.feature-grid article {
  position: relative;
  padding: 14px;
  border: 4px solid var(--blue);
  background: #fff;
}

.feature-grid article::before {
  position: absolute;
  inset: -12px;
  z-index: -1;
  background: rgb(255 255 255 / 35%);
  content: "";
}

.feature-number {
  position: absolute;
  top: 28px;
  left: 40px;
  z-index: 2;
  color: #fff;
  font-size: 70px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;;
  line-height: 1;
}

.feature-grid h3 {
  min-height: 95px;
  margin: 0 0 18px;
  padding: 20px 15px 17px 80px;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.feature-photo {
  margin: 0 0 22px;
  overflow: hidden;
  background: #f5f5f5;
}

.feature-photo img {
  width: 100%;
  max-height: 265px;
  object-fit: cover;
}

.feature-grid article > p {
  margin: 0;
  padding: 0 16px 17px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
}
.feature-grid .feature-lead {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  margin-top: -18px;
}
.feature-grid .feature-lead span {
  font-size: 28px;
}

/* Instructors */
.instructors {
  padding: 40px 30px 36px;
  background: #fff;
}

.instructors > .section-heading {
  position: relative;
  margin: 0 -15px 24px;
  padding: 21px 20px;
  background: #3e39f3;
  width: auto;
}

.instructors > .section-heading::after {
  position: absolute;
  bottom: -17px;
  left: calc(50% - 16px);
  border: 17px solid transparent;
  border-top-color: #3e39f3;
  border-bottom: 0;
  content: "";
}

.instructors .section-heading .eyebrow {
  display: none;
}

.instructors .section-heading h2 {
  font-size: 35px;
}

.instructor-group {
  margin-bottom: 13px;
  padding: 9px;
  border: 3px solid var(--blue);
  background: #fff;
  box-shadow: 4px 4px 0 var(--blue);
}

.instructor-group > h3 {
  margin: 0 0 10px;
  padding: 17px 10px;
  background: var(--blue);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.consultant > h3 {
  background: linear-gradient(90deg, #3d3bf3, #4239f5);
}

.person-list {
  display: grid;
}

.person-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 11px;
  margin: 0 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.person-card:last-child {
  border-bottom: 0;
}

.person-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #eef2ff center / cover no-repeat;
}

.person-avatar-delyn {
  background-image: url("../images/photos/instructor-delyn.jpg");
}

.person-avatar-lovely {
  background-image: url("../images/photos/instructor-lovely.jpg");
}

.person-avatar-diane {
  background-image: url("../images/photos/instructor-diane.jpg");
}

.person-avatar-miu {
  background-image: url("../images/photos/instructor-miu.jpg");
}

.person-avatar-yugo {
  background-image: url("../images/photos/instructor-yugo.jpg");
}

.person-card h4 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.person-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.person-card li {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.consultant .person-card {
  padding: 19px 0;
}

.consultant .person-card li {
  font-size: 13px;
  line-height: 1.45;
}

/* Roadmap */
.roadmap {
  padding: 0 0px 43px;
  background: #fff;
}

  .roadmap .section-heading {
    position: relative;
    width: auto;
    height: 220px;
  }

  /* orange stripe, bottom-most layer */
  .roadmap .section-heading .orange {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff9500;
    clip-path: polygon(
      0% 8%,
      100% 0%,
      100% 78%,
      0% 86%
    );
  }

  /* pink stripe, sits above orange */
  .roadmap .section-heading .pink {
    position: absolute;
    top: 9px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff1f8f;
    clip-path: polygon(
      0% 8%,
      100% 0%,
      100% 78%,
      0% 86%
    );
  }

  /* blue main block, on top */
  .roadmap .section-heading .blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3b5bfa;
    clip-path: polygon(
      0% 8%,
      100% 0%,
      100% 78%,
      0% 86%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .roadmap .section-heading .blue span {
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0.03em;
    padding: 0 20px;
    transform: translateY(-14px);
  }

.roadmap .section-heading .eyebrow {
  display: none;
}

.roadmap .section-heading h2 {
  font-size: 34px;
}

.roadmap-grid {
  display: grid;
  gap: 24px;
  padding: 0 30px;
}

.roadmap-card {
  padding: 10px;
  border: 4px solid var(--pink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--pink);
}

.roadmap-card.long {
  border-color: var(--orange);
  box-shadow: 5px 5px 0 var(--orange);
}

.roadmap-card > h3 {
  margin: 0;
  padding: 19px 15px;
  background: var(--pink);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.roadmap-card > h3 span {
    font-size: 50px;
    font-style: italic;
    line-height: 20px;
    position: relative;
    top: 5px;
    font-family: 'Inter';
}

.roadmap-card.long > h3,
.roadmap-card.long .roadmap-goal {
  background: var(--orange);
}

.roadmap-card ol {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-card ol::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 17px;
  width: 4px;
  background: var(--pink);
  content: "";
}

.roadmap-card.long ol::before {
  background: var(--orange);
}

.roadmap-card li {
  position: relative;
  min-height: 155px;
  padding: 52px 8px 15px 126px;
}

/* .roadmap-card.short li {
  min-height: 172px;
} */

.roadmap-card.long li {
  min-height: 211px;
}

.roadmap-card li::before {
  position: absolute;
  top: 51px;
  left: 37px;
  width: 85px;
  height: 85px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.roadmap-card.short li:nth-child(1)::before {
  background-image: url("../images/icons/roadmap-ai.png");
}

.roadmap-card.short li:nth-child(2)::before {
  background-image: url("../images/icons/roadmap-profile.png");
}

.roadmap-card.short li:nth-child(3)::before {
  background-image: url("../images/icons/roadmap-project.png");
}

.roadmap-card.long li:nth-child(1)::before {
  background-image: url("../images/icons/roadmap-busy.png");
}

.roadmap-card.long li:nth-child(2)::before {
  background-image: url("../images/icons/roadmap-focus.png");
}

.roadmap-term {
  position: absolute;
  top: 5px;
  left: 0;
  margin: 0;
  padding: 6px 13px;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.roadmap-card.long .roadmap-term {
  background: var(--orange);
}

.roadmap-card h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.roadmap-card li > p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.roadmap-goal {
  margin: 0;
  padding: 19px 12px;
  background: var(--pink);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

/* Pricing */
.pricing {
  --plan-color: var(--blue);
  position: relative;
  padding: 0 34px 31px;
  background: var(--plan-color);
  margin: 0;
}

.pricing[data-plan="standard"] {
  --plan-color: #3b37ec;
}

.pricing[data-plan="premium"] {
  --plan-color: var(--purple);
}

.pricing-title > .section-heading {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 8px;
}

.pricing .section-heading .eyebrow {
  display: none;
}

.pricing .section-heading h2 {
  position: relative;
  z-index: 1;
  font-size: 39px;
}

.plan-grid {
  position: relative;
  padding-top: 33px;
}

.plan-card {
  min-height: 724px;
  padding: 10px;
  border: 0;
  background: #fff;
  text-align: center;
}

.plan-card[hidden] {
  display: none;
}

.plan-card h3 {
  display: grid;
  min-height: 64px;
  place-items: center;
  margin: 0 0 12px;
  padding: 8px 12px;
  background: var(--blue);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
}

.plan-card.standard h3 {
  background: #403cf0;
}

.plan-card.premium h3 {
  background: var(--purple);
}

.plan-photo {
  margin: 0 10px 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid currentColor;
}

.plan-photo img {
  width: 100%;
  aspect-ratio: 1.84 / 1;
  object-fit: cover;
}

.plan-label {
  display: inline-block;
  min-width: 275px;
  margin: 0 0 10px;
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.standard .plan-label {
  background: #403cf0;
}

.premium .plan-label {
  background: var(--purple);
}

.plan-recommendation {
  min-height: 60px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plan-price {
  margin: -2px 0 17px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-family: 'Inter', sans-serif;
}

.plan-price small,
.plan-monthly small {
  font-size: 12px;
  letter-spacing: 0;
}
.price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    margin: -2px 0 17px;
    color: var(--ink);
    font-weight: 700;
}

.price-number {
    font-size: 48px;
    line-height: .9;
    letter-spacing: 0.01em;
}

.price-unit {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.price-tax {
    font-size: 12px;
    font-weight: 700;
}

.price-yen {
    font-size: 28px;
    font-weight: 800;
}
.price-unit-pink {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 15px;
}
.price-value {
    color: var(--pink);
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.price-tax-pink {
    color: var(--pink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1px;

}

.price-yen-pink {
    color: var(--pink);
    font-size: 38px;
    line-height: 0.9;
}

.price-month {
    color: var(--ink);
    font-size: 38px;
    line-height: 0.9;
    margin-bottom: 15px;
}
.price-month span {
    color: var(--pink);
}
.installment {
  display: inline-block;
  position: relative;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.installment::after {
  position: absolute;
  bottom: -9px;
  left: calc(50% - 8px);
  border: 8px solid transparent;
  border-top-color: var(--blue);
  border-bottom: 0;
  content: "";
}

.plan-monthly {
  margin: 0;
  color: var(--pink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.12;
  font-family: 'Inter', sans-serif;
}

.plan-monthly::first-letter {
  letter-spacing: -0.1em;
}

.plan-controls {
  position: relative;
  display: flex;
  height: 74px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.plan-arrow {
  position: absolute;
  top: -346px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--plan-color);
  cursor: pointer;
  padding: 0;
}

.plan-prev {
  left: -27px;
}

.plan-next {
  right: -27px;
}

/* Arrow */
.plan-arrow .arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.plan-prev .arrow {
  border-right: 12px solid #fff;
  margin-left: -2px; /* centers visually */
}

.plan-next .arrow {
  border-left: 12px solid #fff;
  margin-right: -2px;
}
.plan-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.plan-dots span {
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.plan-dots span.active {
  background: #fff;
}

/* Simulation */
.simulation {
  padding: 0 0px 29px;
  background: #fff;
}

.simulation > .section-heading {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 8px;
}

.simulation .section-heading .eyebrow {
  display: none;
}

.simulation-card {
  padding: 0 20px;
}
.simulation-card > header {
  text-align: center;
}

.simulation-card > header h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
}

.simulation-card > header p {
  margin: 0 0 19px;
  padding: 10px 8px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.chart {
  position: relative;
  margin: 0;
}

.chart figcaption {
  margin-bottom: 7px;
  color: #1d1d1d;
  font-size: 13px;
  font-weight: 800;
}

.chart-scroll {
  width: 100%;
  overflow: visible;
}

.chart-plot {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 578px;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
  gap: 4px;
  padding: 30px 7px 62px 36px;
  background: #fff;
}

/* horizontal gridlines: clipped so they only paint inside the plot area,
   never underneath the axis numbers */
.chart-plot {
    background-image: linear-gradient(to bottom, #dfe5f3 0 1px, transparent 1px 100%);
    background-repeat: repeat-y;
    background-size: 100% 61px;
    background-position: 0 -1.5px;
    background-origin: content-box;
    /* background-clip: content-box; */
}

/* the vertical axis line, sitting between the numbers and the gridlines */
.chart-plot::before {
    content: "";
    position: absolute;
    top: 28.5px;
    height: 488px;
    left: 35px;
    width: 1px;
    background: #8e8e8e;
}

.chart-zero {
    position: absolute;
    top: 272.5px;
    right: 7px;
    left: 35px;
    height: 1px;
    background: #333;
}

.bar-slot {
  position: relative;
  height: 100%;
}

.chart-bar {
  position: absolute;
  left: 38%;
  width: 64%;
}

.chart-bar.negative {
  top: 50%;
  background: var(--blue);
}

.chart-bar.positive {
  bottom: 50%;
  background: var(--pink);
}

.chart-bar.h98 {
  height: 183px;
}

.chart-bar.h78 {
  height: 140px;
}

.chart-bar.h59 {
  height: 105px;
}

.chart-bar.h39 {
  height: 72px;
}

.chart-bar.h19 {
  height: 35px;
}

.chart-bar.h2 {
  height: 5px;
}

.chart-bar.h20 {
  height: 38px;
}

.chart-bar.h40 {
  height: 68px;
}

.chart-bar.h60 {
  height: 108px;
}

.chart-bar.h80 {
  height: 145px;
}

.chart-bar.h100 {
  height: 187px;
}

.chart-bar.h118 {
  height: 218px;
}

.chart-value {
  position: absolute;
  left: 65%;
  width: 48px;
  transform: translateX(-50%);
  color: var(--blue);
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.h98 + .chart-value { top: calc(50% + 183px); }
.h78 + .chart-value { top: calc(50% + 140px); }
.h59 + .chart-value { top: calc(50% + 105px); }
.h39 + .chart-value { top: calc(50% + 72px); }
.h19 + .chart-value { top: calc(50% + 35px); }
.h2 + .chart-value { bottom: calc(50% + 6px); }
.h20 + .chart-value { bottom: calc(50% + 39px); }
.h40 + .chart-value { bottom: calc(50% + 72px); }
.h60 + .chart-value { bottom: calc(50% + 110px); }
.h80 + .chart-value { bottom: calc(50% + 147px); }
.h100 + .chart-value { bottom: calc(50% + 189px); }
.h118 + .chart-value { bottom: calc(50% + 220px); }

.positive + .chart-value {
  color: var(--pink);
}

.chart-month {
position: absolute;
    right: -4px;
    bottom: -20px;
    left: -4px;
    height: 8.125px;
    overflow: visible;
    color: #222;
    font-size: 6.5px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.chart-month small {
  display: block;
  font-size: 5.5px;
  margin-top: 2px;
}

.chart-unit {
    position: absolute;
    top: 4px;
    left: 5px;
    color: #222;
    font-size: 8px;
    font-weight: 700;
}

.chart-y-axis {
 position: absolute;
    top: 25px;
    bottom: 58px;
    left: 0;
    display: flex;
    width: 30px;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    color: #222;
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    list-style: none;
    text-align: right;
}

.simulation-highlights {
  position: absolute;
  inset: 27px 0 0;
  pointer-events: none;
}

.simulation-highlights::after {
    position: absolute;
    top: 295px;
    left: 215px;
    right: 9px;
    height: 2px;
    background: var(--pink);
    content: "";
}

.simulation-highlights p {
  position: absolute;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.simulation-highlights p:first-child {
  top: 84px;
  left: 53px;
  width: 218px;
  min-height: 116px;
  background: var(--blue);
}

.simulation-highlights p:first-child::after {
  position: absolute;
  right: 45px;
  bottom: -48px;
  border: 15px solid transparent;
  border-top: 72px solid var(--blue);
  border-bottom: 0;
  content: "";
  transform: skewX(15deg);
}

.simulation-highlights p:last-child {
  right: 9px;
  bottom: 88px;
  width: 224px;
  min-height: 138px;
  background: var(--pink);
}

.simulation-highlights p:last-child::before {
  position: absolute;
  top: -43px;
  border: 16px solid transparent;
  border-bottom: 43px solid var(--pink);
  border-top: 0;
  content: "";
}

.simulation-highlights p:last-child::after {
    position: absolute;
    top: -60.8px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--pink);
    border-right: 2px solid var(--pink);
    content: "";
    transform: rotate(45deg);
}

.simulation-copy {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0 13px;
  margin: 21px 2px 0;
  padding: 12px 17px 6px;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
}

.simulation-icon {
  width: 70px;
  height: 70px;
  align-self: center;
  background: url("../images/icons/simulation-yen.png") center / contain no-repeat;
}

.simulation-copy p {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.simulation-copy p span {
  color: var(--blue);
}

.simulation-copy p:last-child {
  margin-bottom: 0;
}

.simulation-copy div p + p {
  padding-top: 8px;
  border-top: 1px solid var(--blue);
}

.simulation-copy .disclaimer {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: #30436d;
  font-size: 8px;
  line-height: 1.5;
}

/* Comparison */
.comparison {
  padding: 0 15px 0;
  background: #fff;
}

.section-heading {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 8px;
}

  /* pink layer sits behind, slightly larger/offset so it peeks out at top & bottom */
  .section-heading .pink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff1f8f;
    clip-path: polygon(
      0% 9.3%,
      50% 14.2%,
      100% 11%,
      100% 19.1%,
      100% 90.7%,
      50% 85.8%,
      0% 89%,
      0% 80.9%
    );
  }

  /* blue layer on top, inset a bit so pink shows around the edges */
  .section-heading .blue {
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: calc(100% - 28px);
    background: var(--blue);
    clip-path: polygon(
      0% 0%,
      100% 12%,
      100% 100%,
      0% 88%
    );
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-heading .blue span {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

.comparison .section-heading .eyebrow {
  display: none;
}

.comparison .section-heading h2 {
  font-size: 34px;
}

.comparison-table {
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.comparison table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison col:nth-child(1) { width: 24.7%; }
.comparison col:nth-child(2) { width: 24.5%; }
.comparison col:nth-child(3) { width: 24.3%; }
.comparison col:nth-child(4) { width: 26.5%; }

.comparison caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.comparison th,
.comparison td {
  height: 168px;
  padding: 8px 5px;
  border: 1px solid var(--blue);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
}

.comparison thead th {
  height: 74px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.comparison thead th:last-child {
  background: var(--pink);
}

.comparison tbody th {
  position: relative;
  padding-top: 57px;
  background: #e1e9ff;
  font-size: 14px;
  font-weight: 700;
}

.comparison-icon {
  position: absolute;
  top: 41px;
  left: 50%;
  width: 41px;
  height: 41px;
  transform: translateX(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.comparison-icon-dollar { background-image: url("../images/icons/comparison-dollar.png"); }
.comparison-icon-ai { background-image: url("../images/icons/comparison-ai.png"); }
.comparison-icon-world { background-image: url("../images/icons/comparison-world.png"); }
.comparison-icon-yen { background-image: url("../images/icons/comparison-yen.png"); }
.comparison-icon-calendar { background-image: url("../images/icons/comparison-calendar.png"); }

.comparison tbody td:last-child {
  background: #feeff9;
  color: var(--pink);
  font-size: 16px;
  font-weight: 700;
}

.comparison tbody td:nth-child(2),
.comparison tbody td:nth-child(3) {
  background: #fff;
}

.comparison-conclusion {
  margin: 18px -15px 0;
  padding: 33px 20px 38px;
  background: linear-gradient(100deg, var(--blue), var(--purple));
  color: #fff;
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.comparison-conclusion span {
  color: #FFFF03;
  display: inline-block;
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap; /* keep the emphasized phrase on one line when possible */
}

@media (max-width: 420px) {
  .comparison-conclusion span {
    white-space: normal; /* allow wrapping on very small screens to avoid overflow */
    font-size: clamp(18px, 4.2vw, 22px);
  }
}

/* Support */
.guarantee {
  padding: 0 0px 50px;
  background: #fff;
}

.guarantee > .section-heading {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 8px;
}

  /* n-blue layer sits behind, slightly larger/offset so it peeks out at top & bottom */
 .guarantee .section-heading .n-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ink);
    clip-path: polygon(
      0% 9.3%,
      50% 14.2%,
      100% 11%,
      100% 19.1%,
      100% 90.7%,
      50% 85.8%,
      0% 89%,
      0% 80.9%
    );
  }

  /* blue layer on top, inset a bit so n-blue shows around the edges */
.guarantee  .section-heading .blue {
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: calc(100% - 28px);
    background: var(--blue);
    clip-path: polygon(
      0% 0%,
      100% 12%,
      100% 100%,
      0% 88%
    );
    display: flex;
    align-items: center;
    justify-content: center;
  }

 .guarantee .section-heading .blue span {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }


.guarantee .section-heading .eyebrow {
  display: none;
}

.guarantee .section-heading h2 {
  font-size: 34px;
}

.support-grid {
  display: grid;
  gap: 24px;
  padding: 0 30px;
}

.support-grid > article {
  padding: 10px;
  border: 3px solid #3e39f3;
  background: #fff;
}

.support-grid > article:last-child {
  min-height: 625px;
}

.support-grid h3 {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px;
  background: #3e39f3;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.support-title-icon {
  width: 67px;
  height: 61px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.support-title-headset {
  background-image: url("../images/icons/support-headset.png");
}

.support-title-community {
  background-image: url("../images/icons/support-title-community.png");
}

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

.support-grid li {
  position: relative;
  min-height: 102px;
  padding: 8px 0 8px 108px;
}

.support-grid li span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 88px;
  height: 88px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  font-size: 0;
}

.support-grid article:first-child li:nth-child(1) span {
  background-image: url("../images/icons/support-chat.png");
}

.support-grid article:first-child li:nth-child(2) span {
  background-image: url("../images/icons/support-community.png");
}

.support-grid article:first-child li:nth-child(3) span {
  background-image: url("../images/icons/support-knowledge.png");
}

.support-grid article:last-child li:nth-child(1) span {
  background-image: url("../images/icons/community-english.png");
}

.support-grid article:last-child li:nth-child(2) span {
  background-image: url("../images/icons/community-success.png");
}

.support-grid article:last-child li:nth-child(3) span {
  background-image: url("../images/icons/community-trouble.png");
}

.support-grid li p {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.35;
}

/* FAQ */
.faq {
  padding: 0px 0px 40px;
  background: #fff;
}

.faq > .section-heading {
    position: relative;
    width: 100%;
    height: 160px;
    margin: 0 0 8px;
}

  /* purple layer sits behind, slightly larger/offset so it peeks out at top & bottom */
 .section-heading .purple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #882CFC;
    clip-path: polygon(
      0% 9.3%,
      50% 14.2%,
      100% 11%,
      100% 19.1%,
      100% 90.7%,
      50% 85.8%,
      0% 89%,
      0% 80.9%
    );
  }

.section-heading .blue span {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
.faq .section-heading .eyebrow {
  display: none;
}

.faq .section-heading h2 {
  position: relative;
  z-index: 1;
  font-size: 39px;
}

.faq-list {
  display: grid;
  gap: 13px;
  padding: 0 30px;
}

.faq-item {
  border: 0;
  background: #fff;
}

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 27px 1fr 26px;
  align-items: center;
  gap: 15px;
  padding: 1px 14px;
  background: rgb(99 135 255 / 35%);
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  content: "+";
  font-size: 20px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-mark {
  color: var(--blue);
  font-size: 40px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.faq-answer {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 15px;
  padding: 15px 14px;
  background: #e6e6e6;
}

.faq-answer p {
  margin: 0;
  color: #393939;
  font-size: 12px;
  line-height: 1.7;
}

/* Footer and floating CTA */
.lp-footer {
  padding: 28px 24px 112px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.footer-brand {
  display: block;
  width: 240px;
  margin: 0 auto 19px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 11px;
  margin-bottom: 13px;
  font-size: 12px;
  line-height: 1.7;
}

.lp-footer > p {
  margin: 0;
  font-size: 11px;
}

.floating-cta {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: min(493px, 100%);
  min-height: 0;
  aspect-ratio: 782 / 174;
  margin: 0 auto;
  padding: 0;
  background: rgb(255 255 255 / 60%);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta > p {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 22.11%;
  display: grid;
  width: 55.78%;
  height: 30%;
  place-items: center;
  margin: 0;
  padding: 0;
  /* clip-path: polygon(6.4% 0, 100% 0, 93.2% 100%, 0 100%); */
  /* background: #fff; */
  /* border: 1px solid var(--pink); */
  color: var(--pink);
  font-size: clamp(13px, 3.25vw, 16px);
  font-weight: 800;
  line-height: 1;
}
.floating-cta > p::before,
.floating-cta > p::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(6.4% 0, 100% 0, 93.2% 100%, 0 100%);
}

.floating-cta > p::before {
    background: var(--pink); /* Border */
}

.floating-cta > p::after {
    top: 1.5px;
    right: 3.5px;
    bottom: 0;
    left: 2px;
    background: #fff;
}
.floating-cta > p span {
    position: relative;
    z-index: 1;
}

.floating-cta a {
  position: absolute;
  top: 11.49%;
  left: 7.03%;
  display: flex;
  width: 86.19%;
  height: 88.51%;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(40px, 10.14vw, 50px);
  padding: 0 0 0 20.8%;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: clamp(20px, 4.97vw, 24.5px);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(18,49,132,0.22), 0 4px 10px rgba(0,0,0,0.14);
}

.floating-cta a span:last-child {
  display: grid;
  width: clamp(40px, 10.14vw, 50px);
  height: auto;
  flex: 0 0 clamp(40px, 10.14vw, 50px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  font-size: clamp(16px, 4.06vw, 20px);
}
.shiny-btn .floating-cta a {
  position: relative;
  overflow: hidden; /* clips the shine sweep to the button shape */
  isolation: isolate;
}

.shiny-btn .floating-cta a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  opacity: 0;
  pointer-events: none;
}

.shiny-btn.shine-animate .floating-cta a::after {
  animation: shine-sweep 1.1s ease-in-out;
}

@keyframes shine-sweep {
  0% {
    left: -75%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 125%;
    opacity: 0;
  }
}


@media (max-width: 493px) {
  body {
    width: 100%;
  }

  .section-heading h2,
  .stories .section-heading h2,
  .instructors .section-heading h2,
  .roadmap .section-heading h2,
  .comparison .section-heading h2,
  .guarantee .section-heading h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .hero-support p {
    font-size: 16px;
  }
  .hero-support p::before {
    height: 95%;
    width: 13%;
  }
  .hero-badges li {
        width: 78px;
        font-size: 14px;
    }
  .why-now .section-heading h2 {
    font-size: 25px;
  }
  .signal-grid strong {
    font-size: 20px;
  }
  .section-conclusion {
    font-size: 27px;
  }
  .market > .section-heading h2 {
    font-size: 35px;
  }
  .market-grid strong {
    font-size: 20px;
  }
  .market-grid li:nth-child(1) span {
    --icon-size: 120px;
  }
  .market-grid li:nth-child(2) span {
      --icon-size: 120px;
  }
  .market-grid li:nth-child(3) span {
    --icon-size: 105px;
    margin-top: -15px;
  }
  .market-grid li:nth-child(4) span {
    --icon-size: 100px;
  }
  .market-reasons > h2 {
    font-size: 25px;
  }
  .market-lead, .market-lead strong {
    font-size: 20px;
  }
  .market-reasons > h2 span {
    font-size: 30px;
  }
  .reason-grid h3 {
    font-size: 16px;
  }
  .reason-grid p {
    font-size: 12px;
  }
  .reason-grid article::before{
    width: 72px;
    height: 72px;
  }
  .ai-use-grid strong {
    font-size: 20px;
  }
  .ai-use-grid li {
    min-height: 160px;
  }
  .ai-use-grid span {
    width: 90px;
    height: 90px;
  }
  .power-message span {
    font-size: 30px;
  }
  .kredo-way .section-heading h2 {
    font-size: 25px;
  }
  .kredo-way .section-heading h2 span {
    font-size: 30px;
  }
  .kredo-reason-list p {
    font-size: 18px;
  }
  .kredo-conclusion {
    font-size: 22px;
  }
  .kredo-conclusion span { 
    font-size: 30px;
  }
  .story-card > header {
    grid-template-columns: 115px 1fr;
  }
  .story-avatar {
    width: 115px;
    height: 115px;
  }
  .story-result {
    font-size: 16px;
  }
  .story-card blockquote {
    font-size: 14px;
  }
  .features .section-heading h2 {
    font-size: 30px;
  }
  .feature-grid h3 {
    font-size: 20px;
  }
  .roadmap-grid {
    padding: 0 20px;
  }
  .roadmap-card h4 {
    font-size: 20px;
  }
  .roadmap-card li > p:last-child {
    font-size: 18px;
  }
  .plan-monthly {
    font-size: clamp(39px, 10vw, 48px);
  }
  .simulation-card {
    padding: 0 15px;
  }
  .support-grid li p {
    font-size: 18px;
  }
}

@media (max-width: 469px) {
  .simulation-highlights p:first-child {
    left: 43px;
    width: 200px;
  }
  .simulation-highlights p:first-child::after {
    right: 35px;
    border-top: 52px solid var(--blue);
    transform: skewX(36deg);
  }
}
@media (max-width: 441px) {
  .question-card h2 {
    font-size: 25px;
    top: 10px;;
  }
  .features .section-heading h2 {
    font-size: 28px;
  }
  .feature-number {
    top: 20px;
  }
  .feature-grid h3 {
    padding: 20px 15px 17px 70px;
    font-size: 18px;
  }
  .feature-grid article > p {
    font-size: 16px;
  }
  .instructors > .section-heading {
    height: 120px;
  }
  .instructor-group > h3 {
    font-size: 20px;
  }
  .person-card h4 {
    font-size: 18px;
  }
  .consultant > h3 {
    font-size: 20px;
  }
  .roadmap-card > h3 {
    font-size: 20px;
  }
  
  .price-value {
    font-size: 55px;
  }
  .simulation-highlights p:first-child {
    left: 45px;
    width: 175px;
    font-size: 18px;
  }
  .simulation-highlights p:first-child::after {
    right: 25px;
    transform: skewX(25deg);
  }
  .support-grid {
    padding: 0 20px;
  }
}
@media (max-width: 410px) {
  .site-header > p {
    font-size: 19px;
  }
  .price-value {
    font-size: 50px;
  }
  .simulation-highlights p:first-child::after {
      right: 35px;
      transform: skewX(15deg);
  }
  .simulation-highlights p:last-child {
    bottom: 108px;
    width: 164px;
    min-height: 118px;
    font-size: 18px;
  }
}
@media (max-width: 390px) {
  .site-header > p {
    font-size: 17px;
  }

  .hero-kicker {
    font-size: 12px;
  }

  .hero-badges li {
    width: 64px;
    font-size: 10px;
  }

  .hero-support {
    margin-inline: 18px;
  }

  .hero-support p {
    font-size: 12px;
  }
  .question-card h2 {
        font-size: 25px;
        top: 30px;
  }

  .market-lead, .market-lead strong {
    font-size: 19px;
  }
  .feature-number {
    left: 25px;
  }
  .section,
  .why-now,
  .market,
  .english-barrier,
  .kredo-way,
  .features,
  .instructors,
  .pricing {
    padding-right: 20px;
    padding-left: 20px;
  }
.stories {
  padding: 0px;
}
  .roadmap-grid {
    padding: 0px;
  }
  
  .simulation-card {
    padding: 0 15px;
  }
  .market-reasons,
  .market-conclusion,
  .power-message,
  .kredo-conclusion,
  .roadmap > .section-heading,
  .pricing > .section-heading {
    margin-right: -20px;
    margin-left: -20px;
  }
  .guarantee {
    padding: 0px;
  }
  .simulation {
    padding: 0px;
  }
.guarantee > .section-heading {
  margin: 0;
}
.features {
    margin: 35px 0 0;
}
  .question-card,
  .ai-use-grid {
    margin-right: -20px;
    margin-left: -20px;
  }

  .ai-use-grid {
    padding-right: 20px;
    padding-left: 20px;
  }

  .story-card > header {
    grid-template-columns: 103px 1fr;
  }

  .story-avatar {
    width: 94px;
    height: 94px;
  }

  .person-card {
    grid-template-columns: 76px 1fr;
    margin-inline: 4px;
  }

  .person-avatar {
    width: 68px;
    height: 68px;
  }

  .roadmap-card li {
    padding-left: 105px;
  }

  .roadmap-card li::before {
    left: 26px;
    width: 68px;
    height: 68px;
  }
  .price-value {
    font-size: 55px;
  }
  .plan-card {
    padding-inline: 12px;
  }

  .plan-label {
    min-width: 245px;
  }
  .simulation-card > header h3 {
    font-size: 26px;
  }
  .simulation-highlights p:first-child {
    top: 104px;
    width: 150px;
    font-size: 15px;
    min-height: 96px;
  }
  .simulation-highlights p:first-child::after {
    right: 5px;
    transform: skewX(15deg);
    border: 10px solid transparent;
    border-top: 55px solid var(--blue);
  }
  .comparison-conclusion {
        margin: 18px -20px 0;
  }
  .support-grid li {
    padding: 8px 0 8px 80px;
  }
  .support-grid li span {
    width: 78px;
    height: 78px;
  }
  
  .faq {
    padding: 0px 0px 40px;
  } 
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-cta {
    transition: none;
  }
}
