.oauth-info-page {
  color: var(--ink);
  background: #f7f9fc;
}

.oauth-main {
  padding-top: var(--header-height);
}

.oauth-hero {
  overflow: hidden;
  padding: 104px 0 92px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(64, 134, 255, 0.24), transparent 31%),
    radial-gradient(circle at 12% 88%, rgba(31, 211, 172, 0.15), transparent 30%),
    linear-gradient(140deg, #06101e 0%, #0b2140 58%, #102e58 100%);
}

.oauth-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 58px;
  align-items: center;
}

.oauth-kicker,
.oauth-section-heading > span {
  display: inline-block;
  color: #66d9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.oauth-name-label {
  margin: 28px 0 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 700;
}

.oauth-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.oauth-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.7;
}

.oauth-commitment {
  max-width: 760px;
  margin: 18px 0 0;
  padding-left: 16px;
  color: rgba(218, 232, 248, 0.75);
  border-left: 3px solid #36d7ba;
  font-size: 15px;
  line-height: 1.75;
}

.oauth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.oauth-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.04);
}

.oauth-actions .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.oauth-summary {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.oauth-summary-mark {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  color: #fff;
  border-radius: 19px;
  background: linear-gradient(135deg, #2b7cff, #815ce8);
  box-shadow: 0 12px 30px rgba(43, 124, 255, 0.28);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  place-items: center;
}

.oauth-summary dl {
  margin: 0;
}

.oauth-summary dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.oauth-summary dl div:last-child {
  border-bottom: 0;
}

.oauth-summary dt {
  color: rgba(255, 255, 255, 0.53);
  font-size: 13px;
  font-weight: 700;
}

.oauth-summary dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.oauth-section {
  padding: 92px 0;
  background: #fff;
}

.oauth-section-tint {
  background: #eef5ff;
}

.oauth-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.oauth-section-heading > span {
  color: var(--primary);
}

.oauth-section-heading h2,
.oauth-section-dark h2 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.oauth-section-heading p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
}

.oauth-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oauth-steps li {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.oauth-steps li > span {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.oauth-steps h3,
.oauth-permission-grid h3,
.oauth-control-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.oauth-steps p,
.oauth-permission-grid p,
.oauth-control-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.75;
}

.oauth-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.oauth-permission-grid article {
  padding: 32px;
  border: 1px solid rgba(30, 99, 233, 0.13);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(26, 75, 145, 0.07);
}

.oauth-permission-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.oauth-permission-head span {
  padding: 6px 9px;
  color: #fff;
  border-radius: 8px;
  background: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.oauth-permission-head code {
  color: #23436e;
  font-size: 13px;
  font-weight: 750;
}

.oauth-data-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  margin-top: 22px;
  padding: 26px 30px;
  color: #dce9fa;
  border-radius: 22px;
  background: #10294a;
}

.oauth-data-note strong {
  color: #fff;
  font-size: 16px;
}

.oauth-data-note p {
  margin: 0;
  color: rgba(226, 238, 252, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.oauth-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 60px;
  align-items: center;
}

.oauth-check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oauth-check-list li {
  position: relative;
  padding: 16px 20px 16px 50px;
  color: var(--ink-soft);
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: #f9fbfd;
  font-size: 15px;
  line-height: 1.65;
}

.oauth-check-list li::before {
  position: absolute;
  top: 17px;
  left: 19px;
  display: grid;
  width: 21px;
  height: 21px;
  content: "✓";
  color: #fff;
  border-radius: 50%;
  background: #17b894;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.oauth-control-card {
  padding: 36px;
  border: 1px solid #dce8f5;
  border-radius: 28px;
  background: linear-gradient(150deg, #f7fbff, #eef4ff);
}

.oauth-control-card > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.oauth-control-card h3 {
  font-size: 27px;
}

.oauth-control-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.oauth-control-links a {
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
  color: #174d9f;
  border: 1px solid rgba(30, 99, 233, 0.15);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.oauth-control-links a::after {
  content: "↗";
}

.oauth-section-dark {
  color: #fff;
  background: #071523;
}

.oauth-policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(250px, 0.65fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.oauth-section-dark h2 {
  color: #fff;
}

.oauth-section-dark p {
  color: rgba(218, 232, 248, 0.68);
  line-height: 1.75;
}

.oauth-policy-links {
  display: grid;
  gap: 10px;
}

.oauth-policy-links a {
  padding: 14px 16px;
  color: #e3f0ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 750;
}

.oauth-operator {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.oauth-operator div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.oauth-operator div:last-child {
  border-bottom: 0;
}

.oauth-operator dt {
  color: rgba(218, 232, 248, 0.48);
  font-size: 12px;
}

.oauth-operator dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.oauth-operator a {
  color: #8edcff;
}

@media (max-width: 980px) {
  .oauth-hero-layout,
  .oauth-two-column,
  .oauth-policy-layout {
    grid-template-columns: 1fr;
  }

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

  .oauth-summary {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .oauth-hero {
    padding: 76px 0 68px;
  }

  .oauth-hero-layout {
    gap: 36px;
  }

  .oauth-hero h1 {
    font-size: 54px;
  }

  .oauth-lead {
    font-size: 18px;
  }

  .oauth-section {
    padding: 68px 0;
  }

  .oauth-steps,
  .oauth-permission-grid {
    grid-template-columns: 1fr;
  }

  .oauth-steps li {
    min-height: 0;
  }

  .oauth-steps li > span {
    margin-bottom: 22px;
  }

  .oauth-data-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .oauth-summary,
  .oauth-permission-grid article,
  .oauth-control-card {
    padding: 24px;
    border-radius: 20px;
  }

  .oauth-summary dl div {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}
