/* Trip Sort — landing, guides and support. The header is the same floating
   pill every dezeo landing uses; the rest follows the game: sky, sunshine and
   tiles. */
:root {
  --sky-1: #8fd6ff;
  --sky-2: #cdeeff;
  --sky-3: #fff4e3;
  --ink: #1b2556;
  --ink-2: #3a4675;
  --muted: #5d6890;
  --line: rgba(27, 37, 86, .12);
  --card: #ffffff;
  --sun: #ffc531;
  --sun-deep: #f59e0b;
  --pink: #ff5c8a;
  --grad: linear-gradient(90deg, #ff8a3d, #ff5c8a);
  --radius: 22px;
  --display: "Fredoka", "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Header pill, same values as the other landings */
  --pill: rgba(18, 22, 48, .78);
  --pill-border: rgba(255, 255, 255, .14);
  --pill-text: #f4f4f6;
  --pill-muted: #c9cde6;
  --nav-h: 94px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--sky-2);
}
/* The sky lives on its own fixed layer so scrolling never repaints it. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- Language toggle ---------- */
[data-lang] { display: none; }
body[data-active="en"] [data-lang="en"] { display: revert; }
body[data-active="es"] [data-lang="es"] { display: revert; }
body[data-active="en"] img[data-lang="en"], body[data-active="es"] img[data-lang="es"] { display: block; }

/* ---------- Header: the floating pill ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; pointer-events: none; }
.site-header .container {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 62px; max-width: 1140px;
  padding: 0 10px 0 20px;
  background: var(--pill);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--pill-border);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(18, 22, 48, .28);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--pill-text); font-family: var(--sans); font-weight: 700; font-size: 18px;
  letter-spacing: .01em; text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 20px; font-family: var(--sans); }
.site-nav a { color: var(--pill-muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .15s ease; }
.site-nav a:hover { color: var(--sun); }
.site-nav .nav-cta {
  color: #fff; background: var(--grad); padding: 9px 18px; border-radius: 999px; font-weight: 700;
}
.site-nav .nav-cta:hover { color: #fff; filter: brightness(1.06); }
.langselect {
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--pill-text);
  background-color: rgba(255, 255, 255, .06); border: 1px solid var(--pill-border); border-radius: 999px;
  padding: 7px 30px 7px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffc531' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.langselect:hover { border-color: var(--sun); }
.langselect option { background: #1a1e3a; color: var(--pill-text); }
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1023px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px; cursor: pointer;
    border: 1px solid var(--pill-border); border-radius: 12px;
  }
  .nav-burger span { display: block; width: 100%; height: 2px; background: var(--pill-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18, 22, 48, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--pill-border); border-radius: 18px; padding: 8px 18px 18px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
  }
  .site-nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--pill-border); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; padding: 13px 18px; border-bottom: none; }
  .site-nav .langselect { margin-top: 14px; align-self: flex-start; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  :root { --nav-h: 76px; }
  .site-header { padding: 10px 0; }
  .site-header .container { height: 56px; padding-left: 16px; margin: 0 12px; }
}

/* ---------- Buttons and store badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(255, 92, 138, .35); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px;
  padding: 11px 22px 11px 18px; border-radius: 16px; text-decoration: none;
  color: #fff; background: #10142b; box-shadow: 0 6px 0 #05071a, 0 14px 30px rgba(16, 20, 43, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #05071a, 0 18px 34px rgba(16, 20, 43, .32); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11.5px; opacity: .85; line-height: 1.2; }
.store strong { display: block; font-family: var(--display); font-size: 21px; line-height: 1.15; }
.micro { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.kicker { font-family: var(--display); font-weight: 600; color: var(--pink); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-bottom: 10px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 18px; }
.accent { color: var(--sun-deep); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 40px) 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.hero h1 { font-size: clamp(40px, 4.8vw, 64px); margin: 18px 0 18px; }
.hero h1 .logo-sort { color: var(--sun); -webkit-text-stroke: 0; text-shadow: 0 3px 0 #c97a00; }
.hero .sub { font-size: 19px; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero .stores { margin-bottom: 18px; }
.hero-art img { width: 100%; max-width: 640px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(27, 37, 86, .18)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.proof > span::before { content: "✓"; color: #22a45d; margin-right: 6px; font-weight: 800; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .stores, .proof { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 420px; }
}

/* ---------- Stats strip ---------- */
.stats { padding: 0 0 40px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 40px; color: var(--ink); line-height: 1; }
.stat span { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Screenshots ---------- */
.shots-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr); gap: 20px;
  overflow-x: auto; padding: 10px 24px 26px; scroll-snap-type: x mandatory; max-width: 1400px; margin: 0 auto;
}
.shots-scroller figure { scroll-snap-align: center; }
.shots-scroller img { border-radius: 26px; box-shadow: 0 18px 40px rgba(27, 37, 86, .2); background: #fff; }
.shots-scroller figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-art { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.feature p { color: var(--ink-2); font-size: 18px; margin-bottom: 12px; }
.feature ul { list-style: none; margin-top: 14px; }
.feature li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: var(--sun); box-shadow: 0 2px 0 #c97a00; }
.feature-art img { width: 100%; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .feature.flip .feature-art { order: 0; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27, 37, 86, .07); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink);
  background: #fff8e8; border: 2px solid var(--sun); border-radius: 12px; box-shadow: 0 4px 0 #e2b23c;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.boosters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.booster { background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; }
.booster b { display: block; font-family: var(--display); font-size: 18px; }
.booster span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .boosters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27, 37, 86, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27, 37, 86, .14); }
.guide-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.guide-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.guide-card h3 { font-size: 21px; }
.guide-card p { font-size: 15px; color: var(--muted); }
.guide-card .read { margin-top: auto; font-weight: 700; color: var(--ink); font-size: 15px; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 26px; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }
.faq .more { display: inline-block; margin-bottom: 16px; font-weight: 700; color: var(--pink); text-decoration: none; }
.faq .more:hover { text-decoration: underline; }

/* ---------- Download / CTA bands ---------- */
.band {
  border-radius: 34px; padding: 56px 48px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #2a3a8f 0%, #5b3fb8 45%, #ff5c8a 100%);
  box-shadow: 0 24px 60px rgba(42, 58, 143, .3);
}
.band h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.band p { font-size: 18px; opacity: .92; max-width: 36em; margin-bottom: 26px; }
.band .store { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.band .micro { color: rgba(255, 255, 255, .85); margin-top: 16px; }
.band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.band-art img { width: 100%; max-width: 420px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3)); }
@media (max-width: 860px) {
  .band { padding: 40px 24px; text-align: center; }
  .band p { margin-left: auto; margin-right: auto; }
  .band .stores { justify-content: center; }
  .band-grid { grid-template-columns: 1fr; }
  .band-art { order: -1; }
  .band-art img { margin: 0 auto; max-width: 300px; }
}

/* ---------- Article (guides, support) ---------- */
.article-hero { padding: calc(var(--nav-h) + 36px) 0 10px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--pink); }
.article h1 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: 14px; }
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.article .lede { font-size: 20px; color: var(--ink-2); margin-bottom: 24px; }
.article .cover { border-radius: 26px; box-shadow: 0 20px 44px rgba(27, 37, 86, .18); margin: 8px 0 34px; }
.article h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 14px; }
.article h3 { font-size: 22px; margin: 28px 0 10px; }
.article p, .article li { font-size: 18px; color: var(--ink-2); }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article a.inline { color: var(--pink); font-weight: 600; }
.article figure { margin: 28px 0; }
.article figure img { margin: 0 auto; border-radius: 22px; box-shadow: 0 16px 36px rgba(27, 37, 86, .16); }
.article figure.phone img { max-width: 320px; }
.article figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.callout { background: #fff; border: 2px solid var(--sun); border-radius: 24px; padding: 26px 28px; margin: 34px 0; box-shadow: 0 8px 0 #f3d27a; }
.callout h2, .callout h3 { margin-top: 0; }
.callout ol { margin-bottom: 20px; }
.tip { background: rgba(255, 255, 255, .7); border-left: 5px solid var(--pink); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.tip p { margin: 0; }
.related { margin: 56px 0 20px; }
.related h2 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 56px 0 30px; background: #10142b; color: #c9cde6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer p { font-size: 15px; max-width: 30em; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 17px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9cde6; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8f95b8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Phones: less air between sections so the page doesn't feel empty. */
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .feature { margin-bottom: 56px; }
}
