@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --brand: #A800FF;
  --brand-d: #8A00D1;
  --accent: #2C73FF;
  --link: #9A30F5;
  --brand-gradient: linear-gradient(135deg, #2C73FF, #A800FF);
  --navy: #16163c;
  --ink: #33334a;
  --gray: #6b7280;
  --line: #e6e6ef;
  --bg: #f5f4f8;
  --green: #1f9d55;
  --amber: #d9822b;
  --red: #b02a37;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font);
  color: var(--ink);
  min-width: 320px;
  overflow-x: hidden;
}

.promo {
  background: var(--brand-gradient);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px;
}

nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
}

.logo .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  background: var(--brand);
}

.logo .mark.has-icon {
  background: transparent;
  padding: 0;
}

.logo .mark.has-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-lockup {
  width: auto;
  height: auto;
  max-width: 250px;
  display: block;
}

.logo .nm small {
  color: var(--gray);
  font-weight: 600;
}

nav .sp {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brandsw {
  display: flex;
  gap: 5px;
  background: #f1f0f6;
  border-radius: 999px;
  padding: 4px;
}

.brandsw button {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gray);
}

.brandsw button.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.wrap {
  max-width: 660px;
  margin: 26px auto;
  padding: 0 18px;
  width: 100%;
}

h1 {
  font-size: 30px;
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 800;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.lede {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 20px;
  word-wrap: break-word;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(38, 43, 50, .08);
  margin-bottom: 14px;
  overflow: hidden;
  word-wrap: break-word;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 14px 0 6px;
}

input {
  width: 100%;
  max-width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--brand);
}

select {
  width: 100%;
  max-width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-sizing: border-box;
}

select:focus {
  outline: none;
  border-color: var(--brand);
}

textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  margin-top: 18px;
  box-sizing: border-box;
}

.primary {
  background: var(--brand);
  color: #fff;
}

.primary:hover {
  background: var(--brand-d);
}

.ghost {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  margin-top: 10px;
}

.link {
  background: none;
  border: 0;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  margin-top: 12px;
  text-decoration: underline;
}

.hint {
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
}

.err {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-top: 10px;
}

.chooser {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.choice {
  flex: 1;
  min-width: 240px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  transition: .15s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

/* .choice is a real <a> (server-rendered chooser, JS-free): neutralise the UA link
   default so it renders identically to the former <div class="choice"> — no underline,
   inherits body ink instead of link-blue. Child colors (h3/p/.go) are unchanged. */
a.choice {
  text-decoration: none;
  color: inherit;
}

.choice:hover,
.choice:active {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(38, 43, 50, .14);
}

.choice h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
  pointer-events: none;
}

.choice p {
  margin: 0 0 12px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
}

.choice .go {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  pointer-events: none;
}

.center {
  text-align: center;
  padding: 14px 6px;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 5px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 8px auto 14px;
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ricon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 4px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
}

.ok {
  background: var(--green);
}

.verify {
  background: var(--brand);
}

.review {
  background: var(--amber);
}

.deny {
  background: var(--red);
}

.block {
  background: var(--gray);
}

.rtitle {
  text-align: center;
  color: var(--navy);
  font-size: 21px;
  margin: 0 0 8px;
  font-weight: 800;
}

.rbody {
  text-align: center;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 460px;
}

.detail {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 18px;
  font-size: 14px;
}

.detail div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.detail div:last-child {
  border: 0;
}

.detail .k {
  color: var(--gray);
}

.detail .v {
  color: var(--navy);
  font-weight: 600;
}

.otp {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 4px;
}

.otp input {
  width: 46px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.fees {
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff);
  border-radius: 11px;
  padding: 14px 16px;
  font-size: 14px;
  margin-top: 16px;
}

.fees .ln {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.fees .nb {
  border-top: 1px dashed color-mix(in srgb, var(--brand) 35%, #fff);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 800;
  color: var(--brand);
}

.ref {
  text-align: center;
  color: var(--gray);
  font-size: 12.5px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.foot {
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  padding: 20px;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.b-jira {
  background: #dde3ff;
  color: #2f4cff;
}

.b-otp {
  background: #f0e7fb;
  color: #9b00e8;
}

.b-dedupe {
  background: #fff2d9;
  color: #9a6700;
}

.secondary {
  background: var(--gray);
  color: #fff;
}

.secondary:hover {
  background: var(--ink);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .promo {
    font-size: 11px;
    padding: 6px;
  }

  nav {
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 17px;
    gap: 8px;
  }

  .logo .mark {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .brandsw {
    gap: 4px;
    padding: 3px;
  }

  .brandsw button {
    font-size: 11px;
    padding: 5px 10px;
  }

  .wrap {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 15px;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .lede {
    font-size: 14.5px;
  }

  .card {
    padding: 20px;
    border-radius: 14px;
  }

  .chooser {
    gap: 12px;
  }

  .choice {
    min-width: 100%;
    padding: 18px;
  }

  .choice h3 {
    font-size: 17px;
  }

  .detail {
    padding: 10px 14px;
    font-size: 13px;
  }

  .rbody {
    font-size: 14px;
    max-width: 100%;
  }

  .rtitle {
    font-size: 19px;
  }

  .ricon {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .promo {
    font-size: 10px;
    padding: 5px;
  }

  nav {
    padding: 8px 12px;
  }

  .logo {
    font-size: 16px;
    gap: 7px;
  }

  .logo .mark {
    width: 24px;
    height: 24px;
    font-size: 13px;
    border-radius: 6px;
  }

  .logo .nm small {
    display: none;
  }

  nav .sp {
    flex: 1;
    justify-content: flex-end;
  }

  nav .sp > span {
    display: none;
  }

  .brandsw {
    gap: 3px;
    padding: 2px;
  }

  .brandsw button {
    font-size: 10px;
    padding: 4px 8px;
  }

  .wrap {
    margin: 15px auto;
    padding: 0 12px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .lede {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .tag {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 12px;
  }

  .card {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  label {
    font-size: 12px;
    margin: 12px 0 5px;
  }

  input,
  select,
  textarea {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    margin-top: 16px;
  }

  .link {
    font-size: 12px;
    margin-top: 10px;
  }

  .hint {
    font-size: 11px;
    margin-top: 5px;
  }

  .err {
    font-size: 12px;
    margin-top: 8px;
  }

  .chooser {
    gap: 10px;
  }

  .choice {
    padding: 16px;
    border-radius: 14px;
  }

  .choice h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .choice p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .choice .go {
    font-size: 13px;
  }

  .detail {
    padding: 10px 12px;
    font-size: 12px;
    border-radius: 8px;
    margin-top: 14px;
  }

  .detail div {
    padding: 4px 0;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .rbody {
    font-size: 13px;
  }

  .rtitle {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .ricon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin: 2px auto 12px;
  }

  .otp {
    gap: 6px;
    margin: 14px 0 4px;
  }

  .otp input {
    width: 40px;
    font-size: 18px;
  }

  .fees {
    padding: 12px 14px;
    font-size: 13px;
    margin-top: 14px;
    border-radius: 10px;
  }

  .fees .ln {
    padding: 3px 0;
  }

  .ref {
    font-size: 11px;
    margin-top: 14px;
  }

  .foot {
    font-size: 11px;
    padding: 15px;
  }

  .badge {
    font-size: 9px;
    padding: 2px 6px;
    margin-left: 4px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 22px;
  }

  .card {
    padding: 14px;
  }

  input,
  select,
  textarea {
    padding: 9px 11px;
    font-size: 13px;
  }

  .btn {
    padding: 11px 18px;
    font-size: 13px;
  }

  .choice {
    padding: 14px;
  }

  .otp input {
    width: 36px;
    font-size: 16px;
  }
}

/* Landscape mode adjustments for mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .wrap {
    margin: 10px auto;
  }

  .card {
    padding: 14px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .lede {
    margin-bottom: 12px;
  }

  label {
    margin: 10px 0 4px;
  }

  .btn {
    margin-top: 12px;
  }
}
