/* Site chrome (header, footer, contact CTA) for the EasePage landing page.
   Kept separate from the deck's own internal styles (assets/js/dc-engine.js). */

@font-face { font-family: 'Geist'; src: url("../fonts/Geist-500.woff2") format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url("../fonts/Geist-600.woff2") format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url("../fonts/InterDisplay-400.woff2") format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url("../fonts/InterDisplay-500.woff2") format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --eb-ink: #100C08;
  --eb-muted: #4D4A47;
  --eb-line: #ECEAE8;
  --eb-bg: #FAFAFA;
  --eb-blue: #1A73E8;
}

.site-header,
.site-footer,
.trial-banner,
.cta-tabs,
.feature-grid {
  font-family: 'Inter Display', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--eb-ink);
  box-sizing: border-box;
}

.site-header *, .site-footer *, .trial-banner *, .cta-tabs *, .feature-grid * { box-sizing: border-box; }

/* Shared boxed container: caps content at 1280px with a little side padding,
   while the parent section keeps its own full-bleed background. */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.deck-wrapper {
  padding-top: 40px;
  padding-bottom: 8px;
}

/* ---------- Header ---------- */

html { scroll-behavior: smooth; }

/* Anchored sections stop short of the sticky header */
#get-started, #start-trial, #demo, #platform-features { scroll-margin-top: 76px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--eb-line);
  padding: 16px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Links to the main site (www.easeapp.ai) — needs a visible interactive cue
   now that it's an anchor rather than a bare span. */
.site-header__logo {
  display: inline-flex;
  line-height: 0;
  border-radius: 6px;
  transition: opacity .15s ease;
}

.site-header__logo:hover { opacity: .78; }

.site-header__logo:focus-visible {
  outline: 2px solid #F26522;
  outline-offset: 4px;
}

.site-header__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  background: #F26522;
  color: #FFFFFF;
  font-family: 'Inter Display', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.site-header__cta:hover { background: #C4501A; }

/* ---------- Hero ---------- */

.hero {
  background: var(--eb-bg);
  padding: 72px 0 24px;
}

.hero__inner {
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F26522;
}

.hero__heading {
  margin: 0 auto;
  max-width: 17em;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--eb-ink);
}

.hero__subheading {
  margin: 18px auto 0;
  max-width: 46em;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--eb-muted);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #F95A2F, #DF3607);
  color: #FFFFFF;
  font-family: 'Inter Display', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(223, 54, 7, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero__cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(223, 54, 7, 0.4);
}

/* ---------- Trial banner (right under the deck) ---------- */

.trial-banner {
  position: relative;
  background:
    radial-gradient(560px 280px at 12% 0%, rgba(242, 101, 34, 0.22), transparent 65%),
    radial-gradient(480px 320px at 100% 100%, rgba(251, 141, 112, 0.14), transparent 60%),
    var(--eb-ink);
  padding: 56px 0;
  overflow: hidden;
}

.trial-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(251, 141, 112, 0.25);
  border-bottom: 1px solid rgba(251, 141, 112, 0.25);
  pointer-events: none;
}

.trial-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trial-banner__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.16);
  border: 1px solid rgba(242, 101, 34, 0.4);
  color: #FB8D70;
  font-family: 'Inter Display', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.trial-banner__heading {
  margin: 0 0 14px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  color: #FFFFFF;
}

.trial-banner__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trial-banner__perks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #E5E2DE;
}

.trial-banner__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.18);
  border: 1px solid rgba(251, 141, 112, 0.6);
}

.trial-banner__perks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #FB8D70;
  border-bottom: 2px solid #FB8D70;
  transform: rotate(-45deg);
}

.trial-banner__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 52px;
  padding: 0 26px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #F95A2F, #DF3607);
  color: #FFFFFF;
  font-family: 'Inter Display', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(223, 54, 7, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trial-banner__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(223, 54, 7, 0.45);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--eb-line);
  padding: 20px 0;
  font-family: 'Inter Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.trust-strip * { box-sizing: border-box; }

.trust-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 36px;
  flex-wrap: wrap;
}

.trust-strip__item {
  position: relative;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.trust-strip__item + .trust-strip__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #F26522;
  transform: translateY(-50%);
}

/* ---------- Get-started CTA tabs ---------- */

.cta-tabs {
  background: #FFFFFF;
  padding: 96px 0;
}

.cta-tabs__intro {
  text-align: center;
  margin-bottom: 40px;
}

.cta-tabs__eyebrow {
  margin: 0 0 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F26522;
}

.cta-tabs__heading {
  margin: 0;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--eb-ink);
}

.cta-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
  max-width: 640px;
  border-bottom: 1px solid var(--eb-line);
}

.cta-tabs__tab {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 12px 18px;
  font-family: 'Inter Display', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #9A9793;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.cta-tabs__tab:hover { color: var(--eb-ink); }

.cta-tabs__tab.is-active {
  color: #F26522;
  border-bottom-color: #F26522;
}

.cta-tabs__panels {
  max-width: 960px;
  margin: 0 auto;
}

.cta-tabs__panel[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--eb-bg);
  padding: 64px 0 32px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 380px;
}

.site-footer__logo {
  display: block;
  height: 26px;
  width: auto;
}

.site-footer__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--eb-muted);
  text-align: left;
}

.site-footer__social {
  display: inline-flex;
  color: #0A66C2;
}

.site-footer__social svg { display: block; }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}

.site-footer__contact-label {
  margin: 0 0 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9A9793;
}

.site-footer__contact a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--eb-muted);
  text-decoration: none;
}

.site-footer__contact a:hover { color: var(--eb-ink); text-decoration: underline; }

.site-footer__bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--eb-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__partner {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--eb-ink);
}

.site-footer__copyright {
  font-size: 13px;
  color: #9A9793;
}

/* ---------- Feature grid ("Design, Customize, and Optimize") ---------- */

.feature-grid {
  background: var(--eb-bg);
  padding: 88px 0 96px;
}

.feature-grid__intro {
  margin-bottom: 48px;
  text-align: center;
}

.feature-grid__eyebrow {
  margin: 0 0 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F26522;
}

.feature-grid__heading {
  margin: 0 0 12px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--eb-ink);
}

.feature-grid__subheading {
  margin: 0;
  font-size: 17px;
  color: var(--eb-muted);
}

.feature-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--eb-line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.feature-card__icon-box {
  position: relative;
  background: #FDECEA;
  border: 1px solid #F8D6CF;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.feature-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F26522;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.feature-card__title {
  margin: 0 0 8px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--eb-ink);
}

.feature-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--eb-muted);
}

@media (max-width: 900px) {
  .feature-grid__cards { grid-template-columns: 1fr; }
  .site-footer__top { flex-direction: column; gap: 40px; }
  .trial-banner__inner { flex-direction: column; align-items: center; text-align: center; }
  .trial-banner__perks { align-items: flex-start; width: fit-content; margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-tabs { padding: 64px 0; }
  .cta-tabs__nav { flex-wrap: wrap; }
  .feature-grid { padding: 56px 0 64px; }
  .trial-banner__submit { width: 100%; justify-content: center; }
  .hero { padding: 48px 0 16px; }
  .hero__cta-primary { width: 100%; justify-content: center; }
  .trust-strip__inner { flex-direction: column; gap: 10px; }
  .trust-strip__item + .trust-strip__item::before { display: none; }
}

/* ---------- Screenshot gallery (product tour) ---------- */

.screenshot-gallery {
  font-family: 'Inter Display', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--eb-ink);
  background: #FFFFFF;
  border-top: 1px solid var(--eb-line);
  padding: 88px 0 96px;
}

.screenshot-gallery * { box-sizing: border-box; }

.screenshot-gallery__intro {
  margin-bottom: 48px;
  text-align: center;
}

.screenshot-gallery__eyebrow {
  margin: 0 0 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F26522;
}

.screenshot-gallery__heading {
  margin: 0 0 12px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--eb-ink);
}

.screenshot-gallery__subheading {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 17px;
  color: var(--eb-muted);
}

.screenshot-gallery__nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
  max-width: 720px;
  border-bottom: 1px solid var(--eb-line);
}

.screenshot-gallery__tab {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 12px 18px;
  font-family: 'Inter Display', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #9A9793;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.screenshot-gallery__tab:hover { color: var(--eb-ink); }

.screenshot-gallery__tab.is-active {
  color: #F26522;
  border-bottom-color: #F26522;
}

.screenshot-gallery__panel[hidden] { display: none; }

.screenshot-card {
  margin: 0;
  border: 1px solid var(--eb-line);
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(16, 12, 8, 0.08);
  display: flex;
  flex-direction: column;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-card figcaption {
  padding: 16px 20px;
  border-top: 1px solid var(--eb-line);
  background: #FBFBFA;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--eb-muted);
}

.screenshot-card figcaption strong {
  display: block;
  margin-bottom: 2px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--eb-ink);
}

@media (max-width: 640px) {
  .screenshot-gallery { padding: 56px 0 64px; }
  .screenshot-gallery__nav { flex-wrap: wrap; }
}

/* ---------- CTA tabs: trial reassurance ---------- */

.cta-tabs__subheading {
  margin: 14px auto 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--eb-muted);
}

.cta-form__perks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.cta-form__perks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--eb-ink);
}

.cta-form__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #F26522 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Get Started: first-party lead forms ---------- */
/* Replaced the Fillout embeds for trial + question so the conversion event
   fires on our own domain. The scheduler tab is still a Fillout embed. */

.lead-form {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

/* .lead-form sets display:grid, which would otherwise beat [hidden]. */
.lead-form[hidden] { display: none; }

.lead-form__row {
  display: grid;
  gap: 20px 18px;
  grid-template-columns: 1fr 1fr;
}

.lead-form__field { display: grid; gap: 6px; }

.lead-form__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--eb-ink);
}

.lead-form__label .lead-form__optional {
  font-weight: 500;
  color: #9A9793;
}

.lead-form__input,
.lead-form__textarea {
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter Display', sans-serif;
  font-size: 15px;
  color: var(--eb-ink);
  background: #FFFFFF;
  border: 1px solid var(--eb-line);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lead-form__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form__input::placeholder,
.lead-form__textarea::placeholder { color: #B5B2AE; }

.lead-form__input:focus,
.lead-form__textarea:focus {
  outline: none;
  border-color: #F26522;
  box-shadow: 0 0 0 3px rgba(242, 101, 34, .16);
}

.lead-form__input[aria-invalid="true"],
.lead-form__textarea[aria-invalid="true"] { border-color: #C62828; }

/* Collapsed until populated — reserving the line made the form read too airy. */
.lead-form__error {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.3;
  color: #C62828;
}

.lead-form__error:empty { display: none; }

/* Sign-in constraint for the email field: personal accounts can't be used. */
.lead-form__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--eb-muted);
}

/* Honeypot: off-screen and untabbable, so only a form-filling bot touches it. */
.lead-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile renders a fixed-width iframe; centred so the form's foot reads as
   one column with the submit button under it. */
.cf-turnstile { justify-self: center; }

.lead-form__submit {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  font-family: 'Inter Display', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: #F26522;
  border-radius: 10px;
  justify-self: center;
  transition: background .15s ease;
}

.lead-form__submit:hover { background: #DF3607; }
.lead-form__submit:disabled { background: #E8B49C; cursor: default; }

.lead-form__status {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #C62828;
}

.lead-form__status:empty { display: none; }

.lead-form__fineprint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #9A9793;
}

.lead-success {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 32px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--eb-line);
  border-radius: 14px;
}

.lead-success[hidden] { display: none; }
.lead-success:focus { outline: none; }

.lead-success__mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: #F26522 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.lead-success__heading {
  margin: 0 0 10px;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--eb-ink);
}

.lead-success__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--eb-muted);
}

/* Secondary to the confirmation above it — quieter, and fenced off by a rule so
   it reads as a practical footnote rather than part of the good news. */
.lead-success__spam-note {
  max-width: 46ch;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--eb-line);
  font-size: 13.5px;
  line-height: 1.55;
  color: #9A9793;
}

.lead-success__spam-note strong {
  font-weight: 600;
  color: var(--eb-muted);
}

@media (max-width: 640px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__submit { justify-self: stretch; text-align: center; }
  /* iOS Safari auto-zooms on focus for anything under 16px — don't give it a reason. */
  .lead-form__input,
  .lead-form__textarea { font-size: 16px; }
}
