/* Trip Watch — minimal quiz funnel (RatePunk-style). Standalone: does not load the site stylesheet. */
:root { --tw-ink: #0f1d2b; --tw-mute: #66788a; --tw-line: #e3e9ef; --tw-bg: #f6f9fb; --tw-blue: #1a8fc4;
        --tw-go: #F7941D; --tw-on: #fff6e8; --tw-onb: #F7941D; --tw-ok: #22a06b; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body.tw-page { background: var(--tw-bg); color: var(--tw-ink); font: 16px/1.45 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
#tw-app { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--tw-blue); }

/* landing */
body.tw-landing { background: #0b2233; }
body.tw-landing #tw-app { max-width: none; }
.tw-hero { position: relative; flex: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff; text-align: center;
  background: linear-gradient(180deg, rgba(5,20,32,.15) 0%, rgba(5,20,32,.25) 40%, rgba(5,20,32,.78) 100%), url('/wp-content/uploads/2026/10/hapuna-291a01cc.jpg') center/cover no-repeat; }
.tw-logo-w { align-self: center; padding: 18px 0 0; }
.tw-logo-w img { display: block; height: 40px; width: auto; filter: brightness(0) invert(1); }
.tw-hero-in { margin-top: auto; padding: 0 22px 18px; max-width: 520px; width: 100%; align-self: center; }
.tw-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6rem; }
.tw-hero p { margin: 0 0 1.4rem; font-size: 1.05rem; opacity: .92; }
.tw-hero .tw-proof { font-size: .85rem; opacity: .8; margin: .8rem 0 0; }
.tw-how { color: #fff; opacity: .75; font-size: .85rem; padding: 0 0 22px; }

/* top bar */
.tw-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 14px 18px 0; }
.tw-top .tw-logo { justify-self: center; }
.tw-top .tw-logo img { height: 34px; width: auto; display: block; }
.tw-backbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 1px 4px rgba(15,29,43,.12); font-size: 1.2rem; cursor: pointer; }
.tw-bar { grid-column: 1 / -1; height: 6px; background: var(--tw-line); border-radius: 6px; margin: 14px 12px 0; overflow: hidden; }
.tw-bar span { display: block; height: 100%; background: var(--tw-blue); border-radius: 6px; transition: width .3s; }
.tw-count { grid-column: 1 / -1; text-align: right; font-size: .75rem; font-weight: 600; color: #93a3b3; padding: 6px 12px 0; }

/* question */
.tw-body { flex: 1; padding: 20px 18px 120px; }
.tw-center { text-align: center; padding-top: 18vh; }
.tw-center .tw-icon { margin: 0 auto 16px; }
.tw-icon { width: 56px; height: 56px; border-radius: 50%; background: #ffe9c7; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.tw-title { font-size: 1.6rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .35rem; }
.tw-why { color: var(--tw-mute); font-size: .9rem; margin: 0 0 1.1rem; }
.tw-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--tw-blue); margin: 0 0 .25rem; }

.tw-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--tw-line); border-radius: 12px;
  padding: 12px 14px; margin: 0 0 10px; font: inherit; font-weight: 600; color: var(--tw-ink); cursor: pointer; text-decoration: none; transition: border-color .12s, background .12s; }
.tw-row:hover { border-color: #c9d6e0; }
.tw-row.is-on { background: var(--tw-on); border-color: var(--tw-onb); }
.tw-ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; background: #f1f4f7; display: grid; place-items: center; font-size: 1.15rem; overflow: hidden; }
.tw-ico img { width: 30px; height: 30px; object-fit: contain; }
.tw-row.is-on .tw-ico { background: #ffe1b3; }
.tw-lbl { flex: 1; }
.tw-lbl small { display: block; font-weight: 400; font-size: .8rem; color: var(--tw-mute); margin-top: 1px; }
.tw-tick { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; border: 1.5px solid #c8d2db; }
.tw-row.is-on .tw-tick { border-color: var(--tw-ok); background: var(--tw-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.tw-arrow { color: #a9b6c2; font-size: 1.4rem; }

.tw-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.tw-pill { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 10px; padding: 11px 4px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--tw-ink); cursor: pointer; }
.tw-pill.is-on { background: var(--tw-on); border-color: var(--tw-onb); }

.tw-fields { display: grid; gap: 8px; margin: 4px 0 10px; }
.tw-fields input, .tw-input, .tw-select { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--tw-line); border-radius: 12px; background: #fff; color: var(--tw-ink); }
.tw-fields input:focus, .tw-input:focus, .tw-select:focus { outline: none; border-color: var(--tw-blue); }
.tw-select { margin-top: 2px; color: var(--tw-mute); }
.tw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tw-err { color: #d64545; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 6px 0 0; }
.tw-fine { font-size: .78rem; color: #93a3b3; margin: 4px 0; }

/* sticky CTA */
.tw-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(246,249,251,0), var(--tw-bg) 30%); }
.tw-cta > * { max-width: 484px; margin: 0 auto; display: block; }
.tw-next { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--tw-go); color: #fff; font: inherit; font-weight: 800; font-size: 1rem;
  letter-spacing: .02em; padding: 16px; cursor: pointer; text-align: center; text-decoration: none; box-shadow: 0 6px 18px rgba(247,148,29,.3); }
.tw-next:disabled { background: #f3c48d; box-shadow: none; cursor: default; }
.tw-start { font-size: 1.05rem; }
.tw-inline { margin-top: 14px; }

/* fare + trip */
.tw-fare { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.tw-fare.is-loading { color: var(--tw-mute); }
.tw-route { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--tw-mute); }
.tw-price { font-size: 2rem; font-weight: 800; line-height: 1.15; }
.tw-price small { font-size: .85rem; font-weight: 500; color: var(--tw-mute); }
.tw-typ { color: var(--tw-mute); font-size: .88rem; margin-top: 2px; }
.tw-v { padding: 2px 8px; border-radius: 999px; font-size: .78rem; }
.tw-v-book { background: #d9f5e8; color: #11643f; } .tw-v-good { background: #e3f1fb; color: #135c84; }
.tw-v-wait { background: #fdf0dc; color: #8a5300; } .tw-v-watch { background: #eef1f4; color: #4a5560; }
.tw-note { background: #e3f1fb; border-radius: 12px; padding: 10px 14px; font-size: .9rem; font-weight: 600; margin: 0 0 12px; }
.tw-note.is-good { background: #d9f5e8; }
.tw-cols { display: flex; gap: 6px; align-items: flex-end; height: 130px; margin: 0 0 16px; }
.tw-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: .66rem; }
.tw-col span { width: 100%; background: #cfe7f3; border-radius: 5px 5px 0 0; }
.tw-col.is-on span { background: var(--tw-go); }
.tw-col b { margin-top: 3px; } .tw-col small { color: var(--tw-mute); }
.tw-acc { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.tw-acc summary { font-weight: 700; cursor: pointer; }
.tw-acc .tw-fields { margin-top: 10px; }
.tw-h3 { font-size: 1rem; font-weight: 800; margin: 18px 0 10px; }
.tw-steps { list-style: none; padding: 0; margin: 0; }
.tw-steps li { padding: 8px 0; border-bottom: 1px solid var(--tw-line); font-size: .9rem; }
.tw-steps b { display: inline-block; min-width: 56px; }
.tw-links { margin-top: 22px; text-align: center; }
.tw-link { background: none; border: 0; padding: 0; font: inherit; color: #93a3b3; text-decoration: underline; cursor: pointer; }
.tw-doc { line-height: 1.65; font-size: .95rem; }
.tw-doc h2 { font-size: 1.05rem; font-weight: 800; margin: 1.4rem 0 .3rem; }
.tw-doc p, .tw-doc li { color: #33475a; }
.tw-doc ul { padding-left: 1.1rem; }
.tw-wordmark { font-weight: 800; font-size: 1.15rem; color: var(--tw-ink); letter-spacing: -.01em; }
.tw-logo-w .tw-wordmark { color: #fff; }
#tw-ts { margin-top: 4px; }
