/* Hamilton brand: tokens, type, buttons, nav, phone menu, footer. Shared by every page; load before the page stylesheet. */
:root{
  --night:#0E1412; --night-2:#16201C; --night-3:#1B2420;
  --paper:#FBF6EC; --paper-2:#F3ECDD; --cream:#E9DFCB; --dim:#A9A190;
  --ink:#121513; --ink-2:#55524B;
  --green:#1F5A43; --green-hi:#2E7A5B; --brass:#D3AE63; --brass-2:#B8913F;
  --line-d:rgba(251,246,236,.14); --line-l:#E3DACA;
  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --sans:'Geist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --nav-h:72px; --nav-h-s:56px;
  --top:calc(env(safe-area-inset-top,0px) + var(--nav-h));
  color-scheme:dark; box-sizing:border-box;
}
*,*::before,*::after{box-sizing:inherit}
html{background:var(--night);scroll-padding-top:calc(var(--top) + env(safe-area-inset-top,0px))}
body{margin:0;background:var(--night);color:var(--paper);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
img,svg,video{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--brass);outline-offset:3px;border-radius:4px}
.wrap{max-width:1320px;margin:0 auto;padding-inline:clamp(18px,4vw,48px)}
.mono{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
sup.fn{font-family:var(--mono);font-size:.5em;vertical-align:super;line-height:0;margin-left:.08em}
sup.fn a{text-decoration:none;color:inherit;opacity:.75}
sup.fn a:hover{opacity:1}

/* type system */
.eyebrow{display:inline-flex;align-items:center;gap:12px;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--brass)}
.eyebrow::before{content:"";width:28px;height:1px;background:currentColor;opacity:.7}
.on-paper .eyebrow{color:var(--green)}
.h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(44px,5.4vw,80px);line-height:.98;letter-spacing:-.02em}
.lede{margin:0;font-size:clamp(18px,1.5vw,22px);line-height:1.4;color:var(--cream)}
.on-paper{background:var(--paper);color:var(--ink)}
.on-paper .lede{color:var(--ink-2)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:7px;font-weight:500;font-size:15px;text-decoration:none;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-green{background:var(--green);color:var(--paper)}
.btn-green:hover{background:var(--green-hi)}
.btn-paper{background:var(--paper);color:var(--ink)}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-line{border:1px solid rgba(251,246,236,.35);color:var(--paper)}

.coin{width:28px;height:28px;flex:0 0 28px}
.coin svg{width:100%;height:100%}

/* ---------- NAV ---------- */





/* home, at the top: transparent over the hero footage, light text, a soft scrim behind it */



/* the wordmark follows the nav text: ink on paper, paper over the footage (the on-dark logo); the tile and brass stop never change */


.foot .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;margin-right:10px}
.foot .brand svg{width:30px;height:30px}
.foot .brand span{font-family:var(--serif);font-size:27px;line-height:1;letter-spacing:-.01em}
































/* ---------- FOOTER ---------- */
.foot{background:var(--night);color:var(--dim);border-top:1px solid var(--line-d);padding-block:56px calc(env(safe-area-inset-bottom,0px) + 96px)}
.foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px 48px;padding-bottom:36px;border-bottom:1px solid var(--line-d)}
.foot .brand{color:var(--paper)}
.foot .brand span{color:var(--paper)}
.foot-cols{display:flex;flex-wrap:wrap;gap:24px 56px}
.foot-cols div{display:flex;flex-direction:column;gap:8px;font-size:14px}
.foot-cols b{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--cream);font-weight:400;margin-bottom:4px}
.foot-cols .foot-row{flex-direction:row;flex-wrap:wrap;gap:8px 28px}
.foot-cols a{text-decoration:none;color:var(--dim)}
.foot-cols a:hover{color:var(--paper)}
.notes{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:8px;font-size:12.5px;line-height:1.55;max-width:1060px}
.notes li{display:grid;grid-template-columns:22px 1fr}
.notes li:target{color:var(--paper)}
.legal{margin:22px 0 0;font-size:12.5px;line-height:1.55;max-width:1060px}

/* ---------- RESPONSIVE ---------- */

@media (max-width:760px){
  .foot .brand span{font-size:24px}
}
.src summary{display:none}
.src{display:block}
@media (max-width:760px){
  .src summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-top:20px;border-top:1px solid var(--line-d);border-bottom:1px solid var(--line-d);color:var(--cream);cursor:pointer;list-style:none}
  .src summary::-webkit-details-marker{display:none}
  .src summary::after{content:"+";font-size:18px}
  .src[open] summary::after{content:"–"}
}

/* brand marks (design file, Oct 12) */
.foot .brand .logo{height:32px;width:auto;display:block}
.foot .brand .logo{height:40px}
.coin img,.ic img{width:100%;height:100%;display:block}
@media (max-width:760px){.foot .brand .logo{height:28px}}

/* nav logo: big enough for the portrait to read */
.foot .brand .logo{height:38px}
@media (max-width:760px){.foot .brand .logo{height:32px}}
/* nav: links centred on the page, logo left, button right */

/* final marks, Oct 13 */
.foot .brand svg.logo{height:38px;width:auto;display:block;flex:none;transition:height .25s ease-out,width .25s ease-out}

@media (max-width:760px){.foot .brand svg.logo{height:32px}}
.foot .brand .logo{height:32px}

/* footnote marks: one size everywhere, whatever the heading size */
sup.fn{font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:0;vertical-align:super;line-height:0;margin-left:2px}
.notes a{color:var(--brass);text-decoration:none}

/* footnote marks: one spec everywhere, copied from the section 2 labels (the approved ones).
   11px mono, sits at the top of the word it follows, 2px from it. */
sup.fn{font:400 11px/1 var(--mono);letter-spacing:0;position:relative;top:auto;vertical-align:baseline;margin-left:2px}
sup.fn a{color:inherit;text-decoration:none;opacity:.75}
/* the link to the page you are on */


/* nav with two buttons (Oct 16): keep the logo full size, compact buttons */



/* issuer nav (Oct 23): Sign in as a text link beside the Sign up button */



/* usdh.money logo (Oct 23, brand kit v1): the USDh coin and "usdh.money". "usdh" follows the nav text; ".money" is brass ink on paper and brass over the footage */



.foot .brand svg.usdh-logo{height:34px}

@media (max-width:760px){.foot .brand svg.usdh-logo{height:28px}}
/* usdh.money nav (Oct 24, option A): Draw, Earn, Learn in the middle; the Draw countdown and Open app on the right.
   Same marks, colours, type and buttons as the rest of the site. Under 861px: logo, countdown (days) and the menu button. */


.draw-chip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:20px;border:1px solid rgba(18,21,19,.14);color:inherit;text-decoration:none;font-size:13.5px;white-space:nowrap;transition:background .2s ease,border-color .2s ease}
.draw-chip:hover{background:rgba(18,21,19,.06)}
.draw-chip .l{opacity:.68}
.draw-chip .t{font-family:var(--mono);font-size:13px;font-variant-numeric:tabular-nums}
.draw-chip .dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--green-hi);box-shadow:0 0 0 3px rgba(46,122,91,.22);animation:draw-dot 2.4s ease-in-out infinite}
@keyframes draw-dot{50%{box-shadow:0 0 0 5px rgba(46,122,91,.06)}}



@media (prefers-reduced-motion:reduce){.draw-chip .dot{animation:none}}



@media (max-width:860px){
  
  
  
  
  .draw-chip{padding:0 12px}
  .draw-chip .l{display:none}
  
}










