/* Try Rayfora free — mocks W1, W2, W1m, W2m, 17 October 2026.
   The window on the landing page (`#try-window`) and the page of its own
   (`/try`) draw the same `_try_window.html`, so this is one stylesheet for
   both. Under 640px it is the phone's bottom sheet: one column, "Step 1 of
   2" over a two-part bar, and no side panel. */

.tw-dialog { width: min(1280px, calc(100vw - 48px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
             border-radius: 22px; box-shadow: 0 30px 80px rgba(16, 24, 40, .28); overflow: auto; }
.tw-dialog::backdrop { background: rgba(70, 72, 78, .55); }
.tw { --ink: #1D2025; --muted: #626872; --line: #DADDE2; --blue: #2E6FE0; --blue-dark: #1F59C2;
      --green: #1E7B3C; --amber: #96600A; --bad: #B42318; --side: #F4F4F2;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink);
      background: #fff; border-radius: 22px; overflow: hidden; }
.tw * { box-sizing: border-box; }
.tw-head { position: relative; display: flex; align-items: center; gap: 24px; padding: 22px 36px; border-bottom: 1px solid #E8EAED; }
.tw-logo { height: 26px; width: auto; }
.tw-steps { display: flex; align-items: center; gap: 0; margin: 0 auto; padding: 0; list-style: none; }
.tw-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 17px; }
.tw-steps li + li::before { content: ""; width: 40px; height: 2px; background: var(--line); margin: 0 14px; }
.tw-steps li.done + li::before { background: var(--blue); }
.tw-steps span { width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--line); display: inline-flex;
                 align-items: center; justify-content: center; font-size: 14px; }
.tw-steps li.here { color: var(--ink); font-weight: 500; }
.tw-steps li.here span { border: 2px solid var(--blue); color: var(--blue); }
.tw-steps li.done { color: var(--ink); }
.tw-steps li.done span { background: var(--blue); border-color: var(--blue); color: #fff; }
.tw-stepof, .tw-bar { display: none; }
.tw-x { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 30px; line-height: 1; color: var(--ink);
        text-decoration: none; padding: 4px 8px; border-radius: 8px; }
.tw-x:hover { background: #F2F3F5; }

.tw-form { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); margin: 0; }
.tw-main { padding: 40px 48px 28px; }
.tw-side { background: var(--side); padding: 44px 40px; border-left: 1px solid #ECEDEF; }
.tw-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 18px 32px 18px 48px;
           border-top: 1px solid #E8EAED; background: #fff; }
.tw-foot p { margin: 0 auto 0 0; color: var(--muted); font-size: 17px; }
.tw-foot a { color: var(--blue); text-decoration: none; font-weight: 500; }
.tw h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -.02em; }
.tw-lede { margin: 0 0 22px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.tw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tw-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.tw label, .tw legend { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 500; color: var(--ink); padding: 0; }
.tw input, .tw select { font: inherit; font-size: 18px; color: var(--ink); }
.tw-field > input, .tw-phone, .tw-pass, .tw-short input {
  width: 100%; height: 56px; padding: 0 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.tw-field > input:focus, .tw-short input:focus, .tw-phone:focus-within, .tw-pass:focus-within {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 111, 224, .12); }
.tw .wrong, .tw-phone.wrong, .tw-pass.wrong { border-color: var(--bad); }
.tw-phone, .tw-pass { display: flex; align-items: center; gap: 12px; padding: 0 0 0 18px; }
.tw-phone select { border: 0; background: none; padding: 0 6px 0 0; border-right: 1px solid var(--line); height: 30px; }
.tw-phone input, .tw-pass input { flex: 1; min-width: 0; border: 0; height: 100%; outline: none; background: none; }
.tw-show { margin: 0 14px 0 0; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.tw-hint { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.tw-says, .tw-bad { margin: 8px 0 0; color: var(--bad); font-size: 15px; }
.tw-bad { padding: 10px 14px; border-radius: 10px; background: #FEF3F2; margin-bottom: 16px; }
.tw-fine { margin: 18px 0 0; color: #8A8F98; font-size: 15px; }
.tw-decoy { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tw-signin { margin-top: 6px; }
.tw-pick { display: inline-flex !important; align-items: flex-start; gap: 10px; margin: 0 12px 10px 0 !important; padding: 12px 16px;
           border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400 !important; }
.tw-pick:has(input:checked) { border-color: var(--blue); background: #F4F8FF; }
.tw-pick input { margin: 4px 0 0; accent-color: var(--blue); }
.tw-pick span { display: grid; white-space: nowrap; }
.tw-pick small { color: var(--muted); font-size: 14px; }
.tw-short, .tw-short-hint { display: none; }
.tw-signin:has(input[value="short"]:checked) .tw-short { display: flex; align-items: center; gap: 10px; }
.tw-signin:has(input[value="short"]:checked) .tw-short-hint { display: block; }
.tw-short span { font-size: 20px; color: var(--muted); }

.tw-cap { margin: 0 0 18px; color: #6F747C; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tw-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tw-gets li { position: relative; padding-left: 40px; }
.tw-gets li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 999px; background: var(--blue);
                      color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.tw-gets b { display: block; font-size: 18px; font-weight: 600; }
.tw-gets span { color: var(--muted); font-size: 16px; line-height: 1.35; }
.tw-next li::before { content: counter(next); counter-increment: next; background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.tw-next { counter-reset: next; }
.tw-box { margin-top: 26px; padding: 18px 20px; background: #fff; border: 1px solid #E3E5E8; border-radius: 12px; }
.tw-box b { display: block; font-size: 17px; margin-bottom: 4px; }
.tw-box span { color: var(--muted); font-size: 16px; }

.tw-go { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border: 0; border-radius: 10px;
         background: var(--blue); color: #fff !important; font: inherit; font-size: 18px; font-weight: 500; cursor: pointer; text-decoration: none; }
.tw-go:hover { background: var(--blue-dark); }
.tw-back { height: 56px; padding: 0 26px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
           font: inherit; font-size: 18px; font-weight: 500; cursor: pointer; }
.tw-link { margin: 0; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 500; cursor: pointer; }

.tw-code-card { padding: 22px; border: 2px solid var(--blue); border-radius: 14px; }
.tw-code-card.wrong { border-color: var(--bad); }
.tw-code-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.tw-code-ic { width: 44px; height: 44px; border-radius: 10px; background: #F2F3F5; display: inline-flex; align-items: center;
              justify-content: center; font-size: 20px; flex: none; }
.tw-code-head > span:nth-child(2) { display: grid; margin-right: auto; }
.tw-code-head b { font-size: 18px; font-weight: 500; }
.tw-code-head small { color: var(--muted); font-size: 16px; }
.tw-wait { padding: 4px 12px; border-radius: 999px; background: #FBF0DC; color: var(--amber); font-style: normal; font-weight: 500; font-size: 15px; white-space: nowrap; }
.tw-code { width: 100%; max-width: 440px; height: 72px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px;
           font-size: 34px !important; letter-spacing: .6em; text-align: center; font-variant-numeric: tabular-nums; }
.tw-code:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 111, 224, .12); }
.tw-again { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.tw-ok { color: var(--green); font-style: normal; font-weight: 500; }
.tw-mail { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid #E3E5E8; border-radius: 12px; }
.tw-mail-r { width: 38px; height: 38px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex;
             align-items: center; justify-content: center; font-weight: 700; }
.tw-mail span:last-child { display: grid; }
.tw-mail small { color: var(--muted); }
.tw-done { width: 76px; height: 76px; border-radius: 999px; background: #E3F2E8; color: var(--green); display: inline-flex;
           align-items: center; justify-content: center; font-size: 34px; margin-bottom: 20px; }
.tw-sum { display: grid; grid-template-columns: max-content 1fr; gap: 12px 40px; margin: 0; padding: 20px 22px; background: var(--side);
          border-radius: 12px; font-size: 17px; }
.tw-sum dt { color: var(--muted); }
.tw-sum dd { margin: 0; }

/* The phone: a bottom sheet, mocks W1m and W2m. It rises to about three
   quarters of the screen, so the landing page's headline still shows above
   it, and scrolls inside itself. Compact — the boxes and words the mock
   draws, without the desktop's hints — and with a close button beside
   "Step 1 of 2" (Vishal, 17 October 2026: a sheet with no way out). */
@media (max-width: 640px) {
  .tw-dialog { width: 100vw; max-width: 100vw; max-height: 76vh; margin: auto 0 0; border-radius: 22px 22px 0 0;
               overscroll-behavior: contain; }
  /* Not clipped here: an `overflow: hidden` box would be the one the
     sticky head and foot stick to, and they would scroll away. The sheet
     itself rounds the corners. */
  .tw { border-radius: 22px 22px 0 0; overflow: visible; }
  .tw-head { flex-wrap: wrap; gap: 0; padding: 24px 20px 10px; border-bottom: 0; position: sticky; top: 0; z-index: 2;
             background: #fff; }
  .tw-head::before { content: ""; position: absolute; top: 9px; left: 50%; width: 44px; height: 5px; margin-left: -22px;
                     border-radius: 3px; background: #D6D8DC; }
  .tw-logo { height: 22px; }
  .tw-steps { display: none; }
  .tw-stepof { display: block; margin: 0 0 0 auto; color: var(--muted); font-size: 15px; }
  .tw-x { display: inline-flex; position: static; transform: none; margin: 0 -6px 0 10px; padding: 0 6px; font-size: 28px;
          line-height: 1; color: var(--muted); }
  .tw-bar { display: flex; gap: 6px; width: 100%; margin-top: 12px; }
  .tw-bar i { flex: 1; height: 5px; border-radius: 3px; background: #E4E6E9; }
  .tw-bar i.on { background: var(--blue); }
  .tw-form { grid-template-columns: 1fr; }
  .tw-main { padding: 6px 20px 4px; }
  .tw-side, .tw-lede, .tw-fine, .tw-main .tw-hint, .tw-pick small { display: none; }
  .tw h2 { font-size: 25px; margin: 4px 0 12px; }
  .tw-two { grid-template-columns: 1fr; gap: 0; }
  .tw-field { margin: 0 0 12px; }
  .tw label, .tw legend { font-size: 15px; margin: 0 0 6px; }
  .tw input, .tw select { font-size: 17px; }
  .tw-field > input, .tw-phone, .tw-pass, .tw-short input { height: 48px; }
  .tw-pick { display: inline-flex !important; margin: 0 6px 6px 0 !important; padding: 9px 12px; }
  .tw-code { height: 60px; font-size: 28px !important; letter-spacing: .45em; }
  .tw-code-card { padding: 16px; }
  .tw-code-ic { display: none; }
  .tw-done { width: 56px; height: 56px; font-size: 26px; margin-bottom: 12px; }
  .tw-sum { grid-template-columns: 1fr; gap: 2px; font-size: 16px; }
  .tw-sum dd { margin-bottom: 8px; }
  .tw-foot { flex-direction: column-reverse; align-items: stretch; gap: 10px; padding: 12px 20px 22px; border-top: 0;
             position: sticky; bottom: 0; background: #fff; }
  .tw-foot p { margin: 0; text-align: center; font-size: 15px; }
  .tw-go { justify-content: center; height: 52px; }
  .tw-back { border: 0; height: 40px; color: var(--muted); }
}

/* Links in the window are the blue the mock draws, not the page's. */
.tw-main a, .tw-lede a { color: var(--blue); text-decoration: none; font-weight: 500; }
