:root {
  --counsel-line: rgba(var(--text), 0.1);
  --counsel-soft: rgba(var(--theme), 0.06);
  --counsel-surface: rgba(var(--div-bg), 0.82);
  --counsel-panel: rgba(var(--div-bg), 0.92);
  --counsel-text-soft: rgba(var(--text), 0.68);
  --counsel-shadow: 0 22px 55px rgba(var(--theme), 0.12);
}

html[data-theme="dark"] {
  --counsel-line: rgba(var(--text), 0.14);
  --counsel-surface: rgba(var(--div-bg), 0.86);
  --counsel-panel: rgba(var(--div-bg), 0.92);
  --counsel-text-soft: rgba(var(--text), 0.72);
  --counsel-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.containers{
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 90px 0;
}

section header {
  text-align: center;
  margin-bottom: 34px;
}

section h2,
section h2 b {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: 0;
}

section header p,
.content-text p {
  color: var(--counsel-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

.content,
.contents {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.content {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.contents {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
}

.content-text {
  min-width: 0;
}

.content-text header {
  text-align: left;
  margin-bottom: 18px;
}

.content-text h2,
.content-text h2 b {
  font-size: clamp(25px, 4vw, 50px);
  line-height: 1.02;
  margin-top: 16px;
}

.content-img {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.content-img::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    z-index: 0;
    border-radius: 46% 54% 55% 45% / 45% 42% 58% 55%;
    background: rgba(var(--theme), 0.07);
    transform: rotate(-4deg);
}
.content-img img {
  width: min(100%, 620px);
  aspect-ratio: 1.05;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(var(--theme), 0.16));
}

.ad-tech.content {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--counsel-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--div-bg), 0.96), rgba(var(--theme), 0.08)),
    radial-gradient(circle at 88% 20%, rgba(var(--orange), 0.12), transparent 30%);
  box-shadow: var(--counsel-shadow);
  overflow: hidden;
}

.ad-tech .content-text > p:not(.last-update) {
  max-width: 780px;
  margin-bottom: 28px;
}

.last-update {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 2px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(var(--theme), 0.08);
  color: rgba(var(--theme), 1);
  font-size: 11px!important;
  font-weight: 800;
  line-height: 1;
}

.last-update svg {
  width: 16px;
  height: 16px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.link .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(var(--theme), 0.18);
}

.hero-price {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 3px 12px;
  margin: 0 0 20px;
  padding: 13px 18px;
  border: 1px solid rgba(var(--theme), 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--theme), 0.1), transparent 70%),
    rgba(var(--div-bg), 0.74);
  box-shadow: 0 14px 32px rgba(var(--theme), 0.09);
}

.hero-price span,
.hero-price small {
  color: rgba(var(--text), 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-price strong {
  grid-row: span 2;
  color: rgba(var(--orange), 1);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.table-of-contents {
  padding-top: 28px;
  padding-bottom: 0;
}

.table-of-contents details {
  border: 1px solid var(--counsel-line);
  border-radius: 8px;
  background: var(--counsel-surface);
  box-shadow: 0 16px 36px rgba(var(--theme), 0.08);
  overflow: hidden;
}

.table-of-contents summary {
  cursor: pointer;
  padding: 18px 22px;
  color: rgba(var(--theme), 1);
  font-weight: 900;
}

.table-of-contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.table-of-contents a {
  color: rgba(var(--text), 0.78);
  font-weight: 700;
}

.type {
  padding-bottom: 70px;
}

.type .slhead p {
  max-width: 680px;
  margin: 12px auto 0;
}

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

.type .item {
  position: relative;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--counsel-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--div-bg), 0.92), rgba(var(--theme), 0.055));
  box-shadow: 0 18px 38px rgba(var(--theme), 0.09);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.type .item::before {
  content: "";
  position: absolute;
  inset: auto -34px -54px auto;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: rgba(var(--theme), 0.09);
  transition: transform 0.25s ease, background 0.25s ease;
}

.type .item:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--theme), 0.3);
  box-shadow: var(--counsel-shadow);
}

.type .item:hover::before {
  transform: scale(1.25);
  background: rgba(var(--theme), 0.15);
}

.type .item img {
  position: relative;
  width: 148px;
  height: 148px;
  object-fit: contain;
}

.type .item h3 {
  position: relative;
  color: rgba(var(--theme), 1);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.type .item p {
  position: relative;
  margin: 0;
  color: rgba(var(--text), 0.72);
  font-weight: 750;
}

.type .item span {
  color: rgba(var(--theme), 1);
}


.how-to > header p,
.how-to > header h2 {
  margin-inline: auto;
}

.how-to .flex.container {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.phone {
  display: flex;
  justify-content: center;
}

.phone img {
  width: min(100%, 620px);
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(var(--theme), 0.16));
}

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(var(--theme), 0.16);
  border-radius: 8px;
  background: var(--counsel-panel);
  box-shadow: 0 14px 32px rgba(var(--theme), 0.08);
}

.num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--theme), 1);
  color: rgba(var(--op-theme), 1);
  font-size: 22px;
  font-weight: 900;
}

.data h3 {
  margin-bottom: 8px;
  color: rgba(var(--text), 1);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.data p {
  margin: 0;
  color: var(--counsel-text-soft);
  line-height: 1.8;
}

.personal .content {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--counsel-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--div-bg), 0.92), rgba(var(--theme), 0.06));
  box-shadow: 0 18px 46px rgba(var(--theme), 0.09);
}

.personal header {
  text-align: left;
}

.steps-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  width: 2px;
  height: calc(100% - 18px);
  background: rgba(var(--theme), 0.16);
}

.step-item:last-child::before {
  display: none;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--orange), 1);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(var(--orange), 0.24);
}

.step-item h4 {
  color: rgba(var(--theme), 1);
  font-size: 19px;
  font-weight: 900;
}

.step-item p {
  margin: 4px 0 0;
  color: var(--counsel-text-soft);
  line-height: 1.65;
}

.compare-wrap {
  color: rgba(var(--op-theme), 1);
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--op-theme), 0.2), transparent 28%),
    linear-gradient(135deg, rgba(var(--theme), 1), rgba(var(--theme), 0.82));
}

.compare-wrap .section {
  overflow-x: auto;
  padding-bottom: 8px;
}

.compare-wrap header p {
  max-width: 680px;
  margin: 10px auto 0;
  color: rgba(var(--op-theme), 0.78);
}

table.compare {
  width: 100%;
  max-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(var(--op-theme), 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(var(--op-theme), 0.08);
  margin: auto;
}

.compare th,
.compare td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(var(--op-theme), 0.14);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  color: rgba(var(--op-theme), 0.84);
  font-weight: 900;
}

.compare th:nth-child(2),
.compare td:nth-child(2) {
  background: rgba(var(--op-theme), 0.14);
}

.center {
  text-align: center;
}

.yes span,
.no span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.yes span {
  background: rgba(var(--green), 1);
}

.no span {
  background: rgba(var(--red), 1);
}

.testimonial {
  padding: 90px 20px;
  text-align: center;
  background: rgba(var(--theme), 0.045);
}

.testimonial header p {
  max-width: 560px;
  margin: 12px auto 0;
}

.t-slider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: auto;
}

.t-track-wrap {
  overflow: hidden;
  flex: 1;
}

.t-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.t-card {
  min-width: calc((100% - 40px) / 3);
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--counsel-line);
  border-radius: 8px;
  background: var(--counsel-panel);
  text-align: left;
  box-shadow: 0 16px 34px rgba(var(--theme), 0.08);
}

.t-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.t-head img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.t-head h4 {
  margin: 0;
  color: rgba(var(--text), 0.95);
  font-size: 18px;
  font-weight: 900;
}

.t-head small,
.t-card p {
  color: var(--counsel-text-soft);
}

.t-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
}

.t-star {
  color: rgba(var(--orange), 1);
  letter-spacing: 2px;
}

.t-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--counsel-line);
  border-radius: 50%;
  background: rgba(var(--div-bg), 0.95);
  color: rgba(var(--theme), 1);
  box-shadow: 0 12px 26px rgba(var(--theme), 0.13);
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.t-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(var(--theme), 0.18);
}

@media (max-width: 1100px) {
  .content,
  .contents,
  .how-to .flex.container {
    grid-template-columns: 1fr;
  }

  .contents .content-img {
    order: 2;
  }

  .type .flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-img img {
    max-height: 430px;
  }
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }

  .ad-tech.content,
  .personal .content {
    padding: 24px;
  }

  .table-of-contents ol,
  .type .flex {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
  }

  .num {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .t-card {
    min-width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .t-card {
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 520px) {
  .ad-tech.content {
    margin-top: 14px;
  }

  .type .item {
    min-height: 260px;
    padding: 22px;
  }

  .t-slider {
    gap: 8px;
  }

  .t-btn {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
