/* Word Trail Journey — shared site styles */
:root {
  --navy: #0b2f52;
  --navy-deep: #061d38;
  --gold: #f6b829;
  --gold-deep: #e0730b;
  --coral: #ef6b57;
  --pine: #1f8a52;
  --sky: #22a3d9;
  --sky-deep: #0a5a9e;
  --purple: #9b4fd0;
  --cream: #fdf8ec;
  --ink: #17324a;
  --muted: #5a6b7a;
  --card: #ffffff;
  --line: #e7ded0;
  --shadow: 0 10px 30px rgba(6, 29, 56, .12);
  --radius: 20px;
  --max: 1120px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 29, 56, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 184, 41, .25);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-size: 1.05rem; letter-spacing: .2px; }
.nav-links { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: #dbe7f2; font-weight: 600; font-size: .93rem;
  padding: 8px 13px; border-radius: 11px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(246,184,41,.16); color: #fff; text-decoration: none; }
.nav-links a.cta {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep); font-weight: 800;
}
.nav-links a.cta:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff; text-align: center;
  padding: 92px 0 120px;
  background:
    linear-gradient(180deg, rgba(8,40,71,.28) 0%, rgba(6,29,56,.85) 82%),
    url("/assets/hero-bg.jpg") center/cover no-repeat;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800; letter-spacing: .3px;
  text-shadow: 0 3px 18px rgba(0,0,0,.4);
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  max-width: 640px; margin: 0 auto 28px; color: #eaf2fa;
}
.hero .logo-mark { width: min(340px, 78vw); margin: 0 auto 26px; filter: drop-shadow(0 8px 22px rgba(0,0,0,.35)); }
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 15px; font-weight: 800; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
}
.btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--navy-deep); border-color: #ffe08a; box-shadow: var(--shadow); }
.btn-gold:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.gplay {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; padding: 9px 18px; border-radius: 12px;
  border: 1px solid #3a3a3a; box-shadow: var(--shadow); text-align: left;
  height: 52px;
}
.gplay:hover { background: #141414; text-decoration: none; }
.gplay svg { width: 22px; height: 22px; flex: none; }
.gplay small { display: block; font-size: .56rem; letter-spacing: 1.2px; text-transform: uppercase; color: #cfd6dd; font-weight: 500; line-height: 1.3; }
.gplay b { font-size: 1.02rem; font-weight: 600; line-height: 1.1; }
/* keep hero/cta buttons the same height as the badge */
.badges .btn { height: 52px; padding-top: 0; padding-bottom: 0; }
.hero .note { margin-top: 16px; font-size: .82rem; color: #b9cbdb; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; }

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--gold-deep); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-top: 6px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); transition: transform .18s;
}
.feature:hover { transform: translateY(-4px); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 14px; color: #fff;
}
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

.showcase { background: linear-gradient(180deg, #fff, #fbf3e3); }
.showcase .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.showcase .shots { display: flex; gap: 18px; justify-content: center; }
.showcase .shots img {
  width: 46%; max-width: 240px; border-radius: 26px;
  border: 6px solid var(--navy-deep); box-shadow: var(--shadow);
}
.steps { list-style: none; margin: 22px 0 0; padding: 0; }
.steps li { display: flex; gap: 14px; margin-bottom: 18px; }
.steps .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep); font-weight: 800; display: grid; place-items: center;
}
.steps h4 { margin: 2px 0 2px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta-band p { color: #cfe0ee; max-width: 520px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #b9cbdb; padding: 52px 0 30px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer .brand span { color: #fff; }
footer p { font-size: .92rem; max-width: 360px; }
footer h5 { color: #fff; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 9px; }
footer a { color: #b9cbdb; font-size: .94rem; }
footer a:hover { color: var(--gold); text-decoration: none; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal / doc pages ---------- */
.doc-hero { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; padding: 58px 0 44px; text-align: center; }
.doc-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc-hero .eff { color: var(--gold); font-weight: 700; font-size: .9rem; }
.doc { padding: 54px 0 70px; }
.doc .layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; }
.toc { position: sticky; top: 84px; align-self: start; font-size: .92rem; }
.toc h5 { text-transform: uppercase; letter-spacing: 1.5px; font-size: .74rem; color: var(--muted); margin: 0 0 12px; }
.toc a { display: block; color: var(--ink); padding: 6px 0; border-left: 2px solid var(--line); padding-left: 12px; }
.toc a:hover { color: var(--sky-deep); border-color: var(--gold); text-decoration: none; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #33475a; }
.prose ul { padding-left: 20px; }
.prose .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 20px 0; box-shadow: var(--shadow); }
.prose .contact { display: flex; align-items: center; gap: 12px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #33475a; }

.pill { display: inline-block; background: rgba(246,184,41,.16); color: var(--gold-deep); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .showcase .grid { grid-template-columns: 1fr; }
  .doc .layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .nav-links a:not(.cta) { display: none; }
  footer .cols { grid-template-columns: 1fr; }
}
