/* EduMaverick landing — additions on top of the original design (pricing calculator, honest proof line, polish). */
.edg-trust span.edg-wide { flex-basis: 100%; }
.edg-statnote { color: var(--edg-muted); font-size: 13.5px; margin-top: 10px; }

/* ---------- pricing calculator ---------- */
.edg-calc { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; margin-top: 36px; }
.edg-calc > * { min-width: 0; }
.edg-calc-panel { background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 1px 2px rgba(16,26,60,.05), 0 18px 40px -22px rgba(16,26,60,.25); }
.edg-calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.edg-calc-row label { font-family: var(--edg-display); font-size: 18px; font-weight: 700; color: var(--edg-navy); margin: 0; }
.edg-calc-row output { font-family: var(--edg-display); font-size: 32px; font-weight: 800; color: var(--edg-primary); letter-spacing: -.03em; }
.edg-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--edg-primary) var(--p, 10%), #dde1f3 var(--p, 10%)); outline-offset: 8px; }
.edg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--edg-primary), 0 8px 18px rgba(59,47,212,.4); cursor: grab; }
.edg-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--edg-primary); cursor: grab; }
.edg-ticks-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--edg-muted); margin: 10px 0 0; }
.edg-presets { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.edg-preset { background: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; color: var(--edg-ink); box-shadow: inset 0 0 0 1.5px #dde1f3; transition: all .2s; }
.edg-preset:hover { box-shadow: inset 0 0 0 1.5px var(--edg-primary); color: var(--edg-primary); }
.edg-mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.edg-mod-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff; border: 0; border-radius: 14px; padding: 13px 15px; box-shadow: inset 0 0 0 1.5px #e3e6f5; transition: all .2s; color: var(--edg-ink); }
.edg-mod-opt:hover { box-shadow: inset 0 0 0 1.5px #b9b2ff; }
.edg-mod-opt[aria-pressed=true] { background: #eeebff; box-shadow: inset 0 0 0 2px var(--edg-primary); }
.edg-mod-opt .cb { flex: none; width: 22px; height: 22px; border-radius: 7px; margin-top: 2px; box-shadow: inset 0 0 0 2px #c2c8dc; display: grid; place-items: center; color: #fff; transition: all .2s; }
.edg-mod-opt[aria-pressed=true] .cb { background: var(--edg-primary); box-shadow: none; }
.edg-mod-opt .cb svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: all .2s; }
.edg-mod-opt[aria-pressed=true] .cb svg { opacity: 1; transform: none; }
.edg-mod-opt b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.edg-mod-opt small { display: block; color: var(--edg-muted); font-size: 12.5px; line-height: 1.4; margin-top: 3px; }
.edg-quote { position: sticky; top: 96px; background: linear-gradient(135deg, #141b3f 0%, #241d8f 60%, #3b2fd4 100%); color: #fff; border-radius: 22px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(16,26,60,.7); overflow: hidden; }
.edg-quote::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 340px; height: 340px; background: radial-gradient(closest-side, rgba(245,166,35,.28), transparent); pointer-events: none; }
.edg-cyc { display: flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px; margin-bottom: 24px; position: relative; }
.edg-cyc button { flex: 1; border: 0; background: none; color: rgba(255,255,255,.75); border-radius: 999px; padding: 9px; font-weight: 700; font-size: 14px; transition: all .25s; }
.edg-cyc button[aria-pressed=true] { background: #fff; color: var(--edg-navy); }
.edg-q-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 700; position: relative; }
.edg-q-total { font-family: var(--edg-display); font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 6px 0 4px; position: relative; }
.edg-q-sub { color: rgba(255,255,255,.75); font-size: 14.5px; position: relative; }
.edg-q-lines { list-style: none; margin: 22px 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 9px; font-size: 14px; position: relative; max-height: 240px; overflow: auto; scrollbar-width: thin; }
.edg-q-lines li { display: flex; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.88); }
.edg-q-lines li b { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.edg-q-lines li.disc, .edg-q-lines li.disc b { color: #7ee8b4; }
.edg-quote .edg-btn { width: 100%; justify-content: center; position: relative; }
.edg-q-note { margin: 14px 0 0; font-size: 12.5px; color: rgba(255,255,255,.65); text-align: center; position: relative; }
.edg-quote.loading .edg-q-total, .edg-quote.loading .edg-q-sub { color: transparent; background: rgba(255,255,255,.14); border-radius: 10px; width: min(240px, 70%); }
.edg-q-err { display: none; margin-top: 14px; background: rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; font-size: 14px; position: relative; }
.edg-q-err a { color: #fff; text-decoration: underline; }
.edg-sk { position: relative; overflow: hidden; background: #e6e9f6; border-radius: 12px; height: 64px; }
.edg-sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%); transform: translateX(-100%); animation: edg-shimmer 1.4s infinite; }
@keyframes edg-shimmer { to { transform: translateX(100%); } }
.edg-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.edg-devices .edg-phone-real { margin: 0 auto; }
@media (max-width: 1020px) {
  .edg-calc { grid-template-columns: 1fr; }
  .edg-quote { position: relative; top: auto; }
  .edg-devices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .edg-mods { grid-template-columns: 1fr; }
  .edg-calc-panel, .edg-quote { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .edg-sk::after { animation: none; } }

/* images carry width/height attributes (no layout shift); keep them responsive */
.edg-browser img.shot:not(.crop), .edg-sk-shell img, .edg-shot img { height: auto; }
.edg-browser img.shot { aspect-ratio: 1800 / 1125; object-fit: cover; }

/* small screens: keep the header call-to-action on one line and drop the logo tagline */
@media (max-width: 575px) {
  .edg-btn { white-space: nowrap; }
  .edg-logo-text small { display: none; }
}

/* ---------- responsive refinements ---------- */
/* Header: the "Start free" button must stay compact so logo + button +
   hamburger fit a 360px viewport without overflow or wrapping. */
@media (max-width: 575px) {
  .edg-header .container { gap: 8px; }
  .edg-header .edg-btn { padding: 6px 12px; font-size: 12.5px; gap: 5px; }
  .edg-header .edg-btn .edi { display: none; }
  .edg-logo-text { font-size: 18px; }
  .edg-mobilemenu summary { font-size: 22px; padding: 4px 6px; }

  /* hero calls-to-action stack full-width instead of squeezing side by side */
  .edg-hero-cta .edg-btn { flex: 1 1 100%; justify-content: center; }

  /* phone mockups: one per row (two-up is unreadable at phone widths) */
  .edg-devices { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }

  /* trim generous desktop padding */
  .edg-demo-form { padding: 24px 20px; }
  .edg-stats { padding: 36px 20px; }
  .edg-role { padding: 24px 20px; }
  .edg-topbar { font-size: 12.5px; }
  .edg-browser-url { max-width: 46vw; }
}

/* very small phones: tighten further, keep everything on one header row */
@media (max-width: 380px) {
  .edg-logo-text { font-size: 16px; }
  .edg-header .edg-logo-mark { width: 32px; height: 32px; }
  .edg-topbar .d-flex.gap-4 { gap: 12px !important; }
}
