
:root {
  --ink: #f4f1e8;
  --muted: #aeb8b3;
  --deep: #101a18;
  --deep-2: #162521;
  --panel: rgba(255,255,255,.065);
  --panel-border: rgba(255,255,255,.13);
  --accent: #e4b85c;
  --accent-soft: #f2dca8;
  --green: #78b89f;
  --danger: #ffaaa0;
  --shadow: 0 30px 80px rgba(0,0,0,.28);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 17%, rgba(120,184,159,.16), transparent 32rem),
    radial-gradient(circle at 82% 78%, rgba(228,184,92,.11), transparent 28rem),
    linear-gradient(135deg, #0b1312 0%, var(--deep) 52%, #14221f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #fff1c7;
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 42px 0;
}

.hero {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.brand-wrap {
  margin-bottom: clamp(46px, 8vh, 88px);
}

.brand-logo {
  width: min(620px, 94%);
  height: auto;
  display: block;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 780;
}

.intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}

.purr-line {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 40px;
  margin-top: 30px;
}

.purr-line span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: purr 1.8s ease-in-out infinite;
}

.purr-line span:nth-child(2) { animation-delay: .15s; }
.purr-line span:nth-child(3) { animation-delay: .30s; }

@keyframes purr {
  0%, 100% { transform: scale(.8); opacity: .42; }
  50% { transform: scale(1.35); opacity: 1; }
}

.site-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  color: #7f8d87;
  font-size: 13px;
}

.dot {
  color: #55635f;
}

.login-panel {
  display: flex;
  justify-content: flex-end;
}

.login-card {
  width: min(100%, 390px);
  padding: 36px;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: 15px 15px 19px 19px;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
  position: relative;
  box-shadow: 0 8px 30px rgba(228,184,92,.18);
}

.ear {
  position: absolute;
  top: -6px;
  width: 17px;
  height: 17px;
  background: var(--accent-soft);
  transform: rotate(45deg);
  border-radius: 3px 8px 3px 8px;
}

.ear-left { left: 5px; }
.ear-right { right: 5px; }

.face-dot {
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 5px;
  height: 5px;
  background: #22302c;
  border-radius: 50%;
  transform: translateX(-50%);
}

h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.035em;
}

.login-intro {
  margin: 8px 0 27px;
  color: var(--muted);
}

label {
  display: block;
  margin: 17px 0 7px;
  color: #dfe5e2;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  outline: none;
  background: rgba(4,12,10,.48);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus {
  border-color: rgba(228,184,92,.74);
  box-shadow: 0 0 0 4px rgba(228,184,92,.10);
  background: rgba(4,12,10,.65);
}

button {
  width: 100%;
  height: 51px;
  margin-top: 23px;
  border: 0;
  border-radius: 13px;
  color: #13201c;
  background: linear-gradient(135deg, #f2dca8, var(--accent));
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(228,184,92,.14);
  transition: transform .12s ease, filter .12s ease;
}

button:hover {
  filter: brightness(1.06);
}

button:active {
  transform: translateY(1px);
}

.login-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.privacy-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #788681;
  font-size: 12px;
}

@media (max-width: 840px) {
  .page-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 34px 0 54px;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .brand-wrap {
    margin-bottom: 46px;
  }

  h1 {
    font-size: clamp(45px, 12vw, 72px);
  }

  .site-footer {
    position: static;
    margin-top: 48px;
  }

  .login-panel {
    justify-content: stretch;
  }

  .login-card {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purr-line span {
    animation: none;
  }
}
