/* Tourla website – shared styles (mobile-first) */
:root {
  --orange: #FF8A3D;
  --coral: #FF5E6C;
  --brand: linear-gradient(135deg, var(--orange) 0%, var(--coral) 100%);
  --ink: #1F1A24;
  --ink-soft: #5B5463;
  --line: #EFE6E2;
  --bg: #FFFFFF;
  --bg-warm: #FFF6F1;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(255, 94, 108, 0.14);
  --max: 1080px;
  --text-max: 760px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255, 94, 108, 0.35);
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--coral);
  background: var(--bg-warm);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }

.btn-play {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-play:hover { background: #000; }
.btn-play small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.1;
}
.btn-play span { line-height: 1.15; text-align: left; }

.btn-ghost {
  background: #fff;
  color: var(--coral);
  border: 2px solid rgba(255, 94, 108, 0.35);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(255, 138, 61, 0.18), transparent 60%),
    radial-gradient(900px 400px at 0% 100%, rgba(255, 94, 108, 0.14), transparent 60%),
    var(--bg-warm);
  padding: 40px 0 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--coral);
  background: #fff;
  border: 1px solid rgba(255, 94, 108, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.12;
  margin: 14px 0 12px;
  letter-spacing: -0.8px;
}

.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fine {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}

.badge-18 {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: 1px;
}

/* Character slot: art is not final yet, so only shapes */
.char-slot {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}
.char-slot .blob {
  position: absolute;
  inset: 8% 6% 4% 6%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--brand);
  opacity: 0.95;
  box-shadow: var(--shadow);
}
.char-slot .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 94, 108, 0.35);
}
.char-slot .bubble {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(31, 26, 36, 0.12);
  max-width: 70%;
}
.char-slot .bubble.b1 { top: 12%; left: 0; border-bottom-left-radius: 4px; }
.char-slot .bubble.b2 { bottom: 14%; right: 0; border-bottom-right-radius: 4px; }
.char-slot .pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(31, 26, 36, 0.18);
}
.char-slot .pin::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.section .sub {
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
}
.icon svg { width: 24px; height: 24px; stroke: var(--coral); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* World Tour route: 20 stops */
.route {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin: 8px 0 12px;
}
.route span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid rgba(255, 94, 108, 0.35);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
}
.route span:first-child,
.route span:last-child {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

.story {
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.story h2 { color: #fff; }
.story p { color: rgba(255, 255, 255, 0.92); }
.story .route span {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.story .route span:first-child,
.story .route span:last-child {
  background: #fff;
  color: var(--coral);
}

.notice {
  background: var(--bg-warm);
  border: 1px solid rgba(255, 94, 108, 0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }

/* ---------- Legal pages ---------- */
.doc-hero {
  background: var(--bg-warm);
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}
.doc-hero h1 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.doc-hero p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.doc {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 28px 16px 56px;
}
.doc h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 36px 0 10px;
  padding-top: 8px;
  scroll-margin-top: 72px;
}
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: #332D3A; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 8px 0 8px;
}
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 1; }
.toc li { margin: 3px 0; font-size: 15px; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 12px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th { background: var(--bg-warm); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin: 14px 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--coral); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: 52px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
  .section h2 { font-size: 34px; }
  .story { padding: 40px; }
  .route { grid-template-columns: repeat(20, 1fr); }
  .doc-hero { padding: 48px 0 32px; }
  .doc-hero h1 { font-size: 38px; }
  .toc ol { columns: 2; column-gap: 32px; }
  .site-footer .container { flex-direction: row; justify-content: space-between; align-items: center; }
}
