/* Encore One · enkorvan.org · promotional site
   Palette and type follow the Pencil design file (design/pencil/Encore One - AI Coach.pen):
   off-white ground, white cards, navy accent, amber sparks, DISC colours. */

:root {
  --bg: #EEF0EA;
  --bg-2: #F6F7F2;
  --surface: #FFFFFF;
  --ink: #15181B;
  --ink-2: #5B6168;
  --muted: #8B9096;
  --line: #D9DCD2;
  --navy: #2F3A8F;
  --navy-deep: #0D1130;
  --navy-mid: #232B6B;
  --navy-soft: #E3E6F6;
  --amber: #F2C65B;
  --coral: #E8693F;
  --olive: #6B7A3A;
  --disc-d: #EE7A60;
  --disc-i: #F2C14E;
  --disc-s: #7FC286;
  --disc-c: #7C8CF0;
  --on-navy: #FFFFFF;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --ui: "Inter", ui-sans-serif, system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(13, 17, 48, 0.10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.num { font-family: var(--ui); font-variant-numeric: tabular-nums; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
section { padding-block: 96px; scroll-margin-top: 72px; }
.eyebrow {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.h2 { font-size: clamp(32px, 4.2vw, 48px); max-width: 16ch; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 56ch; margin-top: 18px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 56px; }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head.center .h2, .sec-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: #26307a; }
.btn-light { background: var(--amber); color: var(--ink); }
.btn-light:hover { background: #ecb93f; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 240, 234, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(217, 220, 210, 0.7);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface);
}
.lang button {
  font: 700 12px/1 var(--ui); letter-spacing: .06em; padding: 7px 11px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding-block: 72px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/bg-city.webp") center 35% / cover no-repeat;
  opacity: .28; mix-blend-mode: screen;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,48,.25) 0%, rgba(13,17,48,.75) 60%, var(--navy-mid) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 88px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  font: 600 13px/1 var(--ui); color: #E9ECFF; margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,198,91,.25); }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; letter-spacing: -0.025em; max-width: 12ch; }
.hero .lead { color: #D9DBF7; max-width: 48ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: #A9AFDC; }
.hero-phone { justify-self: center; align-self: end; margin-bottom: -2px; }

/* Phone mock */
.phone {
  width: 300px; background: #0A0D22; border-radius: 44px; padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone .screen { border-radius: 34px; overflow: hidden; aspect-ratio: 390/844; background: #F6F7F2; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.sm { width: 240px; border-radius: 36px; padding: 8px; }
.phone.sm .screen { border-radius: 28px; }
.hero .phone { clip-path: inset(0 0 14% 0 round 44px 44px 0 0); }

/* Stats strip */
.stats { background: var(--navy-deep); color: #fff; padding-block: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 28px 24px 30px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 800 34px/1 var(--display); letter-spacing: -0.02em; color: var(--amber); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: #B9BEE6; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate;
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.pillar:hover img { transform: scale(1.04); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,17,48,0) 25%, rgba(13,17,48,.92) 100%); }
.pillar .tag { font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.pillar h3 { font-size: 28px; }
.pillar p { margin-top: 10px; color: #D9DBF7; font-size: 15.5px; }
.pillar ul { margin-top: 14px; display: grid; gap: 6px; font-size: 14.5px; color: #EEF0FF; }
.pillar li::before { content: "·"; color: var(--amber); font-weight: 800; margin-right: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.step { display: grid; justify-items: center; text-align: center; gap: 22px; }
.step .phone { box-shadow: var(--shadow); }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font: 800 18px/1 var(--display);
}
.step h3 { font-size: 24px; }
.step p { color: var(--ink-2); max-width: 32ch; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .visual { display: flex; justify-content: center; gap: 20px; align-items: flex-start; }
.split .visual .phone:nth-child(2) { margin-top: 56px; }
.feature-list { display: grid; gap: 18px; margin-top: 30px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h4 { font-size: 18px; font-family: var(--body); font-weight: 700; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }

/* DISC */
.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.disc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.disc-card .letter { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 22px/1 var(--display); color: #fff; }
.disc-card h4 { margin-top: 14px; font-size: 18px; font-family: var(--body); font-weight: 700; }
.disc-card p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.d .letter { background: var(--disc-d); } .i .letter { background: var(--disc-i); color: var(--ink) !important; } .s .letter { background: var(--disc-s); } .c .letter { background: var(--disc-c); }
.powered { margin-top: 22px; font-size: 13px; color: var(--muted); font-family: var(--ui); }

/* Tone section (dark) */
.dark { background: var(--navy-deep); color: #fff; }
.dark .eyebrow { color: var(--amber); }
.dark .lead { color: #C5C9EC; }
.dark .feature .ico { background: rgba(255,255,255,.08); color: var(--amber); }
.dark .feature p { color: #B9BEE6; }
.dark .disc-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.dark .disc-card p { color: #B9BEE6; }

/* Community banner */
.banner {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; color: #fff; display: grid; align-items: end;
  margin-top: 56px; isolation: isolate;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,17,48,.92) 0%, rgba(13,17,48,.55) 55%, rgba(13,17,48,.15) 100%); }
.banner .in { padding: 44px; max-width: 560px; }
.banner h3 { font-size: clamp(28px, 3.4vw, 40px); }
.banner p { margin-top: 12px; color: #D9DBF7; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rule b { display: block; font: 800 15px/1.2 var(--ui); color: var(--navy); margin-bottom: 8px; letter-spacing: .02em; }
.rule p { color: var(--ink-2); font-size: 15px; }

/* Ranks */
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.rank { border-radius: var(--radius); padding: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.rank .lvl { font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rank h4 { font-size: 22px; margin-top: 8px; }
.rank p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* Partners */
.partner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 56px; }
.partner .big { font: 800 clamp(52px, 7vw, 88px)/1 var(--display); color: var(--navy); letter-spacing: -0.03em; }
.partner .big small { display: block; font: 600 15px/1.3 var(--ui); color: var(--muted); letter-spacing: 0; margin-top: 10px; }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--olive); margin-top: 2px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); position: relative; }
.plan .badge { position: absolute; top: -14px; left: 30px; background: var(--navy); color: #fff; font: 700 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .price { margin-top: 14px; font: 800 40px/1 var(--display); letter-spacing: -0.02em; }
.plan .price small { font: 500 15px/1 var(--body); color: var(--muted); margin-left: 6px; }
.plan .per { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan ul { margin-top: 22px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--olive); }
.plan li.off { color: var(--muted); }
.plan li.off svg { color: var(--line); }
.plan .btn { margin-top: 26px; }
.fine { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--display); color: var(--navy); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep)); color: #fff; text-align: center; }
.contact h2 { font-size: clamp(32px, 4.5vw, 52px); margin-inline: auto; }
.contact .lead { color: #C5C9EC; margin-inline: auto; }
.mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 700 clamp(20px, 2.6vw, 30px)/1 var(--display); color: var(--amber); text-decoration: none; letter-spacing: -0.01em; }
.mail:hover { text-decoration: underline; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.ccard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.ccard h4 { font-size: 18px; }
.ccard p { color: #B9BEE6; font-size: 15px; margin-top: 8px; }
.ccard a { display: inline-block; margin-top: 14px; color: var(--amber); font-weight: 600; text-decoration: none; font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #8A91BC; padding-block: 36px 44px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer .brand { color: #fff; font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .legal { width: 100%; font-size: 13px; color: #6B7199; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 56px; }
  .hero-phone { display: none; }
  .steps, .pillars, .rules, .ranks, .contact-cards { grid-template-columns: 1fr 1fr; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}
@media (max-width: 820px) {
  section { padding-block: 72px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn-primary { display: none; }
  .menu-btn { display: block; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split .visual .phone:nth-child(2) { margin-top: 32px; }
  .partner { grid-template-columns: 1fr; padding: 36px 28px; }
  .plans { grid-template-columns: 1fr; }
  .banner .in { padding: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .steps, .pillars, .rules, .ranks, .contact-cards, .disc-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 340px; }
  .split .visual { flex-direction: column; align-items: center; }
  .split .visual .phone:nth-child(2) { margin-top: 0; }
  .phone { width: 260px; }
  .hero h1 { font-size: 42px; }
}
