/* Adexo Learn website - one stylesheet for every page */
:root {
  --ink: #2E1065;
  --deep: #5B21B6;
  --violet: #7C3AED;
  --soft: #A78BFA;
  --lilac: #DDD6FE;
  --mist: #F5F3FF;
  --text: #1F1B2E;
  --muted: #5E5A72;
  --line: #E7E3F5;
  --white: #FFFFFF;
  --good: #15803D;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 16, 101, 0.10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
a:hover { color: var(--violet); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.brand span { color: #8B5CF6; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.97rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--deep); }
.nav a.btn { color: var(--white); margin-left: 6px; }
.nav a.btn:hover { background: var(--violet); color: var(--white); }
.menu-toggle { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--deep); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.02rem; padding: 13px 24px; border-radius: 12px;
  border: 2px solid var(--deep); transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--violet); border-color: var(--violet); color: var(--white); transform: translateY(-1px); }
.btn.secondary { background: var(--white); color: var(--deep); }
.btn.secondary:hover { background: var(--mist); color: var(--deep); }
.btn.big { font-size: 1.12rem; padding: 16px 30px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, #EDE5FF 0%, transparent 60%),
              linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  padding: 64px 0 40px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--white); color: var(--deep); border: 1px solid var(--lilac);
  font-weight: 700; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 .accent { color: #8B5CF6; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.hero .small { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }
.screen {
  border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(46, 16, 101, 0.22);
  border: 1px solid var(--line); background: var(--white);
}
.hero .screen { transform: rotate(1deg); }

/* ---------------------------------------------------------------- sections */
section { padding: 72px 0; }
section.tint { background: var(--mist); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--deep);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--deep); color: var(--white); font-weight: 800; display: grid; place-items: center;
  margin-top: 20px;
}
.step.card { padding-top: 78px; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.showcase figure { margin: 0; }
.showcase figcaption { margin-top: 12px; color: var(--muted); font-size: 0.98rem; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: #DCFCE7; color: var(--good); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center;
}

.types { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.types span {
  background: var(--white); border: 1px solid var(--lilac); color: var(--deep); font-weight: 600;
  padding: 8px 14px; border-radius: 999px; font-size: 0.95rem;
}

.cta {
  background: linear-gradient(135deg, var(--violet), #4C1D95); color: var(--white);
  border-radius: 24px; padding: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
}
.cta h2 { color: var(--white); margin-bottom: 6px; }
.cta p { color: #E9E3FF; margin: 0; }
.cta img { width: 96px; height: 96px; }
.cta .btn { background: var(--white); color: var(--deep); border-color: var(--white); }
.cta .btn:hover { background: var(--mist); color: var(--deep); }

/* ---------------------------------------------------------------- page header + text pages */
.page-head { background: linear-gradient(180deg, var(--mist), var(--white)); padding: 56px 0 24px; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 46em; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.note {
  background: var(--mist); border-left: 4px solid var(--violet); border-radius: 10px;
  padding: 14px 18px; margin: 1.2em 0;
}
.spec { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--ink); }

details.faq {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--violet); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding-bottom: 14px; color: var(--muted); }

.mail-box {
  display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 2px solid var(--lilac);
  border-radius: 14px; padding: 14px 20px; font-size: 1.2rem; font-weight: 700; text-decoration: none; color: var(--deep);
}
.mail-box:hover { border-color: var(--violet); }

/* ---------------------------------------------------------------- footer (dark: logo with white outline) */
.site-footer { background: var(--ink); color: #D9D2F5; padding: 48px 0 28px; margin-top: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand span { color: #C4B5FD; }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: #D9D2F5; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--white); }
.site-footer .bottom {
  grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; margin-top: 8px;
  font-size: 0.9rem; color: #B7ABE3;
}

/* ---------------------------------------------------------------- phones and tablets */
@media (max-width: 900px) {
  .hero .wrap, .split, .showcase, .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 40px; }
  .hero .screen { transform: none; }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .cta img { margin: 0 auto; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; background: var(--white); border: 2px solid var(--lilac);
    color: var(--deep); font-weight: 700; border-radius: 10px; padding: 8px 14px; font-size: 1rem; cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a.btn { margin: 6px 0 0; }
  .site-header .wrap { flex-wrap: wrap; }
  .grid.three { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .spec th { width: 40%; }
}
