/* Copied verbatim from the Eppes landing (luxapp-agentdocs/site/style.css, 2026-11-24).
   Everything above the "Slot-alert additions" line is unchanged Eppes CSS; keep it in sync by hand. */
/* 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;
  }
}

/* ===================== Slot-alert additions (not in Eppes) ===================== */
/* Same tokens, same radii (22px cards, 999px pills), same shadows as Eppes. */

.skip { position: absolute; left: -9999px; top: 0; padding: 10px 16px; background: var(--surface); color: var(--accent-deep); z-index: 10; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid #ffd34d; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .button, .store-badge { transition: none; } .button:hover, .store-badge:hover { transform: none; } }

.brand-mark { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 50, 55, 0.25); flex: none; }

/* Sign-up card in the hero */
.signup { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 40px 80px rgba(0, 40, 45, 0.35); }
.signup h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.01em; }
.signup .sub { margin: 0 0 18px; font-size: 15px; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input[type="email"] { width: 100%; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink); border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.field input[type="email"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(4, 178, 189, 0.18); }
fieldset { margin: 0 0 14px; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.legend-note { font-weight: 500; color: var(--ink-soft); }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-deep); }
.channels .check { padding: 10px 12px; border: 2px solid var(--line); border-radius: 14px; align-items: center; }
.channels .check:has(input:checked) { border-color: var(--accent); background: var(--background); }
.channels .check.soon { opacity: 0.6; cursor: not-allowed; }
.soon-tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.consents { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.consents .req { color: var(--accent-deep); font-weight: 700; }
.signup .button { width: 100%; margin-top: 18px; border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--accent); color: #fff; }
.signup .button:disabled { opacity: 0.6; cursor: wait; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }
.form-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdecec; color: #8a1f1f; font-size: 14px; }
.form-error:empty { display: none; }
.thanks { text-align: center; padding: 18px 4px 8px; }
.thanks .big { font-size: 44px; line-height: 1; }
.thanks h2 { margin: 12px 0 6px; }
.thanks p { color: var(--ink-soft); font-size: 16px; margin: 0 0 8px; }

/* Live status */
.status-band { padding: 60px 0 20px; }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; max-width: 760px; margin: 0 auto; padding: 24px 26px; background: var(--background); border-radius: 22px; }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-soft); box-shadow: 0 0 0 6px rgba(110, 102, 102, 0.15); }
.status-card[data-state="open"] .pulse { background: #1aa260; box-shadow: 0 0 0 6px rgba(26, 162, 96, 0.18); }
.status-card[data-state="none"] .pulse { background: var(--accent); box-shadow: 0 0 0 6px rgba(4, 178, 189, 0.18); }
.status-card h2 { margin: 0; font-size: 20px; }
.status-line { margin: 2px 0 0; color: var(--ink-soft); font-size: 16px; }
.status-line strong { color: var(--ink); }

/* Disclaimer box under the steps, same idea as Eppes' .honest */
.disclaimer { max-width: 760px; margin: 34px auto 0; text-align: left; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; font-size: 16px; color: var(--ink-soft); }
.disclaimer strong { color: var(--ink); }
.disclaimer ul { margin: 6px 0 0; padding-left: 20px; }

/* Hero visual: a notification mock inside the Eppes phone frame */
.notif-stack { display: grid; gap: 12px; padding: 70px 12px 260px; border-radius: 38px; background: linear-gradient(160deg, #0b5f65 0%, #13353a 100%); }
.notif { background: rgba(255, 255, 255, 0.94); color: var(--ink); border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.4; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }
.notif b { display: block; font-size: 13px; }
.notif .when { float: right; font-size: 12px; color: var(--ink-soft); }
.notif.dim { opacity: 0.55; }

/* Prepare with Educateme: reuse .educateme band, add a two-link list */
.prep-list { margin: 14px 0 0; padding-left: 20px; opacity: 0.9; }
.prep-list li { margin-bottom: 6px; }
.educateme a:not(.button) { color: #7fe3e8; }

/* FAQ */
.faq { max-width: 760px !important; padding-top: 80px; padding-bottom: 40px; }
.faq h2 { margin: 0 0 22px; font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; text-align: center; }
.faq details { background: var(--background); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-deep); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

.draft-banner { background: #fff4d6; color: #5c4400; border: 2px dashed #d9a400; border-radius: 14px; padding: 14px 18px; margin: 0 0 24px; font-size: 15px; }
.todo { background: #fff4d6; color: #5c4400; padding: 0 4px; border-radius: 4px; font-weight: 600; }

@media (max-width: 900px) {
  .faq h2 { font-size: 30px; }
  .notif-stack { padding-bottom: 180px; }
}
@media (max-width: 480px) {
  .channels { grid-template-columns: 1fr; }
  .brand-mark { width: 50px; height: 50px; border-radius: 12px; }
  .signup { padding: 22px 18px 18px; }
  .status-card { grid-template-columns: 1fr; }
}

/* ===================== Ewell front-end additions (2026-11-24) ===================== */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field-hint { margin-top: 6px; }
.check:focus-within { border-color: var(--accent-deep); }
.channels .check input:focus-visible { outline-offset: 3px; }
.signup .button:focus-visible, .button:focus-visible { outline: 3px solid #ffd34d; outline-offset: 3px; }
.signup a { color: var(--accent-deep); }

/* Exams the backend lists but does not watch yet */
.exam-soon { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }
.soon-caption { font-weight: 700; margin-right: 2px; }
.soon-pill { padding: 3px 10px; border-radius: 999px; background: var(--background); border: 1px solid var(--line); color: var(--ink-soft); opacity: 0.8; }

/* iOS: "Add to Home Screen" guide in place of the push checkbox */
.ios-guide { margin-top: 10px; padding: 0 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--background); font-size: 14px; }
.ios-guide summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--accent-deep); }
.ios-guide p { margin: 0 0 10px; color: var(--ink-soft); }
.ios-guide ol { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.ios-guide li { display: grid; grid-template-columns: 22px 32px 1fr; gap: 8px; align-items: center; counter-increment: step; }
.ios-guide li::before { content: counter(step); display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; }
.ios-guide li svg, .ios-guide li img { width: 32px; height: 32px; padding: 4px; border-radius: 8px; background: var(--surface); box-shadow: 0 2px 6px rgba(43, 74, 76, 0.12); }
.ios-guide li svg { fill: none; stroke: #0a84ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ios-guide li img { padding: 0; border-radius: 8px; }

/* Thank-you state: Telegram step */
.thanks-telegram { margin: 16px 0 12px; padding: 16px; border-radius: 16px; background: var(--background); }
.thanks-telegram p { margin: 0 0 12px; color: var(--ink); font-size: 15px; }
.signup .button.telegram, .button.telegram { background: #229ed9; color: #fff; width: auto; margin-top: 0; }

/* Live status: one line per watched exam */
.status-note { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); font-style: italic; }

/* Simple pages: confirmed / unsubscribed / link expired */
.hero.mini .hero-grid { display: block; padding-top: 10px; padding-bottom: 90px; }
.hero.mini h1 { font-size: 46px; }
.result { max-width: 760px !important; padding-top: 50px; padding-bottom: 30px; }
.result-card { background: var(--background); border-radius: 22px; padding: 26px 26px 10px; margin-bottom: 20px; }
.result-card h2 { margin: 0 0 8px; font-size: 22px; }
.result-card p { color: var(--ink-soft); margin: 0 0 16px; }
.result-card .button { border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--accent); color: #fff; margin-bottom: 16px; }
.result-card .button:disabled { opacity: 0.6; cursor: wait; }
.result-card .ios-guide { background: var(--surface); margin-bottom: 16px; }
@media (max-width: 480px) {
  .hero.mini h1 { font-size: 34px; }
  .result-card { padding: 20px 18px 6px; }
}
.whatsapp-details { margin-top: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--background); }
.whatsapp-details .field { margin-bottom: 12px; }
.whatsapp-details input[type="tel"] { width: 100%; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink); border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.whatsapp-details input[type="tel"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(4, 178, 189, 0.18); }
.thanks-whatsapp { margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: #e7f8ee; color: #155c35 !important; font-size: 15px; }

/* Open sessions in the live status block (only sessions INLL currently shows as open) */
.open-session { margin: 14px 0 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid #1aa260; border-radius: 16px; }
.open-session-name { margin: 0 0 8px; font-weight: 700; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.open-session-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0 0 10px; font-size: 15px; }
.open-session-facts dt { color: var(--ink-soft); }
.open-session-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.open-session-look { margin: 0 0 4px; font-size: 14px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.open-session-since { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.open-session .button { padding: 12px 22px; }
.open-source { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }
