/* v59 round 4 (acc, 11 Nov 2026): the six kinds of account (#set) as buttons, and the sheet each one opens.
   Loaded after v59.css. Type, space, colour and easing from the design system (PLAN-v59-round4.md, section 2). */

/* ===== tiles: icon, name, one line, "Learn more" ===== */
.ac59-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.ac59-t{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;margin:0;padding:32px 32px 30px;
  border-radius:24px;background:#fff;transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
/* round 6 (restore): each kind of account shows its 3D object (art57.js ico(), sized in art59.css) */
.ac59-ic{margin:0 0 24px}
html body .ac59-n{margin:0;font-size:var(--t-h3);line-height:1.17;font-weight:600;letter-spacing:-.009em;color:var(--z-ink)}
.ac59-b{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;letter-spacing:inherit;
  text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
/* the whole tile is the button */
.ac59-b::after{content:"";position:absolute;inset:0;z-index:1;border-radius:24px}
html body .ac59-b:focus-visible{outline:none}
html body .ac59-b:focus-visible::after{outline:2px solid var(--z-jade);outline-offset:3px}
.ac59-l{margin:8px 0 0;font-size:17px;line-height:1.47;letter-spacing:-.022em;color:var(--z-2)}
.ac59-more{display:inline-flex;align-items:center;gap:2px;margin-top:auto;padding-top:20px;font-size:17px;line-height:1.2;letter-spacing:-.022em;color:var(--z-jade)}
.ac59-more .k59{transition:transform .35s var(--ease)}
@media (hover:hover) and (pointer:fine){
  .ac59-t:hover{transform:translateY(-3px);box-shadow:0 22px 44px -26px rgba(0,0,0,.3)}
  .ac59-t:hover .ac59-more .k59{transform:translateX(3px)}
}
.ac59-t:active{transform:scale(.98);transition-duration:.15s}
@media (max-width:1068px){.ac59-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
/* phones: a list of rows, the icon on the left */
@media (max-width:734px){
  .ac59-grid{grid-template-columns:1fr;gap:12px}
  .ac59-t{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:16px;align-items:start;padding:20px 20px 18px;border-radius:20px}
  .ac59-b::after{border-radius:20px}
  .ac59-ic{grid-row:1/4;margin:4px 0 0}
  .ac59-n,.ac59-l,.ac59-more{grid-column:2}
  .ac59-l{margin-top:4px}
  .ac59-more{padding-top:10px}
}

/* ===== the sheet ===== */
html.ac59-lock{overflow:hidden}
/* classic scrollbars keep their gutter, so nothing shifts (set only when the page has one: accounts59.js) */
html.ac59-lock.ac59-gut{scrollbar-gutter:stable}
.ac59-sheet{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;
  overflow:hidden;color:var(--z-ink);font-size:17px;line-height:1.47;letter-spacing:-.022em}
.ac59-sheet[open]{display:grid;place-items:center}
.ac59-sheet::backdrop{background:transparent}
.ac59-scrim{position:absolute;inset:0;background:rgba(0,0,0,.42)}
.ac59-panel{position:relative;display:flex;flex-direction:column;width:min(680px,calc(100% - 48px));max-height:min(880px,calc(100% - 64px));
  border-radius:28px;background:#fff;overflow:hidden;box-shadow:0 40px 100px -40px rgba(0,0,0,.5);will-change:transform}
.ac59-grab{display:none}
.ac59-x{position:absolute;top:16px;right:16px;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;
  background:#E8E8ED;color:var(--z-ink);cursor:pointer;transition:background-color .2s var(--ease),transform .15s var(--ease)}
.ac59-x:hover{background:#DCDCE1}
.ac59-x:active{transform:scale(.94)}
.ac59-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:48px 48px 40px}
html body .ac59-body:focus-visible{outline:2px solid var(--z-jade);outline-offset:-4px;border-radius:24px}
.ac59-sic{display:block;margin:0 0 28px}
html body #ac59T{margin:0;font-size:40px;line-height:1.1;font-weight:600;letter-spacing:-.012em;color:var(--z-ink);text-wrap:balance}
.ac59-what{margin:12px 0 0;font-size:var(--t-lede);line-height:1.38;letter-spacing:.011em;color:var(--z-ink);max-width:30em}
.ac59-sec{margin-top:32px;padding-top:24px;border-top:1px solid var(--z-line)}
html body .ac59-sec h3{margin:0 0 10px;font-size:14px;line-height:1.43;font-weight:600;letter-spacing:-.016em;color:var(--z-2)}
.ac59-when p{margin:0;max-width:32em}
/* what you get: one plain line each, a hairline between them (round 5: no pills) */
.ac59-list{margin:0;padding:0;list-style:none}
.ac59-list li{margin:0;padding:9px 0;font-size:17px;line-height:1.35;letter-spacing:-.022em;color:var(--z-ink)}
.ac59-list li:first-child{padding-top:0}
.ac59-list li+li{border-top:1px solid var(--z-line)}
/* the logos, as the Services page draws them, a little larger and in colour */
.ac59-lgs{--lh:22px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin:6px 0 0;filter:none;opacity:1}
.ac59-lgs .lg{filter:none!important;opacity:1!important}
.ac59-note{margin:16px 0 0;font-size:14px;line-height:1.43;letter-spacing:-.016em;color:var(--z-2)}
.ac59-ft{flex:none;padding:24px 48px 28px;background:var(--z-grey);border-top:1px solid var(--z-line)}
.ac59-price{margin:0;font-size:17px;color:var(--z-ink);text-wrap:balance}
.ac59-price b{font-weight:600}
.ac59-acts{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:16px}
.ac59-acts .tlink{color:var(--z-jade)}
/* wide screens: two columns, so the whole sheet fits a laptop screen without scrolling */
@media (min-width:1069px){
  .ac59-panel{width:min(920px,calc(100% - 64px))}
  .ac59-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-content:start}
  .ac59-hd,.ac59-who{grid-column:1/-1}
  .ac59-when{grid-column:1}
  .ac59-get{grid-column:2}
  .ac59-ft{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
  .ac59-acts{margin-top:0}
}
@media (max-width:734px){
  .ac59-sheet[open]{place-items:end stretch}
  .ac59-panel{width:100%;height:calc(100% - 40px);max-height:none;border-radius:24px 24px 0 0;box-shadow:none}
  .ac59-grab{display:block;position:absolute;top:7px;left:50%;z-index:2;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:#C7C7CC}
  .ac59-x{top:14px;right:14px;width:32px;height:32px}
  .ac59-body{padding:36px 22px 28px}
  html body #ac59T{font-size:32px;line-height:1.1}
  .ac59-sec{margin-top:24px;padding-top:20px}
  .ac59-lgs{--lh:20px;gap:14px 22px}
  .ac59-ft{padding:16px 22px calc(16px + env(safe-area-inset-bottom))}
  .ac59-price{font-size:15px}
  .ac59-acts{margin-top:12px;gap:12px 20px}
}
@media (prefers-reduced-motion:reduce){
  .ac59-t,.ac59-more .k59{transition:none}
  .ac59-t:hover,.ac59-t:active{transform:none}
  .ac59-x:active{transform:none}
}
