:root {
  color-scheme: light;
  --ink: #18213e;
  --muted: #65708a;
  --base: #fff;
  --lavender: #f3f0ff;
  --border: #e8e7f0;
  --accent: #6136f5;
  --soft-accent: #e9e0ff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #f7f6fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 24px; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
em { color: var(--accent); font-style: normal; }

.site-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 44px;
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.wordmark { font-size: 36px; line-height: 1; letter-spacing: -2.3px; font-weight: 800; }
.wordmark span, .footer-brand span { color: var(--accent); }
.nav-link { color: var(--muted); font-size: 12px; font-weight: 600; }
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--base);
  font-size: 12px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 510px;
  padding: 40px 44px 54px;
  gap: 12px;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -60px 0 0 30%;
  z-index: -1;
  background: radial-gradient(ellipse at 70% 40%, var(--lavender), transparent 65%);
}
.hero-copy { align-self: center; position: relative; z-index: 2; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.6; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(36px, 5.55vw, 59px); line-height: 1.12; font-weight: 800; letter-spacing: -2.8px; }
.hero-description { max-width: 370px; margin-top: 22px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin-top: 28px; }
.primary-button, .text-link, .nav-login, .back-link { transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 15px 21px;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 15px rgb(97 54 245 / 14%);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(97 54 245 / 22%); }
.primary-button:active:not(:disabled), .nav-login:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 11px; font-weight: 600; }
.text-link:hover, .back-link:hover { color: var(--accent); }
.built-for { margin-top: 24px; color: var(--muted); font-size: 11px; }

.hero-art { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; }
.art-halo { position: absolute; width: 95%; aspect-ratio: 1; max-height: 440px; border-radius: 50%; background: radial-gradient(circle, var(--soft-accent), transparent 70%); }
.orbit { position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid var(--soft-accent); border-radius: 50%; transform: rotate(-25deg) scaleY(.85); }
.orbit-two { width: 110%; opacity: .55; }
.character { position: relative; width: 118%; max-width: none; height: auto; margin: -18px 0 0 -12px; filter: drop-shadow(0 22px 14px rgb(94 68 150 / 9%)); }
.hello-note { position: absolute; z-index: 2; right: 9px; top: 9px; padding: 10px 15px; border: 1px solid var(--border); border-radius: 16px 16px 16px 3px; background: var(--base); font-size: 11px; font-weight: 700; transform: rotate(5deg); }
.hello-note span { color: var(--accent); padding-left: 6px; }
.feature-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 12px 14px; background: var(--base); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 28px rgb(47 32 100 / 6%); }
.feature-listing { left: -9px; bottom: 19%; transform: rotate(-4deg); }
.feature-guidance { right: -12px; bottom: -3px; transform: rotate(3deg); }
.feature-icon { display: grid; place-items: center; width: 30px; height: 34px; flex: none; border-radius: 9px; background: var(--lavender); color: var(--accent); font-size: 20px; }
.feature-card strong { display: block; font-size: 11px; }
.feature-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

.workflow { margin: 6px 24px 24px; padding: 30px 28px; border-radius: 28px; background: var(--lavender); scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 25px; }
.section-heading p { padding-top: 7px; color: var(--muted); font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.section-heading h2 { width: 59%; font-size: 23px; font-weight: 700; letter-spacing: -.8px; line-height: 1.35; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 15px; border-top: 1px solid #ddd6f1; }
.step-icon { display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 12px; border-radius: 10px; background: var(--base); color: var(--accent); font-size: 20px; }
.step h3 { margin-bottom: 6px; font-size: 12px; line-height: 1.4; }
.step p { max-width: 215px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.step-number { position: absolute; right: 0; top: 23px; color: var(--muted); font-size: 11px; opacity: .65; }

.site-footer { display: flex; align-items: center; gap: 18px; padding: 10px 44px 25px; }
.footer-brand { font-size: 24px; font-weight: 800; letter-spacing: -1.6px; }
.site-footer p { flex: 1; color: var(--muted); font-size: 11px; }

.login-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; padding: 15px 44px 46px; }
.login-welcome { position: relative; min-width: 0; overflow: hidden; padding: 32px 32px 26px; border-radius: 28px; background: var(--lavender); }
.login-welcome h1 { margin-top: 15px; font-size: 42px; letter-spacing: -1.7px; line-height: 1.17; font-weight: 800; }
.welcome-description { margin-top: 15px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.login-art { position: relative; display: flex; align-items: center; justify-content: center; height: 295px; }
.login-art img { position: relative; width: 340px; height: 340px; max-width: none; object-fit: contain; }
.login-caption { text-align: center; color: var(--muted); font-size: 11px; }
.login-form-area { align-self: center; min-width: 0; }
.signin-card { padding: 32px; border: 1px solid var(--border); border-radius: 28px; background: var(--base); box-shadow: 0 12px 36px rgb(39 27 80 / 4%); }
.signin-card h2 { margin-top: 10px; font-size: 29px; font-weight: 800; letter-spacing: -1.2px; }
.form-intro { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.setup-notice { margin-top: 18px; padding: 13px 15px; border-radius: 12px; background: var(--lavender); color: var(--ink); font-size: 12px; line-height: 1.6; }
.google-button { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 48px; margin-top: 22px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--base); color: var(--ink); font-size: 12px; font-weight: 600; }
.google-g { font-family: Arial, sans-serif; font-size: 20px; font-weight: 700; background: conic-gradient(#4285f4 0deg 100deg, #34a853 100deg 180deg, #fbbc05 180deg 230deg, #ea4335 230deg 290deg, #4285f4 290deg); color: transparent; background-clip: text; }
.divider { display: flex; align-items: center; gap: 12px; margin: 23px 0; color: var(--muted); font-size: 11px; }
.divider span { height: 1px; flex: 1; background: var(--border); }
.email-group label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; }
.email-group input { display: block; width: 100%; min-height: 48px; padding: 14px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--base); color: var(--ink); font-size: 16px; }
.email-group input::placeholder { color: var(--muted); opacity: .8; }
.full-button { width: 100%; margin-top: 14px; border-radius: 12px; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .55; }
.access-note { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 1.8; }
.back-link { display: inline-block; margin: 20px 0 0 4px; font-size: 11px; font-weight: 600; }
.auth-message-wrap { display: grid; place-items: center; min-height: 520px; padding: 42px 24px; background: radial-gradient(ellipse at 75% 40%, var(--lavender), transparent 70%); }
.auth-message { width: min(100%, 480px); padding: 38px; border: 1px solid var(--border); border-radius: 28px; background: var(--base); box-shadow: 0 12px 36px rgb(39 27 80 / 4%); }
.auth-message h1 { margin-top: 12px; font-size: clamp(28px, 5vw, 40px); letter-spacing: -1.5px; line-height: 1.2; }
.auth-message p:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.auth-message strong { color: var(--ink); }
.auth-admin-link { margin-top: 24px; }
.auth-message form { margin-top: 24px; }

@media (max-width: 780px) {
  body { padding: 0; }
  .site-shell { border: 0; border-radius: 0; min-height: 100vh; }
  .site-header { padding: 22px 28px; }
  .hero { padding: 30px 28px 44px; }
  .hero h1 { font-size: 45px; letter-spacing: -2px; }
  .feature-listing { left: -18px; }
  .feature-guidance { right: -10px; bottom: 5%; }
  .workflow { margin: 0 14px 20px; }
  .login-layout { gap: 22px; padding: 15px 28px 35px; }
  .login-welcome { padding: 27px 24px; }
  .login-welcome h1 { font-size: 34px; }
  .login-art { height: 280px; }
  .login-art img { width: 300px; height: 300px; }
}

@media (max-width: 620px) {
  .site-header { padding: 20px 24px; }
  .site-header nav { gap: 16px; }
  .wordmark { font-size: 30px; }
  .nav-login { padding: 11px 14px; gap: 9px; }
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 30px 24px 37px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-description { max-width: 100%; }
  .hero-art { width: 100%; height: 345px; max-width: 370px; margin: 0 auto; }
  .character { width: 380px; max-width: 115%; margin-top: -10px; }
  .hello-note { top: 8px; right: 0; }
  .feature-listing { left: -4px; bottom: 15%; }
  .feature-guidance { right: 0; bottom: -6px; }
  .workflow { padding: 25px 22px; }
  .section-heading { display: block; }
  .section-heading h2 { width: 100%; margin-top: 13px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step h3 { font-size: 14px; }
  .step p { max-width: 100%; font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 5px 14px; padding: 5px 24px 24px; }
  .site-footer .text-link { margin-left: auto; }
  .login-layout { grid-template-columns: 1fr; gap: 20px; padding: 10px 16px 30px; }
  .login-welcome { min-height: 204px; padding: 24px; }
  .login-welcome h1 { position: relative; z-index: 1; max-width: 160px; font-size: 30px; }
  .welcome-description, .login-caption { display: none; }
  .login-art { position: absolute; right: -26px; bottom: -3px; width: 170px; height: 170px; }
  .login-art img { width: 200px; height: 200px; }
  .signin-card { padding: 26px 22px; }
  .auth-message { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
