:root {
  --bg: #f7f2e8;
  --bg-alt: #fff9f0;
  --surface: rgba(255, 252, 246, 0.78);
  --surface-strong: #fffdf8;
  --text: #231b12;
  --muted: #6e6254;
  --line: rgba(70, 50, 26, 0.12);
  --brand: #c89143;
  --brand-deep: #e1b16a;
  --accent: #a56d26;
  --shadow: 0 20px 60px rgba(89, 63, 28, 0.14);
  --shadow-soft: 0 12px 28px rgba(89, 63, 28, 0.09);
  --button-height: 54px;
  --button-padding-x: 24px;
  --card-radius: 26px;
  --card-padding: 30px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(200, 145, 67, 0.22), transparent 25%),
    radial-gradient(circle at top right, rgba(225, 177, 106, 0.18), transparent 20%),
    linear-gradient(180deg, #f3ebde 0%, #f8f3ea 55%, #fffdf8 100%);
}

.page-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.45;
  z-index: -1;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: 110px;
  right: -60px;
  background: rgba(225, 177, 106, 0.28);
}

.orb-b {
  width: 220px;
  height: 220px;
  bottom: 120px;
  left: -40px;
  background: rgba(200, 145, 67, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(70, 50, 26, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(252, 248, 241, 0.82);
  border-bottom: 1px solid rgba(23, 33, 38, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(165, 109, 38, 0.12);
  box-shadow: 0 10px 24px rgba(89, 63, 28, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: rgba(165, 109, 38, 0.35);
  transform: scaleX(0.4);
  transform-origin: left center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 6px auto;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hero {
  padding: 78px 0 42px;
}

.inner-hero {
  padding: 82px 0 48px;
}

.hero-grid,
.inner-hero-grid,
.about-grid,
.promise-grid,
.contact-card,
.panel-row,
.footer-wrap {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.9fr;
  align-items: start;
  gap: 34px;
}

.inner-hero-grid {
  grid-template-columns: 1.15fr 0.7fr;
  align-items: start;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "DM Serif Display", "Songti SC", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.7vw, 4rem);
  max-width: none;
}

h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
}

h3 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-text,
.section-lead,
.card p,
.feature-list p,
.about-copy p,
.case-card span,
.matrix-card p,
.timeline-step span,
.detail-list,
.profile-card p,
.admin-user-card p,
.log-item span {
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.96rem;
}

.hero-text {
  max-width: 50ch;
  margin: 18px 0 0;
}

.section-lead {
  max-width: 50ch;
}

.hero-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.hero-copy h1 {
  font-size: clamp(1.72rem, 2.6vw, 2.38rem);
  line-height: 1.14;
  max-width: 14.5ch;
}

.inner-hero h1 {
  font-size: clamp(1.78rem, 2.6vw, 2.42rem);
  line-height: 1.14;
  max-width: 18ch;
}

.hero-copy,
.about-copy,
.section-heading,
.feature-list article,
.card,
.matrix-card,
.detail-card,
.timeline-step,
.inner-summary,
.auth-card,
.admin-user-card,
.log-item {
  word-break: break-word;
}

.hero-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(70, 50, 26, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: 0 var(--button-padding-x);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, #241b13, #3b2a1c);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.hero-actions .button,
.auth-inline .button,
.admin-actions .button,
.admin-user-actions .button,
.report-links .button,
.contact-items .button {
  min-width: 164px;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-stats li,
.panel-card,
.card,
.case-card,
.contact-card {
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.hero-stats li {
  min-height: 136px;
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-stats strong {
  display: block;
  font-size: 1.36rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-panel {
  position: relative;
  padding: 20px;
}

.panel-card {
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.panel-card::before,
.card::before,
.matrix-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 145, 67, 0.6), rgba(200, 145, 67, 0));
  pointer-events: none;
}

.panel-card p,
.case-card p {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
}

.panel-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(70, 50, 26, 0.08);
}

.panel-seal img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.panel-seal span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-main {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(250, 237, 213, 0.96)),
    linear-gradient(135deg, rgba(200, 145, 67, 0.15), transparent 60%);
}

.panel-main h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  margin-bottom: 10px;
  line-height: 1.16;
}

.panel-main span {
  color: var(--muted);
  line-height: 1.76;
  font-size: 0.95rem;
}

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

.panel-metrics article {
  padding-top: 16px;
  border-top: 1px solid rgba(70, 50, 26, 0.08);
}

.panel-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.panel-row .panel-card span {
  color: var(--muted);
  line-height: 1.75;
}

.panel-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.panel-note {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(70, 50, 26, 0.08);
}

.hero-note {
  margin-top: 16px;
  box-shadow: var(--shadow-soft);
  width: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.panel-note strong {
  font-size: 0.98rem;
}

.inner-summary,
.profile-card,
.detail-card,
.timeline-step,
.cta-banner,
.auth-card {
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow);
}

.auth-shell {
  display: block;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.auth-intro,
.auth-panel {
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow);
}

.auth-intro {
  padding: 42px 42px 38px;
}

.auth-panel {
  padding: 30px 30px 28px;
  display: grid;
  align-content: start;
  gap: 20px;
}

.auth-title {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
  text-wrap: balance;
}

.auth-eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.auth-lead {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
}

.auth-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-shortcuts .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.auth-feature-card,
.auth-check-item,
.auth-path-mini {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.auth-feature-card-large {
  grid-column: 1 / -1;
  padding: 22px 22px 20px;
}

.auth-feature-card span,
.auth-path-mini span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-feature-card strong,
.auth-check-item strong,
.auth-path-mini strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.34;
}

.auth-feature-card p,
.auth-check-item p,
.auth-path-mini p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

.auth-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.auth-panel-head {
  display: grid;
  gap: 8px;
}

.auth-panel-eyebrow {
  margin: 0;
}

.auth-panel-title {
  margin: 0;
  font-size: clamp(1.56rem, 2.2vw, 2.08rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.auth-panel-copy,
.auth-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

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

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(70, 50, 26, 0.08);
}

.auth-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.auth-inline {
  display: flex;
  gap: 12px;
  align-items: end;
}

.auth-grow {
  flex: 1;
}

.auth-button,
.auth-submit {
  white-space: nowrap;
}

.auth-submit {
  min-width: 160px;
}

.auth-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-message[data-error="true"] {
  color: #b42318;
}

.inner-summary {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.78);
}

.inner-summary p {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
}

.inner-summary strong,
.inner-summary span {
  display: block;
}

.inner-summary strong {
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.inner-summary span {
  color: var(--muted);
  line-height: 1.85;
}

.section {
  padding: 78px 0;
}

.trust-strip {
  padding: 10px 0 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item,
.promise-point {
  padding: 24px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-item span,
.promise-point span,
.contact-copy {
  color: var(--muted);
  line-height: 1.8;
}

.trust-item span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.trust-item strong,
.promise-point strong {
  display: block;
  font-size: 1rem;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.86), rgba(255, 246, 233, 0.97)),
    radial-gradient(circle at top right, rgba(200, 145, 67, 0.06), transparent 28%);
  border-top: 1px solid rgba(23, 33, 38, 0.05);
  border-bottom: 1px solid rgba(23, 33, 38, 0.05);
}

.section-heading {
  margin-bottom: 24px;
  max-width: none;
}

.section-heading h2,
.promise-copy h2,
.contact-card h2,
.report-card h2 {
  max-width: none;
  text-wrap: balance;
}

.contact-card h2,
.report-card h2 {
  font-size: clamp(1.36rem, 1.7vw, 1.72rem);
  line-height: 1.18;
}

.promise-copy h2 {
  font-size: clamp(1.38rem, 1.9vw, 1.84rem);
  line-height: 1.18;
}

.service-intro {
  max-width: 68ch;
  margin: -6px 0 26px;
}

.service-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
  align-items: end;
}

.cards,
.feature-list,
.case-grid,
.contact-items {
  display: grid;
  gap: 18px;
}

.three-up,
.feature-list,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.matrix-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.matrix-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
}

.matrix-card p {
  margin: 12px 0 0;
}

.detail-grid,
.timeline-grid,
.profile-layout,
.service-method-grid {
  display: grid;
  gap: 18px;
}

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

.service-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
  padding: 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
}

.profile-card p {
  margin: 12px 0 0;
}

.detail-card {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.method-card {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 145, 67, 0.6), rgba(200, 145, 67, 0));
}

.method-card span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin-bottom: 12px;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.94rem;
}

.detail-list {
  margin: 20px 0 0;
  padding-left: 18px;
}

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

.timeline-step {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.timeline-step strong {
  display: block;
  margin-bottom: 10px;
}

.timeline-step span {
  display: block;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(245, 231, 205, 0.94));
}

.card {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: rgba(255, 252, 246, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.card:focus-within,
.matrix-card:hover,
.matrix-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(89, 63, 28, 0.12);
  border-color: rgba(165, 109, 38, 0.18);
}

.card-index {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(200, 145, 67, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3,
.matrix-card h3,
.detail-card h3 {
  margin-bottom: 12px;
}

.card-anchor {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(70, 50, 26, 0.08);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-list article {
  padding: 4px 10px 0 0;
}

.feature-list h3 {
  margin-bottom: 10px;
}

.case-card {
  min-height: 280px;
  border-radius: 28px;
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case-card span {
  color: rgba(255, 255, 255, 0.82);
}

.accent-a {
  background: linear-gradient(180deg, rgba(201, 145, 67, 0.38), rgba(176, 120, 44, 0.96));
}

.accent-b {
  background: linear-gradient(180deg, rgba(223, 177, 103, 0.4), rgba(187, 133, 56, 0.96));
}

.accent-c {
  background: linear-gradient(180deg, rgba(97, 69, 32, 0.42), rgba(61, 42, 19, 0.96));
}

.about-grid {
  grid-template-columns: 0.45fr 1fr;
  align-items: start;
}

.promise-grid {
  grid-template-columns: 1fr 0.95fr;
  align-items: start;
}

.promise-points {
  display: grid;
  gap: 14px;
}

.promise-point strong {
  margin-bottom: 8px;
}

.contact-section {
  padding-bottom: 86px;
}

.report-section {
  padding-top: 0;
  padding-bottom: 86px;
}

.report-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow);
}

.report-links {
  display: grid;
  gap: 14px;
  justify-items: end;
  align-content: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
}

.admin-shell {
  display: grid;
  gap: 26px;
}

.admin-bar,
.admin-actions,
.admin-stats,
.admin-user-head,
.admin-user-actions {
  display: flex;
  gap: 14px;
}

.admin-bar,
.admin-user-head {
  align-items: center;
  justify-content: space-between;
}

.admin-actions,
.admin-user-actions {
  flex-wrap: wrap;
  align-items: center;
}

.admin-stats {
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat-card {
  min-width: 140px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.stat-card strong,
.status-chip {
  display: block;
}

.stat-card strong {
  font-size: 1.4rem;
}

.stat-card span {
  color: var(--muted);
}

.admin-user-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.admin-user-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.admin-user-card p {
  margin: 12px 0 0;
}

.status-chip {
  min-width: 84px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.status-active {
  background: rgba(18, 183, 106, 0.14);
  color: #027a48;
}

.status-disabled {
  background: rgba(180, 35, 24, 0.14);
  color: #b42318;
}

.status-terminated,
.status-archived {
  background: rgba(165, 109, 38, 0.14);
  color: var(--accent);
}

.profile-view {
  display: grid;
  gap: 12px;
  margin: 16px 0 22px;
  color: var(--muted);
}

.profile-view p {
  margin: 0;
}

.log-list {
  display: grid;
  gap: 12px;
}

.log-item {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(70, 50, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.log-item span {
  display: block;
}

.contact-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, #8f6126, #d2a154);
  color: #fff;
}

.contact-card .eyebrow,
.contact-card a,
.contact-card span,
.contact-copy {
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy {
  max-width: 42ch;
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
}

.contact-items {
  justify-items: end;
  align-content: center;
  gap: 18px;
}

.contact-items a,
.contact-items span {
  max-width: 30ch;
  font-size: 0.94rem;
  line-height: 1.68;
  text-align: right;
}

.contact-items a:hover,
.contact-items a:focus-visible {
  color: #fff;
}

.site-footer {
  padding: 4px 0 28px;
}

.footer-wrap {
  grid-template-columns: 0.9fr 1.3fr;
  align-items: start;
  color: var(--muted);
  padding: 22px 0 0;
  border-top: 1px solid rgba(70, 50, 26, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--text);
}

.footer-brand p,
.footer-meta p {
  margin: 6px 0 0;
}

.footer-meta {
  justify-self: stretch;
  text-align: right;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}

.footer-info {
  display: grid;
  gap: 10px;
  justify-items: end;
  width: 100%;
}

.footer-info p {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  gap: 12px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.record-link {
  margin-left: 0;
}

.footer-link {
  color: var(--accent);
  white-space: nowrap;
  font-size: 0.94rem;
}

.record-link:hover,
.record-link:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

@media (max-width: 960px) {
  .hero-grid,
  .inner-hero-grid,
  .split,
  .trust-grid,
  .three-up,
  .matrix-grid,
  .profile-layout,
  .detail-grid,
  .timeline-grid,
  .service-method-grid,
  .dashboard-grid,
  .feature-list,
  .case-grid,
  .about-grid,
  .promise-grid,
  .contact-card,
  .report-card,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .contact-items {
    justify-items: start;
  }

  .contact-items a,
  .contact-items span {
    max-width: none;
    text-align: left;
  }

  .admin-bar,
  .admin-user-head {
    align-items: start;
    flex-direction: column;
  }

  .report-links {
    justify-items: start;
  }

  .footer-meta {
    justify-self: start;
    text-align: left;
    max-width: none;
  }

  .footer-links {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    width: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .nav-wrap {
    min-height: 68px;
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 16px 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 28px 0 24px;
  }

  .inner-hero {
    padding: 34px 0 28px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.42rem, 5.6vw, 1.9rem);
  }

  .hero-copy h1,
  .inner-hero h1 {
    max-width: none;
    font-size: clamp(1.48rem, 6.2vw, 1.96rem);
    line-height: 1.16;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-badge {
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero-badge span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .hero-text,
  .section-lead,
  .card p,
  .feature-list p,
  .about-copy p,
  .case-card span,
  .matrix-card p,
  .timeline-step span,
  .detail-list,
  .profile-card p,
  .contact-copy,
  .contact-items a,
  .contact-items span {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .promise-copy h2,
  .contact-card h2,
  .report-card h2,
  .section-heading h2 {
    max-width: none;
    font-size: clamp(1.26rem, 5.2vw, 1.64rem);
  }

  .hero-actions,
  .hero-stats,
  .panel-row,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 0;
  }

  .panel-seal {
    margin-bottom: 16px;
    padding: 7px 10px 7px 7px;
  }

  .panel-main {
    min-height: 0;
  }

  .panel-main h2 {
    font-size: clamp(1.34rem, 5.4vw, 1.72rem);
    margin-bottom: 8px;
  }

  .panel-main span,
  .panel-row .panel-card span,
  .panel-note span,
  .panel-note strong {
    line-height: 1.68;
  }

  .panel-metrics {
    gap: 10px;
    margin-top: 18px;
  }

  .panel-metrics article {
    padding-top: 12px;
  }

  .panel-row {
    margin-top: 14px;
    gap: 12px;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .card,
  .detail-card,
  .profile-card,
  .timeline-step,
  .matrix-card,
  .report-card,
  .cta-banner,
  .contact-card,
  .auth-intro,
  .auth-panel,
  .auth-form,
  .admin-user-card {
    padding: 22px;
    border-radius: 22px;
  }

  .auth-inline {
    display: grid;
  }

  .hero-actions {
    display: grid;
    justify-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-stats li {
    min-height: 0;
    padding: 18px;
  }

  .hero-note {
    min-height: 0;
    padding: 18px;
  }

  .hero-actions .button,
  .auth-inline .button,
  .admin-actions .button,
  .admin-user-actions .button,
  .report-links .button,
  .contact-items .button,
  .auth-submit {
    width: 100%;
    min-width: 0;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-feature-grid,
  .auth-checklist,
  .auth-paths-compact {
    grid-template-columns: 1fr;
  }

  .auth-shortcuts {
    display: grid;
  }

  .auth-shortcuts .button {
    width: 100%;
  }

  .auth-title {
    max-width: none;
    font-size: clamp(1.76rem, 5vw, 2.36rem);
    line-height: 1.08;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: flex-start;
    width: auto;
  }

  .footer-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer {
    padding-bottom: 22px;
  }

  .footer-wrap {
    gap: 14px;
    padding-top: 18px;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-logo {
    width: 48px;
    height: 48px;
  }

  .footer-meta {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 0.82rem;
    line-height: 1.18;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    top: 66px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy h1,
  .inner-hero h1 {
    font-size: clamp(1.38rem, 7vw, 1.72rem);
  }

  .auth-title {
    white-space: normal;
    font-size: clamp(1.56rem, 7vw, 2rem);
    line-height: 1.12;
  }

  .auth-panel-title {
    font-size: clamp(1.28rem, 6vw, 1.58rem);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .panel-main h2 {
    font-size: clamp(1.24rem, 6vw, 1.52rem);
  }

  .panel-card p,
  .case-card p {
    margin-bottom: 8px;
    font-size: 0.84rem;
  }

  .panel-note strong {
    font-size: 0.9rem;
    word-break: break-all;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    width: 100%;
  }

  .footer-link {
    min-height: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .panel-card,
  .card,
  .detail-card,
  .profile-card,
  .timeline-step,
  .matrix-card,
  .report-card,
  .cta-banner,
  .contact-card,
  .auth-card,
  .admin-user-card {
    padding: 18px;
    border-radius: 18px;
  }
}

.login-reference-page {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 48%, rgba(221, 165, 74, 0.28), transparent 22%),
    radial-gradient(circle at 34% 46%, rgba(96, 208, 187, 0.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(40, 112, 223, 0.22), transparent 21%),
    radial-gradient(circle at 88% 84%, rgba(236, 181, 83, 0.18), transparent 18%),
    linear-gradient(135deg, #07131f 0%, #0f2134 44%, #08111d 100%);
}

.login-reference-page .page-orb,
.login-reference-page .site-header {
  display: none;
}

.login-topbar {
  position: relative;
  z-index: 3;
  background: rgba(248, 244, 236, 0.98);
  border-bottom: 1px solid rgba(126, 98, 52, 0.14);
}

.login-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #171826;
}

.login-brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(165, 109, 38, 0.14);
  box-shadow: 0 10px 24px rgba(89, 63, 28, 0.18);
}

.login-brand-copy {
  display: flex;
  flex-direction: column;
}

.login-brand-copy strong {
  font-size: 0.96rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.login-brand-copy small {
  margin-top: 2px;
  color: #7b6c54;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.login-top-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #5f5b52;
  font-size: 0.92rem;
  font-weight: 600;
}

.login-top-links a {
  transition: color 180ms ease;
}

.login-top-links a:hover,
.login-top-links a:focus-visible {
  color: #8a642d;
}

.login-stage {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
}

.login-stage-glow,
.login-stage-ribbon {
  position: absolute;
  pointer-events: none;
}

.login-stage-glow {
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.56;
}

.login-stage-glow-a {
  width: 420px;
  height: 420px;
  left: -90px;
  top: 180px;
  background: rgba(197, 147, 64, 0.14);
}

.login-stage-glow-b {
  width: 320px;
  height: 320px;
  right: -40px;
  bottom: 110px;
  background: rgba(54, 132, 226, 0.12);
}

.login-stage-ribbon {
  inset: auto -10% 12% -10%;
  height: 280px;
  background:
    radial-gradient(circle at 16% 56%, rgba(236, 190, 94, 0.54) 0, rgba(236, 190, 94, 0.12) 20%, transparent 42%),
    radial-gradient(circle at 48% 50%, rgba(104, 198, 214, 0.48) 0, rgba(104, 198, 214, 0.12) 20%, transparent 44%),
    radial-gradient(circle at 86% 68%, rgba(205, 160, 81, 0.42) 0, rgba(205, 160, 81, 0.08) 17%, transparent 38%);
  filter: blur(26px);
  opacity: 0.52;
  transform: skewY(-6deg);
}

.login-stage-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 520px);
  align-items: center;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.login-visual {
  max-width: 660px;
  padding: 34px 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(230, 214, 185, 0.12);
  box-shadow: 0 28px 60px rgba(4, 10, 20, 0.12);
  backdrop-filter: blur(10px);
}

.login-visual-kicker {
  margin: 0 0 18px;
  color: rgba(220, 196, 154, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.login-visual-title {
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 8px 24px rgba(5, 11, 22, 0.18);
}

.login-visual-lead {
  margin: 22px 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.76;
  white-space: pre-line;
}

.login-visual-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 32rem;
}

.login-visual-points article {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(226, 210, 181, 0.1);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 30px rgba(4, 10, 20, 0.08);
}

.login-visual-points span {
  display: block;
  color: rgba(225, 232, 241, 0.88);
  font-size: 0.94rem;
  line-height: 1.74;
}

.login-card {
  padding: 44px 42px 30px;
  border-radius: 28px;
  background: rgba(251, 248, 242, 0.97);
  color: #1e2030;
  border: 1px solid rgba(176, 144, 94, 0.18);
  box-shadow: 0 34px 80px rgba(5, 11, 22, 0.28);
}

.login-card-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(25, 31, 52, 0.08);
  padding-bottom: 16px;
}

.login-tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: #a1a5b4;
  font: inherit;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease;
}

.login-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: #ad7b32;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.login-tab.active,
.login-tab:hover,
.login-tab:focus-visible {
  color: #2f3544;
}

.login-tab.active::after {
  transform: scaleX(1);
}

.login-panels {
  padding-top: 24px;
}

.login-panel {
  display: none;
}

.login-panel.active {
  display: block;
}

.login-panel-head h2,
.login-placeholder h2 {
  margin: 0;
  color: #2c3142;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}

.login-panel-head p,
.login-placeholder p {
  margin: 10px 0 0;
  color: #8c90a1;
  font-size: 0.92rem;
  line-height: 1.8;
}

.account-mode-switch {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  padding: 4px;
  border-radius: 999px;
  background: #f4f5f8;
}

.account-mode-btn {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #80869a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.account-mode-btn.active {
  background: #ffffff;
  color: #202536;
  box-shadow: 0 8px 20px rgba(15, 18, 34, 0.08);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.login-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(219, 32, 56, 0.18);
  background: #eef3ff;
}

.login-field:focus-within {
  border-color: #df1d3c;
  box-shadow: 0 0 0 3px rgba(223, 29, 60, 0.08);
}

.login-field-icon {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #9aa1b4;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
}

.login-reference-page input {
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f2332;
}

.login-reference-page input::placeholder {
  color: #9097ab;
}

.login-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: stretch;
}

.login-field-grow {
  min-width: 0;
}

.login-send-code,
.login-submit,
.login-switch-link {
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-send-code:hover,
.login-submit:hover,
.login-switch-link:hover,
.login-send-code:focus-visible,
.login-submit:focus-visible,
.login-switch-link:focus-visible {
  transform: translateY(-1px);
}

.login-send-code {
  min-height: 54px;
  border-radius: 4px;
  background: #f3f4f8;
  color: #555b6c;
  font-size: 0.9rem;
  font-weight: 700;
}

.login-send-code:disabled,
.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.login-help {
  margin: 2px 0 0;
  color: #8b90a2;
  font-size: 0.88rem;
  line-height: 1.76;
}

.login-recovery-note {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 245, 233, 0.96), rgba(255, 250, 244, 0.98));
  border: 1px solid rgba(214, 136, 62, 0.18);
  color: #5e4124;
}

.login-recovery-note strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.login-recovery-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
}

.login-recovery-note code {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #8d2f14;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  word-break: break-all;
}

.login-message {
  min-height: 22px;
  color: #6f7588;
}

.login-submit {
  min-height: 54px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d50425, #bf0024);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(201, 0, 38, 0.18);
}

.login-secondary-btn {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #202536;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-secondary-btn:hover,
.login-secondary-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(32, 37, 54, 0.18);
}

.login-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  color: #4463f0;
  font-size: 0.9rem;
}

.login-placeholder {
  display: grid;
  gap: 14px;
  padding: 18px 0 4px;
}

.login-switch-link {
  justify-self: start;
  padding: 0;
  background: transparent;
  color: #d41433;
  font-size: 0.94rem;
  font-weight: 700;
}

.login-switch-link.inline {
  justify-self: auto;
  display: inline;
}

.login-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  color: #666d80;
  font-size: 0.92rem;
}

.login-follow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f2f8;
  color: #353b4b;
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .login-stage-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .login-visual {
    max-width: none;
    padding: 10px 0 0;
  }

  .login-visual-lead {
    max-width: 42ch;
  }

  .login-card {
    width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .login-topbar-inner {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .login-top-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .login-visual-title {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .login-visual-points {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 28px 22px 24px;
  }

  .login-card-tabs {
    gap: 18px;
    justify-content: space-between;
  }

  .login-tab {
    font-size: 0.96rem;
  }

  .login-code-row {
    grid-template-columns: 1fr;
  }

  .login-links {
    gap: 10px;
    flex-wrap: wrap;
  }
}
