/* GetKnowen luxe pass (Oct 2026). Loads LAST on the app, the login page and the marketing pages.
   Same colours, same fonts, same layout. This layer takes the finish up a notch and the noise down:
     - one quieter ground (less pink, one warm light from the top left)
     - one radius scale (28 surfaces / 18 inner / 12 controls / pill)
     - deeper terracotta for every primary action, warm white text on it (the pale peach buttons go)
     - surfaces as nested bezels: hairline ring, lit top edge, tinted ambient shadow, no harsh blur
     - a calmer, faster settle motion (no blur filter on big glass panels)
     - wall display: larger, calmer, readable state chip
   Honest label: web glass (backdrop-filter + hairlines), not Apple's Liquid Glass. */

:root{
  --lx-ease:cubic-bezier(.32,.72,0,1);
  --lx-out:cubic-bezier(.16,1,.3,1);
  --lx-r:28px; --lx-r-in:18px; --lx-r-ctl:12px;
  --lx-ink:#17120e; --lx-ink-2:#453c33; --lx-ink-3:#6b5f54;
  --lx-paper:#fffcf7;
  --lx-accent:#b8461a; --lx-accent-deep:#93350f; --lx-accent-rgb:184,70,26;
  --lx-ring:rgba(84,52,22,.10);
  --lx-hair:rgba(255,255,255,.86);
  --lx-shadow:
    inset 0 1px 0 var(--lx-hair),
    0 0 0 1px var(--lx-ring),
    0 1px 2px rgba(70,40,15,.05),
    0 18px 40px -24px rgba(70,40,15,.26);
  --lx-shadow-float:
    inset 0 1px 0 var(--lx-hair),
    0 0 0 1px var(--lx-ring),
    0 2px 4px rgba(70,40,15,.05),
    0 30px 60px -28px rgba(70,40,15,.34);
  --lx-primary:linear-gradient(180deg,#cd5423 0%,#b8461a 55%,#a23b11 100%);
  --lx-primary-shadow:inset 0 1px 0 rgba(255,236,220,.38),inset 0 -1px 0 rgba(60,20,5,.25),0 0 0 1px rgba(120,45,15,.35),0 14px 28px -14px rgba(160,55,20,.65);
  --lx-primary-ink:#fff6ee;
  /* motion tokens the older layers read */
  --duration-slow:420ms; --ease-smooth-out:var(--lx-out);
  --blur-medium:0px; --blur-small:0px; --distance-medium:10px;
}

/* ---------- ground: one warm light, no sugar ---------- */
html body{
  background:
    radial-gradient(1100px 720px at 4% -12%,rgba(255,176,128,.34),transparent 62%),
    radial-gradient(860px 600px at 100% -4%,rgba(246,208,150,.30),transparent 60%),
    radial-gradient(900px 700px at 60% 112%,rgba(236,196,170,.22),transparent 64%),
    #f7f1e8;
  /* no background-attachment:fixed: with gradient (background-clip:text) headings it washes whole pages out in Chromium */
  color:var(--lx-ink);
}
html body::before{
  background:
    radial-gradient(38% 38% at 16% 20%,rgba(255,150,100,.22),transparent 70%),
    radial-gradient(34% 34% at 84% 12%,rgba(246,208,140,.22),transparent 70%),
    radial-gradient(40% 40% at 70% 88%,rgba(226,140,130,.12),transparent 70%);
}
/* the grain sits under the content: at z-index 1 it washed out landing pages whose sections have no stacking context */
html body::after,html body.site::after,html body.lp::after{opacity:.028;z-index:-1}

/* ---------- type ---------- */
html body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html body .topbar h1{
  font-weight:500;letter-spacing:-.045em;line-height:1;min-width:0;overflow:hidden;text-overflow:clip;
  background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--lx-ink);-webkit-text-fill-color:var(--lx-ink);
  font-size:clamp(30px,3vw,42px);padding-bottom:0;
}
html body .big-when .dayname{font-weight:500;letter-spacing:-.05em;line-height:.95;font-size:clamp(44px,4.6vw,66px)}
html body .big-when .date{font-weight:400;letter-spacing:-.01em;opacity:.78}
html body .section-label,html body .panel h2,html body .stage>.view>h2{
  font-size:13px;font-weight:600;letter-spacing:-.005em;text-transform:none;color:var(--lx-ink-2);
}
html body .muted,html body p.muted,html body .hint{color:var(--lx-ink-3)}
html body .event-row .title{font-weight:500;letter-spacing:-.012em}
html body .event-row .time{font-variant-numeric:tabular-nums;color:var(--lx-ink-3)}

/* The page title never gets clipped by the date pill: the title keeps its width, the pill shrinks (and drops the
   weather on tablet-portrait widths), with an ellipsis rather than a cut-off "Toda". */
html body .topbar h1{flex:0 0 auto;max-width:46%;white-space:nowrap;text-overflow:ellipsis}
html body .topbar .clock-chip{flex:0 1 auto;min-width:0;margin-left:auto;overflow:hidden}
html body .clock-chip b,html body .clock-chip #live-weather{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:1180px){html body .clock-chip .hide-sm{display:none}}
/* "From your inbox" sits on a cream card inside the dark hero: its label must not take the hero's light label colour. */
html body .hero-row>.panel:first-child .inbox-card .section-label{color:#6b6256!important}
@media (max-width:430px){html body .topbar{gap:8px}html body .topbar h1{font-size:24px;letter-spacing:-.04em}html body .clock-chip{font-size:12px;padding-inline:9px;letter-spacing:-.01em}html body .clock-chip .hide-sm{display:none}html body .who-chip,html body .top-add{flex:none}}

/* ---------- surfaces: nested bezel, lit top edge, tinted ambient ---------- */
html body .panel,html body .board,html body .ls-card,html body .ch-card,html body .ph-shelf,html body .sc-card,html body .cp-card,
html body .wx-day,html body .family-strip>*,html body .three-col>*{
  border:0!important;
  border-radius:var(--lx-r)!important;
  background:
    radial-gradient(120% 80% at 10% 0%,rgba(255,255,255,.75),rgba(255,255,255,0) 50%),
    linear-gradient(160deg,rgba(255,253,249,.86),rgba(255,250,243,.66))!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:var(--lx-shadow)!important;
  transition:transform .5s var(--lx-ease),box-shadow .5s var(--lx-ease);
}
@media (hover:hover) and (pointer:fine){
  html body .jump-panel:hover,html body .ls-card:hover,html body .ch-card:hover{transform:translateY(-2px);box-shadow:var(--lx-shadow-float)!important}
}
@media (max-width:900px){
  html body .panel,html body .board,html body .ls-card,html body .ch-card,html body .ph-shelf,html body .sc-card,html body .cp-card,
  html body .wx-day,html body .family-strip>*,html body .three-col>*{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(160deg,#fffdf9,#fdf8f1)!important}
}
/* inner rows sit one step down from their panel */
html body .event-row{border-radius:var(--lx-r-in);background:rgba(255,255,255,.62);box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(84,52,22,.07)}
html body .event-row:hover{transform:none;background:rgba(255,255,255,.9);box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(var(--lx-accent-rgb),.28)}
html body .wx-day{border-radius:var(--lx-r-in)!important;padding-block:12px}
html body .wx-today{background:linear-gradient(160deg,#fde3cf,#f7bfa0)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 0 0 1px rgba(var(--lx-accent-rgb),.26),0 16px 30px -18px rgba(160,55,20,.45)!important}

/* the Today hero: espresso, a thread of gold on the edge, the ember glow turned down */
html body .hero-row>.panel:first-child{
  color:#f7f0e6;
  background:
    radial-gradient(560px 300px at 100% 0%,rgba(255,138,86,.22),transparent 62%),
    radial-gradient(420px 240px at 0% 110%,rgba(230,180,96,.14),transparent 62%),
    linear-gradient(158deg,#2a211a 0%,#1a1411 55%,#120d0a 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,226,190,.22),
    inset 0 0 0 1px rgba(255,210,160,.08),
    0 0 0 1px rgba(40,22,10,.6),
    0 30px 60px -26px rgba(40,22,10,.55)!important;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
html body .hero-row>.panel:first-child .section-label{color:rgba(247,240,230,.62)}
html body .hero-row>.panel:first-child .event-row{background:rgba(255,255,255,.08)!important;background-image:none!important;color:#f7f0e6!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.07)!important}
html body .hero-row>.panel:first-child .event-row .title,html body .hero-row>.panel:first-child .event-row .meta{color:#f7f0e6}
html body .hero-row>.panel:first-child .event-row .meta{opacity:.68}
html body .hero-row>.panel:first-child .event-row:hover{background:rgba(255,255,255,.13)!important}
html body .hero-row>.panel:first-child .event-row .time{color:rgba(247,240,230,.6)}

/* ---------- controls: deep terracotta primaries, warm white ink ---------- */
html body .cta:not(.ghost),html body.app .cta:not(.ghost),html body .app .cta:not(.ghost),html body button.cta[type=submit],
html body .fab,html body .app .fab,html body .topbar .top-add,html body .primary,html body .btn.primary,html body .app .primary,
html body #notif-banner .nb-on,html body .hp-tab.on,html body .hx-btn:not(.ghost):not(.light){
  background:var(--lx-primary)!important;background-image:var(--lx-primary)!important;
  color:var(--lx-primary-ink)!important;-webkit-text-fill-color:var(--lx-primary-ink)!important;
  box-shadow:var(--lx-primary-shadow)!important;
  border:0!important;border-radius:999px!important;
  font-weight:600;letter-spacing:-.005em;
  transition:transform .3s var(--lx-ease),box-shadow .3s var(--lx-ease),filter .3s var(--lx-ease);
}
html body .cta:not(.ghost):hover,html body .hx-btn:not(.ghost):not(.light):hover{filter:brightness(1.05);transform:translateY(-1px)}
html body .cta:not(.ghost):active,html body .fab:active,html body .top-add:active,html body .hx-btn:active{transform:scale(.97);filter:brightness(.98)}
html body .cta.ghost,html body .hx-btn.ghost{
  background:rgba(255,253,249,.78)!important;color:var(--lx-ink)!important;-webkit-text-fill-color:var(--lx-ink)!important;
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(84,52,22,.16)!important;border:0!important;border-radius:999px!important;font-weight:500;
}
html body .cta.ghost:hover{box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(84,52,22,.26),0 10px 20px -14px rgba(70,40,15,.3)!important}
/* small secondary actions (+ Add, New list, Clear) are ink pills: one step below the terracotta primaries */
html body .tiny,html body .app .tiny{border-radius:999px;background:var(--lx-ink)!important;background-image:none!important;color:#fff8f0!important;-webkit-text-fill-color:#fff8f0!important;box-shadow:inset 0 1px 0 rgba(255,236,210,.14),0 8px 18px -10px rgba(20,10,4,.5)!important;font-weight:600}
html body .cta,html body .tiny,html body .hx-btn{white-space:nowrap}
html body .day-cell.today .day-num span:first-child{background:var(--lx-primary)!important;color:var(--lx-primary-ink)!important;-webkit-text-fill-color:var(--lx-primary-ink)!important;box-shadow:inset 0 1px 0 rgba(255,236,220,.35),0 8px 16px -8px rgba(160,55,20,.7)!important}

/* top bar islands */
html body .clock-chip,html body .wall-btn,html body .who-chip{
  background:rgba(255,253,249,.82);border:0;border-radius:999px;
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px var(--lx-ring),0 8px 20px -14px rgba(70,40,15,.35);
  color:var(--lx-ink-2);font-weight:500;
}
html body .wall-state{
  font-size:10px;font-weight:700;letter-spacing:.08em;padding:3px 8px;border-radius:999px;
  background:rgba(84,52,22,.08);color:var(--lx-ink-3)!important;
}
html body.wall .wall-btn{background:var(--lx-primary)!important;color:var(--lx-primary-ink)!important;animation:none!important;
  box-shadow:var(--lx-primary-shadow),0 0 0 5px rgba(var(--lx-accent-rgb),.12)!important}
html body.wall .wall-btn .wall-lbl{color:var(--lx-primary-ink)}
html body.wall .wall-state{background:#fff8f0;color:var(--lx-accent-deep)!important}
html body.wall::before{height:3px;background:linear-gradient(90deg,#e6a062,#b8461a)}

/* inputs */
html body .item-add input,html body .field input,html body .field textarea,html body .field select,html body .ls-add input,html body .ls-new input,html body .fx-add input,
html body .auth-card input:not([type=checkbox]){
  border-radius:14px;border:0;background:rgba(255,255,255,.88);color:var(--lx-ink);
  box-shadow:inset 0 1px 2px rgba(70,40,15,.06),0 0 0 1px rgba(84,52,22,.16);
  transition:box-shadow .25s var(--lx-ease);
}
html body .item-add input:focus,html body .field input:focus,html body .field textarea:focus,html body .field select:focus,html body .ls-add input:focus,html body .ls-new input:focus,html body .fx-add input:focus,
html body .auth-card input:not([type=checkbox]):focus{outline:0;box-shadow:inset 0 1px 2px rgba(70,40,15,.04),0 0 0 1.5px var(--lx-accent),0 0 0 5px rgba(var(--lx-accent-rgb),.12)}
html body label,html body .field label{color:var(--lx-ink-2)!important;font-weight:500}

/* ---------- rail + tab bar: one accent language ---------- */
html body .sidenav{background:linear-gradient(180deg,#241c16 0%,#160f0c 100%);box-shadow:inset 0 1px 0 rgba(255,236,210,.08),inset 0 0 0 1px rgba(255,255,255,.04),0 30px 60px -30px rgba(20,10,4,.6);border-radius:var(--lx-r)}
html body .nav-btn{color:#cdbfb0;font-weight:500;border-radius:16px}
html body .nav-btn.active,html body .app .nav-btn.active{background:var(--lx-primary)!important;color:var(--lx-primary-ink)!important;-webkit-text-fill-color:var(--lx-primary-ink)!important;box-shadow:inset 0 1px 0 rgba(255,236,220,.32),0 10px 24px -10px rgba(160,55,20,.7)!important;animation:none}
html body .nav-btn.active svg{color:var(--lx-primary-ink)}
html body .nav-kicker{color:#8a7d70;font-size:9.5px;letter-spacing:.18em}
@media (max-width:900px){
  html body .bottomnav{left:12px;right:12px;bottom:calc(10px + var(--safe-b));border-radius:30px;padding:8px 6px;
    background:rgba(24,18,14,.88);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
    box-shadow:inset 0 1px 0 rgba(255,236,210,.1),0 24px 44px -18px rgba(20,10,0,.6)}
  html body .bottomnav button{color:#cdbfb0;border-radius:20px;font-size:11px;font-weight:500;transition:background .35s var(--lx-ease),color .35s var(--lx-ease),transform .25s var(--lx-ease)}
  html body .bottomnav button.active,html body .app .bottomnav button.active{background:var(--lx-primary)!important;background-image:var(--lx-primary)!important;color:var(--lx-primary-ink)!important;-webkit-text-fill-color:var(--lx-primary-ink)!important;box-shadow:inset 0 1px 0 rgba(255,236,220,.3)!important}
  html body .bottomnav button:active{transform:scale(.95)}
}

/* ---------- sheets, overlay, toast ---------- */
html body .sheet{border-radius:30px 30px 0 0;background:linear-gradient(180deg,#fffdf9,#fbf5ec);box-shadow:var(--lx-shadow-float)}
@media (min-width:901px){html body .sheet{border-radius:30px}}
html body .overlay{background:rgba(40,24,12,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body .toast{background:rgba(23,18,14,.94);color:#fff8f0;border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,236,210,.1),0 20px 40px -20px rgba(0,0,0,.5)}

/* ---------- motion: a quick settle, no blur, press feedback everywhere ---------- */
@keyframes lx-settle{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
html body .view.active>*{animation:lx-settle 420ms var(--lx-out) both;filter:none}
html body .view.active>*:nth-child(2){animation-delay:35ms}html body .view.active>*:nth-child(3){animation-delay:70ms}html body .view.active>*:nth-child(4){animation-delay:105ms}html body .view.active>*:nth-child(n+5){animation-delay:140ms}
html body .view.active .wx-day,html body .view.active .event-row,html body .view.active .person-card{animation:lx-settle 380ms var(--lx-out) both;animation-delay:120ms}
/* In the app (WKWebView / Android WebView) the settle animation's transform + blur drops frames on a full screen of
   panels and reads as a jump: the page lands offset, then snaps into place. Native gets a plain fade, no movement. */
html.gk-native,html.gk-native body{overflow-x:hidden;overscroll-behavior-x:none;max-width:100vw}
@keyframes lx-fade{from{opacity:0}to{opacity:1}}
html.gk-native body .view.active>*,html.gk-native body .view.active .wx-day,html.gk-native body .view.active .event-row,html.gk-native body .view.active .person-card{animation:lx-fade 200ms ease-out both;animation-delay:0ms;filter:none;transform:none}
html body button,html body .chip{transition:transform .25s var(--lx-ease)}
@media (prefers-reduced-motion:reduce){
  html body .view.active>*,html body .view.active .wx-day,html body .view.active .event-row,html body .view.active .person-card{animation:none!important}
  html body *{transition-duration:.01ms!important}
}

/* ---------- wall display: bigger, calmer, glanceable from across the kitchen ---------- */
html body.wall .topbar h1{font-size:40px}
html body.wall .big-when .dayname{font-size:clamp(56px,5.6vw,84px)}
html body.wall .event-row .title{font-size:20px}
html body.wall .event-row .time{font-size:15px}
html body.wall .panel{padding:26px}
html body.wall .section-label,html body.wall .panel h2{font-size:14px}
html body.wall .wx-day{padding-block:14px}
html body.wall .jump-panel:hover{transform:none}
html body.wall .wall-tag{background:var(--lx-primary);color:var(--lx-primary-ink);letter-spacing:.14em;border-radius:999px}

/* ---------- login page ---------- */
html body.gk-login .auth-card{
  border-radius:var(--lx-r);
  background:radial-gradient(120% 80% at 10% 0%,rgba(255,255,255,.8),rgba(255,255,255,0) 50%),linear-gradient(160deg,rgba(255,253,249,.9),rgba(255,250,243,.74));
  box-shadow:var(--lx-shadow-float);
}
html body.gk-login .auth-title{font-weight:500;letter-spacing:-.04em}
html body.gk-login .eyebrow{font-size:11px;letter-spacing:.14em;color:var(--lx-accent-deep)}
html body.gk-login .auth-switch a{border-radius:999px;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(84,52,22,.14);background:rgba(255,253,249,.8);color:var(--lx-ink)}

/* ---------- marketing site ---------- */
html body.site .hx-nav{background:transparent}
html body.site .hx-nav-pill{background:rgba(255,253,249,.78);border:0;border-radius:999px;box-shadow:inset 0 1px 0 #fff,0 0 0 1px var(--lx-ring),0 16px 36px -24px rgba(70,40,15,.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4)}
html body.site .hx-hero h1{font-weight:500;letter-spacing:-.05em;line-height:.98}
html body.site .hx-sec h2{font-weight:500;letter-spacing:-.04em}
html body.site .hx-tag{font-size:11px;letter-spacing:.14em;color:var(--lx-accent-deep)}
html body.site .hx-cell,html body.site .hx-card,html body.site .hx-price,html body.site .hx-bezel{border-radius:var(--lx-r);box-shadow:var(--lx-shadow)}
html body.site .hx-cell.dark,html body.site .cell.dark{box-shadow:inset 0 1px 0 rgba(255,226,190,.2),0 0 0 1px rgba(40,22,10,.6),0 30px 60px -26px rgba(40,22,10,.5)}
html body.site .hx-btn{border-radius:999px;font-weight:600}
html body.site .hx-chip{animation:none}

/* ---------- native app vs website: bits that only make sense on one of them ---------- */
.native-only{display:none}
html.gk-native .web-only{display:none}
html.gk-native .native-only{display:block}
