/* eHelp website: light, airy layout with big type and pill buttons, in eHelp's yellow and black. */
:root {
  --bg: #fdfcf8;
  --panel: #ffffff;
  --text: #1c1f24;
  --muted: #5f6672;
  --line: #ebe8df;
  --yellow: #f0b41c;
  --yellow-soft: #fff3d1;
  --yellow-dark: #c98f00;
  --ink: #16181c;
  --radius: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "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%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(253, 252, 248, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #f5c13f; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 96px 0 40px; overflow: hidden; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0 auto 22px; max-width: 900px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.float { position: absolute; width: 56px; height: 56px; border-radius: 16px; background: var(--panel); box-shadow: 0 8px 24px rgba(28, 31, 36, .08); display: grid; place-items: center; animation: bob 6s ease-in-out infinite; }
.float .net { width: 30px; height: 30px; }
.f1 { top: 70px; left: 7%; } .f2 { top: 210px; left: 2%; animation-delay: -2s; } .f3 { top: 380px; left: 9%; animation-delay: -4s; }
.f4 { top: 80px; right: 8%; animation-delay: -1s; } .f5 { top: 240px; right: 2.5%; animation-delay: -3s; } .f6 { top: 400px; right: 10%; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 1240px) { .float { display: none; } }

.shot { margin: 56px auto 0; max-width: 1080px; border-radius: 24px; padding: 12px; background: var(--ink); box-shadow: 0 30px 80px rgba(28, 31, 36, .18); }
.shot img { border-radius: 14px; width: 100%; height: auto; }

/* ---------- network icons ---------- */
.net { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.net svg { width: 58%; height: 58%; }
.net-facebook { background: #1877f2; }
.net-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.net-threads, .net-x, .net-tiktok { background: #000; }
.net-youtube { background: #ff0000; }

.works { padding: 30px 0 70px; text-align: center; }
.works p { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.works ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin: 0; padding: 0; }
.works li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.works .net { width: 32px; height: 32px; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 90px 0; }
.section-title { text-align: center; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 auto 16px; max-width: 760px; }
.section-sub { text-align: center; color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 12px; }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 16px; font-weight: 800; }
.feature p { color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316181c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.feature-img { background: var(--yellow-soft); border-radius: var(--radius); padding: 28px; }
.feature-img img { border-radius: 12px; box-shadow: 0 16px 40px rgba(28, 31, 36, .14); width: 100%; height: auto; }

/* ---------- colorful cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 26px; }
.card .swatch { height: 120px; border-radius: 14px; margin-bottom: 20px; display: grid; place-items: center; font-size: 44px; }
.card h4 { font-size: 20px; margin: 0 12px 6px; letter-spacing: -.01em; }
.card p { margin: 0 12px; color: var(--muted); font-size: 15.5px; }
.sw1 { background: #ffe8a3; } .sw2 { background: #ffd6c2; } .sw3 { background: #d7e8ff; }
.sw4 { background: #dff3d8; } .sw5 { background: #eadcff; } .sw6 { background: #ffe0ec; }

/* ---------- dark section ---------- */
.dark { background: var(--ink); color: #fff; border-radius: 32px; padding: 80px 64px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.dark h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
.dark p { color: #c7cbd3; margin: 0 0 18px; }
.dark .eyebrow { color: var(--yellow); }
.dark .ticks li { color: #fff; }
.dark img { border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); width: 100%; height: auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step h4 { font-size: 21px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { padding: 24px; border-radius: var(--radius); background: var(--yellow-soft); }
.trust h4 { margin: 0 0 6px; font-size: 18px; }
.trust p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--yellow-dark); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- final CTA ---------- */
.cta-band { background: var(--yellow); border-radius: 32px; padding: 72px 32px; text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; font-weight: 800; }
.cta-band p { margin: 0 auto 30px; max-width: 560px; font-size: 19px; }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 40px; margin-top: 90px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot img { height: 30px; width: auto; margin-bottom: 14px; }
.foot p { color: var(--muted); font-size: 15px; margin: 0; max-width: 320px; }
.foot h5 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); font-size: 15px; }
.foot a:hover { color: var(--text); }
.legal-line { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- legal pages ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 0 0; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 8px; font-weight: 800; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; letter-spacing: -.015em; margin: 44px 0 12px; }
.doc p, .doc li { color: #3a3f48; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc code { background: var(--yellow-soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.doc .box { background: var(--yellow-soft); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }

/* ---------- account pages ---------- */
.auth { max-width: 440px; margin: 0 auto; padding: 64px 0 0; }
.auth h1 { font-size: clamp(32px, 5vw, 42px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; font-weight: 800; }
.auth .sub { color: var(--muted); margin: 0 0 28px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 21px; margin: 0 0 6px; letter-spacing: -.01em; }
.panel > p { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
.form input:focus { outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 3px var(--yellow-soft); }
.form .hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.form .btn { width: 100%; }
.code-input { letter-spacing: .3em; font-variant-numeric: tabular-nums; text-align: center; font-size: 22px !important; }
.msg { margin: 0; font-size: 15px; min-height: 0; }
.msg:empty { display: none; }
.msg.error { color: #b42318; }
.msg.ok { color: #1a7f37; }
.alt { text-align: center; color: var(--muted); font-size: 15px; margin: 22px 0 0; }
.alt a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.account { max-width: 760px; margin: 0 auto; padding: 56px 0 0; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.account-head h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; margin: 0; font-weight: 800; line-height: 1.1; }
.account-head p { margin: 4px 0 0; color: var(--muted); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--line); color: var(--muted); vertical-align: middle; margin-left: 6px; }
.badge.on { background: #dcf5e3; color: #1a7f37; }
.badge.warn { background: #fde7e4; color: #b42318; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.qr { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 4px 0 18px; }
.qr-box { width: 180px; height: 180px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; flex: none; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.secret { font-family: ui-monospace, Consolas, monospace; background: var(--yellow-soft); padding: 6px 10px; border-radius: 8px; word-break: break-all; font-size: 14px; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; padding: 0; list-style: none; font-family: ui-monospace, Consolas, monospace; font-size: 16px; }
.codes li { background: var(--yellow-soft); border-radius: 8px; padding: 8px 12px; text-align: center; }
.sessions { list-style: none; margin: 0 0 16px; padding: 0; }
.sessions li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sessions li:last-child { border-bottom: none; }
.sessions small { display: block; color: var(--muted); font-size: 13px; }
.link-btn { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.link-btn.danger { color: #b42318; text-decoration-color: #f3b7b0; }
.hidden { display: none !important; }
.sso { display: grid; gap: 10px; margin-bottom: 18px; }
.btn-sso { width: 100%; background: #fff; border-color: var(--line); color: var(--text); font-weight: 600; justify-content: center; gap: 12px; }
.btn-sso:hover { border-color: #cfcabd; }
.btn-sso svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin-top: 6px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.methods { list-style: none; padding: 0; margin: 0 0 16px; }
.methods li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.methods li:last-child { border-bottom: none; }
.methods small { display: block; color: var(--muted); font-size: 13px; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .feature, .feature.flip, .dark { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .dark { padding: 48px 28px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .float { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .wrap { gap: 12px; }
  .brand img { height: 28px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-small { padding: 7px 14px; }
  .panel { padding: 22px 18px; }
  .codes { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .section { padding: 64px 0; }
  .cards, .steps, .trust, .foot { grid-template-columns: 1fr; }
  .feature { margin-bottom: 72px; }
  .feature-img { padding: 14px; }
  .cta-band { padding: 52px 22px; }
}
