@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: min(5.2083333333vw, 100px);
  background: #fffcfd;
}

body {
  color: #28222b;
  background: #fffcfd;
  font-family: "Inter", Arial, sans-serif;
  font-optical-sizing: none;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  height: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding-block: .42rem;
  background: #fffcfd;
}

.header-inner,
.container {
  position: relative;
  width: 13.2rem;
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.header-logo {
  flex: 0 0 auto;
  width: .62rem;
  height: .62rem;
}

.header-title {
  font-size: .27rem;
  font-weight: 600;
  line-height: 1.26;
}

.section {
  position: relative;
  max-width: 19.2rem;
  margin-inline: auto;
}

.section .container {
  height: 100%;
}

.section-copy,
.phone-img {
  position: absolute;
}

.section-copy {
  z-index: 1;
}

.section-title {
  margin-bottom: .6rem;
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.1;
}

.section-desc {
  color: #70616d;
  font-size: .3rem;
  font-weight: 400;
  line-height: 1.5;
}

.section-1 {
  height: 10.4rem;
}

.section-1 .section-copy {
  top: 3.4rem;
  left: 0;
}

.section-1 .section-title {
  margin-bottom: .53rem;
  font-size: 1.18rem;
  line-height: 1;
}

.section-1 .section-desc {
  font-size: .33rem;
  line-height: 1.49;
}

.phone-1 {
  top: 1.4rem;
  left: 5.75rem;
  width: 9.66rem;
}

.section-2 {
  height: 8.4rem;
}

.section-2 .section-copy {
  top: 2.64rem;
  left: 7.4rem;
}

.section-2 .section-title {
  margin-bottom: .56rem;
}

.phone-2 {
  top: 0;
  left: -.65rem;
  width: 7.56rem;
}

.section-3 {
  height: 8.8rem;
}

.section-3 .section-copy {
  top: 2.52rem;
  left: 0;
}

.section-3 .section-title {
  margin-bottom: .72rem;
  font-size: .88rem;
  line-height: 1.06;
}

.phone-3 {
  top: 0;
  left: 6.15rem;
  width: 8.6rem;
}

.brand {
  min-height: 9rem;
  padding: .95rem .24rem .8rem;
  color: #fff5fa;
  background: #251d27 url("./images/bg.webp") center top / 13.2rem 9rem no-repeat;
}

.brand-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo {
  width: 1.76rem;
  height: 1.76rem;
  margin-bottom: .53rem;
}

.brand-title {
  margin-bottom: 1.16rem;
  font-size: .77rem;
  font-weight: 600;
  line-height: 1.13;
}

.brand-disclaimer {
  max-width: 12rem;
  color: #cdbbc8;
  font-size: .25rem;
  font-weight: 400;
  line-height: 1.52;
}

@media (max-width: 900px) {
  html {
    font-size: 16px;
    scroll-padding-top: 88px;
  }

  .header {
    padding: 14px 20px;
  }

  .header-inner {
    width: 100%;
    max-width: 560px;
    gap: 10px;
  }

  .header-logo {
    width: 40px;
    height: 40px;
  }

  .header-title {
    font-size: clamp(13px, 3.6vw, 18px);
    line-height: 1.3;
  }

  .section {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 40px 24px 24px;
  }

  .section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 560px;
    height: auto;
  }

  .section .section-copy,
  .section .phone-img {
    position: static;
  }

  .section .section-copy {
    width: 100%;
    text-align: center;
  }

  .section .section-title {
    margin-bottom: 22px;
    font-size: clamp(36px, 9.6vw, 52px);
    line-height: 1.08;
  }

  .section .section-desc {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.5;
  }

  .section-1 {
    padding-top: 116px;
  }

  .section-1 .section-title {
    font-size: clamp(48px, 13vw, 68px);
  }

  .phone-1 {
    width: min(120%, 520px);
    max-width: calc(100vw - 12px);
  }

  .phone-2 {
    width: min(112%, 460px);
    max-width: calc(100vw - 24px);
  }

  .phone-3 {
    width: min(118%, 480px);
    max-width: calc(100vw - 12px);
  }

  .section-3 {
    padding-bottom: 44px;
  }

  .brand {
    min-height: 0;
    padding: 56px 24px 64px;
    background-size: auto 100%;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 30px;
  }

  .brand-title {
    margin-bottom: 48px;
    font-size: clamp(28px, 7.6vw, 42px);
    line-height: 1.15;
  }

  .brand-disclaimer {
    max-width: 520px;
    font-size: 13px;
    line-height: 1.65;
  }

  .desktop-break {
    display: none;
  }
}
