/* The existing application keeps its controls; the welcome view gets a visual identity. */
body { background: #f7f9f2; }
header { gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { display: block; width: 48px; height: 48px; object-fit: contain; }
header > span { letter-spacing: .01em; }
.header-login { display: inline-flex; align-items: center; justify-content: center; gap: 16px; margin-left: auto; min-height: 44px; padding: 10px 16px; border: 1px solid #cfdbc3; border-radius: 12px; text-decoration: none; font-weight: 650; background: #fff; }
.header-login:hover { background: #edf3e4; }
#account:empty { display: none; }
.welcome-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 68px); margin: 8px 0 48px; padding: 12px 0 30px; }
.welcome-layout .intro { min-width: 0; margin: 0; padding: 0 12px 0 0; background: none; border: 0; border-radius: 0; }
.brand-visual { position: relative; display: flex; align-items: center; justify-content: flex-start; isolation: isolate; overflow: clip; max-width: 440px; margin: 0 0 12px; }
.brand-orbit { position: absolute; z-index: -1; inset: 14% 0 8% 6%; border-radius: 50%; background: radial-gradient(ellipse at center, #dcf28d 0%, #e9f2d2 52%, #f7f9f2 72%); transform: rotate(-12deg); }
.hero-logo { display: block; width: min(100%, 380px); height: auto; filter: drop-shadow(0 18px 22px rgb(22 63 53 / .12)); }
.welcome-layout .eyebrow { color: #4f6b42; font-size: .6875rem; letter-spacing: .13em; line-height: 1.6; }
.welcome-layout h1 { font-size: clamp(2rem, 4.2vw, 3.125rem); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 18px; }
.intro-copy { max-width: 520px; color: #526555; line-height: 1.75; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.service-tags li { display: flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid #d9e3cf; border-radius: 999px; background: #eff4e6; color: #3f5a3c; font-size: .75rem; }
.service-tags span { font-size: 1rem; }
.welcome-layout #auth { width: 100%; max-width: 480px; margin: 0; padding: clamp(22px, 3vw, 36px); border-color: #dce5d5; border-radius: 24px; box-shadow: 0 18px 55px rgb(27 60 44 / .07); }
.welcome-layout #auth h2 { font-size: 1.625rem; letter-spacing: -.025em; }
.welcome-layout #auth input { background: #fafcf6; }
.welcome-layout #auth .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.welcome-layout #recovery-open { margin-top: 12px; padding-inline: 0; background: transparent; border: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.is-authenticated .welcome-layout, .is-authenticated .header-login { display: none; }
@media (min-width: 1100px) {
  .welcome-layout { min-height: 680px; }
}
@media (max-width: 800px) {
  .welcome-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 600px; margin: 0 auto 32px; padding: 0; }
  .welcome-layout .intro { padding: 0; text-align: center; }
  .brand-visual { width: 100%; max-width: 320px; justify-content: center; margin: 0 auto 12px; }
  .hero-logo { width: min(100%, 260px); }
  .welcome-layout h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
  .intro-copy { margin-inline: auto; }
  .service-tags { justify-content: center; }
  .welcome-layout #auth { max-width: none; }
  header { gap: 12px; }
  .header-login { font-size: .8125rem; padding: 8px 12px; gap: 8px; }
}
@media (max-width: 430px) {
  .brand { font-size: 27px; gap: 6px; }
  .brand img { width: 42px; height: 42px; }
  .header-login { font-size: .75rem; gap: 5px; }
  .hero-logo { width: min(100%, 230px); }
}
@media (prefers-reduced-motion: no-preference) {
  .header-login { transition: background-color .15s ease; }
}
