:root {
  --ink: #0a0f14;
  --ink-2: #141c24;
  /* Lufthansa blue. */
  --blue: #05164d;
  --blue-light: #8fa4e0;
  --navy: #05164d;
  --silver: #c9d3de;
  --paper: #eef2f6;
  --text: #0e1621;
  --text-2: #4d5b6b;
  --line: rgba(14, 22, 33, 0.1);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 242, 246, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, #33509c, #05164d 60%, #020a26);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.site-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--text-2); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .site-nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #1b3358 0%, #0a0f14 62%);
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
}
.hero h1 {
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero p {
  margin: 0 auto 34px;
  max-width: 560px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.74);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #3d5aa8 0%, #16296b 45%, #05164d 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 26px rgba(31, 111, 224, 0.38);
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.btn-ghost:hover { text-decoration: none; background: rgba(255, 255, 255, 0.18); }
.hero-note { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 3.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-head p { margin: 0; color: var(--text-2); font-size: 17px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
/* Filled app-style icon tiles (Phosphor, MIT). */
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(165deg, #2f4a8f 0%, #05164d 62%, #030c29 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 4px 10px rgba(5, 22, 77, 0.18);
  color: #fff;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: rgba(255, 255, 255, 0.66); }
.dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.09); }
.dark .card p { color: rgba(255, 255, 255, 0.68); }
.dark .card-icon {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; margin: 0 0 14px; }
.split p { color: var(--text-2); font-size: 16px; }
.dark .split p { color: rgba(255, 255, 255, 0.7); }

.bubble-demo { display: flex; flex-direction: column; gap: 10px; }
.bubble-demo .b {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
}
.bubble-demo .in { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bubble-demo .out { background: #dbe2f3; align-self: flex-end; }
.bubble-demo .tag {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--text-2);
  font-style: italic;
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--text-2); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 12px 0 0; color: var(--text-2); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 54px 0 40px;
  font-size: 14px;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 14px; font-size: 15px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .updated { color: var(--text-2); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 38px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--text); }
.notice {
  background: #fff6e5;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: #7a5a10;
  margin: 24px 0;
}
.back { display: inline-block; margin-bottom: 28px; font-size: 14px; }
