/* NetShort subscription cancellation guide. */

.page-cancel {
  scroll-behavior: smooth;
}

.cancel-main {
  padding-top: 42px;
}

.cancel-shell {
  width: min(920px, 92%);
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: var(--grad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  color: #6b6b7b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.article-breadcrumb a {
  color: #b31270;
  font-weight: 700;
}

.article-breadcrumb a:hover {
  color: #df5a00;
}

.article-hero {
  text-align: center;
}

.article-label {
  margin-bottom: 14px;
  color: #b31270;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #696978;
  font-size: 0.9rem;
  font-weight: 500;
}

.article-lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: #20202b;
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.article-lead + .article-lead {
  margin-top: 16px;
}

.article-feature-image {
  width: 100%;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid #ffe1ee;
  border-radius: 22px;
  background: #fff7fb;
  box-shadow: 0 18px 44px rgba(18, 18, 60, 0.08);
}

.article-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 157;
  object-fit: cover;
}

.quick-answer {
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px solid #ffd1e5;
  border-radius: 20px;
  background: #fff7fb;
  box-shadow: 0 14px 34px rgba(18, 18, 60, 0.05);
}

.quick-answer h2 {
  margin: 0 0 14px;
  color: #14141f;
  font-size: 1.28rem;
  font-weight: 900;
}

.quick-answer ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.quick-answer li {
  color: #272733;
  font-size: 1rem;
  line-height: 1.7;
}

.quick-answer strong {
  color: #a90f69;
  font-weight: 800;
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #eee8ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 18, 60, 0.04);
}

.article-toc p {
  width: 100%;
  margin-bottom: 3px;
  color: #14141f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-toc a {
  color: #5b5b6b;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-toc a:hover,
.article-toc a[aria-current="location"] {
  color: #bd1477;
}

.article-body {
  margin-top: 8px;
}

.cancel-section {
  margin-top: 48px;
}

.cancel-copy {
  margin-top: 28px;
}

.cancel-copy p {
  margin: 0;
  color: #000000;
  font-size: 1.03rem;
  line-height: 1.8;
}

.cancel-copy p + p,
.cancel-copy p + h3,
.cancel-copy ul + p,
.cancel-copy ol + h3 {
  margin-top: 20px;
}

.cancel-copy h3 {
  margin: 32px 0 12px;
  color: #14141f;
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.4;
}

.article-list {
  display: grid;
  gap: 11px;
  margin: 20px 0;
  padding-left: 24px;
  list-style: disc;
}

.article-list li {
  color: #111119;
  font-size: 1rem;
  line-height: 1.75;
}

.article-list strong {
  color: #14141f;
  font-weight: 800;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 24px;
}

.provider-card {
  padding: 21px;
  border: 1px solid #ffe1ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 18, 60, 0.04);
}

.provider-card-wide {
  grid-column: 1 / -1;
}

.provider-card h3 {
  margin: 0 0 7px;
  color: #14141f;
  font-size: 1.05rem;
  font-weight: 850;
}

.provider-card p {
  color: #353541;
  font-size: 0.96rem;
  line-height: 1.65;
}

.billing-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid #eee4eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 18, 60, 0.045);
}

.billing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.billing-table th,
.billing-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #f0e8ed;
  text-align: left;
  vertical-align: top;
}

.billing-table th {
  background: #171720;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
}

.billing-table td {
  color: #22222e;
  line-height: 1.6;
}

.billing-table td:first-child {
  font-weight: 700;
}

.billing-table tbody tr:nth-child(even) {
  background: #fff9fc;
}

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

.cancel-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0 4px;
  padding: 0;
  list-style: none;
}

.cancel-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #f0e8ed;
  border-radius: 14px;
  background: #ffffff;
  color: #171721;
  font-size: 1rem;
  line-height: 1.65;
}

.step-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 9px;
  background: var(--grad);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.note-box,
.warning-box {
  margin-top: 24px;
  padding: 19px 21px;
  border-radius: 15px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.note-box {
  border: 1px solid #ffd1e5;
  background: #fff5fa;
  color: #242430;
}

.warning-box {
  border: 1px solid #ffd9b8;
  background: #fff9f2;
  color: #2b2520;
}

.note-box strong,
.warning-box strong {
  display: block;
  margin-bottom: 4px;
  color: #a70f68;
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid #eee5ec;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 18, 60, 0.035);
}

.faq-list summary {
  position: relative;
  padding: 18px 50px 18px 20px;
  color: #16161f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: #c3137c;
  font-size: 1.35rem;
  font-weight: 800;
  transform: translateY(-50%);
}

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

.faq-list details p {
  padding: 0 20px 19px;
  color: #30303c;
  font-size: 0.98rem;
  line-height: 1.75;
}

.editorial-note {
  margin: 48px 0 24px;
  padding-top: 22px;
  border-top: 1px solid #eee8ef;
}

.editorial-note p {
  color: #666676;
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-cancel :focus-visible {
  outline: 3px solid #16161f;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .cancel-main {
    padding-top: 26px;
  }

  .article-breadcrumb {
    margin-bottom: 24px;
  }

  .article-byline {
    gap: 6px;
    font-size: 0.83rem;
  }

  .article-lead {
    margin-top: 20px;
    font-size: 1.03rem;
  }

  .article-feature-image {
    margin-top: 28px;
    border-radius: 16px;
  }

  .quick-answer {
    margin-top: 30px;
    padding: 21px 19px;
  }

  .article-toc {
    padding: 16px;
  }

  .cancel-section {
    margin-top: 38px;
  }

  .cancel-copy {
    margin-top: 22px;
  }

  .cancel-copy h3 {
    margin-top: 27px;
    font-size: 1.16rem;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .provider-card-wide {
    grid-column: auto;
  }

  .cancel-steps li {
    padding: 14px;
    gap: 11px;
  }

  .faq-list summary {
    padding: 16px 44px 16px 16px;
    font-size: 0.96rem;
  }

  .faq-list summary::after {
    right: 16px;
  }

  .faq-list details p {
    padding: 0 16px 17px;
  }
}
