/* Visual language shared with the Ellise app. */
.consumer-page,
.business-page {
  --ink: #202b3c;
  --ink-muted: #607086;
  --ink-soft: #758398;
  --radius-media: 12px;
  background: #fff;
}

.consumer-page .nav-shell,
.business-page .nav-shell {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 30px rgba(28, 41, 59, .06);
}

.consumer-page .hero,
.business-page .hero {
  background: #fff;
}

.consumer-page .hero-headline,
.business-page .hero-headline {
  font-weight: 600;
  letter-spacing: -.055em;
}

.consumer-page .loop,
.business-page .loop {
  background: #f5f7fa;
}

.consumer-page .loop-panel,
.business-page .loop-panel {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
}

.consumer-page .section-kicker,
.business-page .section-kicker,
.business-page .feature-label {
  color: #718096;
  font-weight: 600;
}

/* Discover-style image tiles give the consumer page the app's editorial feel. */
.consumer-page .more {
  background: #fff;
}
.consumer-page .feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.consumer-page .feature-row,
.consumer-page .feature-row:nth-child(even) {
  position: relative;
  display: block;
  min-height: 460px;
  overflow: hidden;
  border-radius: 12px;
  background: #e9e7e2;
  color: #fff;
}
.consumer-page .feature-media.still-frame {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}
.consumer-page .feature-row::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(17, 24, 35, .78));
  pointer-events: none;
}
.consumer-page .feature-copy,
.consumer-page .feature-row:nth-child(even) .feature-copy {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  padding: clamp(24px, 3vw, 40px);
  max-width: 35rem;
  text-align: left;
}
.consumer-page .feature-label,
.consumer-page .feature-description {
  color: rgba(255, 255, 255, .88);
}
.consumer-page .feature-name { color: #fff; }
.consumer-page .feature-row:focus-visible { outline: 3px solid #253a59; outline-offset: 4px; }

/* Business keeps the same app palette with restrained, structured surfaces. */
.business-page .more { background: #fff; }
.business-page .feature-list { gap: clamp(72px, 9vw, 120px); }
.business-page .feature-media.still-frame {
  border: 1px solid #e8edf2;
  border-radius: 16px;
  background: #f5f7fa;
}
.business-page .feature-name { color: #202b3c; }
.business-page .sol-build { background: #f5f7fa; }
.business-page .sol-close { background: #fff; }

@media (max-width: 720px) {
  .consumer-page .feature-list { gap: 10px; }
  .consumer-page .feature-row,
  .consumer-page .feature-row:nth-child(even) { min-height: 340px; }
  .consumer-page .feature-copy,
  .consumer-page .feature-row:nth-child(even) .feature-copy { padding: 16px; }
  .consumer-page .feature-name { font-size: clamp(19px, 5vw, 26px); line-height: 1.12; }
  .consumer-page .feature-description { font-size: 13px; line-height: 1.35; }
  .consumer-page .feature-label { margin-bottom: 8px; font-size: 10px; }
}
@media (max-width: 380px) {
  .consumer-page .feature-list { grid-template-columns: 1fr; }
  .consumer-page .feature-row,
  .consumer-page .feature-row:nth-child(even) { min-height: 400px; }
}

/* Matched to frontend/constants and the app's current home components. */
.consumer-page, .business-page {
  --ink: #1e293b;
  --ink-muted: #475569;
  --ink-soft: #8b95a5;
  --line: #e2e8f0;
  --font-sans: "Inter", sans-serif;
  --section-y: clamp(64px, 8vw, 104px);
  background: #f3f5f8 url('../assets/images/app-design/background-fabric.png') center top / cover fixed;
  font-family: var(--font-sans);
  font-weight: 300;
}
.consumer-page .hero, .business-page .hero,
.consumer-page .loop, .business-page .loop,
.consumer-page .more, .business-page .more,
.consumer-page .download, .business-page .sol-build,
.business-page .sol-close { background: transparent; }
.consumer-page .nav-shell, .business-page .nav-shell {
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}
.consumer-page .nav-inner, .business-page .nav-inner {
  background: rgba(241,245,249,.88);
  padding: 5px 5px 5px 20px;
  min-height: 48px;
  box-shadow: 0 10px 24px rgba(15,23,42,.07);
}
.consumer-page .brand, .business-page .brand { font-weight: 300; color: #0f172a; }
.consumer-page .nav-switch, .business-page .nav-switch {
  background: #fff;
  color: #0f172a;
  font-weight: 400;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.consumer-page .hero, .business-page .hero { padding-top: clamp(112px, 14vw, 160px); }
.hero-mascot { display: block; width: 96px; height: 96px; margin: 0 auto 14px; }
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; }
.business-page .hero-mascot { width: 80px; height: 80px; }
.consumer-page .hero-headline, .business-page .hero-headline {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 300;
  color: #0f172a;
}
.consumer-page .hero-lead, .business-page .hero-lead,
.consumer-page .section-lead, .business-page .section-lead,
.consumer-page .feature-description, .business-page .feature-description,
.consumer-page .loop-panel-copy p, .business-page .loop-panel-copy p {
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  letter-spacing: .001em;
}
.consumer-page .section-head h2, .business-page .section-head h2,
.consumer-page .download h2, .business-page .sol-close-inner p {
  font-weight: 300;
  color: #0f172a;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.consumer-page .section-kicker, .business-page .section-kicker,
.consumer-page .feature-label, .business-page .feature-label {
  color: #a1aab8;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
}
.consumer-page .loop-pair, .business-page .loop-pair { gap: 16px; }
.consumer-page .loop-panel, .business-page .loop-panel {
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,255,.64);
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.consumer-page .loop-panel-copy h3, .business-page .loop-panel-copy h3,
.business-page .feature-name { font-weight: 300; color: #0f172a; letter-spacing: -.025em; }
.consumer-page .feature-list { gap: 8px; }
.consumer-page .feature-row, .consumer-page .feature-row:nth-child(even) {
  border-radius: 16px;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.45);
}
.consumer-page .feature-row::after { display: none; }
.consumer-page .feature-copy, .consumer-page .feature-row:nth-child(even) .feature-copy {
  left: 8px; right: 8px; bottom: 8px;
  max-width: none;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.consumer-page .feature-name { color: #1e293b; font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.consumer-page .feature-description { color: #475569; font-size: 14px; }
.business-page .feature-media.still-frame { border-radius: 16px; border-color: rgba(255,255,255,.55); }
.business-page .sol-form { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.business-page .sol-form-field input:not([type=checkbox]), .business-page .sol-form-field textarea, .business-page .sol-form-field select {
  border: 1px solid #e2e8f0; border-radius: 12px; background-color: rgba(255,255,255,.8); padding: 12px 14px;
}
.business-page .sol-form-field select { background-position: right 14px center; }
@media (max-width: 720px) {
  .consumer-page, .business-page { background-attachment: scroll; }
  .consumer-page .hero, .business-page .hero { padding-top: 104px; }
  .consumer-page .hero-headline, .business-page .hero-headline { font-size: clamp(37px, 9vw, 54px); }
  .consumer-page .feature-row, .consumer-page .feature-row:nth-child(even) { min-height: 360px; }
  .consumer-page .feature-copy, .consumer-page .feature-row:nth-child(even) .feature-copy { padding: 12px; border-radius: 16px; }
  .consumer-page .feature-name { font-size: 17px; }
  .consumer-page .feature-description { font-size: 12px; line-height: 1.35; }
  .business-page .sol-form { padding: 20px; }
}

/* Keep the full feature artwork visible in the Discover-style cards. */
.consumer-page .feature-media.still-frame img { object-fit: contain; }
.consumer-page .feature-row:hover .feature-media.still-frame img { transform: none; }
.consumer-page .feature-row, .consumer-page .feature-row:nth-child(even) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255,255,255,.7);
}
.consumer-page .feature-media.still-frame {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 15px 15px 0 0;
}
.consumer-page .feature-copy, .consumer-page .feature-row:nth-child(even) .feature-copy {
  position: static;
  flex: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.consumer-page .feature-row:nth-child(even) .feature-media,
.consumer-page .feature-row:nth-child(even) .feature-copy { order: initial; }

/* Download page uses the same app-inspired canvas and navigation. */
.download-page {
  --ink: #1e293b;
  --ink-muted: #475569;
  --ink-soft: #8b95a5;
  --font-sans: "Inter", sans-serif;
  background: #f3f5f8 url('../assets/images/app-design/background-fabric.png') center top / cover fixed;
  font-family: var(--font-sans);
  font-weight: 300;
}
.download-page .nav-shell { background: transparent; border: 0; border-radius: 999px; box-shadow: none; }
.download-page .nav-inner {
  background: rgba(241,245,249,.88);
  padding: 5px 5px 5px 20px;
  min-height: 48px;
  box-shadow: 0 10px 24px rgba(15,23,42,.07);
}
.download-page .brand { font-weight: 300; color: #0f172a; }
.download-page .nav-switch {
  background: #fff;
  color: #0f172a;
  font-weight: 400;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.download-page .hero { background: transparent; padding-top: clamp(112px, 14vw, 160px); }
.download-page .hero-headline {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 300;
  color: #0f172a;
}
.download-page .hero-lead { font-weight: 300; color: #64748b; line-height: 1.55; letter-spacing: .001em; }
@media (max-width: 720px) {
  .download-page { background-attachment: scroll; }
  .download-page .hero { padding-top: 104px; }
  .download-page .hero-headline { font-size: clamp(37px, 9vw, 54px); }
}

/* A quiet route to the business experience. */
.consumer-page .nav-switch, .download-page .nav-switch {
  background: transparent;
  box-shadow: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}
.consumer-page .nav-switch:hover, .download-page .nav-switch:hover {
  background: rgba(255,255,255,.65);
  color: #1e293b;
}
.business-page .nav-switch {
  background: transparent;
  box-shadow: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}
.business-page .nav-switch:hover {
  background: rgba(255,255,255,.65);
  color: #1e293b;
}

/* Business enquiry */
.business-page .demo-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.business-page a:hover .demo-arrow, .business-page button:hover .demo-arrow { transform: translateX(4px); }
.business-page .hero-cta .cta-btn, .business-page .sol-section-cta .sol-btn {
  gap: 16px;
  padding: 0 25px;
  min-height: 56px;
  height: auto;
  font-size: 14px;
  font-weight: 500;
}
.business-page .sol-close-inner { max-width: 760px; }
.business-page .contact-intro { max-width: 540px; margin: 0 auto 32px; text-align: center; }
.business-page .contact-eyebrow { color: #8b95a5; font-size: 10px; letter-spacing: .16em; font-weight: 500; }
.business-page .contact-intro h2 { margin: 14px 0 12px; color: #0f172a; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; font-weight: 300; letter-spacing: -.04em; }
.business-page .contact-intro p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.65; font-weight: 300; letter-spacing: 0; }
.business-page .sol-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  max-width: none;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 60px rgba(15,23,42,.07);
}
.business-page .sol-form-field { min-width: 0; gap: 8px; }
.business-page .sol-form-field > label, .business-page .sol-form-choices legend { color: #475569; font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.business-page .sol-form-field input:not([type=checkbox]), .business-page .sol-form-field textarea, .business-page .sol-form-field select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #fafbfd;
  color: #1e293b;
  font-size: 14px;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.business-page .sol-form-field select { background-position: right 14px center; padding-right: 36px; }
.business-page .sol-form-field input:focus-visible, .business-page .sol-form-field textarea:focus-visible, .business-page .sol-form-field select:focus-visible {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148,163,184,.18);
}
.business-page .sol-form-choices, .business-page .sol-form-field:has(textarea), .business-page .sol-form-submit, .business-page .sol-form-status { grid-column: 1 / -1; }
.business-page .sol-form-choices { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.business-page .sol-form-choices legend { margin-bottom: 10px; }
.business-page .sol-form-check { display: inline-flex; gap: 8px; border: 1px solid #e2e8f0; border-radius: 999px; padding: 9px 13px; background: #fafbfd; color: #475569; font-size: 13px; }
.business-page .sol-form-check:has(input:checked) { background: #eaf0f6; border-color: #a6b6c9; color: #1e293b; }
.business-page .sol-form-check input { accent-color: #1e293b; }
.business-page .sol-form-submit { justify-self: start; width: auto; min-height: 50px; padding: 13px 22px; font-size: 14px; gap: 16px; }
.business-page .sol-form-status { margin: 0; text-align: left; font-size: 14px; }
@media (max-width: 600px) {
  .business-page .sol-form { grid-template-columns: 1fr; gap: 18px; }
  .business-page .sol-form-choices, .business-page .sol-form-field:has(textarea), .business-page .sol-form-submit, .business-page .sol-form-status { grid-column: auto; }
  .business-page .sol-form-submit { width: 100%; }
}
.business-page .sol-form-field input:not([type=checkbox]),
.business-page .sol-form-field textarea,
.business-page .sol-form-field select {
  min-height: 44px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #d9e1ea;
  border-radius: 0;
  background-color: transparent;
}
.business-page .sol-form-field select { background-position: right 4px center; padding-right: 28px; }
.business-page .sol-form-field textarea { min-height: 72px; }
.business-page .sol-form-field input:focus-visible,
.business-page .sol-form-field textarea:focus-visible,
.business-page .sol-form-field select:focus-visible {
  border-bottom-color: #1e293b;
  box-shadow: 0 1px 0 #1e293b;
}
.demo-page .sol-close { padding-top: clamp(120px, 14vw, 170px); }
.business-page .business-footer { padding-top: 0; }
.demo-page .sol-form { grid-template-columns: 1fr; max-width: 540px; }
.demo-page .sol-form-choices,
.demo-page .sol-form-field:has(textarea),
.demo-page .sol-form-submit,
.demo-page .sol-form-status { grid-column: auto; }
