/* /free-trial and /paid-account. Same family as the login page and /market: flat colours, painted-sign headlines. */
:root { --ink: #1d2340; --ink-2: #4a5068; --ink-3: #626880; --paper: #fff; --shell: #f1f3f2; --line: #cfd3d9; --red: #c9302c; --red-ink: #a52521; --lagoon: #00788f; --sun: #f2c230; --wa: #157347; }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { min-height: 100vh; min-height: 100dvh; background: var(--shell); color: var(--ink); font: 400 16px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--lagoon); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Layout: one column on phones (sign, form, timeline); the sign and timeline share the dark side on desktop. */
.tr { display: grid; min-height: 100vh; min-height: 100dvh; }
.tr__side { display: contents; }
.tr__top { order: 1; background: var(--ink); color: #fff; padding: 16px 16px 28px; }
.tr__main { order: 2; padding: 0 16px 24px; margin-top: -14px; }
.tr__more { order: 3; background: var(--ink); color: #fff; padding: 28px 16px 36px; }
.tr__brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: #fff; font: 800 25px/1 "Anybody", sans-serif; font-stretch: 70%; }
.tr__brand img { width: 36px; height: 33px; }
.tr__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tr__row a:last-child { color: #fff; font-weight: 600; font-size: 15px; padding: 10px 0; }

/* The shop sign: the visitor's own shop, painted as they type. */
.sign { margin-top: 14px; border-radius: 6px; overflow: hidden; background: #f7f4ea; color: var(--ink); }
.sign__awning { display: block; width: 100%; height: 34px; }
.sign__board { padding: 12px 16px 16px; text-align: center; }
.sign__name { display: flex; align-items: center; justify-content: center; min-height: 54px; font: 800 40px/0.95 "Anybody", sans-serif; font-stretch: 62%; overflow-wrap: anywhere; }
.sign__name.is-long { font-size: 30px; }
.sign__name.is-xlong { font-size: 23px; line-height: 1.05; }
.sign__link { margin-top: 6px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }

/* Form */
.tr-card { width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 18px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.tr-title { font: 800 40px/0.95 "Anybody", sans-serif; font-stretch: 62%; text-wrap: balance; }
.tr-sub { margin-top: 10px; color: var(--ink-2); }
.tr-alert { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fbeceb; color: var(--red-ink); font-weight: 600; font-size: 15px; }
.tr-f { margin-top: 18px; border: 0; min-width: 0; }
.tr-f > label, .tr-f > legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.tr-f small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.tr-f .tr-err { display: block; margin-top: 6px; color: var(--red-ink); font-weight: 600; font-size: 14px; }
.tr-opt { font-weight: 400; color: var(--ink-3); }
.tr-in { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #858b9c; border-radius: 10px; background: var(--paper); color: var(--ink); font: 500 16px "Instrument Sans", sans-serif; }
textarea.tr-in { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
select.tr-in { appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%231d2340' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 2l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.tr-in:focus { outline: 3px solid rgba(0, 120, 143, .3); outline-offset: 0; border-color: var(--lagoon); }
.tr-in[aria-invalid="true"] { border-color: var(--red); }
.tr-in:disabled { background-color: #eceef1; border-color: var(--line); color: var(--ink-2); cursor: not-allowed; opacity: 1; }
.tr-two { display: grid; gap: 0 14px; }
.tr-pass { position: relative; }
.tr-pass .tr-in { padding-right: 76px; }
.tr-pass button { position: absolute; right: 3px; top: 3px; height: 44px; min-width: 66px; border: 0; border-radius: 8px; background: none; color: var(--lagoon); font: 700 15px "Instrument Sans", sans-serif; cursor: pointer; }

.tr-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tr-pick label { position: relative; display: block; cursor: pointer; }
.tr-pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.tr-pick span { display: block; height: 100%; padding: 12px 14px; border: 1.5px solid #858b9c; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.tr-pick b { display: block; color: var(--ink); font-size: 16px; }
.tr-pick input:checked + span { border-color: var(--ink); background: var(--ink); color: #dfe2ee; }
.tr-pick input:checked + span b { color: #fff; }
.tr-pick input:focus-visible + span { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.tr-soon span { display: block; height: 100%; padding: 12px 14px; border: 1.5px dashed #c3c7d2; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #8a8f9c; cursor: not-allowed; }
.tr-soon b { display: block; color: #8a8f9c; font-size: 16px; }
.tr-soon em { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #eef0f4; color: var(--ink-2); font-size: 12px; font-style: normal; font-weight: 600; }

.tr-f > .tr-check { display: flex; margin: 0; font-weight: 400; gap: 12px; align-items: flex-start; padding: 4px 0; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.tr-check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); }
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 20px; padding: 10px 20px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font: 700 17px "Instrument Sans", sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.tr-btn:hover { background: var(--red-ink); }
.tr-btn[disabled] { opacity: .75; cursor: wait; }
.tr-btn--wa { background: var(--wa); }
.tr-btn--wa:hover { background: #0f5a37; }
.tr-btn--line { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.tr-btn--line:hover { background: var(--shell); }
.tr-note { margin-top: 12px; color: var(--ink-3); font-size: 14px; text-align: center; }
.tr-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.tr-foot a { font-weight: 700; }
.tr-foot p + p { margin-top: 6px; }
.tr-foot form { display: inline; }
.tr-link { border: 0; background: none; color: var(--lagoon); font: 700 15px "Instrument Sans", sans-serif; text-decoration: underline; cursor: pointer; padding: 8px 0; }

/* Trial timeline (a real sequence: today, during, last day) */
.tr-h2 { font: 800 30px/1 "Anybody", sans-serif; font-stretch: 64%; }
.tr-steps { list-style: none; margin-top: 18px; }
.tr-steps li { position: relative; padding: 0 0 20px 28px; }
.tr-steps li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); }
.tr-steps li::after { content: ""; position: absolute; left: 6px; top: 24px; bottom: 0; width: 2px; background: #4a5178; }
.tr-steps li:last-child { padding-bottom: 0; }
.tr-steps li:last-child::after { display: none; }
.tr-steps b { display: block; }
.tr-steps span { color: #cdd1e2; font-size: 15px; }

/* Plans on /paid-account */
.tr-type { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 12px; background: var(--shell); }
.tr-type a { display: grid; place-items: center; min-height: 44px; border-radius: 9px; color: var(--ink-2); font-weight: 700; text-decoration: none; }
.tr-type a[aria-current] { background: var(--ink); color: #fff; }
details.tr-f > div .tr-check { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.tr-wide { max-width: 640px; }
.plan { display: grid; gap: 10px; }
.plan label { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.plan__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; padding: 14px 16px; border: 1.5px solid #858b9c; border-radius: 12px; }
.plan__name { font-weight: 700; font-size: 17px; }
.plan__price { font: 800 24px/1 "Anybody", sans-serif; font-stretch: 66%; white-space: nowrap; }
.plan__price small { font: 500 14px "Instrument Sans", sans-serif; }
.plan__what { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; }
.plan input:checked + .plan__in { border-color: var(--ink); background: var(--ink); color: #fff; }
.plan input:checked + .plan__in .plan__what { color: #dfe2ee; }
.plan input:focus-visible + .plan__in { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.plan__more { margin-top: 4px; }
.plan__more summary { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plan__more summary:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; border-radius: 6px; }
.plan__more ul { display: grid; gap: 10px; margin: 0 0 6px; padding: 12px 16px; border-radius: 12px; background: var(--shell); list-style: none; }
.plan__more li b { display: block; font-size: 15px; }
.plan__more li span { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tr-what { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tr-ok { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--wa); color: #fff; }

@media (min-width: 480px) {
  .tr-two { grid-template-columns: 1fr 1fr; }
  .tr-card { padding: 30px 28px; }
}
@media (min-width: 960px) {
  .tr { grid-template-columns: minmax(380px, 5fr) minmax(0, 7fr); }
  .tr__side { display: flex; flex-direction: column; background: var(--ink); }
  .tr__side-in { position: sticky; top: 0; }
  .tr__top { padding: 36px 44px 0; }
  .tr__more { padding: 36px 44px 44px; }
  .tr__main { margin-top: 0; padding: 48px 32px; display: flex; flex-direction: column; justify-content: center; }
  .sign { margin-top: 28px; }
  .sign__awning { height: 48px; }
  .sign__board { padding: 18px 20px 22px; }
  .sign__name { min-height: 80px; font-size: 60px; }
  .sign__name.is-long { font-size: 42px; }
  .sign__name.is-xlong { font-size: 30px; }
  .tr-title { font-size: 52px; }
}

/* Plan the owner tried, and what each paid plan leaves out */
.tr-tried { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--shell); }
.tr-tried__h { margin: 0; font-size: 17px; font-weight: 700; }
.tr-tried__sub { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.tr-tried__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tr-tried__list li { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #d5d8e1; font-size: 14px; }
.plan__miss, .plan__all { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.plan__miss { color: var(--red-ink); }
.plan__all { color: var(--ink); }
.plan input:checked + .plan__in .plan__miss { color: #ffd2cf; }
.plan input:checked + .plan__in .plan__all { color: #fff; }
