/* Content-rich sections added to the long-form Australia guide */
.editorial {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.editorial::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: 80px;
  right: -250px;
  border-radius: 50%;
  background: rgba(48, 216, 197, .06);
  filter: blur(80px);
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 24px;
}

.prose-card,
.facts-card,
.content-block,
.security-card {
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: linear-gradient(145deg, #111724 0%, #0c111c 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
}

.prose-card h3,
.facts-card h3,
.content-block h3,
.security-card h3 {
  margin: 0 0 18px;
  color: #f8f9fc;
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.prose-card p,
.content-block > p,
.security-card li {
  color: #aeb6c6;
  font-size: 14px;
  line-height: 1.85;
}

.prose-card p:first-of-type {
  margin-top: 0;
}

.prose-card p:last-child,
.content-block > p:last-child {
  margin-bottom: 0;
}

.facts-card {
  background: radial-gradient(circle at 100% 0, rgba(255, 106, 42, .1), transparent 42%), #0d121e;
}

.facts-card dl {
  margin: 0;
}

.facts-card dl > div {
  display: grid;
  grid-template-columns: minmax(90px, .8fr) minmax(120px, 1.2fr);
  align-items: start;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.facts-card dt {
  color: #7f899d;
  font-size: 12px;
}

.facts-card dd {
  margin: 0;
  color: #f3f5f9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.content-block {
  margin-top: 48px;
}

.content-block > p {
  max-width: 920px;
}

.table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: #0a0f19;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
}

.table-wrap caption {
  padding: 21px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(90deg, rgba(255, 106, 42, .11), transparent 60%);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
}

.table-wrap thead {
  background: rgba(255, 255, 255, .045);
}

.table-wrap th,
.table-wrap td {
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  overflow-wrap: anywhere;
  vertical-align: top;
}

.table-wrap th:last-child,
.table-wrap td:last-child {
  border-right: 0;
}

.table-wrap th {
  color: #dce1ea;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.table-wrap td {
  color: #aeb7c6;
  font-size: 12px;
  line-height: 1.65;
}

.table-wrap td:first-child {
  color: #f2f4f8;
  font-weight: 800;
}

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

.table-wrap tbody tr:hover td {
  background: rgba(255, 255, 255, .024);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.comparison-grid article {
  min-width: 0;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .032);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.comparison-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 42, .35);
  background: rgba(255, 106, 42, .055);
}

.comparison-grid span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.comparison-grid h4 {
  margin: 13px 0 9px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.comparison-grid p {
  margin: 0;
  color: #929caf;
  font-size: 12px;
  line-height: 1.7;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: stretch;
  gap: 18px;
}

.login-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.login-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: #101622;
}

.login-steps b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 106, 42, .35);
  border-radius: 10px;
  background: rgba(255, 106, 42, .08);
  color: var(--orange);
  font-size: 11px;
}

.login-steps h3 {
  margin: 0 0 8px;
  color: #f7f8fb;
  font-size: 16px;
  line-height: 1.3;
}

.login-steps p {
  margin: 0;
  color: #929caf;
  font-size: 12px;
  line-height: 1.7;
}

.security-card {
  background: radial-gradient(circle at 100% 0, rgba(48, 216, 197, .15), transparent 46%), #101622;
}

.security-card h3 {
  margin-top: 20px;
}

.security-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-card li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  font-size: 12px;
}

.security-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.security-card li:last-child {
  border-bottom: 0;
}

.notice {
  margin-top: 24px;
  padding: 19px 21px;
  border: 1px solid rgba(255, 106, 42, .18);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 106, 42, .065);
  color: #bdc5d2;
  font-size: 12px;
  line-height: 1.75;
}

.notice strong {
  color: #fff;
}

.faq-section {
  width: var(--shell);
  max-width: 980px;
}

.faq-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #0d121d;
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  padding: 23px 64px 23px 26px;
  color: #f3f5f9;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background .2s ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  background: rgba(255, 255, 255, .025);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 106, 42, .28);
  border-radius: 50%;
  color: var(--orange);
  font-size: 20px;
  font-weight: 500;
}

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

.faq-list p {
  max-width: 850px;
  margin: 0;
  padding: 0 64px 25px 26px;
  color: #9ba5b8;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .intro-grid,
  .login-layout {
    grid-template-columns: 1fr;
  }

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

  .facts-card dl > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .prose-card,
  .facts-card,
  .content-block,
  .security-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .prose-card p,
  .content-block > p {
    font-size: 13px;
    line-height: 1.78;
  }

  .facts-card dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .facts-card dd {
    text-align: left;
  }

  .content-block {
    margin-top: 32px;
  }

  .comparison-grid,
  .login-steps {
    grid-template-columns: 1fr;
  }

  .comparison-grid article,
  .login-steps article {
    padding: 21px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .table-wrap caption {
    display: block;
    width: 100%;
    padding: 18px 19px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    font-size: 15px;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tbody {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .table-wrap tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: #0d121d;
  }

  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(105px, .85fr) minmax(0, 1.4fr);
    gap: 14px;
    padding: 13px 15px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    font-size: 11px;
  }

  .table-wrap td::before {
    content: attr(data-label);
    color: #7f899c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .table-wrap td:first-child {
    padding-top: 16px;
    background: rgba(255, 106, 42, .06);
    color: #fff;
  }

  .table-wrap td:last-child {
    padding-bottom: 16px;
    border-bottom: 0;
  }

  .faq-list summary {
    padding: 19px 54px 19px 19px;
    font-size: 14px;
  }

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

  .faq-list p {
    padding: 0 20px 21px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .table-wrap td {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .login-steps article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
  }

  .login-steps b {
    width: 34px;
    height: 34px;
  }
}
