@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Instrument+Serif:ital@1&display=swap');
:root{--brand:#00bf8b;--deep:#08795e;--ink:#263a2f;--muted:#637669;--line:#dbe4dc;--paper:#f9faf6;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;font:400 14px/1.65 var(--font);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid #16845f;outline-offset:4px}img{max-width:100%;height:auto}h1,h2,p{margin:0}[hidden]{display:none!important}.skip-link{position:fixed;z-index:100;left:8px;top:8px;transform:translateY(-150%);padding:12px 18px;background:white;border:1px solid var(--deep);border-radius:8px}.skip-link:focus{transform:none}
.auth-shell{display:grid;grid-template-columns:.95fr 1.05fr;min-height:100dvh}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:27px;line-height:1;letter-spacing:-1.3px;width:fit-content;min-height:44px}.brand img{flex-shrink:0}.auth-story{position:relative;isolation:isolate;background:#e7f0e2;border-right:1px solid #dce7d6;padding:40px 50px 28px;display:flex;flex-direction:column;overflow:hidden}.auth-story:after{content:'';position:absolute;width:640px;height:640px;border:1px solid #d9e5d0;bottom:-370px;left:-145px;border-radius:50%;z-index:-1}.story-content{margin:auto 0;padding-top:42px;max-width:480px}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:600;color:#58734e;line-height:1.7}.story-content h2{font-size:47px;line-height:1.15;letter-spacing:-2px;font-weight:600;margin-top:22px}.story-content h2 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#34784c;letter-spacing:-1.5px}.story-content>p:not(.eyebrow){font-size:14px;line-height:1.85;color:#58734d;margin-top:20px}.story-art{position:relative;isolation:isolate;height:325px;max-width:390px;margin:16px auto 0}.story-art>img{position:absolute;top:-25px;left:4px;width:365px;height:365px;object-fit:contain;transform:rotate(-6deg)}.story-halo{position:absolute;inset:40px 20px 20px;border:1px solid #d9e4ce;border-radius:50%;z-index:-1;transform:rotate(-16deg)}.story-halo:after{content:'';position:absolute;inset:16px;border:1px solid #dbe7d3;border-radius:50%}.story-word{position:absolute;right:-10px;bottom:37px;min-width:173px;padding:17px 52px 18px 20px;background:#fafcf4;border:1px solid #d5e1ca;border-radius:11px;box-shadow:0 7px 18px #657b4c0d;transform:rotate(4deg)}.story-word strong{display:block;font-size:23px;font-weight:600;letter-spacing:-.8px}.story-word>span{font-size:12px;color:#677f57;display:block;margin-top:2px}.story-word svg{position:absolute;right:16px;top:23px;width:20px;height:20px;color:#66814f}.story-footer{display:flex;align-items:center;gap:10px;margin-top:20px;color:#607651;font-size:12px}.story-mark{font-size:20px;color:#608145;line-height:1}.story-footer>span:last-child{margin-left:auto;font-size:11px;letter-spacing:1px}
.auth-main{display:flex;flex-direction:column;min-width:0;padding:40px 52px 26px}.auth-top{display:flex;justify-content:flex-end;align-items:center;min-height:44px;gap:16px}.back-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;min-height:44px}.back-link>span{font-size:18px}.mobile-brand{display:none}.auth-content{width:100%;max-width:400px;margin:auto;padding:52px 0}.auth-kicker{color:#58734e}.auth-content h1{font-size:38px;line-height:1.18;letter-spacing:-1.4px;font-weight:600;margin-top:15px;overflow-wrap:anywhere}.auth-description{font-size:15px;line-height:1.8;margin-top:15px;color:var(--muted)}.auth-google-area{margin-top:28px}.google-button{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #b5cbbd;background:white;border-radius:10px;min-height:54px;width:100%;padding:14px 16px;color:#284734;font-size:15px;font-weight:600;line-height:1.5;transition:background .18s,border-color .18s}.google-button>svg{width:20px;height:20px;flex:none}.google-button:disabled{color:#6a7f70;background:#eef3eb;border-color:#d6e1d5}.google-button[aria-busy=true]{cursor:progress}.button-spinner{display:none;width:17px;height:17px;flex:none;border:2px solid #7c9d8550;border-top-color:currentColor;border-radius:50%;animation:auth-spin .8s linear infinite}.google-button[aria-busy=true] .button-spinner{display:block}.auth-account-help{font-size:13px;line-height:1.7;color:var(--muted);margin-top:12px}.auth-feedback,.auth-notice{border:1px solid #e2c7bf;background:#fcf1eb;color:#874b38;font-size:13px;line-height:1.8;padding:12px 14px;border-radius:8px;margin-top:18px;overflow-wrap:anywhere}.auth-notice{border-color:#bdd9c3;background:#edf6ec;color:#346b43}.service-state{margin-top:12px;font-size:13px;color:var(--muted);line-height:1.7}.service-state:has(p:empty):not(:has(button:not([hidden]))){display:none}.service-state p:empty{display:none}.service-state button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--deep);background:transparent;padding:9px 12px;border:1px solid #c6d8c8;border-radius:8px;font-size:13px;font-weight:600;min-height:44px;margin-top:8px}.auth-safe-note{display:flex;gap:10px;align-items:flex-start;padding-top:22px;margin-top:24px;border-top:1px solid #dce6d7;color:var(--muted);font-size:13px;line-height:1.8}.auth-safe-note svg{width:18px;height:18px;flex:none;color:#52794d;margin-top:2px}.auth-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:12px}.auth-footer a{display:inline-flex;align-items:center;gap:6px;color:var(--deep);font-size:13px;min-height:44px}.auth-footer a>span{font-size:16px}.noscript-message{position:fixed;left:16px;right:16px;bottom:16px;padding:16px;background:#fff4db;border:1px solid #e1c889;border-radius:8px;color:#6e561c;z-index:50;font-size:13px}.noscript-message a{text-decoration:underline;text-underline-offset:3px}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){.google-button:not(:disabled):hover{background:#edf6ee;border-color:#83b394}.back-link:hover,.auth-footer a:hover{text-decoration:underline;text-underline-offset:4px}.service-state button:hover{background:#eef5eb}}
@media(min-width:1550px){.auth-story{padding:48px 74px 34px}.auth-main{padding:48px 65px 34px}.story-content{max-width:530px;margin:auto}.story-content h2{font-size:56px}.story-art{height:390px;max-width:440px;margin-top:24px}.story-art>img{width:410px;height:410px}.story-word{bottom:60px}.auth-content{max-width:430px}.auth-content h1{font-size:43px}}
@media(max-width:1100px){.auth-story{padding:30px 32px 25px}.auth-main{padding:30px 34px 25px}.story-content h2{font-size:37px;letter-spacing:-1.5px}.story-art{height:285px}.story-art>img{width:310px;height:310px;left:-8px;top:-10px}.story-word{bottom:25px;right:-8px;min-width:150px;padding:14px 44px 14px 16px}.story-word strong{font-size:21px}.story-footer>span:last-child{display:none}.auth-content h1{font-size:34px}}
@media(max-width:700px){.auth-shell{display:block;min-height:100dvh}.auth-story{display:none}.auth-main{min-height:100dvh;padding:max(20px,env(safe-area-inset-top)) 24px max(18px,env(safe-area-inset-bottom))}.auth-top{justify-content:space-between;gap:12px}.mobile-brand{display:inline-flex;font-size:25px;gap:8px}.mobile-brand img{width:31px;height:31px}.back-link{font-size:12px;gap:6px}.auth-content{max-width:400px;padding:38px 0;margin:auto}.auth-kicker{font-size:11px;letter-spacing:1.2px}.auth-content h1{font-size:34px;margin-top:12px}.auth-description{font-size:14px;margin-top:13px}.auth-google-area{margin-top:24px}.google-button{min-height:52px;font-size:14px}.auth-footer{font-size:12px}.auth-footer a{font-size:13px}}
@media(max-width:360px){.auth-main{padding-inline:18px}.mobile-brand{font-size:23px}.mobile-brand img{width:28px;height:28px}.auth-content h1{font-size:30px}.auth-content{padding:32px 0}.google-button{padding-inline:12px;gap:9px}.auth-kicker{letter-spacing:.7px}.auth-footer{gap:2px 12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Langufy UI 2.0 — sign in */
:root{--brand:#00bf8b;--brand-press:#008f66;--deep:#00684d;--ink:#0f2a20;--muted:#5f7369;--line:#e1eae4;--paper:#f6faf7;--font:'DM Sans',system-ui,sans-serif}
body{font-family:var(--font);background:var(--paper)}
h1,h2,.brand{font-family:Manrope,system-ui,sans-serif}
h1,h2{font-weight:800;letter-spacing:-.035em}
h1 em,h2 em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.01em}
.brand{font-weight:800;letter-spacing:-1.2px}
.auth-story{background:radial-gradient(70% 60% at 20% 10%,#3ff0bd55,transparent 60%),radial-gradient(60% 50% at 90% 90%,#7b61ff33,transparent 60%),linear-gradient(160deg,#e4f7ee,#eef0ff)!important;border:0!important}
.story-content h2,.story-content h1{font-size:clamp(34px,3.4vw,52px);line-height:1.05}
.story-word{border-radius:22px!important;box-shadow:0 24px 50px -22px rgba(15,42,32,.4)!important;border:0!important}
.auth-content h1,.auth-content h2{font-size:clamp(30px,2.8vw,40px)}
.google-button{min-height:60px!important;border-radius:16px!important;border:2px solid var(--line)!important;border-bottom-width:5px!important;background:#fff!important;color:var(--ink)!important;font:700 16px var(--font)!important;box-shadow:none!important;transition:transform .12s,border-color .15s}
.google-button:hover:not(:disabled){border-color:#cddad2!important;transform:translateY(-1px)}
.google-button:active:not(:disabled){transform:translateY(3px);border-bottom-width:2px!important}
.eyebrow{color:var(--deep);font-weight:800;letter-spacing:1.6px}
.auth-notice{border-radius:16px}
.back-link{padding:7px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:700}

/* Compact phone sign-in without reducing button or reading targets. */
@media(max-width:600px){
  .auth-main{padding:max(16px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom))}
  .auth-top{gap:8px}
  .mobile-brand{font-size:22px;gap:7px}
  .mobile-brand img{width:28px;height:28px}
  .back-link{min-height:44px;padding:7px 10px;font-size:12px}
  .auth-content{padding:26px 0;max-width:380px}
  .auth-kicker{font-size:10px;letter-spacing:.9px}
  .auth-content h1,.auth-content h2{font-size:28px;line-height:1.2;margin-top:10px}
  .auth-description{font-size:14px;line-height:1.7;margin-top:10px}
  .auth-google-area{margin-top:20px}
  .google-button{min-height:48px!important;padding:10px 12px;gap:10px;border-radius:12px!important}
  .auth-account-help{font-size:12px;margin-top:10px}
  .auth-feedback,.auth-notice{margin-top:12px;padding:10px 12px;border-radius:12px;line-height:1.65}
  .service-state{margin-top:10px;font-size:12px}
  .service-state button{min-height:44px;color:#00684d}
  .auth-safe-note{margin-top:18px;padding-top:16px;font-size:12px;line-height:1.7}
  .auth-safe-note br{display:none}
  .auth-footer{gap:4px 12px;font-size:11px}
  .auth-footer a{min-height:44px;font-size:12px}
}
