:root {
  --kefi-navy: #071b3d;
  --kefi-blue: #4b36e8;
  --kefi-purple: #5e38e8;
  --kefi-yellow: #ffd83d;
  --kefi-muted: #526079;
  --kefi-border: #e8eaf2;
}

html, body.kefi-standalone-page {
  margin: 0 !important;
  min-height: 100%;
  background: #fff;
}

body.kefi-standalone-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--kefi-navy);
}

.kefi-app, .kefi-app * { box-sizing: border-box; }
.kefi-app {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.kefi-header {
  text-align: center;
  margin-bottom: 28px;
}
.kefi-logo {
  width: min(490px, 86vw);
  height: auto;
  display: inline-block;
}
.kefi-tagline {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #4a37d4;
  letter-spacing: .01em;
}

.kefi-card {
  position: relative;
  overflow: hidden;
  width: min(1025px, 100%);
  margin: 0 auto;
  min-height: 565px;
  padding: 40px 80px 48px;
  color: #fff;
  text-align: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 105%, rgba(93, 116, 255, .72), transparent 43%),
    linear-gradient(135deg, #2636cf 0%, #5133e4 55%, #4930db 100%);
  box-shadow: 0 24px 60px rgba(50, 45, 170, .23);
}
.kefi-card::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  filter: blur(2px);
}
.kefi-card > * { position: relative; z-index: 1; }
.kefi-card-brand {
  position: absolute;
  top: 25px;
  left: 30px;
  font-size: 32px;
  font-weight: 900;
}
.kefi-card-kicker {
  text-align: right;
  margin: 0 0 52px;
  font-size: 17px;
  opacity: .92;
}
.kefi-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(41px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.03em;
}
.kefi-subtitle {
  margin: 16px 0 34px;
  font-size: clamp(21px, 2.2vw, 31px);
  opacity: .95;
}

.kefi-form {
  display: grid;
  grid-template-columns: 1fr 130px;
  direction: ltr;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(9, 17, 70, .24);
}
.kefi-form input {
  direction: rtl;
  width: 100%;
  min-height: 70px;
  padding: 0 26px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 21px;
  color: var(--kefi-navy);
  background: #fff;
}
.kefi-form input::placeholder { color: #999ca8; }
.kefi-form input:focus { box-shadow: inset 0 0 0 3px rgba(255, 216, 61, .8); }
.kefi-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  color: var(--kefi-navy);
  background: linear-gradient(180deg, #ffdf4e, #ffd22a);
  transition: transform .15s ease, filter .15s ease;
}
.kefi-form button:hover { filter: brightness(1.03); }
.kefi-form button:active { transform: scale(.98); }
.kefi-form button:disabled { cursor: wait; opacity: .75; }

.kefi-message {
  min-height: 28px;
  margin: 12px 0 0;
  font-weight: 700;
}
.kefi-message.is-error { color: #fff2a8; }
.kefi-message.is-success { color: #d8ffce; }

.kefi-result { margin-top: 16px; }
.kefi-result[hidden] { display: none; }
.kefi-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 18px;
  font-size: 19px;
}
.kefi-divider::before, .kefi-divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.35);
  flex: 1;
}
.kefi-created-card {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border: 3px solid rgba(255, 216, 61, .95);
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(10, 18, 80, .24);
}
.kefi-created-card > a {
  display: block;
  width: 100%;
  padding: 15px 14px;
  overflow-wrap: anywhere;
  direction: ltr;
  color: #4938df;
  background: #f5f4ff;
  border-radius: 11px;
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.kefi-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 12px;
}
.kefi-action-button {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #4b36e8, #633ce9);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  transition: transform .15s ease, filter .15s ease;
}
.kefi-action-button:hover { filter: brightness(1.07); }
.kefi-action-button:active { transform: scale(.98); }
.kefi-action-button svg { width: 23px; fill: currentColor; }
.kefi-expiry {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 0;
  font-size: 16px;
  opacity: .92;
}
.kefi-expiry svg { width: 21px; fill: currentColor; }

.kefi-features {
  width: min(1025px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
}
.kefi-features article {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--kefi-border);
}
.kefi-feature-icon {
  width: 70px;
  height: 70px;
  border: 4px solid #4b36e8;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: #4b36e8;
}
.kefi-clock { border-radius: 50%; position: relative; }
.kefi-clock::before, .kefi-clock::after {
  content: "";
  position: absolute;
  width: 4px;
  background: #4b36e8;
  border-radius: 4px;
  left: 50%; top: 50%;
  transform-origin: bottom center;
}
.kefi-clock::before { height: 22px; transform: translate(-50%, -100%); }
.kefi-clock::after { height: 17px; transform: translate(-50%, -100%) rotate(-48deg); }
.kefi-link { border-radius: 50%; font-size: 34px; }
.kefi-shield { border-radius: 36px 36px 45px 45px; }
.kefi-features h2 {
  margin: 0 0 7px;
  font-size: 25px;
  color: var(--kefi-navy);
}
.kefi-features p {
  margin: 0;
  color: var(--kefi-muted);
  font-size: 17px;
  line-height: 1.6;
}
.kefi-footer {
  text-align: center;
  color: #6c7484;
  padding: 28px 0 0;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  .kefi-app { width: min(100% - 24px, 620px); padding-top: 22px; }
  .kefi-header { margin-bottom: 20px; }
  .kefi-card { min-height: 0; padding: 28px 18px 34px; border-radius: 22px; }
  .kefi-card-brand { position: static; text-align: left; font-size: 24px; margin-bottom: 6px; }
  .kefi-card-kicker { text-align: right; margin: 0 0 34px; font-size: 14px; }
  .kefi-subtitle { margin-bottom: 24px; }
  .kefi-form { grid-template-columns: 1fr 92px; }
  .kefi-form input { min-height: 62px; padding: 0 15px; font-size: 17px; }
  .kefi-form button { font-size: 20px; }
  .kefi-created-card { padding: 12px; }
  .kefi-result-actions { grid-template-columns: 1fr; }
  .kefi-action-button { min-height: 48px; }
  .kefi-features { grid-template-columns: 1fr; margin-top: 22px; }
  .kefi-features article { grid-template-columns: 64px 1fr; gap: 16px; padding: 19px 4px; }
  .kefi-feature-icon { width: 58px; height: 58px; font-size: 23px; border-width: 3px; }
  .kefi-features h2 { font-size: 21px; }
  .kefi-features p { font-size: 15px; }
}

/* Bot trap: hidden from real visitors, available only to automated fillers. */
.kefi-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


.kefi-logo-link { display: inline-block; text-decoration: none; }
.kefi-status-page { max-width: 1040px; }
.kefi-status-card {
  min-height: auto;
  padding-top: 46px;
  padding-bottom: 42px;
}
.kefi-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff7b8;
  font-size: 15px;
  font-weight: 800;
}
.kefi-status-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.kefi-status-icon svg {
  width: 46px;
  fill: #ffd83d;
}
.kefi-status-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
}
.kefi-status-subtitle {
  margin: 16px auto 8px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.45;
}
.kefi-status-description {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  line-height: 1.75;
}
.kefi-note-box {
  width: min(700px, 100%);
  margin: 24px auto 0;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--kefi-navy);
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 22px rgba(13, 18, 72, .18);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
.kefi-status-actions {
  width: min(700px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.kefi-primary-link,
.kefi-secondary-link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}
.kefi-primary-link {
  color: var(--kefi-navy);
  background: linear-gradient(180deg, #ffdf4e, #ffd22a);
  box-shadow: 0 10px 24px rgba(10, 18, 80, .18);
}
.kefi-secondary-link {
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.kefi-primary-link:hover,
.kefi-secondary-link:hover { filter: brightness(1.03); }

@media (max-width: 760px) {
  .kefi-status-card { padding: 30px 18px 28px; }
  .kefi-status-icon { width: 72px; height: 72px; margin-bottom: 14px; }
  .kefi-status-icon svg { width: 40px; }
  .kefi-status-subtitle { font-size: 18px; }
  .kefi-status-description,
  .kefi-note-box { font-size: 15px; }
  .kefi-status-actions { grid-template-columns: 1fr; }
}


.kefi-legal-note {
  max-width: 920px;
  margin: 9px auto 0;
  color: #7b8290;
  font-size: 13px;
  line-height: 1.55;
}
.kefi-legal-note a {
  color: #4b36e8;
  font-weight: 700;
  text-decoration: none;
}
.kefi-legal-note a:hover { text-decoration: underline; }
