@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/Poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/Poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/Poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/Poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/Montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/Montserrat-700.woff2") format("woff2"); }

.afx-a {
  --a-blue: #1E39D6;
  --a-heading: #121CA4;
  --a-gold: #D5AA55;
  --a-gold-hover: #B77F27;
  --a-ink: #393A56;
  --a-muted: #70788F;
  --a-page: #F4F6FB;
  --a-card-line: #E6E9F2;
  --a-field: #FAFBFD;
  --a-field-line: #E4E8F2;
  --a-field-hover: rgba(213, 170, 85, 0.55);
  --a-field-text: #08122D;
  --a-field-ph: #8A90A2;
  --a-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --a-field-h: 40px;
  --a-field-py: 9px;
  --a-btn-h: 40px;
  --a-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 12S5.5 4.5 12 4.5 22.5 12 22.5 12 18.5 19.5 12 19.5 1.5 12 1.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --a-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1A10 10 0 0 1 12 4.5c6.5 0 10.5 7.5 10.5 7.5a18 18 0 0 1-2.4 3.4M6.6 6.6C3.4 8.6 1.5 12 1.5 12s4 7.5 10.5 7.5a9.8 9.8 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E");

  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: 100vh;
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--a-ink);
  background: var(--a-page);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.afx-a *, .afx-a *::before, .afx-a *::after { box-sizing: border-box; }
:where(.afx-a) :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }

.afx-a-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 44px clamp(36px, 5vw, 80px);
  color: #fff;
  background: var(--a-blue);
  overflow: hidden;
}
.afx-a-brand::before,
.afx-a-brand::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(213, 170, 85, 0.55);
  pointer-events: none;
}
.afx-a-brand::before { right: -260px; top: -300px; width: 640px; height: 640px; }
.afx-a-brand::after  { right: -120px; top: -170px; width: 380px; height: 380px; border-color: rgba(213, 170, 85, 0.35); }
.afx-a-brand > * { position: relative; z-index: 1; }

.afx-a-pitch { margin: auto 0; max-width: 544px; }
.afx-a-tagline {
  margin: 0;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #fff;
}
.afx-a-app {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.afx-a-app h2 {
  margin: 0;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--a-gold);
}
.afx-a-app > p {
  margin: 8px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}
.afx-a-caps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.afx-a-caps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.afx-a-caps li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(213, 170, 85, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23D5AA55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.afx-a-main {
  display: flex;
  justify-content: center;
  padding: 48px 24px 32px;
}
.afx-a-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
  margin: auto 0;
}
.afx-a-logo { width: 150px; height: auto; display: block; margin-bottom: 26px; }

.afx-a-intro { width: 100%; margin-bottom: 22px; text-align: center; }
.afx-a-intro h1 {
  margin: 0;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--a-heading);
}
.afx-a-intro p { margin: 8px 0 0; font-size: 15px; color: var(--a-muted); }

.afx-a-card {
  width: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--a-card-line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(16, 24, 64, 0.07);
}
.afx-a-lead { margin: 0; font-size: 15px; color: var(--a-ink); }
.afx-a-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--a-muted);
}
.afx-a-notice::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2370788F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.afx-a-form { margin-top: 22px; }

.afx-a-field { margin: 0 0 16px; }
.afx-a label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink);
}
.afx-a input[type="text"],
.afx-a input[type="email"],
.afx-a input[type="password"] {
  display: block;
  width: 100%;
  height: var(--a-field-h, 40px);
  margin: 0;
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--a-field-text);
  background: var(--a-field);
  border: 1px solid var(--a-field-line);
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  transition: border-color 0.25s var(--a-ease), background-color 0.25s var(--a-ease);
}
.afx-a input::placeholder { color: var(--a-field-ph); opacity: 1; }
.afx-a input:hover { border-color: var(--a-field-hover); }
.afx-a input:focus { background: #fff; border-color: var(--a-blue); }

.afx-a-pw { position: relative; }
.afx-a-pw input { padding-right: 44px; }
.afx-a-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: var(--a-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.afx-a-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--a-eye) center / contain no-repeat;
  mask: var(--a-eye) center / contain no-repeat;
}
.afx-a-toggle[aria-pressed="true"]::before {
  -webkit-mask-image: var(--a-eye-off);
  mask-image: var(--a-eye-off);
}
.afx-a-toggle:hover { color: var(--a-blue); background: rgba(30, 57, 214, 0.07); }
.afx-a-toggle[aria-pressed="true"] { color: var(--a-blue); }
.afx-a-toggle:focus-visible { outline: 2px solid var(--a-blue); outline-offset: 1px; }

.afx-a-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; }
.afx-a-check label { margin: 0; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.afx-a input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  background: #fff;
  border: 1px solid var(--a-field-line);
  border-radius: 3px;
  cursor: pointer;
}
.afx-a input[type="checkbox"]:checked {
  background: var(--a-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: var(--a-blue);
}
.afx-a input[type="checkbox"]:focus-visible { outline: 2px solid var(--a-blue); outline-offset: 2px; }

.afx-a-row { display: flex; justify-content: flex-end; margin: -4px 0 18px; }
.afx-a a { color: var(--a-blue); font-weight: 500; text-decoration: none; }
.afx-a a:hover { text-decoration: underline; text-underline-offset: 2px; }
.afx-a-row a, .afx-a-back { font-size: 13px; }
.afx-a-back { display: block; margin-top: 18px; text-align: center; }

.afx-a-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: var(--a-btn-h, 40px);
  margin: 0;
  padding: 0 24px;
  font: 600 15px/1 "Poppins", sans-serif;
  color: #fff;
  background: var(--a-gold);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.25s var(--a-ease);
}
.afx-a-btn:hover { background: var(--a-gold-hover); }
.afx-a-btn:focus-visible { outline: 2px solid var(--a-blue); outline-offset: 2px; }
.afx-a-btn--alt {
  margin-top: 12px;
  color: var(--a-heading);
  background: #fff;
  border: 1px solid var(--a-field-line);
}
.afx-a-btn--alt:hover { background: var(--a-field); border-color: var(--a-blue); }
.afx-a-btn img { height: 18px; width: auto; }
.afx-a-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--a-muted);
}
.afx-a-or::before, .afx-a-or::after { content: ""; flex: 1; height: 1px; background: var(--a-card-line); }

.afx-a-msg {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
}
.afx-a-msg--error { color: #B42318; background: #FDF2F2; border: 1px solid #F0D2D2; }
.afx-a-msg--info  { color: var(--a-heading); background: #EEF1FD; border: 1px solid #D9DFF8; }

.afx-a-extra { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--a-muted); }

.afx-a-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 20px 0 4px; }
.afx-a-qr img { width: 184px; height: 184px; padding: 8px; background: #fff; border: 1px solid var(--a-field-line); border-radius: 8px; }
.afx-a-qr code {
  max-width: 100%;
  padding: 6px 10px;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--a-ink);
  background: var(--a-field);
  border-radius: 6px;
  word-break: break-all;
}

.afx-a-foot {
  width: 100%;
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--a-muted);
}
.afx-a-foot p { margin: 0; }
.afx-a-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; margin-top: 6px; }
.afx-a-foot nav a { color: var(--a-muted); font-weight: 400; white-space: nowrap; }
.afx-a-foot nav a:hover { color: var(--a-blue); }

@media (min-width: 992px) {
  .afx-a { position: relative; }
  .afx-a-brand { padding-top: clamp(24px, 5vh, 44px); padding-bottom: calc(clamp(24px, 5vh, 44px) + 96px); }
  .afx-a-tagline { font-size: clamp(24px, 3.9vh, 38px); }
  .afx-a-app { margin-top: clamp(14px, 3.2vh, 30px); padding-top: clamp(12px, 2.7vh, 26px); }
  .afx-a-caps { margin-top: clamp(10px, 2.1vh, 20px); gap: clamp(4px, 1.05vh, 10px); }
  .afx-a-caps li { font-size: clamp(13px, 1.5vh, 14px); }
  .afx-a-main { padding: clamp(14px, 4vh, 48px) 24px clamp(12px, 2.5vh, 32px); }
  .afx-a-logo { width: clamp(84px, 14vh, 150px); margin-bottom: clamp(10px, 2.6vh, 26px); }
  .afx-a-intro { margin-bottom: clamp(10px, 2.2vh, 22px); }
  .afx-a-intro h1 { font-size: clamp(26px, 4.4vh, 42px); }
  .afx-a-intro p { margin-top: clamp(2px, 0.8vh, 8px); }
  .afx-a-card { padding: clamp(18px, 3.1vh, 30px) 30px; }
  .afx-a-form { margin-top: clamp(12px, 2.3vh, 22px); }
  .afx-a-field { margin-bottom: clamp(10px, 1.7vh, 16px); }
  .afx-a label { margin-bottom: clamp(4px, 0.7vh, 7px); }
  .afx-a-row { margin-bottom: clamp(10px, 1.9vh, 18px); }
  .afx-a-extra { margin-top: clamp(10px, 1.9vh, 18px); }
  .afx-a-foot {
    position: absolute;
    left: 0;
    bottom: clamp(16px, 3.4vh, 36px);
    z-index: 2;
    width: calc(100% * 5 / 11);
    margin: 0;
    padding: 0 clamp(36px, 5vw, 80px);
    text-align: left;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
  }
  .afx-a-foot nav { justify-content: flex-start; }
  .afx-a-foot nav a { color: rgba(255, 255, 255, 0.72); }
  .afx-a-foot nav a:hover { color: #fff; }
}
@media (max-width: 991px) {
  .afx-a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 100dvh; }
  .afx-a-brand { gap: 0; padding: 14px 20px 16px; }
  .afx-a-brand::before { right: -340px; top: -420px; }
  .afx-a-brand::after { right: -200px; top: -280px; }
  .afx-a-pitch { margin: 0; }
  .afx-a-tagline { font-size: 15px; line-height: 1.3; }
  .afx-a-app { margin-top: 10px; padding-top: 10px; }
  .afx-a-app h2 { font-size: 15px; }
  .afx-a-app > p, .afx-a-caps { display: none; }
  .afx-a-main { padding: 16px 16px 14px; }
  .afx-a-logo { width: 92px; margin-bottom: 10px; }
  .afx-a-intro { margin-bottom: 14px; }
  .afx-a-intro h1 { font-size: 28px; }
  .afx-a-intro p { margin-top: 4px; font-size: 14px; }
  .afx-a-card { padding: 20px 18px; border-radius: 16px; }
  .afx-a-form { margin-top: 16px; }
  .afx-a-field { margin-bottom: 12px; }
  .afx-a label { margin-bottom: 5px; }
  .afx-a-row { margin-bottom: 12px; }
  .afx-a-extra { margin-top: 12px; }
  .afx-a-foot { margin-top: 12px; font-size: 11px; line-height: 1.55; }
  .afx-a-foot nav { gap: 0 12px; margin-top: 2px; }
}
