/* showmytrip.app: hand-written, no build step, no external files. Palette and font are the app's own (public/css/app.css). */
/* Plus Jakarta Sans, SIL Open Font License 1.1 (fonts/OFL.txt), served from this site. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); }

:root {
  --sand: #f5f2ec;          /* the app's page colour */
  --sand-2: #ece6db;
  --paper: #ffffff;
  --ink: #1d2b2f;
  --ink-2: #4b5c59;
  --ink-3: #5f6c69;          /* 4.8:1 on the sand background */
  --line: #e1dace;
  --teal: #0e6b6b;          /* lagoon teal */
  --teal-deep: #0b4f50;     /* the app's menu bar */
  --teal-night: #08393a;
  --teal-soft: #dff0ee;
  --coral: #e8734a;         /* sunset coral */
  --coral-ink: #b24b26;     /* coral dark enough for text on light backgrounds */
  --apricot: #f3a661;
  --on-dark: #eaf5f3;
  --on-dark-2: #b9d6d2;
  --frame: #ffffff;
  --frame-bar: #f1ede6;
  --bezel: #142423;
  --shadow-lg: 0 2px 4px rgba(20, 36, 35, .06), 0 18px 48px rgba(20, 36, 35, .14);
  --shadow-md: 0 1px 2px rgba(20, 36, 35, .06), 0 8px 24px rgba(20, 36, 35, .10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --gutter: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0f1d1d;
    --sand-2: #142625;
    --paper: #182b2a;
    --ink: #e8f0ee;
    --ink-2: #b8c7c3;
    --ink-3: #91a29e;
    --line: #2a3f3d;
    --teal: #5cc2b8;
    --teal-soft: #173a38;
    --coral-ink: #f29a78;
    --frame: #213634;
    --frame-bar: #1b2e2d;
    --bezel: #050c0c;
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .45);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--sand); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure { margin: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 1rem; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--sand); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .top { background: rgba(15, 29, 29, .88); } }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.pin { width: 32px; height: 32px; flex: none; }
.pin rect { fill: var(--teal-deep); }
.pin path { fill: #fff; }
@media (prefers-color-scheme: dark) { .pin rect { fill: #13807e; } }
.nav { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .94rem; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--sand-2); }
@media (max-width: 860px) { .nav li:nth-child(n+3) { display: none; } }
@media (max-width: 520px) { .nav li:nth-child(2) { display: none; } .nav a { padding: 8px 10px; } }

/* ---------- Buttons, eyebrows ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: #b24b26; border-color: #b24b26; color: #fff; } /* the app's strong coral: white text at 5.3:1 */
.btn-primary:hover { background: #9a3f1f; border-color: #9a3f1f; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink-3); }

/* The eyebrow says which side of the app a screenshot comes from: staff, owner or the client. */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--mono); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--coral-ink); }
.eyebrow-light { color: var(--apricot); }
.side { display: inline-block; padding: 3px 8px 2px; border-radius: 6px; background: var(--teal-soft); color: var(--teal); letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { .side { color: #8fe0d6; } }
.side-client { background: var(--apricot); color: #3a1d0e; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 24px; overflow: hidden; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.hero h1 .soft { display: block; margin-top: 16px; font-size: .46em; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); max-width: 24em; }
.lede { font-size: 1.1rem; color: var(--ink-2); margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: .9rem; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.demo-note { margin-top: 18px; font-size: .84rem; color: var(--ink-3); text-align: right; }
@media (max-width: 900px) { .hero-copy { grid-template-columns: 1fr; } .demo-note { text-align: left; } }

/* The dashboard in a browser window (at most 1040 px), with the client's phone and trip code in front of its corner.
   --pw is the phone's width; the phone rises over the window by --lift. */
.hero-visual { --pw: 232px; --lift: 300px; position: relative; max-width: 1040px; margin: clamp(36px, 5vw, 60px) auto 0; }
.hero-float { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: 22px; margin-top: calc(-1 * var(--lift)); padding-right: clamp(0px, 3vw, 40px); pointer-events: none; }
.phone.phone-hero { width: var(--pw); max-width: var(--pw); flex: none; }
/* The ticket: the 6-digit trip code that opens a client's trip page, the one thing staff hand a client. */
.ticket { position: relative; display: grid; gap: 2px; margin-bottom: calc(var(--pw) * 2.164 + 18px - var(--lift) - 56px); /* straddles the window's bottom edge */ padding: 14px 22px 14px 26px; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-md);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat; }
.ticket::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 14px; border-left: 2px dashed var(--line); }
.ticket-label { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral-ink); font-weight: 600; }
.ticket-code { font-family: var(--mono); font-size: 1.7rem; font-weight: 700; letter-spacing: .12em; line-height: 1.15; }
.ticket-note { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) { .hero-visual { --pw: 190px; --lift: 230px; } }
@media (max-width: 600px) {
  .hero-visual { --pw: 136px; --lift: 120px; }
  .hero-float { gap: 12px; padding-right: 6px; }
  .ticket { margin-bottom: 14px; padding: 10px 12px 10px 22px; }
  .ticket::before { left: 11px; }
  .ticket-code { font-size: 1.2rem; }
  .ticket-note { font-size: .72rem; }
}

/* ---------- Frames: desktop screenshots in a browser window, phone screenshots in a phone ---------- */
.browser { background: var(--frame); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--frame-bar); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.browser-bar .addr { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: var(--paper); color: var(--ink-3); font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.browser-bar .addr svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
/* Desktop shots keep their own proportions (width/height attributes + height:auto); never wider than about 1040 px. */
.browser img { width: 100%; height: auto; }
.browser-wide, .browser-mid { max-width: 1040px; margin: 40px 0 0; }
.browser-mid { max-width: 980px; }

/* A phone: real phone proportions (390 x 844, 9:19.5), never stretched: width is capped, height follows the image. */
.phone { width: 100%; max-width: 300px; padding: 9px; border-radius: 42px; background: var(--bezel); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone picture { border-radius: 33px; overflow: hidden; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: contain; background: #fff; }

/* ---------- Feature sections ---------- */
.feature { padding: clamp(64px, 8vw, 112px) 0; }
.feature-tint { background: var(--sand-2); }
.feature-head { max-width: 680px; }
.feature-head > p:last-child { color: var(--ink-2); margin: 16px 0 0; font-size: 1.08rem; }
.feature-head-center { margin: 0 auto; text-align: center; }
.feature-head-center .eyebrow { justify-content: center; }

.ticks { display: grid; gap: 18px; margin-top: 34px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.ticks b { display: block; color: var(--ink); font-weight: 700; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
@media (max-width: 820px) { .cols-3 { grid-template-columns: 1fr; gap: 18px; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy > p { color: var(--ink-2); }
.split-copy h2 { margin-bottom: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-rev .split-copy { order: 0; } }

/* Quote and bill: two printed pages, slightly overlapped. */
.papers { position: relative; max-width: 560px; width: 100%; margin: 0 auto; padding: 0 0 12% 0; }
.paper { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.paper img { width: 100%; height: auto; }
.paper-back { width: 72%; transform: rotate(-2.2deg); }
.paper-front { position: absolute; width: 72%; right: 0; top: 14%; transform: rotate(1.6deg); }
@media (prefers-reduced-motion: reduce) { .paper-back, .paper-front { transform: none; } }

/* A panel cut from the app (the Money card): shown at its own size, at most 600 px wide. */
.card-shot { max-width: 520px; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.card-shot img { width: 100%; height: auto; }

/* ---------- Dark bands: client trip page, security ---------- */
.band { padding: clamp(64px, 8vw, 112px) 0; background: var(--teal-deep); color: var(--on-dark); }
.band-ink { background: var(--teal-night); }
@media (prefers-color-scheme: dark) { .band { background: #0a3434; } .band-ink { background: #071f20; } }
.band h2, .band h3 { color: #fff; }
.band .feature-head > p:last-child, .band p { color: var(--on-dark-2); }
.band a { color: #fff; }

.phones { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); margin-top: 48px; }
.phone-item { width: 280px; flex: none; }
.phone-item .phone { max-width: 280px; margin: 0 auto; }
.phone-item figcaption { margin-top: 18px; font-size: .95rem; color: var(--on-dark-2); }
.phone-item figcaption b { display: block; color: #fff; }
/* Narrow screens: the phones sit in a row you swipe through (the page itself never scrolls sideways). */
@media (max-width: 960px) {
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .phone-item { width: 230px; scroll-snap-align: center; }
  .phone-item .phone { max-width: 230px; }
}
@media (max-width: 400px) { .phone-item { width: 210px; } .phone-item .phone { max-width: 210px; } }
.ticks-light li { color: var(--on-dark-2); }
.ticks-light b { color: #fff; }
.ticks-light li::before { border-color: var(--apricot); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 980px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.chips .more { background: transparent; border-style: dashed; color: var(--ink-3); }

.sec-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 44px; }
.phone.phone-sec { max-width: 260px; }
.sec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.sec-list li { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }
.sec-list h3 { margin-bottom: 6px; }
.sec-list p { margin: 0; font-size: .95rem; }
.browser-dark { border-color: rgba(255, 255, 255, .12); margin-top: 56px; }
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; }
  .phone.phone-sec { max-width: 220px; margin: 0 auto; order: 2; }
  .sec-list { grid-template-columns: 1fr; }
}

/* ---------- How it works (a real sequence, so it's numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -23px; width: 24px; border-top: 2px dashed var(--coral); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--teal-deep); color: #fff; font-family: var(--mono); font-weight: 700; }
@media (prefers-color-scheme: dark) { .step-n { background: #13807e; } }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { top: auto; bottom: -23px; right: auto; left: 44px; width: 0; height: 24px; border-top: 0; border-left: 2px dashed var(--coral); } }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.pricing > p { margin: 0; color: var(--ink-2); font-size: 1.12rem; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ (plain <details>, no script) ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* ---------- Footer ---------- */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--sand); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-brand { display: flex; gap: 12px; max-width: 380px; }
.foot-name { margin: 0 0 4px; font-weight: 800; }
.foot-small { margin: 0; font-size: .86rem; color: var(--ink-3); }
.legal { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; font-size: .92rem; }
.legal a { color: var(--ink-2); font-weight: 600; }
.legal a:hover { color: var(--teal); }
.foot-last { margin: 32px auto 0; }
@media (max-width: 520px) { .legal { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost .eyebrow { justify-content: center; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); font-weight: 800; margin-bottom: 14px; }
.lost p { color: var(--ink-2); }
