
:root{--bg:#f6f2ea;--card:#fffdf9;--ink:#141413;--muted:#6c665f;--line:#dfd6cb;--violet:#6f59ff;--soft:#eee9ff;--dark:#151515;--shadow:0 24px 70px rgba(31,24,15,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}.hidden{display:none!important}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(14px,4vw,52px);position:sticky;top:0;z-index:20;background:rgba(246,242,234,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(20,20,19,.06)}
.brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-weight:780}.brand img{width:38px;height:38px}.top-actions{display:flex;align-items:center;gap:8px}.pill,.account,.lang{height:40px;border-radius:999px;border:1px solid var(--line);background:var(--card);font-weight:720}.pill{padding:0 13px;color:#5c48d2;background:#f0ebff;border-color:#d9d0ff;font-size:10px;letter-spacing:.06em}.pill.pro{background:#171717;color:#fff;border-color:#171717}.account{padding:0 14px;cursor:pointer}.lang{padding:0 10px}
.shell{width:min(1160px,calc(100% - 32px));margin:0 auto}.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.78fr);gap:56px;align-items:center;padding:48px 0 38px;min-height:640px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:760;color:#686159;text-transform:uppercase;margin:0 0 12px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#68d08a;box-shadow:0 0 0 5px rgba(104,208,138,.14);margin-right:7px}
.hero h1{font-family:Manrope,Inter,sans-serif;font-size:clamp(54px,6.2vw,86px);font-weight:760;line-height:.93;letter-spacing:-.055em;margin:0 0 20px}.hero h1 em{display:block;font-family:"Barlow Condensed",sans-serif;font-style:italic;font-weight:800;color:var(--violet);letter-spacing:-.02em}.hero-copy>p:not(.eyebrow){font-size:20px;line-height:1.55;color:#59534d;max-width:680px;margin:0 0 18px}.hero-tags{display:flex;gap:8px;flex-wrap:wrap}.hero-tags span{padding:8px 10px;border:1px solid var(--line);background:rgba(255,255,255,.58);border-radius:999px;font-size:11px;font-weight:650;color:#6e6861}
.demo{background:var(--dark);color:#fff;padding:18px;border-radius:32px;box-shadow:0 30px 80px rgba(28,21,13,.2)}.demo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.demo-id{display:flex;gap:10px;align-items:center}.demo-id img{width:48px;height:48px;padding:7px;border-radius:14px;background:#f0ece4}.demo-id small{display:block;color:#a998ff;font-size:9px;letter-spacing:.13em;font-weight:760}.demo-id strong{display:block;font-size:17px;font-weight:720;margin-top:4px}.demo-score{padding:8px 10px;border-radius:12px;background:var(--violet);font-size:12px;font-weight:760}.demo-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:22px}.demo blockquote{margin:17px 2px 15px;font-size:25px;line-height:1.16;font-weight:760;letter-spacing:-.025em}.demo-tags{display:flex;gap:8px;flex-wrap:wrap}.demo-tags span{padding:8px 10px;border:1px solid #303030;background:#202020;border-radius:12px;color:#ddd;font-size:10px}
.product{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start;padding:10px 0 68px}.card{background:var(--card);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}.judge{padding:24px}.judge h2,.history h2{font-size:32px;font-weight:720;line-height:1.06;letter-spacing:-.035em;margin:5px 0 8px}.muted{color:var(--muted);font-size:13px;line-height:1.55}.drop{min-height:330px;border:1.5px dashed #c9bedc;background:#f3efff;border-radius:24px;display:grid;place-items:center;position:relative;overflow:hidden;cursor:pointer;text-align:center;padding:20px}.drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.drop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#111;display:none}.drop.has-image>img{display:block}.drop.has-image .drop-copy{display:none}.drop-copy img{width:58px;height:58px}.drop-copy strong{display:block;font-size:19px;margin-top:6px}.drop-copy small{display:block;color:#746d65;margin-top:6px}
.controls{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:12px}.field{display:grid;gap:7px}.field span{font-size:10px;letter-spacing:.1em;font-weight:760;text-transform:uppercase;color:#736c64}.field select{height:52px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:0 13px;font-weight:750}.primary,.soft{border:0;cursor:pointer;font-weight:760;border-radius:15px}.primary{height:52px;padding:0 21px;background:#151515;color:#fff}.soft{height:46px;padding:0 17px;background:var(--soft);color:#5c48d2}.primary:disabled,.soft:disabled{opacity:.5;cursor:not-allowed}.status{min-height:18px;font-size:12px;color:#756e67;margin:11px 0 0}
.plan{padding:22px;position:sticky;top:92px}.plan-badge{display:inline-block;padding:7px 9px;border-radius:999px;background:#eee9ff;color:#5e49d7;font-size:10px;font-weight:760;letter-spacing:.1em}.plan h3{font-size:31px;font-weight:720;line-height:1.04;letter-spacing:-.035em;margin:12px 0 7px}.price{font-size:48px;font-weight:780;letter-spacing:-.045em}.price small{font-size:13px;letter-spacing:0;color:#777068}.plan ul{list-style:none;padding:0;margin:18px 0;display:grid;gap:9px}.plan li{font-size:13px;color:#5e5852}.plan li:before{content:"✓";color:var(--violet);font-weight:780;margin-right:8px}
.result{margin-top:18px;background:#151515;color:#fff;border-radius:24px;padding:18px}.result-top{display:grid;grid-template-columns:180px 1fr;gap:16px}.result-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:17px;background:#222}.result small{color:#a998ff;font-weight:760;letter-spacing:.11em}.result h3{font-size:28px;font-weight:720;line-height:1.08;letter-spacing:-.035em;margin:6px 0}.result p{color:#d7d7d7;line-height:1.5}.roast{font-size:22px!important;line-height:1.2!important;color:#fff!important;font-weight:760}.scores{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.scores div{padding:10px;border:1px solid #2d2d2d;background:#202020;border-radius:13px}.scores b{display:block;color:#a998ff;font-size:8px;letter-spacing:.1em;text-transform:uppercase}.scores span{font-size:17px;font-weight:720}.result-section{margin-top:14px}.result-section ul{margin:7px 0;padding-left:20px}.result-section li{font-size:13px;color:#ddd;margin:5px 0}.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.result .soft{background:#292929;color:#fff;border:1px solid #3a3a3a}
.history{padding:0 0 70px}.history-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:15px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.history-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--card);cursor:pointer}.history-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eee}.history-copy{padding:14px}.history-copy small{color:#817a72}.history-copy h3{font-size:17px;line-height:1.1;margin:6px 0}.history-copy p{font-size:12px;line-height:1.45;color:#5f5952;margin:0}.empty{padding:28px;border:1px dashed #d8cec2;border-radius:20px;color:#787169;text-align:center}
footer{border-top:1px solid var(--line);padding:26px 0 40px}.footer{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#777068}.footer a{color:#5c5650;text-decoration:none;font-weight:750}
dialog{border:0;background:transparent;padding:0;max-width:none}dialog::backdrop{background:rgba(15,13,10,.65);backdrop-filter:blur(5px)}.modal{width:min(500px,calc(100vw - 28px));background:var(--card);border:1px solid var(--line);border-radius:25px;padding:24px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.28)}.modal h2{font-size:29px;font-weight:720;line-height:1.05;letter-spacing:-.035em;margin:5px 0 10px}.close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#eee9e1;cursor:pointer;font-size:20px}.wide{width:100%}.auth{display:grid;gap:10px;margin-top:16px}.auth input{height:50px;border:1px solid var(--line);border-radius:14px;padding:0 12px}.auth-row{display:grid;grid-template-columns:1fr auto;gap:8px}.oauth{height:50px;border:1px solid var(--line);background:#fff;border-radius:14px;cursor:pointer;font-weight:720}.check{display:flex;gap:9px;align-items:flex-start;margin:14px 0;font-size:13px;color:#5c5650}.check input{margin-top:3px}.account-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.account-stats div{padding:13px;background:#f3efe8;border-radius:15px}.account-stats small{display:block;color:#817a72}.account-stats strong{display:block;margin-top:4px;font-size:18px;font-weight:720}.danger{height:46px;border-radius:14px;border:1px solid #f0cccc;background:#fff0f0;color:#bd4545;font-weight:720;cursor:pointer}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#171717;color:#fff;border-radius:999px;padding:11px 15px;font-size:12px;font-weight:720;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:940px){.hero{grid-template-columns:1fr;min-height:0;gap:28px}.demo{max-width:620px}.product{grid-template-columns:1fr}.plan{position:static}.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.shell{width:calc(100% - 24px)}.topbar{padding:0 12px}.brand span,.pill,.lang{display:none}.hero{padding-top:28px}.hero h1{font-size:54px}.hero-copy>p:not(.eyebrow){font-size:16px}.demo blockquote{font-size:23px}.judge{padding:15px}.drop{min-height:270px}.controls{grid-template-columns:1fr}.controls .primary{width:100%}.result-top{grid-template-columns:1fr}.result-photo{aspect-ratio:16/10}.scores{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.history-head{align-items:flex-start;flex-direction:column}.auth-row{grid-template-columns:1fr}}

.plan-lede{margin:0 0 14px;color:#6a635c;font-size:14px;line-height:1.45}
.history-actions{display:flex;gap:8px;flex-wrap:wrap}
.pro-hook{font-size:18px;line-height:1.45;color:#4f4943;margin:0 0 14px}
.pro-list{display:grid;gap:8px;padding:0;margin:18px 0;list-style:none}
.pro-list li{font-size:13px;color:#5f5952}
.pro-list li:before{content:"✓";color:var(--violet);font-weight:780;margin-right:8px}
.account-modal .muted{max-width:390px}
@media(max-width:640px){.history-actions{width:100%}.history-actions .soft{flex:1}}


/* === v3 Judd judging animation === */
.judge{position:relative}
.judge.is-judging .drop,
.judge.is-judging .controls,
.judge.is-judging > #judgeStatus{display:none}
.judd-loading{
  margin-top:18px;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr);
  gap:14px;
  min-height:360px;
  animation:juddLoaderIn .24s ease both
}
.judd-loading.hidden{display:none!important}
@keyframes juddLoaderIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
.judd-loading-photo{
  position:relative;
  overflow:hidden;
  min-height:360px;
  border-radius:22px;
  background:#111;
  border:1px solid #272727
}
.judd-loading-photo>img{
  width:100%;
  height:100%;
  min-height:360px;
  position:absolute;
  inset:0;
  object-fit:contain;
  background:#111;
  filter:saturate(.9) contrast(.98);
  transform:scale(1.01)
}
.judd-loading-photo:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(111,89,255,.06) 1px,transparent 1px),
    linear-gradient(rgba(111,89,255,.05) 1px,transparent 1px);
  background-size:28px 28px;
  opacity:.38
}
.judd-scan-line{
  position:absolute;
  z-index:2;
  left:0;right:0;
  top:-28%;
  height:26%;
  background:linear-gradient(180deg,transparent,rgba(111,89,255,.13) 42%,rgba(206,198,255,.46) 50%,rgba(111,89,255,.13) 58%,transparent);
  filter:blur(.2px);
  animation:juddScan 2.15s linear infinite;
  pointer-events:none
}
@keyframes juddScan{
  0%{transform:translateY(-15%)}
  100%{transform:translateY(520%)}
}
.judd-loading-badge{
  position:absolute;
  z-index:3;
  left:14px;top:14px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(17,17,17,.78);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:9px;
  font-weight:760;
  letter-spacing:.11em;
  backdrop-filter:blur(8px)
}
.judd-loading-panel{
  border-radius:22px;
  background:#151515;
  color:#fff;
  padding:20px;
  display:flex;
  flex-direction:column;
  min-height:360px
}
.judd-loading-head{
  display:flex;
  align-items:center;
  gap:12px
}
.judd-loading-avatar{
  width:56px;height:56px;
  flex:0 0 auto;
  border-radius:17px;
  display:grid;
  place-items:center;
  background:#f2eee6;
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  animation:juddFloat 2.2s ease-in-out infinite
}
.judd-loading-avatar img{width:38px;height:38px;object-fit:contain}
@keyframes juddFloat{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-5px) rotate(1deg)}
}
.judd-loading-head small{
  display:block;
  color:#a998ff;
  font-size:9px;
  font-weight:760;
  letter-spacing:.13em;
  margin-bottom:4px
}
.judd-loading-head h3{
  margin:0;
  font-size:25px;
  font-weight:720;
  letter-spacing:-.035em;
  line-height:1.06
}
.judd-thinking-dots{
  display:flex;
  gap:7px;
  align-items:center;
  height:30px;
  margin-top:13px
}
.judd-thinking-dots span{
  width:8px;height:8px;
  border-radius:50%;
  background:#806cff;
  opacity:.28;
  animation:juddDots 1s ease-in-out infinite
}
.judd-thinking-dots span:nth-child(2){animation-delay:.14s}
.judd-thinking-dots span:nth-child(3){animation-delay:.28s}
@keyframes juddDots{
  0%,100%{opacity:.25;transform:translateY(0)}
  50%{opacity:1;transform:translateY(-4px)}
}
.judd-loading-line{
  color:#fff!important;
  font-size:19px!important;
  font-weight:680;
  line-height:1.28!important;
  letter-spacing:-.02em;
  margin:7px 0 6px!important;
  min-height:49px
}
.judd-loading-sub{
  color:#a9a5ad!important;
  font-size:12px!important;
  line-height:1.5!important;
  margin:0!important;
  min-height:36px
}
.judd-loading-progress{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#292929;
  margin:17px 0
}
.judd-loading-progress>div{
  width:9%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#6f59ff,#aa98ff);
  transition:width .35s ease
}
.judd-loading-checks{
  display:grid;
  gap:7px;
  margin-top:auto
}
.judd-loading-checks>div{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:38px;
  padding:9px 11px;
  border-radius:12px;
  background:#202020;
  border:1px solid #2d2d2d;
  color:#c9c6cc;
  font-size:11px;
  line-height:1.35
}
.judd-loading-checks i{
  width:7px;height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#6f59ff;
  box-shadow:0 0 0 4px rgba(111,89,255,.10)
}
.judd-loading.done .judd-loading-panel{animation:juddDoneFlash .32s ease}
.judd-loading.done .judd-loading-avatar{animation:none;transform:scale(1.04)}
@keyframes juddDoneFlash{
  0%{box-shadow:inset 0 0 0 0 rgba(111,89,255,0)}
  50%{box-shadow:inset 0 0 0 2px rgba(111,89,255,.45)}
  100%{box-shadow:inset 0 0 0 0 rgba(111,89,255,0)}
}
@media(max-width:760px){
  .judd-loading{grid-template-columns:1fr}
  .judd-loading-photo{min-height:270px}
  .judd-loading-photo>img{min-height:270px}
  .judd-loading-panel{min-height:300px}
}
@media(prefers-reduced-motion:reduce){
  .judd-scan-line,.judd-loading-avatar,.judd-thinking-dots span{animation:none}
}
