:root {
  --bg-dark: #0f172a;
  --bg-deeper: #0b1120;
  --bg-light: #f8fafc;
  --card-bg: #161b22;
  --text-light: #0f172a;
  --text-dark: #f8fafc;
  --muted: #64748b;
  --line: #e2e8f0;
  --color-cloud: #00e5ff;
  --color-pingknow: #10b981;
  --danger: #dc2626;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-light);
  background: var(--color-pingknow);
  line-height: 1.6;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-pingknow);
}

.page-shell {
  min-height: 100vh;
  padding: 0;
}

.card {
  width: 100%;
  max-width: min(940px, 100vw);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px;
  background: rgba(248, 250, 252, 0.92);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  min-width: 0;
}

.brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
}

.pingknow-mark {
  width: 196px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.language-control select {
  width: 126px;
  min-height: 40px;
  padding: 0 10px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.55);
  border-radius: 30px;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.language-control select:hover {
  color: var(--color-pingknow);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-pingknow);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--bg-dark);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

h2 {
  margin-bottom: 10px;
  color: var(--bg-dark);
  font-size: 1.18rem;
  font-weight: 800;
}

.lead {
  max-width: 720px;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.8;
}

.notice,
.data-section {
  margin: 24px 0;
  padding: 20px;
  border-radius: 8px;
  max-width: 100%;
  min-width: 0;
}

.notice {
  color: var(--text-dark);
  background: var(--card-bg);
  border: 2px solid rgba(16, 185, 129, 0.24);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.13);
  overflow: hidden;
}

.notice li::marker {
  color: var(--color-pingknow);
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  margin: 8px 0;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
}

form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.06);
  max-width: 100%;
  min-width: 0;
}

.form-field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--bg-dark);
  font-weight: 720;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--bg-dark);
  background: #fff;
  font: inherit;
  line-height: 1.45;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(16, 185, 129, 0.2);
  border-color: var(--color-pingknow);
}

.field-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--bg-dark);
  font-weight: 520;
  line-height: 1.6;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-pingknow);
}

.field-error,
.form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-status {
  color: var(--muted);
}

.captcha-wrap {
  min-height: 68px;
}

.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 30px;
  color: var(--bg-dark);
  background: var(--color-pingknow);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.34);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 24px -8px rgba(16, 185, 129, 0.44);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.data-section {
  color: var(--bg-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.05);
}

.data-section p,
.retention,
.policy-section p {
  color: #475569;
  line-height: 1.75;
}

.data-section li::marker {
  color: var(--color-pingknow);
}

.retention {
  margin: 16px 0 0;
}

.success-view {
  padding: 56px 0 34px;
  text-align: center;
}

.success-view p {
  max-width: 620px;
  margin: 0 auto;
  color: #475569;
  line-height: 1.8;
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--bg-dark);
  background: var(--color-pingknow);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.38);
}

.success-icon::before {
  content: "";
  width: 18px;
  height: 10px;
  border-bottom: 4px solid var(--bg-dark);
  border-left: 4px solid var(--bg-dark);
  transform: rotate(-45deg) translate(1px, -1px);
}

.policy-view {
  width: 100%;
  max-width: 780px;
  min-width: 0;
}

.policy-content {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  width: 100%;
  min-width: 0;
}

.policy-section {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.04);
}

.policy-section h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.policy-section h3 {
  margin: 22px 0 8px;
  color: var(--bg-dark);
  font-size: 1rem;
  font-weight: 800;
}

.policy-section p {
  margin-bottom: 12px;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: #047857;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-contact {
  font-weight: 720;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 34px;
  padding: 24px 0 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-logo {
  width: 132px;
  height: auto;
}

.footer-pingknow {
  width: 148px;
  padding: 0;
  background: transparent;
  border-radius: 8px;
}

.support-contact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--color-pingknow);
}

.footer a[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.footer a[aria-disabled="true"]:hover {
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (min-width: 760px) {
  .page-shell {
    display: grid;
    place-items: center;
    padding: 44px 24px;
  }

  .card {
    min-height: auto;
    padding: 38px 42px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  }

  h1 {
    max-width: 760px;
    font-size: 3rem;
    line-height: 1.08;
    word-break: normal;
  }

  .field-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  * {
    max-width: 100%;
  }

  .page-shell,
  .card {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .card {
    padding: 16px;
    contain: inline-size;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-lockup {
    display: grid;
    gap: 8px;
  }

  .pingknow-mark {
    width: 168px;
  }

  .language-control select {
    width: 138px;
    padding: 0 8px;
  }

  form,
  .notice,
  .data-section,
  .policy-section {
    width: 100%;
    padding: 16px;
    overflow: hidden;
  }

  .policy-view,
  .policy-content {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 1.42rem;
    line-height: 1.22;
  }

  p,
  .notice li,
  .data-section li,
  .policy-section li,
  .policy-section p,
  .lead {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .policy-section p,
  .policy-section li,
  .lead {
    word-break: break-all;
  }
}
