:root {
  --bg: #eef7ff;
  --paper: #ffffff;
  --ink: #041f41;
  --heading: #0071ce;
  --muted: #4d6078;
  --line: #d8e8f5;
  --soft-blue: rgba(0, 113, 206, 0.08);
  --blue: #0071ce;
  --blue-dark: #0053a0;
  --navy: #041f41;
  --yellow: #ffc220;
  --yellow-dark: #e7a900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.wrap {
  min-height: 100vh;
  display: grid;
  align-items: safe center;
  justify-items: center;
  padding: 18px 12px 28px;
}

.phone {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid #dcebf7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 194, 32, 0.22), transparent 28%),
    radial-gradient(circle at 88% 31%, rgba(0, 113, 206, 0.13), transparent 26%),
    var(--paper);
  box-shadow: 0 18px 55px rgba(4, 31, 65, 0.16);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 14px;
}

.brand-link {
  display: block;
  width: min(300px, 78%);
  aspect-ratio: 3746 / 968;
  overflow: hidden;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  transform: translateY(-27.6%);
}

.hero {
  padding: 0 18px 18px;
  text-align: center;
}

.kicker,
.label,
.t {
  color: var(--muted);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.kicker {
  margin-bottom: 7px;
  color: var(--blue-dark);
}

.hero h1 {
  margin: 0;
  color: var(--heading);
  font-size: 34px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-title-link,
.text-link {
  color: inherit;
  text-decoration: none;
}

.hero p {
  width: min(270px, 100%);
  margin: 12px auto 0;
  color: var(--muted);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.howto {
  padding: 0 18px;
}

.label {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 14px;
  text-align: center;
}

.panel {
  overflow: hidden;
  border: 1px solid rgba(0, 113, 206, 0.1);
  border-radius: 18px;
  background: var(--soft-blue);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(0, 113, 206, 0.1);
}

.row:last-child {
  border-bottom: 0;
}

.num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(231, 169, 0, 0.24);
}

.row h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.cta {
  padding: 14px 18px;
  text-align: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  width: 100%;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0782e3 0%, var(--blue) 52%, var(--blue-dark) 100%);
  background-size: 180% 180%;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 83, 160, 0.26);
  animation: cta-gradient 2600ms ease infinite;
  transition: background 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.btn span {
  color: var(--yellow);
  font-size: 1.35em;
  line-height: 1;
}

.btn:hover,
.btn:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-1px);
  outline: 3px solid rgba(255, 194, 32, 0.7);
  outline-offset: 3px;
}

.btn:active {
  box-shadow: 0 6px 12px rgba(0, 83, 160, 0.22);
  transform: translateY(2px) scale(0.98);
}

.micro {
  margin-top: 10px;
  color: var(--muted);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.divider {
  height: 1px;
  background: var(--line);
}

.availability {
  padding: 14px 18px 18px;
}

.availability .t {
  text-align: center;
}

.pills {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #dbeaf7;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #f7fbff;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 650;
}

.pills span:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

@keyframes cta-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    animation: none;
  }
}

@media (max-width: 759px) and (max-height: 760px) {
  .wrap {
    padding-top: 8px;
  }

  .header {
    padding: 12px 16px 10px;
  }

  .brand-link {
    width: min(220px, 68%);
  }

  .hero {
    padding: 0 16px 8px;
  }

  .kicker {
    margin-bottom: 4px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
  }

  .howto {
    padding: 0 16px;
  }

  .label {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .row {
    min-height: 43px;
    padding: 6px 12px;
  }

  .num {
    width: 30px;
    height: 30px;
  }

  .row h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .cta {
    padding: 8px 16px 10px;
  }

  .btn {
    min-height: 50px;
    font-size: 16px;
  }

  .micro {
    margin-top: 6px;
    font-size: 10px;
  }
}

@media (min-width: 760px) {
  .wrap {
    place-items: center;
    padding: 32px 24px;
  }

  .phone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    grid-template-areas:
      "header header"
      "hero howto"
      "availability howto"
      "cta cta"
      "divider divider";
    column-gap: 24px;
    width: min(900px, calc(100vw - 48px));
    border-radius: 26px;
  }

  .header {
    grid-area: header;
    padding: 28px 28px 10px;
  }

  .brand-link {
    width: 330px;
  }

  .hero {
    grid-area: hero;
    align-self: center;
    padding: 40px 28px 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    margin-top: 16px;
  }

  .howto {
    grid-area: howto;
    padding: 24px 28px 0 0;
  }

  .cta {
    grid-area: cta;
    padding: 18px 28px 22px;
  }

  .divider {
    grid-area: divider;
  }

  .availability {
    grid-area: availability;
    padding: 18px 28px 20px;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding: 44px 32px;
  }

  .phone {
    grid-template-columns: minmax(360px, 0.92fr) minmax(430px, 1.08fr);
    grid-template-areas:
      "header header"
      "hero howto"
      "availability cta"
      "divider divider";
    column-gap: 34px;
    width: min(1060px, calc(100vw - 64px));
    border-radius: 30px;
  }

  .header {
    padding: 32px 34px 10px;
  }

  .brand-link {
    width: 360px;
  }

  .hero {
    padding: 48px 34px 28px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .hero p {
    width: min(300px, 100%);
    font-size: 14px;
  }

  .howto {
    padding: 30px 34px 0 0;
  }

  .row {
    min-height: 70px;
    padding: 16px;
  }

  .cta {
    align-self: start;
    padding: 18px 34px 26px 0;
  }

  .btn {
    min-height: 62px;
    font-size: 19px;
  }

  .availability {
    align-self: start;
    padding: 20px 34px 28px;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .brand-link {
    width: min(280px, 86%);
  }

}
