
:root { --primary: #7364E3; --primary-strong: #5F4EDF; --primary-dark: #2F2673; --primary-wash: #EBE9FB;
  --bg: #F7F8FA; --card: #FFFFFF; --row: #EEF0F4; --line: #D9DDE3; --faint: #7C8493; --muted: #4A5060; --ink: #1A1F2C;
  --ok: #0A6E59; --ok-wash: #D6F2EA; --no: #C71F37; --no-wash: #FBDDE3; --warn-wash: #FFE9C0;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --shadow-sm: 0 1px 2px rgba(20, 26, 44, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); padding: 0 16px 40px; }
a { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r-sm); }

/* the bar */
header { margin: 0 -16px 28px; padding: 0 16px; background: var(--card); border-bottom: 1px solid var(--line); }
header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; max-width: 760px; margin: 0 auto; }
body.wide header .bar, body.wide main, body.wide footer { max-width: 960px; }
header a.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
header a.mark img { width: 32px; height: 32px; } header a.mark b { color: var(--primary-dark); font-size: 15px; letter-spacing: .02em; }
header .door { font-size: 14px; font-weight: 600; color: var(--primary-dark); text-decoration: none; padding: 8px 12px; border-radius: var(--r-md); }
header .door:hover { background: var(--row); }
#me-menu { position: relative; }
#me-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; color: var(--muted); padding: 7px; border-radius: var(--r-sm); }
#me-menu summary::-webkit-details-marker { display: none; }
#me-menu summary:hover, #me-menu[open] summary { background: var(--row); color: var(--ink); }
#me-menu > div { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 232px; display: flex; flex-direction: column;
  padding: 8px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20, 26, 44, .12); }
#me-menu .who { margin: 4px 8px 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
#me-menu .who span { display: block; margin-top: 3px; font-weight: 400; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
#me-menu > div a { padding: 9px 8px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 14px; }
#me-menu > div a:hover { background: var(--row); }

main, footer { max-width: 760px; margin: 0 auto; }
main.narrow { max-width: 440px; }
footer { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; color: var(--primary-dark); text-wrap: balance; }
h2 { font-size: 18px; margin: 28px 0 10px; }
p.lead, .meta { color: var(--muted); margin: 0 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-md);
  border: 0; background: var(--primary); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--primary-strong); }
.btn.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--row); }
.btn.wide { width: 100%; }
.btn img { width: 20px; height: 20px; }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 17px; font-weight: 700; border-radius: 12px; }
.small { font-size: 14px; } .muted { color: var(--muted); }

/* the sign-in */
.signin { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.doors { display: grid; gap: 10px; margin: 0 0 6px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=email], input[type=text] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font: inherit; background: var(--card); margin-bottom: 12px; }
input.code { font: 700 24px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-align: center; }
.note { background: var(--primary-wash); border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 16px; }
.note.bad { background: var(--no-wash); border-left: 4px solid var(--no); }
.signin-foot { text-align: center; margin: 16px 0 0; }

/* the home: the band */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center;
  margin: 4px 0 36px; padding: 40px 36px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #9A8CF0 0%, #7364E3 38%, #2F2673 100%); box-shadow: 0 18px 50px rgba(47, 38, 115, .25); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.kick { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.08; margin: 0 0 14px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: #FFD666; }
.hero .lead { font-size: 18px; line-height: 1.45; margin: 0 0 22px; color: rgba(255, 255, 255, .9); max-width: 30em; }
.hero .btn.big { background: #fff; color: var(--primary-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .15s; }
.hero .btn.big:hover { background: #FFF6DA; transform: translateY(-2px); }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .82); }
.chat { background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px; box-shadow: 0 14px 40px rgba(20, 16, 60, .35); transform: rotate(1.2deg); }
.chat .tb { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; color: var(--faint); }
.chat .tb i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .chat .tb span { margin-left: auto; }
.chat .q { margin: 8px 0 10px; font-size: 15px; font-weight: 600; }
.chat ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.chat li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; margin: 0 0 9px; opacity: 0; animation: pop .5s ease forwards; }
.chat li:nth-child(2) { animation-delay: .6s; } .chat li:nth-child(3) { animation-delay: 1.2s; } .chat li:nth-child(4) { animation-delay: 1.8s; }
.chat li b { color: var(--primary-dark); } .chat li span.e { font-size: 18px; line-height: 1.2; }
.chat .typing { display: inline-flex; gap: 4px; margin: 4px 0 0 34px; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .35; animation: blink 1.2s infinite; }
.chat .typing i:nth-child(2) { animation-delay: .2s; } .chat .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* the home: the seven gestures — one light list, one line per gesture (Alain, 2026-10-19: cards made it look complicated) */
section.blk { margin: 0 0 40px; } section.blk > h2 { font-size: 26px; line-height: 1.2; color: var(--primary-dark); margin: 0 0 6px; text-wrap: balance; }
section.blk > p.sub { color: var(--muted); margin: 0 0 16px; }
.gestures { margin: 0; padding: 0; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gestures li { display: grid; grid-template-columns: 34px 150px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--row); transition: background .15s; }
.gestures li:first-child { border-top: 0; }
.gestures li:hover { background: #FBFAFF; }
.gestures .e { font-size: 22px; line-height: 1; text-align: center; transition: transform .2s; }
.gestures li:hover .e { transform: scale(1.2) rotate(-8deg); }
.gestures .verb { display: block; color: var(--faint); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.gestures .name { display: block; font-weight: 700; color: var(--primary-dark); }
.gestures .promise { margin: 0; color: var(--muted); font-size: 15px; }
.gestures a.try { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background .15s; }
.gestures a.try i { font-style: normal; display: inline-block; transition: transform .2s; }
.gestures a.try:hover { background: var(--primary-strong); }
.gestures li:hover a.try i { transform: translateX(3px); }
.gestures .soon { color: var(--faint); font-size: 13px; white-space: nowrap; }
.gestures li.soon-row .name { color: var(--muted); } .gestures li.soon-row .e { filter: grayscale(.5); opacity: .75; }
.gestures .beta { display: inline-block; padding: 1px 7px; border-radius: 999px; background: #FFD666; color: var(--primary-dark); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; margin-left: 4px; }
@media (max-width: 620px) {
  .gestures li { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "e who act" ". pr pr"; row-gap: 4px; }
  .gestures .e { grid-area: e; } .gestures li > div { grid-area: who; } .gestures a.try, .gestures .soon { grid-area: act; }
  .gestures .promise { grid-area: pr; font-size: 14px; } }

/* the home: what Go promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.promises li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.promises li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ok-wash); font-size: 20px; }
.promises li b { display: block; margin: 0 0 2px; } .promises li p { margin: 0; color: var(--muted); font-size: 14px; }
.last { text-align: center; margin: 8px 0 0; padding: 36px 20px; border-radius: 22px; background: var(--primary-wash); }
.last h2 { font-size: 26px; margin: 0 0 8px; color: var(--primary-dark); text-wrap: balance; } .last p { margin: 0 0 18px; color: var(--muted); }
.hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; }
.hello h1 { margin: 0; } .hello p { margin: 4px 0 0; color: var(--muted); }

/* the account */
table.history { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 14px; }
table.history th, table.history td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--row); vertical-align: top; }
table.history th { color: var(--faint); font-weight: 600; border-top: 0; }
.tag { display: inline-block; background: var(--warn-wash); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; margin-left: 6px; }
ul.doors-list { padding-left: 18px; }

/* the legal pages */
.legal h2 { font-size: 18px; margin: 26px 0 8px; color: var(--primary-dark); } .legal ul { margin: 0; padding-left: 20px; } .legal li { margin: 0 0 6px; }

@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding: 28px 20px; } .hero h1 { font-size: 34px; } .chat { transform: none; } }
@media (max-width: 620px) { table.history th:nth-child(4), table.history td:nth-child(4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .chat li { animation: none; opacity: 1; } .chat .typing i { animation: none; } .hero .btn.big, .gestures li, .gestures .e, .gestures a.try i { transition: none; } }
