/* TravelBrisk widget showcase. Brand colour is the logo's own #8D02B8. */
@font-face { font-family: "Campton"; src: url("fonts/CamptonBook.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Campton"; src: url("fonts/CamptonSemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Campton"; src: url("fonts/CamptonBold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --brand: #8d02b8;
  --brand-deep: #5a0176;
  --night: #190522;
  --paper: #fbf8fc;
  --tint: #f3e8f7;
  --line: #e6d9ec;
  --ink: #241230;
  --muted: #6c5a77;
  --sun: #ffb547;
  --ok: #138a55;
  --radius: 16px;
  --font: "Campton", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; display: block; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 252, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.bar img { height: 30px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.95rem; }
.bar nav a { text-decoration: none; color: var(--ink); }
.bar nav a:hover { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 0.96rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-deep); }
.btn-line { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-line:hover { background: var(--tint); }
@media (max-width: 720px) { .bar nav a:not(.btn) { display: none; } }

/* hero */
.hero { background: radial-gradient(1100px 520px at 85% -10%, #6a0a8a 0%, transparent 60%), var(--night); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero .copy { max-width: 760px; }
.hero .label { color: var(--sun); }
.hero p.lede { font-size: 1.2rem; color: #dccbe4; max-width: 600px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero .btn-line { border-color: #fff; color: #fff; }
.hero .btn-line:hover { background: rgba(255, 255, 255, 0.12); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 0; padding: 0; list-style: none; color: #cdb7d8; font-size: 0.92rem; }
.facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); margin-right: 9px; }

/* the live widget, framed like a browser tab */
.stage { margin-top: 52px; }
.browser { background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.35); color: var(--ink); overflow: hidden; }
.browser .chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #efe6f3; border-bottom: 1px solid var(--line); }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 11px; height: 11px; border-radius: 50%; background: #cdb9d6; }
.browser .url { flex: 1; background: #fff; border-radius: 999px; padding: 5px 16px; font-size: 0.82rem; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser .page { padding: 28px 24px 36px; background: #fff; min-height: 220px; }
.browser .page h3 { font-size: 1.3rem; margin-bottom: 4px; }
.browser .page .sub { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }

/* sections */
section.block { padding: 88px 0; }
section.block.alt { background: var(--tint); }
.head { max-width: 720px; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 1.08rem; }

.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mode { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.mode.feature { border-color: var(--brand); box-shadow: 0 14px 40px rgba(141, 2, 184, 0.14); }
.mode .tag { align-self: flex-start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--tint); color: var(--brand-deep); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px; }
.mode.feature .tag { background: var(--brand); color: #fff; }
.mode p { color: var(--muted); }
.mode ul { margin: 6px 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.mode li { padding-left: 26px; position: relative; }
.mode li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg) translateY(-3px); }
.mode .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

/* install */
.steps { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 0 26px; }
.step b { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step p { color: var(--muted); margin: 0; }
.code { background: var(--night); color: #efe3f5; border-radius: var(--radius); overflow: hidden; }
.code .top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 10px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: #b79cc6; }
.code button { font: 600 0.82rem var(--font); background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.code button:hover { background: rgba(255, 255, 255, 0.22); }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font: 0.86rem/1.7 var(--mono); }
.code .k { color: #ff9be4; } .code .v { color: #ffd68a; } .code .c { color: #8f7a9c; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* control grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cell p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.swatches { display: flex; gap: 8px; margin-top: 14px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* sample site banner */
.sample { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--night); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.sample p { color: #d5c2de; }
.sample .shot { border-radius: 12px; background: linear-gradient(135deg, #652d90, #8d02b8); aspect-ratio: 16 / 10; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; text-align: center; padding: 20px; }
@media (max-width: 820px) { .sample { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }

/* closing + footer */
.close { text-align: center; padding: 96px 0; background: var(--brand); color: #fff; }
.close .btn-solid { background: #fff; color: var(--brand-deep); }
.close .btn-solid:hover { background: var(--tint); }
.close p { color: #f0d4fa; max-width: 560px; margin: 0 auto 28px; }
footer { padding: 30px 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.bar nav a.btn-solid { color: #fff; }
.bar nav a.btn-solid:hover { color: #fff; }
