/* Educateme palette, as in the app: ink, one teal accent, pastel surfaces. */
:root {
  --ink: #332d2d;
  --ink-soft: #6e6666;
  --accent: #04b2bd;
  --accent-deep: #03858e;
  --background: #eef7f7;
  --surface: #ffffff;
  --line: #d8e9ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-deep);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Landing */
.landing { background: var(--surface); }
.landing .wrap { max-width: 1120px; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(1200px 600px at 85% 10%, #3fd6dd 0%, transparent 60%),
    linear-gradient(120deg, #13c3cc 0%, #04b2bd 40%, #038f98 100%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 50, 55, 0.25); }
.brand small { display: block; font-size: 12px; font-weight: 600; opacity: 0.85; margin-top: -2px; }
.nav-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.9; }
.nav-link:hover { opacity: 1; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 120px; }
.hero .kicker { color: rgba(255, 255, 255, 0.85); }
.hero h1 { margin: 0; font-size: 68px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 span { color: #dffbfc; }
.hero-lead { margin: 22px 0 0; max-width: 540px; font-size: 20px; line-height: 1.55; opacity: 0.95; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; background: #fff; color: var(--accent-deep); box-shadow: 0 10px 24px rgba(0, 50, 55, 0.22); transition: transform 0.15s ease; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: none; }
.store-badge { display: inline-block; line-height: 0; transition: transform 0.15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 54px; width: auto; }
.actions { align-items: center; }
.fineprint { margin: 18px 0 0; font-size: 14px; opacity: 0.8; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 300px; border-radius: 46px; background: #1d1b1b; padding: 9px; box-shadow: 0 40px 80px rgba(0, 40, 45, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.2); }
.phone img { display: block; width: 100%; border-radius: 38px; }
.phone.tilt { transform: rotate(-4deg); }
.chip { position: absolute; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 18px; box-shadow: 0 14px 30px rgba(0, 50, 55, 0.25); white-space: nowrap; }
.chip small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.chip-a { right: 0; top: 46%; }
.chip-b { left: 10px; top: 14%; background: #03838c; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--surface); }

.story { max-width: 760px !important; padding-top: 70px; padding-bottom: 60px; text-align: center; }
.story h2, .steps-band h2, .feature h2, .capture h2, .educateme h2 { margin: 0 0 16px; font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; }
.story p { font-size: 19px; color: var(--ink-soft); }

.steps-band { background: var(--background); padding: 70px 0; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.steps li { background: var(--surface); border-radius: 22px; padding: 30px 24px; box-shadow: 0 10px 24px rgba(43, 74, 76, 0.08); }
.steps .num { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; }
.steps h3 { margin: 14px 0 6px; font-size: 22px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.capture { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; padding-top: 80px; padding-bottom: 20px; }
.duo { display: flex; align-items: center; justify-content: center; gap: 18px; }
.duo .phone { width: 250px; }
.duo .phone:last-child { transform: translateY(28px); }
.duo-arrow { font-size: 34px; color: var(--accent); font-weight: 700; }
.feature { display: grid; grid-template-columns: 1fr 320px; gap: 70px; align-items: center; padding-top: 80px; padding-bottom: 20px; }
.feature.flip { grid-template-columns: 320px 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature .phone { width: 300px; justify-self: center; }
.feature-copy p { font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.feature-copy .honest { padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--background); border-radius: 0 12px 12px 0; font-size: 16px; }

.educateme { margin-top: 90px; padding: 70px 0; background: linear-gradient(120deg, #332d2d 0%, #4a4141 100%); color: #fff; }
.educateme .kicker { color: #7fe3e8; }
.educateme p { font-size: 18px; opacity: 0.9; max-width: 600px; }
.edu-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.edu-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.button.light { background: var(--accent); color: #fff; }
.button.outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); box-shadow: none; text-align: center; }

.landing footer { background: var(--surface); padding-top: 56px; }

@media (max-width: 900px) {
  .capture { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 100px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
  .feature.flip .feature-copy { order: 0; }
  .edu-grid { grid-template-columns: 1fr; }
  .story h2, .steps-band h2, .feature h2, .capture h2, .educateme h2 { font-size: 30px; }
}
@media (max-width: 480px) {
  .duo { gap: 8px; }
  .duo .phone { width: 46%; padding: 6px; border-radius: 30px; }
  .duo .phone img { border-radius: 25px; }
  .duo-arrow { font-size: 22px; }
  .nav { padding-top: 22px; padding-bottom: 6px; }
  .brand { font-size: 26px; gap: 14px; }
  .brand img { width: 50px; height: 50px; border-radius: 12px; }
  .brand small { font-size: 13px; }
  .hero-grid { padding-top: 26px; }
  .hero h1 { font-size: 40px; }
  .nav-link { display: none; }
  .phone { width: 250px; }
  .chip-a { right: -6px; }
}

/* Luxembourg: the flag as a hairline at the top, the label in the footer */
.nav-right { display: flex; align-items: center; gap: 18px; }
.lux-flag { width: 27px; height: 18px; border-radius: 4px; flex: none;
  background: linear-gradient(#ed2939 0 33.4%, #ffffff 33.4% 66.6%, #00a1de 66.6% 100%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.75), 0 4px 10px rgba(0, 50, 55, 0.2); }
.label-row { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.label-row .mil { width: 92px; height: auto; flex: none; }
.label-row p { margin: 0; color: var(--ink); font-size: 15px; }

/* Privacy policy */
/* Top and bottom only: the side gutter comes from .wrap (and grows with the iPhone's safe area). */
.doc {
  padding-top: 48px;
  padding-bottom: 24px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  overflow-wrap: break-word;
}

.doc .back {
  font-size: 15px;
  text-decoration: none;
}

.doc h1 {
  margin: 20px 0 4px;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.doc .updated {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.doc h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.doc h3 {
  margin: 24px 0 4px;
  font-size: 17px;
}

.doc p,
.doc ul {
  margin: 0 0 14px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

.summary {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 24px 10px;
  box-shadow: 0 6px 14px rgba(43, 74, 76, 0.08);
}

.summary h2 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 15px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #e3f0f0;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
  }

  td {
    border: 0;
    padding: 4px 12px;
  }

  td:first-child {
    font-weight: 600;
  }
}
