/* EasyReply public site: landing and pricing.
   Palette: indigo brand with coral and mint accents (split complementary). Coral means a client waits,
   mint means answered, amber is the step in between. */
:root {
  --ink: #1d1b4b; --ink-2: #4a4870; --muted: #7c7a9c; --line: #e7e5f4; --canvas: #fbfaff; --surface: #fff;
  --brand: #5b4cf0; --brand-deep: #2e2593; --brand-soft: #efedff;
  --coral: #ff6b5b; --coral-soft: #ffe9e5; --amber: #f5a524; --amber-soft: #fff3dc;
  --mint: #18a983; --mint-soft: #ddf6ee; --sky: #3d9df3;
  --owner: #f07a3a; --support: #18a983; --qa: #5d7290; --teacher: #5b4cf0;
  --display: "Manrope", "Golos Text", system-ui, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --shadow: 0 1px 2px #1d1b4b0d, 0 24px 48px -24px #2e259333;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--text); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, var(--coral) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 16px var(--text); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
.btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); box-shadow: 0 14px 28px -12px var(--brand-deep); }
.btn.small { height: 40px; padding: 0 18px; font-size: 15px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 80%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 20px var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo i { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #8b7cff); position: relative; }
.logo i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); border: 2.5px solid var(--canvas); }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--brand); }

/* sections */
section { padding: 104px 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head p { margin-top: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin: 16px auto 0; }
.tint { background: linear-gradient(180deg, var(--canvas), var(--brand-soft) 40%, var(--canvas)); }

/* soft colour blobs behind sections */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.08); } }

/* scroll reveal: hidden only when JS runs */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--brand); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .top nav a:not(.keep) { display: none; }
  .top .wrap { gap: 12px; }
  .top nav { gap: 12px; }
  .lead { font-size: 17px; }
  .btn { height: 48px; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
