/* Browser-only presentation; the Android stylesheet remains untouched. */
body { padding: 0; }

.auth-shell {
  position: relative;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 9% 18%, rgba(181, 39, 35, .22), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(51, 82, 101, .26), transparent 32%),
    #0b1720;
}
.auth-shell::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(90deg, transparent 98%, #fff 99%), linear-gradient(transparent 98%, #fff 99%);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.auth-card { position: relative; z-index: 1; }
.web-auth-intro { display: none; }

@media (min-width: 900px) {
  .auth-shell:has(.web-auth-intro) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 560px);
    gap: clamp(36px, 5vw, 92px);
    align-items: center;
    width: 100%;
    padding: 38px clamp(38px, 6vw, 110px);
  }
  .web-auth-intro {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 790px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #f8f6f0;
    animation: webRise .6s ease-out both;
  }
  .web-back {
    color: #d8e1e4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    margin-bottom: clamp(38px, 6vh, 76px);
  }
  .web-back:hover { color: #fff; }
  .web-eyebrow {
    margin: 0 0 18px;
    color: #f16a61;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
  }
  .web-auth-intro h2 {
    max-width: 700px;
    margin: 0;
    font: 800 clamp(58px, 6.5vw, 105px)/.9 "Barlow Condensed", sans-serif;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }
  .web-intro-copy {
    max-width: 520px;
    margin: 27px 0 10px;
    color: #b8c5ca;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.6;
  }
  .web-auth-intro img {
    width: min(100%, 700px);
    max-height: 38vh;
    object-fit: contain;
    object-position: left center;
    margin-top: 12px;
    filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .45));
  }
  .auth-shell:has(.web-auth-intro) .auth-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    animation: webRise .65s .1s ease-out both;
  }
  .auth-shell:has(.auth-form textarea) { align-items: start; }
  .auth-shell:has(.auth-form textarea) .web-auth-intro { position: sticky; top: 38px; }
  .auth-shell:has(.web-auth-intro) .auth-visual { height: 170px; }
  .auth-shell:has(.web-auth-intro) .auth-copy { padding: 25px 30px 5px; }
  .auth-shell:has(.web-auth-intro) .auth-copy small { font-size: 10px; }
  .auth-shell:has(.web-auth-intro) .auth-copy h1 { font-size: 38px; }
  .auth-shell:has(.web-auth-intro) .auth-copy p { font-size: 13px; }
  .auth-shell:has(.web-auth-intro) .auth-form { margin: 15px 24px 0; padding: 20px; gap: 15px; }
  .auth-shell:has(.web-auth-intro) .auth-form label { font-size: 11px; }
  .auth-shell:has(.web-auth-intro) .auth-form input,
  .auth-shell:has(.web-auth-intro) .auth-form select,
  .auth-shell:has(.web-auth-intro) .auth-form textarea { font-size: 14px; }
  .auth-shell:has(.web-auth-intro) .auth-note { font-size: 11px; }
  .auth-shell:has(.web-auth-intro) .auth-switch { font-size: 12px; }
  .auth-shell:has(.web-auth-intro) .auth-link { font-size: 11px; }
  .auth-shell:has(.web-auth-intro) .main-button { font-size: 13px; }
}

@media (min-width: 1000px) {
  body { background: #d9dedc; }
  .mobile-app {
    max-width: 1280px;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: 0 0 90px rgba(0, 0, 0, .16);
  }
  .app-header { height: 84px; padding-inline: 36px; border-radius: 0; }
  .app-header > div small { font-size: 10px; }
  .app-header > div strong { font-size: 22px; }
  .wordmark span { font-size: 35px; }
  .wordmark strong { font-size: 14px; }
  .screen { max-width: 1100px; margin-inline: auto; padding: 30px 40px 120px; }
  .screen-title h1 { font-size: 44px; }
  .screen-title p { max-width: 700px; font-size: 14px; }
  .welcome-row h1 { font-size: 38px; }
  .home-hero { height: 300px; }
  .hero-label strong { font-size: 38px; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-grid > button { min-height: 155px; padding: 20px; }
  .quick-grid strong { font-size: 17px; }
  .quick-grid small { font-size: 12px; }
  .bottom-tabs { width: min(100%, 1280px); height: 78px; bottom: 0; border-radius: 0; }
  .bottom-tabs button { font-size: 11px; }
  .bottom-tabs.six button { font-size: 10px; }
}

@media (max-width: 899px) {
  .auth-shell { padding: 18px; }
  .auth-card { width: min(100%, 560px); }
}

@keyframes webRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .web-auth-intro, .auth-shell:has(.web-auth-intro) .auth-card { animation: none; }
}
