/* AT&T design language — blue team phishing simulation
   Colors: AT&T Blue #009FDB, dark navy #1D2329, white
   Buttons: pill-shaped, bold. Headings: tight, black. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --att-blue: #009FDB;
  --att-blue-dark: #0568AE;
  --att-blue-hover: #007CB0;
  --att-navy: #1D2329;
  --att-light: #E8F7FD;
  --att-pale: #F4FBFE;
  --ink: #1D2329;
  --muted: #5A6B7B;
  --line: #D8E1E8;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-gray: #F2F4F5;
  --ok: #1B7F4D;
  --ok-soft: #E6F6ED;
  --danger: #D11F36;
  --danger-soft: #FDECEE;
  --warn: #9A5B00;
  --warn-soft: #FFF4E0;
  --radius: 8px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(29, 35, 41, .08);
  --font: "ATT Aleck Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --touch-target: 48px;
}

html { font-size: 16px; }
body {
  margin: 0; padding: 0; min-height: 100vh;
  font-family: var(--font); color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--att-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header (AT&T style: white, thin border) ---------- */
.topbar { position: sticky; top: 0; z-index: 50; width: 100%; background: #fff; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line);
}
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a {
  font-size: 14px; font-weight: 400; color: var(--ink);
  padding: 8px 4px;
}
.topnav a:hover { color: var(--att-blue); text-decoration: none; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 40px; height: 40px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

/* ---------- buttons (AT&T pill) ---------- */
.btn-primary {
  width: 100%; min-height: var(--touch-target); border: 0;
  border-radius: var(--radius-pill);
  background: var(--att-blue); color: #fff; font: inherit;
  font-size: 16px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 28px; position: relative;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease;
}
.btn-primary:hover { background: var(--att-blue-hover); }
.btn-primary:active { transform: scale(.99); }
.btn-spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .8s linear infinite; display: none;
}
.btn-primary.is-loading .btn-spinner { display: block; }
.btn-primary.is-loading .btn-label { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

.linkish {
  background: transparent; border: 0; font: inherit; font-size: 14px;
  font-weight: 600; color: var(--att-blue); cursor: pointer; padding: 0;
  touch-action: manipulation;
}
.linkish:hover { text-decoration: underline; }
.linkish:disabled { color: #9FB4C4; cursor: default; text-decoration: none; }

/* ---------- verify layout ---------- */
.verify-layout {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 40px 24px 56px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: start;
}

/* hero: AT&T dark panel with globe glow */
.hero {
  position: relative; overflow: hidden;
  min-height: 580px; padding: 48px 44px;
  border-radius: 16px; color: #fff;
  background: linear-gradient(150deg, #0B1B29 0%, #123A56 55%, #0568AE 100%);
  box-shadow: var(--shadow);
}
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -220px;
  width: 520px; height: 520px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(0,159,219,.55), rgba(0,159,219,0) 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 14px, rgba(255,255,255,0) 14px 30px);
  opacity: .8; pointer-events: none;
}
.hero-badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #33C6F4; box-shadow: 0 0 8px #33C6F4; }
.hero h1 {
  position: relative; z-index: 2;
  margin: 26px 0 16px; max-width: 460px;
  font-size: 44px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700;
}
.hero-lead {
  position: relative; z-index: 2; margin: 0; max-width: 440px;
  font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85);
}
.benefits {
  position: relative; z-index: 2;
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-direction: column; gap: 18px; max-width: 420px;
}
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(0,159,219,.22); color: #6FD6FF;
  font-size: 15px; font-weight: 800; border: 1px solid rgba(111,214,255,.35);
}
.benefits strong { display: block; font-size: 15px; font-weight: 700; }
.benefits span { font-size: 13px; color: rgba(255,255,255,.7); }

/* phone mockup with SMS */
.hero-phone { position: relative; z-index: 2; margin-top: 34px; display: flex; justify-content: flex-start; }
.phone-card {
  width: 250px; height: 200px; border-radius: 24px 24px 0 0;
  background: #0B1B29; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 48px rgba(0,0,0,.4);
  padding: 22px 18px; position: relative; overflow: hidden;
}
.sms-bubble {
  padding: 14px 16px; border-radius: 18px 18px 18px 4px;
  background: #1F2E3E; font-size: 13px; line-height: 1.5; color: #E7EEF5;
}
.sms-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sms-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden;
}
.sms-avatar svg { width: 26px; height: 26px; display: block; }
.sms-head span { font-size: 12px; font-weight: 600; }
.sms-time { margin-left: auto; font-size: 10px; color: #8FA3B5; }
.sms-sub { font-size: 11px; color: #8FA3B5; margin: 6px 0 0; }

/* form panel — clean white card like myAT&T */
.form-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px 36px;
  box-shadow: var(--shadow);
}
.steps {
  display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 28px;
  list-style: none; padding: 0;
}
.step {
  display: flex; align-items: center; gap: 8px; color: #9FB4C4;
  font-size: 13px; font-weight: 500;
}
.step + .step::before {
  content: ""; width: 26px; height: 2px; background: var(--line); margin: 0 12px;
}
.step span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; border: 2px solid var(--line); color: #9FB4C4;
}
.step.done { color: var(--att-blue); }
.step.done span { background: var(--att-blue); border-color: var(--att-blue); color: #fff; }
.step.active { color: var(--ink); font-weight: 700; }
.step.active span { border-color: var(--att-blue); color: var(--att-blue); }
.step em { font-style: normal; }
.form-panel .steps { justify-content: flex-start; }

.form-panel h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.panel-sub { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0 0 24px; }

/* card preview — dark, like AT&T account card */
.card-preview {
  margin-bottom: 26px; border-radius: 14px; padding: 20px 22px;
  background: linear-gradient(135deg, var(--card-gradient-1, #1D2329), #2B3A47 55%, var(--card-gradient-2, #009FDB));
  color: #fff; position: relative; overflow: hidden;
}
.card-preview::after {
  content: ""; position: absolute; right: -70px; top: -90px;
  width: 220px; height: 220px; border-radius: 50%;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 9px, rgba(255,255,255,0) 9px 20px);
}
.card-preview .card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.card-preview .card-chip {
  width: 42px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, #E8B64C, #D99B25); position: relative;
}
.card-preview .card-chip::after {
  content: ""; position: absolute; inset: 4px 8px; border-radius: 3px;
  border: 1px solid rgba(120,72,0,.45); border-left: 0; border-right: 0;
}
.card-preview .card-brand { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.9); }
.card-preview .card-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 16px;
}
.card-preview .card-bottom { display: flex; justify-content: space-between; font-size: 11px; }
.card-preview .card-bottom div { display: flex; flex-direction: column; gap: 4px; }
.card-preview .card-label { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.card-preview .card-bottom strong { font-size: 13px; letter-spacing: .04em; }

/* form fields — AT&T style: tall, light border, square-ish */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.input-action { position: relative; display: flex; align-items: center; }
.input-brand {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #9FB4C4;
  pointer-events: none;
}
.field input {
  width: 100%; height: var(--touch-target); padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none; border-color: var(--att-blue);
  box-shadow: 0 0 0 3px rgba(0,159,219,.18);
}
.field input.invalid { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { font-size: 12px; color: var(--danger); margin-top: 6px; min-height: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 24px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.check input { width: 20px; height: 20px; accent-color: var(--att-blue); margin-top: 1px; touch-action: manipulation; }
.secure-note { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); }
.form-error { margin-top: 12px; font-size: 13px; color: var(--danger); min-height: 18px; text-align: center; }
.noscript-note { background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-top: 20px; }

/* ---------- otp (shares the verify two-column layout) ---------- */
.hero-otp { min-height: 580px; }
.otp-row { display: flex; gap: 10px; justify-content: flex-start; margin: 0 0 28px; }
.otp-digit {
  flex: 0 0 56px; width: 56px; height: 64px;
  border: 0; border-bottom: 2.5px solid var(--line); border-radius: 2px 2px 0 0;
  text-align: center; font: inherit; font-size: 28px; font-weight: 700;
  color: var(--ink); background: #fff;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease;
}
.otp-digit:focus {
  outline: none; border-bottom-color: var(--att-blue);
  box-shadow: 0 2.5px 0 0 rgba(0,159,219,.25);
}
.otp-digit.filled { border-bottom-color: var(--att-blue); }
.otp-digit.invalid { animation: shake .4s ease; border-bottom-color: var(--danger); }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }
.otp-foot { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.otp-foot strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.otp-foot p { margin: 0 0 6px; }
.otp-foot a { color: var(--att-blue); font-weight: 600; }

/* ---------- captcha (Google reCAPTCHA v2 look) ---------- */
.captcha-layout { width: 100%; max-width: 480px; margin: 48px auto 0; padding: 0 20px 56px; }
.captcha-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow);
}
.captcha-card h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.captcha-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; line-height: 1.5; }
.captcha-note { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 16px; }

.g-recaptcha-badge { position: fixed; bottom: 14px; right: 14px; z-index: 1000; font-size: 11px; }
.rcb { background: #f1f3f4; padding: 4px 8px; border-radius: 4px; display: inline-block; }
.rcb-anchor { color: #202124; line-height: 1.4; }
.rcb-link { color: #1a73e8; text-decoration: none; font-size: 11px; }
.rcb-link:hover { text-decoration: underline; }

.rc-animate { animation: rcFadeIn .35s ease; }
@keyframes rcFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.rc-anchor {
  display: inline-block; text-align: left; width: 100%; max-width: 320px;
  margin: 0 auto 16px; border: 1px solid #dadce0; border-radius: 4px;
  background: #f9f9f9; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.rc-anchor-content { display: flex; align-items: center; padding: 14px 14px; gap: 14px; cursor: pointer; }
.rc-anchor-content:hover { background: #f1f3f4; }
.rc-inline-block { display: inline-block; vertical-align: middle; }
.rc-anchor-check-container { position: relative; width: 26px; height: 26px; flex: 0 0 auto; }
.recaptcha-checkbox-border {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 2px solid #c1c1c1; border-radius: 2px; box-sizing: border-box; background: #fff;
}
.recaptcha-checkbox {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 2px; border: none; display: none;
  background-color: #4285f4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M1.73 12.91 8.1 19.28 22.79 4.59 21.27 3.07 12 12.34 2.71 7.42z'/%3E%3C/svg%3E");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
}
.recaptcha-checkbox.checked { display: block; }
.rc-anchor-center-container { flex: 1; }
.rc-anchor-center-text { font-size: 15px; color: #202124; font-weight: 400; line-height: 1.2; }

.rc-challenge { margin-top: 16px; border: 1px solid #dadce0; border-radius: 8px; background: #fff; overflow: hidden; text-align: left; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.rc-challenge-header { padding: 16px 18px; background: #1a73e8; color: #fff; }
.rc-challenge-title { font-size: 17px; font-weight: 500; display: block; }
.rc-challenge-controls { display: flex; gap: 8px; margin-top: 12px; }
.rc-button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px;
  background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap; touch-action: manipulation;
}
.rc-button:hover { background: rgba(255,255,255,.12); }
.rc-button-primary { background: #fff; color: #1a73e8; border-color: #fff; font-weight: 700; }
.rc-button-primary:hover { background: #eef3fd; }
.rc-button-primary.disabled { opacity: .55; cursor: not-allowed; }
.rc-challenge-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid #e8eaed; background: #fff; }
.rc-challenge-footer .rc-button { border: 1px solid #dadce0; color: #1a73e8; }
.rc-challenge-footer .rc-button-primary { background: #1a73e8; color: #fff; border-color: #1a73e8; }

.rc-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 14px; background: #fff; }
.rc-image-tile { aspect-ratio: 1; border-radius: 2px; cursor: pointer; position: relative; overflow: hidden; }
.rc-image-tile-inner { width: 100%; height: 100%; position: relative; }
.rc-image-tile-thumbnail { width: 100%; height: 100%; border-radius: 2px; background-size: cover; background-position: center; }
.rc-image-tile-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.rc-image-tile.selected .rc-image-tile-overlay { opacity: 1; }
.rc-image-tile.selected .rc-image-tile-thumbnail { filter: brightness(.6); }
.rc-image-tile.selected .rc-image-tile-inner::after {
  content: "\2713"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30px; height: 30px; border-radius: 50%; background: #1a73e8;
  color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center;
}
.rc-error { margin-top: 12px; color: #d93025; font-size: 13px; }

/* ---------- blocked ---------- */
.blocked-card { width: 100%; max-width: 560px; margin: 10vh auto 0; padding: 0 20px; text-align: center; }
.blocked-card .lock { font-size: 48px; margin-bottom: 16px; display: block; }
.blocked-card h1 { font-size: 26px; margin: 0 0 10px; letter-spacing: -.02em; }
.blocked-card p { font-size: 15px; color: var(--muted); margin: 0 0 22px; line-height: 1.55; }

/* ---------- footer (AT&T style: light gray, small links) ---------- */
.site-footer {
  margin-top: 48px; padding: 28px 24px; border-top: 1px solid var(--line);
  background: var(--bg-gray); font-size: 12px; color: var(--muted);
}
.site-footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.footer-links a { font-size: 12px; color: var(--ink); }
.footer-links a:hover { color: var(--att-blue); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .verify-layout { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px 40px; }
  .hero { min-height: auto; padding: 36px 28px; }
  .hero h1 { font-size: 34px; }
  .hero-phone { justify-content: center; }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 12px 16px; gap: 10px; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 12px; padding: 6px 2px; }
  .brand-mark, .brand-mark svg { width: 34px; height: 34px; }
  .brand-name { font-size: 18px; }

  .hero { padding: 28px 22px; border-radius: 12px; }
  .hero h1 { font-size: 28px; margin: 20px 0 12px; }
  .hero-lead { font-size: 14px; }
  .benefits { margin: 26px 0 0; }

  .form-panel { padding: 28px 20px; border-radius: 12px; }
  .form-panel h2 { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .card-preview .card-number { font-size: 17px; }

  .otp-digit { flex-basis: 48px; width: 48px; height: 56px; font-size: 24px; }

  .captcha-layout { margin: 32px auto 0; padding: 0 16px 40px; }
  .captcha-card { padding: 28px 20px; border-radius: 12px; }

  .step em { display: none; }
  .step + .step::before { width: 18px; margin: 0 8px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 24px; }
  .otp-row { gap: 7px; }
  .otp-digit { flex-basis: 42px; width: 42px; height: 48px; font-size: 20px; }
}
