/* Luam "one question" module. Plain CSS so the Tailwind build does not need to be re-run.
   Palette and fonts come from src/input.css: night #1a1a1a, mist #e8efe9, aqua #94eadc, sky #add8e6, theme blue #478ac9. */

.lq { background: #fff; color: #111; padding: 96px 24px 104px; font-family: "Open Sans", sans-serif; }
.lq { scroll-margin-top: 90px; } /* clear the sticky header when linked as #start */
.lq *, .lq *::before, .lq *::after { box-sizing: border-box; }
.lq [hidden] { display: none !important; }
.lq-wrap { max-width: 1000px; margin: 0 auto; }

.lq-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 24px; }
.lq-kicker { margin: 0; font: 700 13px/1.4 Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #4a6a36; }

.lq-lang { display: flex; gap: 8px; }
.lq-lang button { min-height: 44px; padding: 8px 18px; border: 1px solid #1a1a1a; border-radius: 50px; background: #fff; color: #1a1a1a; font: 600 13px/1 Montserrat, sans-serif; letter-spacing: .5px; cursor: pointer; }
.lq-lang button[aria-pressed="true"] { background: #191919; border-color: #191919; color: #94eadc; }

.lq h2 { max-width: 760px; font-family: Roboto, sans-serif; font-weight: 700; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.1; color: #1d1d1d; text-wrap: balance; }
.lq-sub { margin: 16px 0 36px; max-width: 540px; font-size: 18px; line-height: 1.6; color: #333; }

.lq-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.lq-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 112px; padding: 22px 24px; text-align: left; border: 1px solid #c9d6cc; border-radius: 30px; background: #e8efe9; color: #111; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lq-opt:hover { border-color: #1a1a1a; }
.lq-opt .t { font: 700 22px/1.2 Montserrat, sans-serif; }
.lq-opt .s { font: 400 16px/1.45 "Open Sans", sans-serif; }
.lq-opt[aria-pressed="true"] { background: #191919; border-color: #191919; color: #fff; }
.lq-opt[aria-pressed="true"] .t { color: #94eadc; }

.lq-alts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lq-alt { min-height: 44px; padding: 10px 22px; border: 1px solid #1a1a1a; border-radius: 50px; background: transparent; color: #1a1a1a; font: 600 15px/1.2 "Open Sans", sans-serif; cursor: pointer; }
.lq-alt:hover { background: #e8efe9; }
.lq-alt[aria-pressed="true"] { background: #191919; color: #94eadc; }

.lq-out { margin-top: 32px; }
.lq-card { background: #1a1a1a; color: #fff; border-radius: 30px; padding: clamp(24px, 4vw, 44px); animation: lq-in .4s ease; }
@keyframes lq-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lq-tag { margin: 0; font: 700 13px/1.4 Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #94eadc; }
.lq-act { margin: 16px 0 0; max-width: 660px; font: 300 clamp(22px, 3.2vw, 32px)/1.4 Roboto, sans-serif; color: #fff; }
.lq-why { margin: 16px 0 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: #c4cfd0; }
.lq-danger { margin: 16px 0 0; max-width: 620px; font-size: 18px; font-weight: 600; line-height: 1.6; color: #fff; }
.lq-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.lq-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 32px; border: 0; border-radius: 50px; background: #94eadc; color: #191919; font: 700 14px/1.2 Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.lq-pill:hover { background: #add8e6; }
.lq-link { display: inline-flex; align-items: center; min-height: 48px; color: #fff; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.lq-link:hover { color: #add8e6; }
.lq-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.lq-msg { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.lq-next .lq-why { margin-top: 10px; }
.lq-next .lq-row { margin-top: 8px; }

.lq-priv { margin: 28px 0 0; font: 500 12px/1.6 Montserrat, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: #4a5a50; }

.lq button:focus-visible, .lq a:focus-visible { outline: 3px solid #478ac9; outline-offset: 3px; }
.lq-card button:focus-visible, .lq-card a:focus-visible { outline-color: #94eadc; }

/* without JavaScript the buttons would do nothing, so show plain links instead */
.lq:not(.lq-js) .lq-opts, .lq:not(.lq-js) .lq-alts, .lq:not(.lq-js) .lq-lang, .lq:not(.lq-js) .lq-sub { display: none; }
.lq-js .lq-nojs { display: none; }
.lq-nojs { margin: 20px 0 0; max-width: 560px; font-size: 18px; line-height: 1.7; }
.lq-nojs a { text-decoration: underline; text-underline-offset: 4px; }

/* four short reads, after the blog section */
.rd { background: #1a1a1a; color: #fff; padding: 88px 24px 96px; font-family: "Open Sans", sans-serif; }
.rd *, .rd *::before, .rd *::after { box-sizing: border-box; }
.rd-wrap { max-width: 1000px; margin: 0 auto; }
.rd-kicker { margin: 0 0 12px; font: 700 13px/1.4 Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #94eadc; }
.rd h2 { max-width: 720px; font-family: Roboto, sans-serif; font-weight: 700; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; color: #fff; text-wrap: balance; }
.rd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 36px; }
.rd-card { display: flex; flex-direction: column; gap: 10px; min-height: 240px; padding: 24px; background: #e8efe9; color: #111; border: 1px solid #e8efe9; border-radius: 30px; text-decoration: none; }
.rd-card:hover { border-color: #94eadc; box-shadow: 0 0 0 2px #94eadc; }
.rd-card:focus-visible { outline: 3px solid #94eadc; outline-offset: 3px; }
.rd-pillar { font: 700 12px/1.4 Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #4a6a36; }
.rd-t { font: 700 21px/1.25 Roboto, sans-serif; color: #111; }
.rd-d { font-size: 16px; line-height: 1.55; color: #2a352e; }
.rd-m { margin-top: auto; font: 500 12px/1.4 Montserrat, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: #4a5a50; }

@media (max-width: 575px) { .rd { padding: 64px 20px 72px; } }
@media (max-width: 575px) { .lq { padding: 64px 20px 72px; } .lq-sub { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .lq-card { animation: none; } .lq-opt { transition: none; } }
