/* Blue Program — one sentence on one blue. Epilogue 300 for the sentence, 700 for the words the visitor chooses. */
:root {
  --sea: #1537D6;        /* the page, edge to edge */
  --deep: #0B1F94;       /* the list that opens over a word */
  --white: #FBFCFF;      /* the sentence */
  --foam: #9BEAFF;       /* the blanks */
  --mist: #C6D1FF;       /* secondary lines */
  --sun: #FFDD3C;        /* the one button */
  --ink: #0A1460;        /* text on the button */
  --gx: clamp(16px, 6.4vw, 108px);
  --fs: clamp(31px, min(5vw, 7.7vh), 84px);
  --eo: cubic-bezier(.16, 1, .3, 1);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6'%3E%3Cpath d='M0 3.2Q3 .4 6 3.2T12 3.2' fill='none' stroke='%239BEAFF' stroke-width='1.35'/%3E%3C/svg%3E");
  --wave-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6'%3E%3Cpath d='M0 3.2Q3 .4 6 3.2T12 3.2' fill='none' stroke='%23FFDD3C' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--sea); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sea); color: var(--white); font-family: 'Epilogue', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--sun); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }

/* ---------- first screen ---------- */
.stage { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 26px var(--gx) 26px; }
.top { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 30px; width: auto; display: block; }
.where { margin: 0; font-size: 13px; letter-spacing: .04em; color: var(--mist); }
.lang { margin-left: auto; display: flex; gap: 4px; }
.lang button { font: 600 13px/1 'Epilogue', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); background: none; border: 0; padding: 8px 8px 9px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--foam); background: var(--wave) 0 100% / 8px 5px repeat-x; }
.lang button:hover { color: var(--white); }

.nl { position: relative; align-self: center; max-width: 1280px; padding: clamp(32px, 7vh, 96px) 0 0; }
.s { margin: 0; font-size: var(--fs); font-weight: 300; line-height: 1.2; letter-spacing: -.028em; text-wrap: pretty; }
.s .w { display: inline-block; animation: rise 1s var(--eo) both; animation-delay: calc(var(--i) * 36ms + 140ms); }
.s .blank, .s .in { animation: surface 1.1s var(--eo) both; animation-delay: calc(var(--i) * 36ms + 340ms); }
.s.ready .w, .s.ready .blank, .s.ready .in { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(.42em); } }
@keyframes surface { from { opacity: 0; } }

/* a blank: a word in pale cyan riding a slow wave */
.blank { color: var(--foam); font-weight: 700; letter-spacing: -.035em; cursor: pointer; padding: 0 .03em .12em; margin: 0 -.03em; background: var(--wave) 0 100% / .34em .17em repeat-x; -webkit-box-decoration-break: clone; box-decoration-break: clone; outline: none; transition: color .35s var(--eo), background-color .35s var(--eo); }
.s.ready .blank, .s.ready .blank-in { animation: drift 3.2s linear infinite; }
@keyframes drift { to { background-position-x: 1.02em; } }
.blank:hover { color: var(--white); }
.blank:focus-visible, .blank.on { color: var(--white); background-color: rgba(155, 234, 255, .14); }
.blank.new { animation: drift 3.2s linear infinite, sunk 1.4s var(--eo) both !important; }
@keyframes sunk { from { color: var(--sun); } }

.in { position: relative; display: inline-block; }
.blank-in { font: inherit; font-weight: 700; letter-spacing: -.035em; color: var(--foam); caret-color: var(--sun); background: var(--wave) 0 100% / .34em .17em repeat-x; border: 0; border-radius: 0; margin: 0; padding: 0 0 .12em; min-width: 1.6em; max-width: 100%; outline: none; vertical-align: baseline; }
.blank-in::placeholder { color: rgba(155, 234, 255, .62); font-weight: 400; }
.blank-in:focus { background-color: rgba(155, 234, 255, .14); }
.hint { display: none; position: absolute; left: 0; top: calc(100% + 2px); width: max-content; max-width: min(320px, calc(100vw - 32px)); font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 0; color: var(--mist); pointer-events: none; }
.in:focus-within .hint, .in.miss .hint { display: block; }
.in.miss .blank-in { background-image: var(--wave-sun); }
.in.miss .hint { color: var(--sun); }

/* the list that opens over the word */
.pick { position: absolute; z-index: 30; min-width: 280px; max-width: min(620px, 100%); padding: 14px 22px 18px; background: var(--deep); box-shadow: 0 2px 0 rgba(155, 234, 255, .35) inset, 0 34px 70px -24px rgba(3, 8, 52, .75); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--eo), transform .5s var(--eo); }
.pick.show { opacity: 1; transform: none; }
.pk-k { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.pk-l { display: flex; flex-direction: column; }
.o { position: relative; font: 600 max(21px, calc(var(--fs) * .46))/1.12 'Epilogue', sans-serif; letter-spacing: -.02em; text-align: left; color: var(--white); background: none; border: 0; padding: 7px 10px 7px 34px; cursor: pointer; transition: color .25s var(--eo), background-color .25s var(--eo); }
.o:hover, .o:focus-visible { color: var(--foam); background: rgba(155, 234, 255, .08); outline: none; }
.o.sel { color: var(--foam); }
.o.sel::before { content: ''; position: absolute; left: 8px; top: 50%; width: 13px; height: 7px; margin-top: -7px; border: solid var(--foam); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.pk-l.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(7, auto); grid-auto-flow: column; column-gap: 14px; max-height: min(52vh, 420px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--foam) transparent; }
.pk-l.days .o { font-size: 19px; padding: 7px 8px 7px 30px; }
.pk-l.days .o:first-child { grid-column: 1 / -1; grid-row: 1; margin-bottom: 6px; border-bottom: 1px solid rgba(155, 234, 255, .2); padding-bottom: 11px; }
.free { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(155, 234, 255, .25); }
.free > span:first-child { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.free-row { display: flex; gap: 10px; align-items: end; margin-top: 4px; }
.free input { flex: 1; min-width: 0; font: 600 20px/1.3 'Epilogue', sans-serif; color: var(--white); background: transparent; border: 0; border-bottom: 2px solid var(--foam); border-radius: 0; padding: 4px 0; outline: none; }
.free input::placeholder { color: rgba(155, 234, 255, .6); font-weight: 400; }
.free input:focus { border-bottom-color: var(--sun); }
.free-ok { font: 700 14px/1 'Epilogue', sans-serif; color: var(--ink); background: var(--sun); border: 0; border-radius: 0; padding: 10px 14px; cursor: pointer; }
.free small { display: block; margin-top: 6px; font-size: 13px; color: var(--mist); }

/* under the sentence: the button, and the sentence as it will be sent */
.send { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: start; margin-top: clamp(30px, 5.5vh, 68px); }
.act-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
.go { font: 700 18px/1 'Epilogue', sans-serif; letter-spacing: -.01em; color: var(--ink); background: var(--sun); border: 0; border-radius: 0; padding: 21px 30px 19px; cursor: pointer; box-shadow: 0 0 0 rgba(3, 8, 52, 0); transition: transform .5s var(--eo), box-shadow .5s var(--eo); }
.go:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgba(3, 8, 52, .7); }
.go:active { transform: translateY(0); }
.go:focus-visible { outline: 3px solid var(--foam); outline-offset: 4px; }
.call { font-size: 16px; text-decoration: none; color: var(--white); }
.call b { font-weight: 700; color: var(--foam); }
.call:hover b { background: var(--wave) 0 100% / 8px 5px repeat-x; padding-bottom: 3px; }
.act-row { margin-bottom: 18px; }
.echo { border-left: 2px solid rgba(155, 234, 255, .4); padding: 2px 0 2px 22px; }
.echo-k { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.echo-k.warn { color: var(--sun); letter-spacing: .02em; text-transform: none; font-size: 15px; }
.echo-t { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.5; color: #E4EAFF; }
.avail { margin: 10px 0 0; font-size: 14px; color: var(--mist); }
.sent { margin: 26px 0 0; max-width: 64ch; padding: 4px 0 4px 18px; border-left: 4px solid var(--sun); font-size: 17px; line-height: 1.5; }
.sent a { color: var(--foam); font-weight: 700; }
.keys { margin: 26px 0 0; font-size: 12.5px; letter-spacing: .02em; color: var(--mist); }
@media (hover: none) { .keys { display: none; } }

/* ---------- below the fold: very little ---------- */
.after { padding: clamp(72px, 13vh, 150px) var(--gx) 64px; max-width: calc(1280px + 2 * var(--gx)); }
.who { margin: 0 0 clamp(40px, 7vh, 72px); max-width: 24em; font-size: clamp(25px, 2.9vw, 44px); font-weight: 300; line-height: 1.22; letter-spacing: -.022em; }
.who b, .who a { font-weight: 700; color: var(--foam); text-decoration: none; }
.who a:hover { background: var(--wave) 0 100% / .34em .17em repeat-x; }
.law, .comp, .links { margin: 0 0 0 clamp(0px, 31vw, 470px); max-width: 38em; }
.law { font-size: 18px; line-height: 1.55; padding-top: 18px; border-top: 1px solid rgba(155, 234, 255, .3); }
.comp { margin-top: 14px; font-size: 16px; color: var(--mist); }
.links { margin-top: 34px; font-size: 14px; }
.links a { color: var(--white); text-underline-offset: 3px; }

/* ---------- legal pages (same blue, same face) ---------- */
.docbody { min-height: 100vh; }
.dochead { padding: 26px var(--gx) 0; }
.dochead img { height: 30px; width: auto; display: block; }
.doc { max-width: 900px; padding: 40px var(--gx) 72px; font-size: 16px; line-height: 1.65; }
.doc h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; margin: 20px 0 18px; }
.doc h2 { font-size: 20px; font-weight: 700; color: var(--foam); letter-spacing: -.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc a { color: var(--foam); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.doc th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 600; padding: 8px 10px 8px 0; border-bottom: 2px solid rgba(155, 234, 255, .45); }
.doc td { vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid rgba(155, 234, 255, .22); }
.doc code { font-size: .9em; background: rgba(155, 234, 255, .14); padding: 1px 5px; }
.doc em { color: var(--mist); }
.doc .ck-page button { font: 700 15px/1 'Epilogue', sans-serif; border-radius: 0; border: 0; padding: 13px 18px 12px; background: var(--sun); color: var(--ink); }
.doc .ck-page button + button { background: transparent; color: var(--foam); box-shadow: inset 0 0 0 2px var(--foam); }
.doc .ck-page .st { border-radius: 0; border-color: rgba(155, 234, 255, .45); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .stage { padding-top: 18px; padding-bottom: 22px; }
  .top { gap: 14px; }
  .where { display: none; }
  .brand img { height: 26px; }
  .nl { padding-top: 34px; }
  .s { line-height: 1.24; }
  .send { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .go { width: 100%; }
  .act-row { gap: 14px; }
  .pick { left: 0 !important; width: 100%; max-width: none; min-width: 0; padding: 12px 14px 16px; }
  .pk-l.days { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; max-height: 46vh; }
  .law, .comp, .links { margin-left: 0; }
  .law { font-size: 16.5px; }
}

/* ---------- review mode and reduced motion ---------- */
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
html.static .pick { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: blue-program */
.ck { --ck-bottom: 0px; left: 0; right: 0; bottom: 0; width: auto; max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .42em; padding: 24px var(--gx) 20px; background: var(--sea); color: var(--white); font-family: 'Epilogue', sans-serif; font-size: clamp(21px, 2.15vw, 31px); font-weight: 300; line-height: 1.25; letter-spacing: -.02em; box-shadow: 0 -34px 34px -8px var(--sea); }
.ck::before { content: ''; position: absolute; left: var(--gx); right: var(--gx); top: 0; height: 6px; background: var(--wave) 0 0 / 12px 6px repeat-x; opacity: .55; }
.ck .ck-k { font-size: 1em; font-weight: 600; color: var(--mist); letter-spacing: -.01em; }
.ck .ck-t { display: inline; } .ck .ck-t b { font-weight: 300; }
.ck .b { display: inline-flex; align-items: baseline; gap: 0; margin: 0; }
.ck button { position: relative; font: 700 1em/1.2 'Epilogue', sans-serif; letter-spacing: -.035em; color: var(--foam); background: var(--wave) 0 100% / .34em .17em repeat-x; border: 0; border-radius: 0; padding: 0 .04em .14em; transition: color .3s cubic-bezier(.16, 1, .3, 1), background-color .3s cubic-bezier(.16, 1, .3, 1); }
.ck button:hover, .ck button:focus-visible { color: var(--white); background-color: rgba(155, 234, 255, .14); outline: none; }
.ck button.ok { margin-left: .1em; }
.ck button.no { margin-left: .95em; } .ck .no::before { content: '/'; position: absolute; left: -.68em; top: 0; font-weight: 300; color: var(--mist); }
.ck a.more { margin-left: 1.1em; font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--mist); text-decoration: underline; text-underline-offset: 3px; } .ck a.more:hover { color: var(--white); }
.ck .ck-p { order: 9; flex-basis: 100%; max-width: 86ch; margin-top: 8px; font-size: 13px; line-height: 1.45; letter-spacing: 0; color: var(--mist); }
@media (max-width: 600px) { html .ck { left: 0; right: 0; padding: 20px 16px 16px; font-size: 21px; } html .ck::before { left: 16px; right: 16px; } html .ck a.more { margin-left: 0; flex-basis: 100%; margin-top: 8px; } }
body:has(> .ck) .stage { padding-bottom: 170px; }
/* seller block: the last lines of the same blue page, with the labels in the blanks' cyan */
footer.seller { padding: 34px var(--gx) 40px; border-top: 1px solid rgba(155, 234, 255, .3); color: var(--white); background: var(--sea); }
footer.seller .seller-in { max-width: 1280px; margin: 0; }
footer.seller b { opacity: 1; color: var(--foam); font-weight: 600; letter-spacing: .16em; }
footer.seller strong { font-size: 16px; font-weight: 700; }
footer.seller a { color: var(--white); text-underline-offset: 3px; }
body:has(> .ck) footer.seller { padding-bottom: 210px; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
