@font-face {
  font-family: "Poppins EHB";
  font-weight: 400;
  font-display: swap;
  src: url("../webfonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins EHB";
  font-weight: 600;
  font-display: swap;
  src: url("../webfonts/Poppins-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins EHB";
  font-weight: 700;
  font-display: swap;
  src: url("../webfonts/Poppins-Bold.ttf") format("truetype");
}

.ehb {
  --red: #c00;
  --ink: #1c1c1c;
  --soft: #f8f8f8;
  color: var(--ink);
  font-family: "Poppins EHB", Arial, sans-serif;
  line-height: 1.6;
}

.ehb * {
  box-sizing: border-box;
}

.ehb h1, .ehb h2, .ehb h3, .ehb p {
  margin-top: 0;
}

.ehb a {
  text-decoration: none;
}

.ehb-shell {
  width: 1000px;
  margin: 0 auto;
}

.ehb-section {
  padding: 80px 0;
}

.ehb-section--soft {
  background: var(--soft);
}

.ehb-hero {
  height: 480px;
  color: #fff;
  background: url('/img/plan/esim/how-to-buy/hero.png') center/cover no-repeat;
}

.ehb-hero__inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.ehb-hero__copy {
  width: 513px;
}

.ehb-hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}

.ehb-hero p {
  width: 500px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.ehb-button {
  display: inline-flex;
  width: 260px;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--red);
  color: #fff!important;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .3s ease;
}

.ehb-button img, .ehb-outline-button img, .ehb-guides a img {
  width: 16px;
  height: 16px;
}

.ehb-breadcrumb {
  height: 49px;
  background: #fff;
}

.ehb-breadcrumb>div {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.ehb-breadcrumb a {
  color: inherit;
}

.ehb-breadcrumb__arrow {
  width: 10px;
  height: 8px;
  flex: 0 0 auto;
}

.ehb-heading {
  text-align: center;
  margin-bottom: 42px;
}

.ehb-heading>p, .ehb-kicker {
  color: var(--red);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.ehb-heading h2, .ehb-benefits h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 0;
}

.ehb-heading>div {
  font-size: 16px;
  margin-top: 20px;
}

.ehb-before-copy p {
  margin-bottom: 1.6em;
}

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

.ehb-guides-copy__sp-break {
  display: none;
}

.ehb-intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ehb-intro-cards article {
  min-height: 337px;
  padding: 24px;
  border-bottom: 2px solid var(--red);
  background: #fff;
  text-align: center;
}

.ehb-intro-cards img {
  width: 100%;
  height: auto;
  aspect-ratio: 508/328;
  object-fit: contain;
}

.ehb-intro-cards h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 18px 0 12px;
}

.ehb-intro-cards p {
  font-size: 13px;
  margin: 0;
}

.ehb-steps-shell {
  width: 1000px;
}

.ehb-steps {
  width: 778px;
  margin: auto;
}

.ehb-steps article {
  display: grid;
  grid-template-columns: 222px 1fr;
  gap: 32px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ededed;
}

.ehb-steps article:last-child {
  border-bottom: 0;
}

.ehb-steps>article>img {
  width: 222px;
  height: 168px;
  object-fit: cover;
}

.ehb-steps b {
  display: block;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
}

.ehb-steps h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 2px 0 12px;
}

.ehb-steps p, .ehb-steps li {
  font-size: 14px;
  line-height: 1.6;
}

.ehb-steps p {
  margin-bottom: 8px;
}

.ehb-steps .ehb-step-note {
  margin-top: -8px;
}

.ehb-steps ul {
  padding-left: 0;
  margin: 10px 0 0;
  list-style: none;
}

.ehb-steps ul li {
  position: relative;
  display: block;
  padding-left: 18px;
}

.ehb-steps ul li::before {
  content: '•';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ink);
  font-weight: 700;
}

.ehb-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 12px;
  padding: 8px 24px;
  border: 1px solid var(--red);
  color: var(--red)!important;
  font-size: 14px;
}

.ehb-order-card {
  position: relative;
  display: flex;
  height: 276px;
  margin-top: 80px;
  padding: 40px 312px 40px 40px;
  overflow: visible;
  border: 1px solid #f2dddd;
  border-radius: 8px;
  background: #fffafa;
}

.ehb-order-card>div {
  width: 628px;
  position: relative;
  z-index: 2;
}

.ehb-order-card h2 {
  font-size: 32px;
  line-height: 1.2;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--red);
}

.ehb-order-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.ehb-order-card .ehb-button {
  width: 245px;
  height: 50px;
}

.ehb-order-card>img {
  position: absolute;
  z-index: 1;
  right: 68px;
  bottom: 0;
  width: 254px;
  height: 303px;
  object-fit: contain;
  object-position: bottom;
}

.ehb-compare {
  width: 1000px;
  border: 1px solid #ebebeb;
  background: #fff;
}

.ehb-compare>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ehb-compare b, .ehb-compare span {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid #ebebeb;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
}

.ehb-compare b:last-child, .ehb-compare span:last-child {
  border-right: 0;
}

.ehb-compare__head b {
  min-height: 55px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
}

.ehb-compare__head b:first-child {
  background: #1c1c1c;
}

.ehb-compare>div+div {
  border-top: 1px solid #ebebeb;
}

.ehb-compare>div:not(.ehb-compare__head)>:nth-child(3) {
  justify-content: flex-start;
  text-align: left;
}

.ehb-benefits {
  display: grid;
  grid-template-columns: 359px 573px;
  gap: 48px;
}

.ehb-benefits h2 {
  margin: 0;
}

.ehb-benefits ul {
  padding-left: 0;
  margin: 18px 0 18px;
  list-style: none;
}

.ehb-benefits li {
  position: relative;
  display: block;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.ehb-benefits li::before {
  content: '•';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.ehb-benefits p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.ehb-benefits .ehb-benefits__lead {
  display: none;
  margin-bottom: 24px;
}

.ehb-benefits small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
}

.ehb-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ehb-mistakes>.ehb-shell {
  width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.ehb-mistakes .ehb-heading {
  margin-bottom: 0;
}

.ehb-mistakes .ehb-checks {
  width: 100%;
}

.ehb-checks article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  min-height: 147px;
  padding: 32px;
  background: #fff;
  border: 1px solid #ededed;
}

.ehb-checks b {
  width: 36px;
  color: var(--red);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.ehb-checks p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.ehb-faq {
  width: 750px;
}

.ehb-faq details {
  margin-bottom: 16px;
  border: 1px solid #ededed;
  background: #fff;
}

.ehb-faq summary {
  display: flex;
  align-items: center;
  padding: 17px 24px;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

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

.ehb-faq summary:before {
  content: 'Q';
  margin-right: 20px;
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.ehb-faq summary:after {
  content: '+';
  margin-left: auto;
  color: var(--red);
  font-family: Arial, sans-serif;
  padding-left: 20px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  flex: 0 0 auto;
}

.ehb-faq details[open] summary:after {
  content: '−';
  font-size: 30px;
}

.ehb-faq details[open] summary {
  margin: 0 24px;
  padding-right: 0;
  padding-left: 0;
  border-bottom: 1px solid #ebebeb;
}

.ehb-faq details>p {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  padding: 20px 24px;
  font-size: 13px;
}

.ehb-faq details>p b {
  color: var(--ink);
  font-size: 24px;
}

.ehb-faq details>p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ehb-guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ehb-guides article {
  display: flex;
  height: 346px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #ebebeb;
  background: #fff;
}

.ehb-guides>article>img {
  width: 24px;
  height: 24px;
  margin: 0 auto 10px;
}

.ehb-guides h3 {
  font-size: 21px;
  line-height: 1.4;
  padding-bottom: 7px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--red);
  text-align: center;
}

.ehb-guides p {
  font-size: 14px;
  line-height: 1.5;
}

.ehb-guides a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: auto;
  padding: 10px 44px 10px 28px;
  border: 1px solid var(--red);
  color: var(--red)!important;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.ehb-guides a img {
  position: absolute;
  right: 16px;
}

.ehb-final {
  width: 980px;
  height: 299px;
  margin: 80px auto 0;
  padding: 48px 48px 48px 300px;
  border-radius: 8px;
  display: block;
  position: relative;
  overflow: visible;
  background: linear-gradient(rgba(28, 28, 28, .6), rgba(28, 28, 28, .6)), url('/img/plan/esim/data-plans/guide-bg.png') center/cover;
  color: #fff;
}

.ehb-final>div {
  width: 632px;
  padding: 0;
}

.ehb-final h2 {
  width: 100%;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid #fff;
  white-space: nowrap;
}

.ehb-final p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}

.ehb-final .ehb-button {
  margin-top: 32px;
  width: 240px;
  height: 48px;
  padding: 16px 24px;
  font-size: 16px;
}

.ehb-final>img {
  position: absolute;
  top: -35px;
  left: 6px;
  width: 281px;
  height: 334px;
  object-fit: contain;
  object-position: bottom;
}

@media (hover: hover) {
  .ehb-button:hover {
    background: #db0000;
  }

  .ehb-outline-button:hover, .ehb-guides a:hover {
    background: #c00;
    color: #fff!important;
  }

  .ehb-outline-button:hover img, .ehb-guides a:hover img {
    filter: brightness(0) invert(1);
  }

}

@media screen and (max-width: 799px) {
  .ehb-heading,
  .ehb-heading h2,
  .ehb-benefits header,
  .ehb-benefits header h2 {
    border: 0!important;
  }

  .ehb-shell, .ehb-steps-shell {
    width: calc(100% - 48px);
  }

  .ehb-steps, .ehb-faq, .ehb-compare {
    width: 100%;
  }

  .ehb-shell.ehb-faq {
    width: calc(100% - 40px);
  }

  .ehb-mistakes>.ehb-shell {
    width: calc(100% - 48px);
    gap: 24px;
  }

  .ehb-section {
    padding: 64px 0;
  }

  .ehb-heading {
    margin-bottom: 30px;
  }

  .ehb-heading>p, .ehb-kicker {
    font-size: 18px;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
  }

  .ehb-heading h2, .ehb-benefits h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .ehb-heading>div {
    font-size: 16px;
    margin-top: 20px;
  }

  .ehb-heading>div br {
    display: none;
  }

  .ehb-heading>.ehb-guides-copy br {
    display: block;
  }

  .ehb-compare-section .ehb-heading h2 br {
    display: none;
  }

  .ehb-compare-section .ehb-heading>div {
    text-align: left;
  }

  .ehb-heading>.ehb-before-copy {
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
  }

  .ehb-before-copy p {
    margin-bottom: 24px;
  }

  .ehb-hero {
    height: 518px;
    background-image: url('/img/plan/esim/how-to-buy/hero-sp.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .ehb-hero__inner {
    width: 100%;
    padding: 145px 20px 40px;
    align-items: flex-start;
  }

  .ehb-hero__copy {
    width: 100%;
    padding-bottom: 0;
  }

  .ehb-hero h1 {
    max-width: 335px;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .ehb-hero h1 br {
    display: none;
  }

  .ehb-hero p {
    width: 100%;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 98px;
  }

  .ehb-hero .ehb-button {
    width: 100%;
    height: 56px;
    font-size: 14px;
  }

  .ehb-breadcrumb {
    height: 40px;
    overflow: hidden;
  }

  .ehb-breadcrumb>div {
    padding: 0;
    white-space: nowrap;
    font-size: 12px;
  }

  .ehb-intro-cards {
    display: block;
  }

  .ehb-intro-cards article {
    width: 100%;
    min-height: 0;
    margin: 0 auto 28px;
    padding: 24px;
    border-bottom: 2px solid var(--red);
    background: #fff;
  }

  .ehb-intro-cards article:last-child {
    margin-bottom: 0;
  }

  .ehb-intro-cards img {
    display: block;
    width: 155px;
    height: auto;
    aspect-ratio: 508/328;
    margin: 0 auto;
    object-fit: contain;
  }

  .ehb-intro-cards h3 {
    font-size: 20px;
    margin: 14px 0 8px;
  }

  .ehb-intro-cards p {
    font-size: 14px;
    line-height: 1.7;
  }

  .ehb-steps article {
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    align-items: start;
  }

  .ehb-steps article>div {
    display: contents;
  }

  .ehb-steps>article>img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 120px;
    height: 91px;
    object-fit: cover;
  }

  .ehb-steps b {
    grid-column: 2;
    align-self: end;
    font-size: 14px;
  }

  .ehb-steps h3 {
    grid-column: 2;
    align-self: start;
    font-size: 20px;
    line-height: 1.4;
    margin: 2px 0 0;
  }

  .ehb-steps p, .ehb-steps li {
    font-size: 14px;
    line-height: 1.7;
  }

  .ehb-steps article>div>p,
  .ehb-steps article>div>ul,
  .ehb-steps article>div>.ehb-outline-button {
    grid-column: 1 / -1;
  }

  .ehb-steps article>div>p:first-of-type {
    margin-top: 24px;
  }

  .ehb-steps ul {
    padding-left: 0;
    margin-top: 7px;
  }

  .ehb-outline-button {
    width: 100%;
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .ehb-order-card {
    display: block;
    height: auto;
    min-height: 0;
    margin-top: 40px;
    padding: 28px 30px 205px;
    overflow: hidden;
    border-radius: 8px;
    text-align: left;
  }

  .ehb-order-card>div {
    width: 100%;
  }

  .ehb-order-card h2 {
    font-size: 30px;
    line-height: 1.25;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .ehb-order-card p {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .ehb-order-card .ehb-button {
    width: 100%;
    height: 47px;
    font-size: 14px;
  }

  .ehb-order-card>img {
    right: 50%;
    width: 154px;
    height: 183px;
    transform: translateX(calc(50% - 18px));
  }

  .ehb-compare {
    overflow: visible;
  }

  .ehb-compare>div {
    grid-template-columns: .67fr 1fr 1fr;
    min-width: 0;
  }

  .ehb-compare b, .ehb-compare span {
    min-height: 150px;
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .ehb-compare>div:nth-child(2)>* {
    min-height: 212px;
  }

  .ehb-compare__head b {
    min-height: 49px;
    padding: 10px 8px;
    font-size: 14px;
  }

  .ehb-benefits {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ehb-benefits header {
    text-align: center;
  }

  .ehb-benefits p {
    font-size: 16px;
    line-height: 1.6;
  }

  .ehb-benefits .ehb-benefits__lead {
    display: block;
    margin-bottom: 36px;
  }

  .ehb-benefits li {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .ehb-benefits small {
    font-size: 14px;
  }

  .ehb-checks {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ehb-checks article {
    min-height: 0;
    padding: 20px;
  }

  .ehb-checks b {
    font-size: 36px;
  }

  .ehb-checks p {
    font-size: 16px;
  }

  .ehb-faq details {
    margin-bottom: 14px;
  }

  .ehb-faq summary {
    padding: 20px 18px;
    font-size: 18px;
  }

  .ehb-faq summary:before {
    font-size: 24px;
    margin-right: 16px;
  }

  .ehb-faq details[open] summary {
    margin-right: 18px;
    margin-left: 18px;
  }

  .ehb-faq details>p {
    gap: 16px;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    padding: 18px;
  }

  .ehb-faq details>p b {
    font-size: 24px;
  }

  .ehb-guides {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ehb-guides article {
    height: auto;
    min-height: 0;
    padding: 24px;
    background: #fff;
  }

  .ehb-guides h3 {
    font-size: 20px;
  }

  .ehb-guides p {
    font-size: 14px;
    line-height: 1.7;
  }

  .ehb-guides a {
    gap: 0;
    margin-top: 1.7em;
    padding: 12px 44px 12px 28px;
    font-size: 13px;
  }

  .ehb-final {
    left: 50%;
    width: 350px;
    max-width: calc(100vw - 40px);
    height: 619px;
    min-height: 0;
    margin: 48px 0 0;
    padding: 20px;
    display: block;
    transform: translateX(-50%);
    overflow: hidden;
    border-radius: 10px;
    background-image: linear-gradient(rgba(28, 28, 28, .6), rgba(28, 28, 28, .6)), url('/img/plan/esim/data-plans/guide-bg_sp.png');
    background-position: center;
  }

  .ehb-final>div {
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0;
  }

  .ehb-final h2 {
    font-size: 36px;
    line-height: 1.2;
    padding-bottom: 12px;
    margin-bottom: 20px;
    white-space: normal;
  }

  .ehb-final p {
    font-size: 16px;
    line-height: 1.5;
  }

  .ehb-final__desktop-break {
    display: none;
  }

  .ehb-final .ehb-button {
    margin-top: 32px;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
  }

  .ehb-final>img {
    display: block;
    position: absolute;
    top: 344px;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 245px;
    max-width: none;
    height: 337px;
    clip-path: inset(0 23px 0 23px);
    z-index: 1;
    transform: translateX(-50%);
  }

}
