:root {
  --ink: #11100f;
  --paper: #f8f5ef;
  --orange: #ff4815;
  --orange-deep: #d72a09;
  --wine: #6d1608;
  --line: rgba(26, 18, 14, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #260701;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.access-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px clamp(24px, 6vw, 118px) 20px;
  background:
    linear-gradient(90deg, rgba(55, 8, 0, .9) 0%, rgba(99, 18, 2, .64) 34%, rgba(150, 25, 3, .15) 57%, rgba(87, 9, 0, .78) 100%),
    linear-gradient(180deg, rgba(12, 4, 1, .08), rgba(18, 3, 0, .58)),
    url("../images/radar-access-hero.png") center 42% / cover no-repeat,
    radial-gradient(circle at 60% 30%, #f86522 0%, #c72608 42%, #4f0d03 100%);
}

.access-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
  animation: ambient-drift 9s ease-in-out infinite alternate;
}
.ambient-one { width: 440px; height: 440px; right: 18%; top: 10%; background: rgba(255, 105, 38, .2); }
.ambient-two { width: 260px; height: 260px; left: -5%; bottom: 5%; background: rgba(255, 61, 12, .2); animation-delay: -4s; }

.topbar {
  width: min(1360px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 10px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 18px 55px rgba(27, 4, 0, .22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  z-index: 30;
  animation: drop-in .7s cubic-bezier(.2,.9,.2,1) both;
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 205px; color:var(--ink); text-decoration:none; }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
}
.brand-ring { width: 22px; height: 22px; border: 2px solid white; border-radius: 50%; opacity: .9; }
.brand-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: radar-ping 2.1s ease-out infinite; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { letter-spacing: .13em; font-size: 14px; }
.brand-copy small { margin-top: 5px; color: #766e68; font-size: 10px; }

.topbar nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.topbar nav a { color: #27211e; text-decoration: none; font-size: 13px; font-weight: 680; position: relative; }
.topbar nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .25s ease; }
.topbar nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.access-language { display:flex; gap:2px; padding:3px; border:1px solid rgba(30,22,18,.13); border-radius:9px; background:rgba(255,255,255,.55); }
.access-language form { margin:0; }
.access-language button { width:31px; height:30px; padding:0; border:0; border-radius:6px; color:#766c66; background:transparent; font-size:9px; font-weight:900; cursor:pointer; }
.access-language button.active { color:#1b1714; background:#fff; box-shadow:0 4px 12px rgba(45,28,19,.09); }
.text-button, .solid-button { min-height: 44px; padding: 0 18px; border-radius: 7px; font-size: 13px; font-weight: 760; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.text-button { border: 1px solid #e0d7d0; background: transparent; color: var(--ink); }
.solid-button { border: 1px solid var(--orange); color: #fff; background: var(--orange); box-shadow: 0 8px 22px rgba(255,72,21,.25); }
.text-button:hover, .solid-button:hover { transform: translateY(-2px); }

.hero-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(410px, .92fr) minmax(300px, .78fr) minmax(380px, .72fr);
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  padding: clamp(38px, 6vh, 80px) 2px clamp(25px, 4vh, 52px);
}

.hero-copy { color: white; z-index: 5; animation: rise-in .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow, .auth-kicker { margin: 0 0 16px; font-size: 11px; letter-spacing: .16em; font-weight: 850; }
.eyebrow { color: #ffd0be; }
.hero-copy h1 {
  margin: 0;
  max-width: 610px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5vw, 80px);
  font-weight: 650;
  line-height: .93;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.rotating-word { display: inline-block; color: #ffb093; animation: word-swap .55s cubic-bezier(.2,.8,.2,1) both; }
.hero-description { max-width: 460px; margin: 28px 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255,255,255,.84); }

.live-signal {
  width: fit-content;
  margin-top: 28px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(46, 5, 0, .35);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: rgba(255,255,255,.83);
}
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #77ee9d; box-shadow: 0 0 0 5px rgba(119,238,157,.12); animation: signal 1.7s ease-in-out infinite; }

.market-proof { margin-top: 34px; display: flex; gap: clamp(22px, 2.2vw, 42px); }
.market-proof div { display: grid; gap: 3px; }
.market-proof strong { font-family: Georgia, serif; font-size: 22px; }
.market-proof span { font-size: 10px; color: rgba(255,255,255,.66); }

.visual-stage { position: relative; height: min(68vh, 610px); min-height: 480px; align-self: end; }
.scan-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: ring-pulse 4s ease-out infinite; }
.scan-ring-one { width: 230px; height: 230px; left: 11%; top: 31%; }
.scan-ring-two { width: 330px; height: 330px; left: -2%; top: 22%; animation-delay: 1.4s; }

.float-card {
  position: absolute;
  min-width: 210px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  background: rgba(255,253,249,.91);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(40,5,0,.22);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 11px;
  animation: float-card 5s ease-in-out infinite;
}
.float-card span:not(.card-icon):not(.trend-icon):not(.mini-avatars) { display: grid; gap: 2px; }
.float-card small { font-size: 7px; font-weight: 850; letter-spacing: .09em; color: #93857d; }
.float-card strong { font-size: 11px; }
.float-card em { font-size: 8px; color: #786d67; font-style: normal; }
.company-card { left: -8%; top: 20%; }
.opportunity-card { right: -7%; bottom: 18%; animation-delay: -2s; }
.connection-card { left: -18%; bottom: 6%; animation-delay: -3.4s; }
.card-icon, .trend-icon { flex: 0 0 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; color: white; font-weight: 900; background: var(--orange); }
.trend-icon { background: #111; }
.mini-avatars { display: flex; width: 42px; }
.mini-avatars i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; border: 2px solid white; background: #171717; color: white; font-size: 7px; font-style: normal; font-weight: 800; }
.mini-avatars i + i { margin-left: -9px; background: var(--orange); }

.auth-card {
  min-height: 570px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  background: rgba(250,247,242,.96);
  box-shadow: 0 34px 90px rgba(34, 3, 0, .38);
  backdrop-filter: blur(22px);
  z-index: 10;
  animation: rise-in .85s .2s cubic-bezier(.2,.8,.2,1) both;
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #eee7df; }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 7px; background: transparent; color: #7b706a; font-size: 12px; font-weight: 800; cursor: pointer; transition: .25s ease; }
.auth-tabs button.active { color: var(--ink); background: #fff; box-shadow: 0 5px 16px rgba(38,24,18,.08); }
.auth-form, .success-state { padding: 30px clamp(18px, 2.1vw, 32px) 20px; animation: panel-swap .35s ease both; }
.form-heading { margin-bottom: 22px; }
.auth-kicker { margin-bottom: 8px; color: var(--orange-deep); }
.form-heading h2, .success-state h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 2vw, 36px); letter-spacing: -.035em; }
.form-heading > p:last-child, .success-state > p { margin: 7px 0 0; color: #776d68; font-size: 12px; line-height: 1.5; }

.google-action {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d9d0ca;
  border-radius: 8px;
  color: #29231f;
  background: #fff;
  box-shadow: 0 6px 18px rgba(38,24,18,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 820;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.google-action:hover {
  transform: translateY(-1px);
  border-color: #b8aea7;
  box-shadow: 0 10px 24px rgba(38,24,18,.09);
}
.google-action:focus-visible {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,72,21,.1);
}
.google-action svg { width: 19px; height: 19px; flex: 0 0 auto; }
.google-action.is-pending {
  opacity: .72;
  cursor: not-allowed;
  box-shadow: none;
}
.google-action.is-pending:hover {
  transform: none;
  border-color: #d9d0ca;
  box-shadow: none;
}
.google-status {
  display: block;
  margin: 7px 4px 0;
  color: #776d68;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}
.auth-divider {
  margin: 14px 0 2px;
  color: #938880;
  font-size: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; flex: 1; background: #e0d8d2; }
.auth-divider span { white-space: nowrap; }

.field { display: grid; gap: 7px; margin-top: 14px; }
.field > span:first-child { font-size: 10px; font-weight: 850; color: #3d3531; }
.field input { width: 100%; height: 48px; border: 1px solid #d9d0ca; border-radius: 8px; outline: 0; background: #fff; padding: 0 13px; font-size: 13px; transition: border .2s ease, box-shadow .2s ease, transform .2s ease; }
.field input::placeholder { color: #a09690; }
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,72,21,.1); transform: translateY(-1px); }
.field input:valid:not(:placeholder-shown) { border-color: #68a77c; }
.field input[aria-invalid="true"] { border-color: #c92d18; box-shadow: 0 0 0 4px rgba(201,45,24,.08); }
.field-error { margin: 0; color: #a82212; font-size: 9px; line-height: 1.4; }
.auth-error-summary { margin: 0 0 14px; padding: 10px 12px; border: 1px solid rgba(169,34,18,.2); border-radius: 8px; color: #8f2013; background: #fff1ec; font-size: 10px; line-height: 1.45; }
.auth-error-summary strong { display: block; margin-bottom: 2px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 46px; }
.eye-button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 7px; background: transparent; color: #8e837c; cursor: pointer; }
.eye-button:hover { background: #f2ece7; }
.eye-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.strength { margin: 10px 0 0; display: flex; align-items: center; gap: 9px; }
.strength > span { flex: 1; height: 3px; border-radius: 99px; overflow: hidden; background: #e5ddd7; }
.strength i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e74619, #ef8b32, #65a877); transition: width .35s ease; }
.strength small { min-width: 112px; text-align: right; font-size: 8px; color: #7b716c; }
.check-row { margin: 16px 0; display: flex; align-items: flex-start; gap: 9px; color: #716661; font-size: 9px; line-height: 1.45; }
.check-row input { accent-color: var(--orange); margin: 1px 0 0; }

.primary-action {
  width: 100%; min-height: 50px; border: 0; border-radius: 8px; color: white; background: var(--orange); font-weight: 850; font-size: 13px; cursor: pointer;
  box-shadow: 0 13px 28px rgba(255,72,21,.25); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; display: flex; align-items: center; justify-content: center; gap: 9px;
}
.primary-action:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(255,72,21,.34); filter: saturate(1.1); }
.primary-action:disabled { cursor: wait; opacity: .82; }
.button-loader { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.switch-copy { margin: 14px 0 0; text-align: center; color: #847972; font-size: 10px; }
.switch-copy button { border: 0; padding: 0; background: transparent; color: var(--orange-deep); font-weight: 850; cursor: pointer; }

.success-state { min-height: 490px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.success-mark { width: 58px; height: 58px; margin-bottom: 19px; border-radius: 50%; display: grid; place-items: center; background: #173c26; color: white; font-size: 26px; box-shadow: 0 0 0 9px rgba(23,60,38,.08); animation: success-pop .5s ease both; }
.success-state .primary-action { margin-top: 28px; }

.access-footer { width: min(1360px,100%); margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); font-size: 10px; display: flex; justify-content: space-between; }

@keyframes drop-in { from { opacity: 0; transform: translateY(-18px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(32px); } }
@keyframes panel-swap { from { opacity: 0; transform: translateX(9px); } }
@keyframes word-swap { from { opacity: 0; transform: translateY(15px); filter: blur(5px); } }
@keyframes float-card { 0%,100% { transform: translate3d(0,0,0) rotate(-.4deg); } 50% { transform: translate3d(0,-12px,0) rotate(.5deg); } }
@keyframes ring-pulse { 0% { transform: scale(.78); opacity: 0; } 28% { opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes radar-ping { 0% { box-shadow: 0 0 0 0 rgba(255,72,21,.8); } 70%,100% { box-shadow: 0 0 0 11px rgba(255,72,21,0); } }
@keyframes signal { 50% { transform: scale(.72); opacity: .7; } }
@keyframes ambient-drift { to { transform: translate3d(35px,28px,0) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes success-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }

@media (max-width: 1180px) {
  .hero-shell { grid-template-columns: minmax(380px, 1fr) minmax(200px,.45fr) minmax(355px,.8fr); gap: 16px; }
  .float-card { transform: scale(.88); }
  .connection-card { display: none; }
  .topbar nav { display: none; }
}

@media (max-width: 900px) {
  .access-page { overflow: auto; padding: 16px; background-position: 56% top; }
  .topbar { position: relative; padding: 9px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .text-button { display: none; }
  .solid-button { padding: 0 12px; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 46px; }
  .hero-copy { padding: 0 6px; max-width: 660px; }
  .hero-copy h1 { font-size: clamp(46px, 11vw, 74px); }
  .visual-stage { display: none; }
  .auth-card { width: min(540px,100%); min-height: 0; margin: 15px 0 24px; }
  .auth-form { padding-top: 26px; }
  .access-footer { padding: 18px 4px 2px; }
}

@media (max-width: 560px) {
  .access-page { padding: 10px; }
  .topbar { min-height: 60px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 12px; }
  .solid-button { min-height: 40px; font-size: 11px; }
  .hero-shell { padding-top: 38px; }
  .hero-description { max-width: 95%; }
  .market-proof { gap: 16px; justify-content: space-between; }
  .market-proof strong { font-size: 19px; }
  .market-proof span { max-width: 90px; }
  .auth-card { border-radius: 14px; }
  .access-footer span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Three-proposal comparison control */
.version-switcher {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 11px;
  background: rgba(249,246,240,.94);
  box-shadow: 0 18px 50px rgba(10,3,0,.28);
  backdrop-filter: blur(18px);
}
.version-caption { align-self: center; padding: 0 10px; color: #83766f; font-size: 7px; font-weight: 900; letter-spacing: .16em; }
.version-switcher a {
  min-width: 90px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 7px;
  color: #171411;
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 7px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.version-switcher a:hover { transform: translateY(-2px); background: #eee7df; }
.version-switcher a.active { color: white; background: #ff4815; }
.version-switcher strong { grid-row: 1 / 3; font-family: Georgia, serif; font-size: 17px; }
.version-switcher small { font-size: 7px; font-weight: 800; white-space: nowrap; }

/* Shared dynamic authentication used by proposals 2 and 3 */
.shared-auth {
  width: 100%;
  max-width: 430px;
  padding: 10px;
  border: 1px solid rgba(25,17,12,.12);
  border-radius: 16px;
  background: rgba(255,253,249,.97);
  box-shadow: 0 30px 80px rgba(28,9,1,.16);
}
.shared-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; border-radius: 9px; background: #eee7df; }
.shared-auth-tabs button { min-height: 38px; border: 0; border-radius: 6px; color: #81736c; background: transparent; cursor: pointer; font-size: 11px; font-weight: 850; transition: .25s ease; }
.shared-auth-tabs button.active { color: #15120f; background: white; box-shadow: 0 4px 14px rgba(30,17,10,.08); }
.shared-auth-form, .shared-success { padding: 26px clamp(16px, 2vw, 28px) 18px; animation: shared-enter .35s ease both; }
.shared-auth-heading { margin-bottom: 18px; }
.shared-auth-heading > span, .shared-success > small { color: #d72a09; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.shared-auth-heading h2, .shared-success h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: clamp(27px, 2.4vw, 36px); line-height: 1; letter-spacing: -.04em; }
.shared-auth-heading p, .shared-success p { margin: 8px 0 0; color: #7a6e68; font-size: 10px; line-height: 1.5; }
.shared-field { display: grid; gap: 6px; margin-top: 12px; }
.shared-field > span { color: #3c342f; font-size: 9px; font-weight: 850; }
.shared-field > input, .shared-password > input { width: 100%; height: 45px; padding: 0 12px; outline: 0; border: 1px solid #d9d0ca; border-radius: 7px; background: white; color: #171411; font-size: 12px; transition: border .2s ease, box-shadow .2s ease, transform .2s ease; }
.shared-field input::placeholder { color: #aa9f98; }
.shared-field input:focus { border-color: #ff4815; box-shadow: 0 0 0 4px rgba(255,72,21,.09); transform: translateY(-1px); }
.shared-field input:valid:not(:placeholder-shown) { border-color: #619272; }
.shared-password { position: relative; display: block; font-style: normal; }
.shared-password > input { padding-right: 45px; }
.shared-password > button { position: absolute; right: 5px; top: 5px; width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #867a73; cursor: pointer; }
.shared-password > button:hover { background: #f1ebe6; }
.shared-password svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shared-strength { margin-top: 9px; display: flex; align-items: center; gap: 8px; }
.shared-strength > span { flex: 1; height: 3px; overflow: hidden; border-radius: 999px; background: #e7ded8; }
.shared-strength > span i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#e02f10,#ff8d3b,#4a8e67); transition: width .3s ease; }
.shared-strength small { min-width: 84px; text-align: right; color: #7b7069; font-size: 7px; }
.shared-check { margin: 14px 0; display: flex; align-items: flex-start; gap: 8px; color: #736861; font-size: 8px; line-height: 1.4; }
.shared-check input { accent-color: #ff4815; }
.shared-submit, .shared-success > button { width: 100%; min-height: 47px; border: 0; border-radius: 7px; background: #ff4815; color: white; box-shadow: 0 12px 25px rgba(255,72,21,.24); font-size: 11px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.shared-submit:hover:not(:disabled), .shared-success > button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,72,21,.32); }
.shared-switch { margin: 12px 0 0; text-align: center; color: #83766f; font-size: 8px; }
.shared-switch button { border: 0; padding: 0; background: transparent; color: #d72a09; font-weight: 900; cursor: pointer; }
.shared-loader { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.shared-success { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.shared-success > span { width: 54px; height: 54px; margin-bottom: 19px; display: grid; place-items: center; border-radius: 50%; background: #173c26; color: white; font-size: 23px; box-shadow: 0 0 0 9px rgba(23,60,38,.08); animation: success-pop .5s ease both; }
.shared-success > button { margin-top: 24px; }

/* Proposal 2 — editorial triptych */
.v2-page { min-height: 100svh; padding-bottom: 75px; overflow: hidden; background: #f2ede6; color: #171411; }
.v2-header { height: 82px; padding: 0 clamp(24px,4.5vw,76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9d0c8; background: #f8f4ee; }
.v2-logo { color: inherit; text-decoration: none; display: grid; grid-template-columns: 42px auto; grid-template-rows: 1fr 1fr; column-gap: 11px; align-items: center; }
.v2-logo > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: #ff4815; font-family: Georgia,serif; font-weight: 900; }
.v2-logo strong { align-self: end; font-size: 13px; letter-spacing: .14em; }
.v2-logo small { align-self: start; margin-top: 3px; color: #8a7e77; font-size: 6px; font-weight: 850; letter-spacing: .1em; }
.v2-header nav { display: flex; align-items: center; gap: 29px; }
.v2-header nav a { color: #3a322e; text-decoration: none; font-size: 10px; font-weight: 800; }
.v2-live { padding: 8px 11px; border: 1px solid #dbd1ca; border-radius: 999px; color: #675e58; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.v2-live i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #54a36d; animation: signal 1.6s ease infinite; }
.v2-canvas { min-height: calc(100svh - 137px); display: grid; grid-template-columns: minmax(360px,1.02fr) minmax(320px,.86fr) minmax(380px,.92fr); }
.v2-story { position: relative; padding: clamp(48px,6vw,96px) clamp(32px,5vw,78px); overflow: hidden; color: white; background: #141210; }
.v2-story::after { content: "RADAR"; position: absolute; left: -25px; bottom: -27px; color: rgba(255,255,255,.035); font: 900 clamp(100px,13vw,230px)/.8 Arial,sans-serif; letter-spacing: -.08em; pointer-events: none; }
.v2-number { position: absolute; right: 28px; top: 28px; color: #867b74; font: 10px ui-monospace,monospace; }
.v2-eyebrow { margin: 0; color: #ff9e78; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.v2-story h1 { margin: clamp(28px,4vh,55px) 0 0; font: 650 clamp(48px,5.1vw,83px)/.9 Georgia,serif; letter-spacing: -.055em; }
.v2-story h1 em { color: #ff6b35; font-weight: inherit; }
.v2-intro { max-width: 480px; margin: 28px 0 0; color: #c5bbb4; font-size: clamp(13px,1.25vw,17px); line-height: 1.6; }
.v2-metrics { position: relative; z-index: 2; margin-top: clamp(38px,7vh,75px); display: flex; gap: clamp(24px,3vw,52px); }
.v2-metrics div { display: grid; gap: 5px; }
.v2-metrics strong { font: 700 26px Georgia,serif; }
.v2-metrics span { color: #8d827b; font-size: 8px; }
.v2-ticker { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 42px; overflow: hidden; border-top: 1px solid #352f2b; background: #1b1816; }
.v2-ticker-track { width: max-content; height: 100%; display: flex; align-items: center; gap: 42px; padding-left: 30px; color: #c8bbb3; font-size: 8px; animation: ticker-left 19s linear infinite; }
.v2-photo { position: relative; min-height: 650px; overflow: hidden; background: linear-gradient(180deg,rgba(10,5,2,.05),rgba(10,2,0,.68)),url('../images/radar-access-hero.png') 52% center/cover no-repeat; }
.v2-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,72,21,.12),transparent 40%); }
.v2-scan-line { position: absolute; z-index: 3; left: 0; right: 0; height: 1px; top: -5%; background: linear-gradient(90deg,transparent,#ff7340,transparent); box-shadow: 0 0 18px #ff4815; animation: v2-scan 5s ease-in-out infinite; }
.v2-photo-note { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 42px; padding: 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: white; background: rgba(18,13,10,.52); backdrop-filter: blur(12px); display: grid; gap: 4px; animation: float-card 5s ease-in-out infinite; }
.v2-photo-note > span { color: #ffb294; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.v2-photo-note > span i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #72e392; }
.v2-photo-note strong { font: 600 15px Georgia,serif; }
.v2-photo-note small { color: #cbbfb9; font-size: 7px; }
.v2-photo-index { position: absolute; right: 16px; top: 20px; padding: 7px 9px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); font: 7px ui-monospace,monospace; }
.v2-access-column { padding: clamp(30px,5vw,72px); display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f6f1eb; }
.v2-column-label { width: 100%; max-width: 430px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: #8a7d76; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.v2-column-label i { flex: 1; height: 1px; background: #d9d0ca; }
.v2-footer { min-height: 55px; padding: 0 clamp(24px,4.5vw,76px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d9d0c8; color: #7f746d; background: #f8f4ee; font-size: 8px; }
.v2-footer p { font-family: Georgia,serif; color: #3b332f; }

/* Proposal 3 — live radar control surface */
.v3-page { position: relative; min-height: 100svh; padding-bottom: 77px; overflow: hidden; isolation: isolate; color: #f8f4ee; background: #0d0b0a; }
.v3-grid-lines { position: absolute; z-index: -2; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(90deg,black,transparent 82%); }
.v3-page::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 31%; top: 5%; border-radius: 50%; background: rgba(255,66,15,.13); filter: blur(95px); animation: ambient-drift 9s ease-in-out infinite alternate; }
.v3-header { height: 82px; padding: 0 clamp(24px,4.5vw,74px); display: flex; align-items: center; gap: 42px; border-bottom: 1px solid #2e2824; background: rgba(13,11,10,.9); backdrop-filter: blur(16px); }
.v3-logo { color: inherit; text-decoration: none; display: grid; grid-template-columns: 38px auto; grid-template-rows: 1fr 1fr; column-gap: 10px; align-items: center; }
.v3-logo > span { grid-row: 1/3; position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ff6b35; border-radius: 50%; }
.v3-logo > span::before { content: ""; width: 21px; height: 21px; border: 1px solid rgba(255,107,53,.55); border-radius: 50%; }
.v3-logo > span i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ff4815; animation: radar-ping 2s ease infinite; }
.v3-logo strong { align-self: end; font-size: 12px; letter-spacing: .14em; }
.v3-logo small { align-self: start; margin-top: 3px; color: #776c65; font-size: 6px; letter-spacing: .12em; }
.v3-market-state { margin-left: auto; padding: 8px 12px; border: 1px solid #342d29; border-radius: 99px; color: #9d918a; font-size: 7px; letter-spacing: .1em; }
.v3-market-state > i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #5cd77d; animation: signal 1.5s ease infinite; }
.v3-market-state strong { margin: 0 4px 0 10px; color: #ff7040; font-size: 11px; }
.v3-header nav { display: flex; gap: 24px; }
.v3-header nav a { color: #b8ada6; text-decoration: none; font-size: 8px; font-weight: 800; }
.v3-layout { width: min(1510px,100%); min-height: calc(100svh - 138px); margin: 0 auto; padding: 35px clamp(24px,4vw,65px) 20px; display: grid; grid-template-columns: minmax(320px,.78fr) minmax(390px,1fr) minmax(370px,.85fr); align-items: center; gap: clamp(20px,3vw,55px); }
.v3-copy { position: relative; z-index: 4; }
.v3-step { color: #ff875d; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.v3-copy h1 { margin: 25px 0 0; font: 650 clamp(46px,4.7vw,77px)/.89 Georgia,serif; letter-spacing: -.055em; }
.v3-copy h1 em { color: #ff5b24; font-weight: inherit; }
.v3-copy > p { max-width: 390px; margin: 27px 0 0; color: #9f938c; font-size: 13px; line-height: 1.65; }
.v3-proof { margin-top: 36px; display: flex; gap: 43px; }
.v3-proof span { display: grid; gap: 4px; color: #736a64; font-size: 7px; text-transform: uppercase; letter-spacing: .11em; }
.v3-proof strong { color: white; font: 600 24px Georgia,serif; letter-spacing: normal; }
.v3-radar-console { position: relative; aspect-ratio: 1; width: min(100%,620px); border-radius: 50%; }
.v3-radar-photo { position: absolute; z-index: 1; inset: 19%; border-radius: 50%; background: linear-gradient(180deg,rgba(255,72,21,.03),rgba(13,11,10,.45)),url('/radar-hero.png') 51% center/cover no-repeat; box-shadow: 0 0 0 1px rgba(255,114,64,.26),0 0 80px rgba(255,65,15,.13); filter: saturate(.82) contrast(1.05); }
.v3-radar-ring { position: absolute; inset: 0; border: 1px solid rgba(255,92,37,.19); border-radius: 50%; }
.v3-radar-ring::before, .v3-radar-ring::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,92,37,.16); transform: translate(-50%,-50%); }
.v3-radar-ring::before { width: 100%; height: 1px; }
.v3-radar-ring::after { width: 1px; height: 100%; }
.ring-b { inset: 12%; }
.ring-c { inset: 30%; }
.v3-sweep { position: absolute; z-index: 2; inset: 0; border-radius: 50%; overflow: hidden; animation: sweep-rotate 5s linear infinite; }
.v3-sweep::after { content: ""; position: absolute; left: 50%; top: 50%; width: 50%; height: 42%; transform-origin: left top; background: conic-gradient(from 270deg,rgba(255,75,21,.42),transparent 48%); clip-path: polygon(0 0,100% 0,0 100%); }
.v3-node { position: absolute; z-index: 5; min-width: 155px; padding: 9px 11px; border: 1px solid #403631; border-radius: 8px; background: rgba(19,16,14,.88); box-shadow: 0 15px 40px rgba(0,0,0,.28); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 8px; animation: float-card 5s ease-in-out infinite; }
.v3-node > i { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #ff5f28; box-shadow: 0 0 0 5px rgba(255,95,40,.1); }
.v3-node > span { display: grid; gap: 2px; }
.v3-node strong { color: #f5eee9; font-size: 8px; }
.v3-node small { color: #766c66; font-size: 6px; }
.node-a { left: -8%; top: 19%; }
.node-b { right: -8%; top: 38%; animation-delay: -2s; }
.node-c { left: 1%; bottom: 10%; animation-delay: -3.5s; }
.v3-coordinate { position: absolute; color: #5f554f; font: 6px ui-monospace,monospace; }
.coordinate-a { top: 49%; left: -5%; }
.coordinate-b { right: 2%; bottom: 21%; transform: rotate(90deg); }
.v3-auth-wrap { position: relative; z-index: 10; display: flex; justify-content: flex-end; }
.auth-v3 { border-color: rgba(255,255,255,.25); background: rgba(247,242,235,.97); box-shadow: 0 35px 90px rgba(0,0,0,.48); }
.v3-feed { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: 55px; display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; border-top: 1px solid #2e2824; background: #12100f; }
.v3-feed-label { height: 100%; padding: 0 28px; display: grid; place-items: center; border-right: 1px solid #2e2824; color: #ff7443; font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.v3-feed-track { width: max-content; display: flex; gap: 54px; padding-left: 34px; color: #776e68; font: 7px ui-monospace,monospace; animation: ticker-left 22s linear infinite; }

@keyframes shared-enter { from { opacity: 0; transform: translateX(8px); } }
@keyframes ticker-left { to { transform: translateX(-50%); } }
@keyframes v2-scan { 0% { top: -3%; opacity: 0; } 15% { opacity: 1; } 75% { opacity: .8; } 100% { top: 103%; opacity: 0; } }
@keyframes sweep-rotate { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .v2-canvas { grid-template-columns: 1fr .72fr 1fr; }
  .v2-story { padding-left: 34px; padding-right: 34px; }
  .v2-access-column { padding: 28px; }
  .v3-layout { grid-template-columns: minmax(300px,.85fr) minmax(300px,.8fr) minmax(350px,.9fr); gap: 18px; }
  .node-a, .node-c { left: -2%; }
  .node-b { right: -2%; }
}

@media (max-width: 900px) {
  .version-caption, .version-switcher small { display: none; }
  .version-switcher a { min-width: 48px; grid-template-columns: 1fr; place-items: center; }
  .version-switcher strong { grid-row: auto; }
  .v2-header nav a, .v3-header nav { display: none; }
  .v2-canvas, .v3-layout { grid-template-columns: 1fr; }
  .v2-story { min-height: 560px; padding: 54px 30px 70px; }
  .v2-photo { min-height: 620px; }
  .v2-access-column { padding: 42px 18px 85px; }
  .v2-footer { display: none; }
  .v3-page { overflow: auto; }
  .v3-layout { padding-top: 54px; padding-bottom: 95px; }
  .v3-copy { padding: 0 7px; }
  .v3-radar-console { width: min(580px,92vw); margin: 10px auto 30px; }
  .v3-auth-wrap { justify-content: center; }
  .v3-feed { position: relative; }
  .v3-market-state { margin-left: auto; }
}

@media (max-width: 560px) {
  .v2-header, .v3-header { height: 68px; padding: 0 14px; }
  .v2-header nav, .v3-market-state { display: none; }
  .v2-logo small, .v3-logo small { display: none; }
  .v2-story h1, .v3-copy h1 { font-size: clamp(44px,14vw,64px); }
  .v2-photo { min-height: 540px; background-position: 50% center; }
  .v2-metrics { justify-content: space-between; }
  .v3-radar-console { width: 100%; }
  .v3-node { min-width: 126px; }
  .v3-feed { grid-template-columns: 1fr; height: 45px; }
  .v3-feed-label { display: none; }
  .shared-auth { border-radius: 13px; }
}

/* RADAR v2.1 — password recovery */
.auth-success-summary {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(50, 132, 82, .22);
  border-radius: 8px;
  color: #235f39;
  background: #effbf2;
  font-size: 10px;
  line-height: 1.5;
}
.login-assist-row {
  margin: 11px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #81766f;
  font-size: 9px;
  line-height: 1.4;
}
.login-assist-row a,
.switch-copy a {
  color: var(--orange-deep);
  font-weight: 850;
  text-decoration: none;
}
.login-assist-row a:hover,
.switch-copy a:hover { text-decoration: underline; }
.recovery-page { overflow: auto; }
.recovery-shell {
  width: min(1360px, 100%);
  min-height: 66svh;
  margin: 0 auto;
  padding: clamp(42px, 8vh, 96px) 0;
  display: grid;
  place-items: center;
}
.recovery-card {
  width: min(100%, 500px);
  border: 1px solid rgba(255,255,255,.52);
  background: rgba(248,245,239,.98);
  box-shadow: 0 34px 90px rgba(31,5,0,.3);
  backdrop-filter: blur(18px);
}
.recovery-card .shared-auth-heading h1 {
  margin-top: 9px;
  font-size: clamp(31px, 3vw, 43px);
}
.recovery-card .primary-action { width: 100%; margin-top: 20px; }
.recovery-note {
  margin: 18px 0 0;
  padding: 12px 13px;
  border: 1px solid rgba(255,72,21,.12);
  border-radius: 8px;
  color: #756a64;
  background: rgba(255,72,21,.045);
  font-size: 9px;
  line-height: 1.55;
}
@media (max-width: 680px) {
  .login-assist-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .recovery-shell { padding: 28px 0 54px; }
}

/* ==============================================================
   RESPONSIVE FINAL — LOGIN
   Mobile decision:
   1) brand + language
   2) compact product promise
   3) auth tabs + Google/email/password
   4) secondary proof below/away from first viewport
   ============================================================== */
html,body{max-width:100%;overflow-x:hidden}
.access-page{min-height:100dvh}
.auth-card,.hero-copy,.topbar,.access-footer{min-width:0}
.auth-card input,.auth-card button,.auth-card a{-webkit-tap-highlight-color:transparent}

@media (max-width:900px){
  .access-page{min-height:100dvh;padding:12px}
  .topbar{position:relative;z-index:5}
  .hero-shell{padding-top:28px;gap:0}
  .hero-copy{max-width:600px}
  .auth-card{margin-top:18px}
}

@media (max-width:560px){
  /* Remove duplicate navigation actions: the auth card already exposes Entrar/Criar conta. */
  .access-page{padding:8px 8px calc(18px + env(safe-area-inset-bottom));background-position:58% top}
  .topbar{
    min-height:54px;padding:6px 8px;border-radius:13px;
    display:flex;align-items:center;justify-content:space-between;gap:8px
  }
  .topbar nav,.topbar .text-button,.topbar .solid-button{display:none!important}
  .brand{gap:9px;min-width:0}
  .brand-mark{width:36px;height:36px;flex:0 0 auto}
  .brand-copy strong{font-size:11px;letter-spacing:.12em}
  .brand-copy small{display:none}
  .header-actions{margin-left:auto;gap:4px}
  .access-language{flex:0 0 auto}
  .access-language button{min-width:38px;min-height:38px}

  /* Keep identity, but make it a short introduction instead of the whole first viewport. */
  .hero-shell{display:flex;flex-direction:column;padding-top:18px}
  .hero-copy{order:1;padding:0 8px}
  .hero-copy .eyebrow{font-size:8px;letter-spacing:.13em}
  .hero-copy h1{
    margin-top:8px;font-size:clamp(31px,9.7vw,39px);line-height:.98;
    letter-spacing:-.035em;max-width:11.5ch
  }
  .hero-description{
    margin-top:11px;max-width:35ch;font-size:12px;line-height:1.48
  }
  .live-signal,.market-proof{display:none}
  .visual-stage{display:none}

  /* Authentication becomes the dominant mobile action. */
  .auth-card{
    order:2;width:100%;margin:16px 0 12px;border-radius:16px;
    min-height:0;box-shadow:0 18px 48px rgba(36,14,7,.15)
  }
  .auth-tabs{min-height:48px}
  .auth-tabs button{min-height:48px;font-size:11px}
  .auth-form{padding:18px 16px 16px}
  .form-heading{margin-bottom:16px}
  .form-heading h2{font-size:26px;line-height:1.03}
  .form-heading>p:last-child{font-size:11.5px}
  .google-action,.primary-action{min-height:50px}
  .field{margin-top:12px}
  .field>span:first-child{font-size:10px}
  .field input{
    min-height:49px;font-size:16px; /* avoids iOS auto-zoom */
    padding-left:13px;padding-right:13px
  }
  .password-wrap input{padding-right:50px}
  .eye-button{width:44px;height:44px;right:3px}
  .check-row{align-items:flex-start;gap:9px;line-height:1.42}
  .check-row input{width:18px;height:18px;flex:0 0 auto;margin-top:1px}
  .login-assist-row{gap:5px;font-size:10.5px;line-height:1.4}
  .switch-copy{margin-top:14px}
  .auth-divider{margin:13px 0}
  .access-footer{padding:12px 4px 0;font-size:9px}
  .access-footer span:last-child{display:none}

  /* Give focused controls breathing room above the software keyboard. */
  .auth-form input,.auth-form button{scroll-margin-bottom:34dvh}
}

@media (max-width:360px){
  .access-page{padding-inline:6px}
  .topbar{padding-inline:7px}
  .hero-shell{padding-top:14px}
  .hero-copy{padding-inline:7px}
  .hero-copy h1{font-size:30px;max-width:12ch}
  .hero-description{font-size:11.5px}
  .auth-form{padding:16px 13px 14px}
  .form-heading h2{font-size:24px}
}

@media (max-width:560px) and (max-height:700px){
  /* Short phones / landscape: preserve the brand promise but remove non-essential copy. */
  .hero-shell{padding-top:10px}
  .hero-copy h1{font-size:28px}
  .hero-description{display:none}
  .auth-card{margin-top:12px}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:900px){
  .hero-copy{display:none}
  .hero-shell{padding-top:10px}
  .auth-card{margin:0 auto 12px;max-width:540px}
  .access-footer{display:none}
}

@media (prefers-reduced-motion:reduce){
  .rotating-word{animation:none!important}
}
