/* ─────────────────────────────────────────────────────────────
   Odysa — shared styles for secondary pages
   (trip placeholder, privacy, terms).
   The main landing page (index.html) keeps its own inline CSS.
   ───────────────────────────────────────────────────────────── */
:root {
  --color-ocean: #0D1B2A;
  --color-aqua: #1E88FF;
  --color-aqua-mid: #30C7D6;
  --color-sage: #7ED957;
  --color-white: #FFFFFF;
  --color-surface: #F1F4F8;
  --color-border: #E5E7EB;
  --color-text-primary: #0D1B2A;
  --color-text-secondary: #697586;

  --gradient-primary: linear-gradient(135deg, #1E88FF 0%, #30C7D6 50%, #7ED957 100%);
  --gradient-tint-wash: linear-gradient(135deg, rgba(30,136,255,0.04) 0%, rgba(48,199,214,0.06) 50%, rgba(126,217,87,0.06) 100%);

  --font-family: 'Poppins', system-ui, -apple-system, 'Plus Jakarta Sans', sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-24: 96px;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 8px rgba(13,27,42,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  line-height: 1.6;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, svg { display: block; max-width: 100%; }

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

/* Site header (logo + back link) */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-primary);
}
.site-header .brand:hover { text-decoration: none; }
.site-header .brand-mark { height: 36px; width: auto; }
.site-header .back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* Article-style page (privacy, terms) */
.page {
  padding: var(--space-12) 0 var(--space-16);
}
.page h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}
.page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}
.page p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}
.page .meta {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-8);
}

/* Centered single-screen layout (trip placeholder) */
.center-screen {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background: var(--gradient-tint-wash);
}
.center-screen .stack { max-width: 480px; }
.center-screen .stack-logo { height: 72px; margin: 0 auto var(--space-8); }
.center-screen h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}
.center-screen p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

/* Button (shared) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }

/* Footer */
.site-footer {
  background: var(--color-ocean);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: var(--space-8) var(--space-6);
  font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
