
:root{--bg0:#050b14;--bg1:#071426;--bg2:#0b1b31;--card:rgba(8,20,37,.76);--line:rgba(112,139,180,.28);--line2:rgba(112,139,180,.42);--text:#eef5ff;--muted:#91a0b7;--muted2:#687791;--gold:#d6ad49;--blue:#3d7be0;--blue2:#6da2ff;--shadow:0 28px 80px rgba(0,0,0,.46)}
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 50% 12%,rgba(44,103,190,.16),transparent 28%),radial-gradient(circle at 90% 45%,rgba(17,91,129,.13),transparent 26%),radial-gradient(circle at 15% 40%,rgba(214,173,73,.08),transparent 25%),linear-gradient(145deg,var(--bg0),var(--bg1) 46%,var(--bg2));overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(circle at 50% 20%,black,transparent 70%)}
.public-shell{min-height:100vh;display:flex;flex-direction:column}
.public-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 34px 0 38px;border-bottom:1px solid rgba(112,139,180,.18);background:rgba(5,11,20,.54);backdrop-filter:blur(18px)}
.brand-lockup{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.peak-mark{width:42px;height:34px;display:inline-block;filter:drop-shadow(0 0 16px rgba(61,123,224,.45))}
.wordmark-small{display:flex;flex-direction:column;line-height:1}.wordmark-pill,.wordmark-pill-large{display:inline-flex;align-items:center;letter-spacing:.22em;font-weight:800;color:#fff7cd;background:linear-gradient(135deg,rgba(111,95,37,.95),rgba(50,56,47,.96));border:1px solid rgba(240,216,137,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 14px 40px rgba(0,0,0,.35)}
.wordmark-pill{border-radius:8px;font-size:20px;padding:6px 8px 6px 13px}.wordmark-pill-large{border-radius:12px;font-size:clamp(46px,7vw,82px);padding:9px 13px 9px 24px;letter-spacing:.25em}.q-blue{color:#9fcaff}.brand-subtitle-small{color:var(--muted);font-size:12px;margin-top:4px;letter-spacing:.03em}
.public-nav{display:flex;align-items:center;gap:28px}.public-nav a{color:#c9d3e4;text-decoration:none;font-size:15px}.public-nav a:hover{color:white}.nav-login{border:1px solid rgba(112,139,180,.35);padding:10px 17px;border-radius:10px;color:#d8e5ff!important;background:rgba(11,25,45,.55)}
.hero-main{flex:1;display:grid;place-items:center;padding:56px 28px 34px}.hero-stack{width:min(820px,100%);text-align:center}.peak-large{width:118px;height:84px;margin:0 auto 12px;filter:drop-shadow(0 0 24px rgba(61,123,224,.55));opacity:.95}.brand-subtitle-large{color:rgba(180,190,207,.78);font-size:clamp(22px,3vw,30px);margin-top:10px}
.hero-panel,.auth-card{border:1px solid var(--line2);background:linear-gradient(180deg,rgba(15,29,50,.78),rgba(7,18,34,.86));border-radius:18px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-panel{width:min(520px,100%);margin:38px auto 0;padding:42px 40px 34px}.hero-panel:before,.auth-card:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 50% 0%,rgba(61,123,224,.15),transparent 36%);pointer-events:none}
.panel-icon{width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(109,162,255,.34),transparent 36%),rgba(20,45,82,.74);border:1px solid rgba(109,162,255,.22);display:grid;place-items:center;margin:0 auto 22px;box-shadow:0 0 38px rgba(61,123,224,.23)}.panel-icon svg{width:34px;height:34px}
.hero-panel h1,.auth-card h1{margin:0;font-size:30px;letter-spacing:0}.panel-copy{margin:12px auto 28px;color:var(--muted);line-height:1.6;max-width:390px}.cta-row{display:grid;gap:14px}
.btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;border:1px solid transparent;font-weight:750;text-decoration:none;cursor:pointer;font-size:16px}.btn-primary{background:linear-gradient(135deg,#4b8bea,#2451c8);color:white;box-shadow:0 18px 44px rgba(36,81,200,.34)}.btn-outline{background:rgba(5,14,28,.52);color:#6da2ff;border-color:rgba(61,123,224,.55)}
.security-note{display:flex;justify-content:center;align-items:center;gap:11px;margin:36px 0 0;color:rgba(184,197,218,.70);font-size:15px}.security-note svg{width:26px;height:26px}
.public-footer{min-height:88px;display:flex;flex-direction:column;justify-content:center;gap:18px;align-items:center;border-top:1px solid rgba(112,139,180,.16);background:rgba(5,11,20,.42);color:rgba(184,197,218,.60);padding:22px}.footer-links{display:flex;gap:34px;flex-wrap:wrap;justify-content:center}.footer-links a{color:rgba(184,197,218,.68);text-decoration:none}
.auth-main{flex:1;display:grid;place-items:center;padding:44px 24px}.auth-wrap{width:min(520px,100%);text-align:center}.auth-card{width:100%;padding:38px 38px 32px}.auth-brand{margin-bottom:28px}.auth-brand .peak-large{width:86px;height:64px;margin-bottom:8px}.auth-card p{color:var(--muted);margin:10px 0 28px}
.form-group{text-align:left;margin-bottom:17px}.form-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 22px;color:var(--muted);font-size:14px}.form-row label{display:inline-flex;align-items:center;gap:8px}.form-group label{display:block;margin-bottom:8px;color:#bac7dc;font-size:14px;font-weight:650}.input-wrap{position:relative}.form-group input{width:100%;min-height:50px;border-radius:9px;border:1px solid rgba(112,139,180,.25);background:rgba(7,16,31,.74);color:var(--text);padding:0 44px 0 16px;outline:none;font-size:15px}.form-group input:focus{border-color:rgba(109,162,255,.75);box-shadow:0 0 0 3px rgba(61,123,224,.14)}.input-icon{position:absolute;right:14px;top:50%;translate:0 -50%;color:var(--muted2);width:22px;height:22px}
.divider{display:flex;align-items:center;gap:14px;color:var(--muted2);margin:24px 0}.divider:before,.divider:after{content:"";height:1px;flex:1;background:rgba(112,139,180,.25)}.text-link{color:#6da2ff;text-decoration:none}.message{min-height:22px;margin:14px 0 0;color:#d8e5ff}
@media(max-width:820px){.public-header{height:auto;min-height:76px;padding:20px;flex-direction:column;gap:18px}.public-nav{gap:16px;flex-wrap:wrap;justify-content:center}.wordmark-pill-large{font-size:40px}.hero-panel,.auth-card{padding:30px 22px}.footer-links{gap:18px}}
.legal-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-notice {
    margin-bottom: 14px;
    color: #dbeafe;
}

.legal-notice summary {
    cursor: pointer;
    font-weight: 700;
    color: #ffffff;
}

.legal-notice ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.legal-notice li {
    margin-bottom: 6px;
}

.legal-links {
    margin: 14px 0 16px 0;
}

.legal-links a,
.legal-links a:link,
.legal-links a:visited {
    display: block;
    margin-bottom: 8px;
    padding: 8px 12px;

    color: #dbeafe !important;
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;

    text-decoration: none;
    font-weight: 600;
}

.legal-links a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff !important;
}

.legal-links {
    text-align: left;
}

.legal-accept {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e5e7eb;
    line-height: 1.45;
}

.legal-accept input {
    margin-top: 4px;
}



/* Polished SaaS public homepage */
.saas-homepage {
  overflow-x: hidden;
  color: #071225;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 242, 214, .88), transparent 31%),
    radial-gradient(circle at 88% 16%, rgba(219, 236, 255, .78), transparent 29%),
    linear-gradient(180deg, #fbfaf7 0%, #f8fbff 48%, #fffaf2 100%);
}

.saas-homepage::before {
  content: none;
}

.saas-homepage img {
  max-width: 100%;
  height: auto;
}

.saas-homepage .public-shell {
  color: #071225;
  background: transparent;
}

.saas-homepage a {
  color: inherit;
}

.saas-header {
  width: min(1440px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.saas-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  text-decoration: none;
}

.saas-brand .peak-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 34px;
}

.saas-brand .wordmark-small {
  min-width: 0;
}

.saas-brand .wordmark-pill {
  font-size: 20px;
  border-radius: 8px;
  padding: 6px 8px 6px 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 26px rgba(8, 15, 28, .24);
}

.saas-brand .brand-subtitle-small {
  color: #65738a;
  font-size: 12px;
  margin-top: 4px;
}

.saas-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 30px);
  align-items: center;
  min-width: 0;
}

.saas-nav a {
  color: #071225;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.saas-nav a:hover,
.saas-nav a:focus-visible {
  color: #115de8;
}

.saas-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.saas-homepage .btn {
  min-height: 48px;
  border-radius: 9px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
}

.saas-homepage .btn-primary {
  background: linear-gradient(135deg, #1671ff, #0758e8);
  border-color: rgba(10, 93, 232, .55);
  box-shadow: 0 16px 30px rgba(22, 113, 255, .28);
}

.saas-homepage .btn-outline {
  color: #071225;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(43, 67, 104, .34);
  box-shadow: 0 10px 22px rgba(12, 24, 42, .06);
}

.saas-main {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.saas-hero {
  display: grid;
  grid-template-columns: minmax(360px, .83fr) minmax(580px, 1.17fr);
  gap: clamp(34px, 4.5vw, 76px);
  align-items: center;
  min-width: 0;
}

.hero-copy-panel {
  min-width: 0;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #a56f00;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.saas-hero h1 {
  margin: 0;
  color: #071225;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 650px;
}

.hero-subheadline {
  margin: 24px 0 0;
  max-width: 610px;
  color: #32425b;
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.45;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  position: relative;
  padding-left: 29px;
  color: #071225;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.3;
}

.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #5ecb61;
  font-size: 13px;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-product-panel {
  min-width: 0;
}

.browser-frame {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(20, 34, 56, .22);
  border-radius: 18px;
  background: linear-gradient(180deg, #152235, #08111d);
  box-shadow: 0 34px 80px rgba(9, 24, 47, .26);
  overflow: hidden;
}

.laptop-frame {
  position: relative;
}

.laptop-frame::after {
  content: "";
  display: block;
  width: 106%;
  height: 16px;
  margin: 0 -3%;
  background: linear-gradient(180deg, #d9e0ea, #7f8a99 48%, #dbe2ec);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 16px 26px rgba(12, 24, 42, .22);
}

.browser-topbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: #dce9ff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(4, 11, 20, .78);
}

.browser-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #506077;
}

.browser-topbar span:first-child { background: #ff6d66; }
.browser-topbar span:nth-child(2) { background: #f2bd48; }
.browser-topbar span:nth-child(3) { background: #42c978; }

.browser-topbar strong {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: .04em;
}

.hero-screen-wrap {
  padding: 18px;
}

.hero-screen-wrap img,
.feature-image-frame img,
.thumbnail-button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #08111f;
}

.hero-screen-wrap img {
  border-radius: 10px;
  max-height: 385px;
}

.thumbnail-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin: 22px auto 0;
  max-width: 880px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(24, 45, 75, .16);
  color: #0a1830;
  background: #fff;
  box-shadow: 0 12px 26px rgba(12, 24, 42, .12);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: #176dff;
  outline: 3px solid rgba(23, 109, 255, .16);
}

.thumbnail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.thumbnail-strip::-webkit-scrollbar {
  display: none;
}

.thumbnail-button {
  flex: 0 0 116px;
  padding: 4px;
  border-radius: 9px;
  border: 2px solid transparent;
  background: #0b1627;
  box-shadow: 0 10px 18px rgba(12, 24, 42, .16);
  cursor: pointer;
  scroll-snap-align: start;
}

.thumbnail-button.active,
.thumbnail-button:focus-visible {
  border-color: #1671ff;
  outline: none;
}

.thumbnail-button img {
  border-radius: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 40px auto 18px;
  padding: 18px 22px;
  border: 1px solid rgba(32, 52, 82, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 46px rgba(22, 42, 72, .10);
}

.trust-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-right: 1px solid rgba(32, 52, 82, .15);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #176dff;
  border: 3px solid rgba(23, 109, 255, .88);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 950;
}

.trust-strip strong {
  color: #071225;
  font-size: 16px;
  line-height: 1.12;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.feature-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(230px, .92fr);
  gap: 26px;
  align-items: center;
  min-height: 245px;
  padding: 18px 24px;
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 247, 255, .96), rgba(255, 255, 255, .9));
  box-shadow: 0 18px 40px rgba(18, 38, 68, .10);
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(238, 255, 246, .82), rgba(255, 255, 255, .92));
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(250, 244, 255, .88), rgba(255, 255, 255, .94));
}

.feature-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 247, 235, .9), rgba(255, 255, 255, .94));
}

.feature-card.text-first {
  grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr);
}

.feature-image-frame {
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: #0b1627;
  box-shadow: 0 16px 34px rgba(8, 18, 34, .22);
}

.feature-image-frame img {
  border-radius: 8px;
}

.feature-card-copy {
  min-width: 0;
}

.feature-card h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-card p {
  margin: 16px 0 0;
  color: #34445e;
  font-size: 17px;
  line-height: 1.45;
}

.feature-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #075fe8;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.feature-card a:hover,
.feature-card a:focus-visible {
  text-decoration: underline;
}

.feature-card::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 24px;
  bottom: calc(100% - 12px);
  max-width: min(300px, calc(100% - 48px));
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  background: #0b1627;
  box-shadow: 0 14px 30px rgba(8, 18, 34, .22);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}

.feature-card:hover::after,
.feature-card:focus-visible::after,
.feature-card:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.saas-final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 28px 40px;
  border: 1px solid rgba(34, 74, 132, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #f7fbff);
  box-shadow: 0 18px 42px rgba(18, 38, 68, .10);
}

.cta-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid #176dff;
  border-radius: 20px;
  color: #176dff;
  font-size: 28px;
  font-weight: 950;
}

.saas-final-cta h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
}

.saas-final-cta p {
  margin: 8px 0 0;
  color: #34445e;
  font-size: 17px;
}

.final-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.saas-footer {
  background: transparent;
  border-top-color: rgba(20, 24, 31, .08);
  color: #5d6572;
}

.saas-footer .footer-links a {
  color: #4a5260;
}

@media(max-width: 1180px) {
  .saas-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 18px 0;
  }

  .saas-nav {
    flex-wrap: wrap;
  }

  .saas-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy-panel {
    max-width: 720px;
  }

  .browser-frame {
    max-width: 860px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip article {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 52, 82, .12);
  }

  .trust-strip article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 760px) {
  .saas-header,
  .saas-main {
    width: min(100% - 28px, 1440px);
  }

  .saas-header-actions,
  .hero-actions,
  .final-actions {
    width: 100%;
    flex-direction: column;
  }

  .saas-homepage .btn,
  .hero-actions .btn,
  .final-actions .btn {
    width: 100%;
  }

  .saas-nav {
    gap: 12px 18px;
  }

  .saas-nav a {
    font-size: 13px;
  }

  .saas-brand {
    min-height: 48px;
  }

  .saas-brand .peak-mark {
    width: 38px;
    height: 30px;
  }

  .saas-brand .wordmark-pill {
    font-size: 18px;
  }

  .saas-brand .brand-subtitle-small {
    font-size: 11px;
  }

  .saas-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-checks {
    grid-template-columns: 1fr;
  }

  .thumbnail-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .thumbnail-button {
    flex-basis: 96px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .trust-strip article,
  .trust-strip article:last-child {
    grid-column: auto;
    border-bottom: 1px solid rgba(32, 52, 82, .12);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .feature-card,
  .feature-card.text-first {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .feature-card.text-first .feature-card-copy {
    order: 2;
  }

  .saas-final-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}


/* Polished workflow public page */
.workflow-page .public-shell {
  background: transparent;
  color: #071225;
}

.workflow-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.workflow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: 24px;
}

.workflow-hero-copy,
.workflow-summary-card,
.workflow-card,
.decision-strip,
.workflow-cta-panel {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.workflow-hero-copy {
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .78), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.workflow-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #071225;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.workflow-hero p,
.decision-strip > p:not(.eyebrow),
.workflow-cta-panel p {
  max-width: 820px;
  margin: 20px 0 0;
  color: #34445e;
  font-size: 18px;
  line-height: 1.65;
}

.workflow-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background:
    linear-gradient(145deg, #0b1627, #132842 72%, #0b1627);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.workflow-summary-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(22, 113, 255, .26);
}

.summary-kicker {
  color: #9fcaff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.workflow-summary-card strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.workflow-summary-card p {
  margin: 16px 0 0;
  color: #d8e6fb;
  font-size: 16px;
  line-height: 1.55;
}

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.workflow-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.workflow-card:hover,
.workflow-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(22, 113, 255, .28);
  box-shadow: 0 26px 58px rgba(18, 38, 68, .14);
  outline: none;
}

.step-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #1671ff, #0758e8);
  box-shadow: 0 14px 28px rgba(22, 113, 255, .24);
}

.workflow-card h2 {
  margin: 0 0 10px;
  color: #071225;
  font-size: 1.38rem;
  line-height: 1.15;
}

.workflow-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.workflow-card-head h2 {
  margin: 0;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: normal;
}

.owner-user {
  color: #17365f;
  border: 1px solid rgba(22, 113, 255, .22);
  background: rgba(22, 113, 255, .08);
}

.owner-automated {
  color: #0f5a2d;
  border: 1px solid rgba(94, 203, 97, .28);
  background: rgba(94, 203, 97, .12);
}

.owner-lab {
  color: #7a4d00;
  border: 1px solid rgba(214, 173, 73, .38);
  background: rgba(255, 239, 203, .72);
  margin-bottom: 14px;
}

.workflow-card p.performed-by,
.decision-strip p.performed-by {
  margin: 0 0 12px;
  color: #17365f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.decision-strip p.decision-owner {
  margin: 10px auto 14px;
}

.workflow-card p {
  margin: 0;
  color: #44546c;
  line-height: 1.62;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.mini-list span {
  border: 1px solid rgba(22, 113, 255, .16);
  background: rgba(22, 113, 255, .055);
  border-radius: 999px;
  padding: 8px 11px;
  color: #17365f;
  font-size: 13px;
  font-weight: 800;
}

.decision-strip,
.workflow-cta-panel {
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
  text-align: center;
}

.decision-strip {
  background:
    linear-gradient(135deg, rgba(238, 245, 255, .94), rgba(255,255,255,.96) 54%, rgba(255, 249, 235, .88));
}

.decision-strip h2,
.workflow-cta-panel h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
}

.decision-strip > p:not(.eyebrow),
.workflow-cta-panel p {
  margin-left: auto;
  margin-right: auto;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.decision-grid div {
  padding: 20px;
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(18, 38, 68, .07);
}

.decision-grid strong {
  display: block;
  color: #071225;
  margin-bottom: 8px;
  font-size: 17px;
}

.decision-grid span {
  color: #44546c;
  line-height: 1.55;
}

.workflow-cta-panel {
  background:
    linear-gradient(135deg, #eef5ff, #ffffff 56%, #fff6e5);
}

.workflow-cta-panel .hero-actions,
.workflow-hero-copy .hero-actions {
  justify-content: flex-start;
}

.workflow-cta-panel .hero-actions {
  justify-content: center;
}

@media(max-width: 980px) {
  .workflow-main {
    width: min(100% - 32px, 1240px);
  }

  .workflow-hero,
  .workflow-timeline,
  .decision-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 640px) {
  .workflow-main {
    width: min(100% - 24px, 1240px);
    padding-top: 22px;
  }

  .workflow-card {
    grid-template-columns: 1fr;
  }

  .workflow-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }
}

/* Polished expert services public page */
.services-page .public-shell {
  background: transparent;
  color: #071225;
}

.services-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .46fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: 24px;
}

.services-hero-copy,
.services-hero-card,
.services-intro-card,
.services-checklist-section,
.service-card,
.science-card,
.expert-request-card,
.services-final-cta {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.services-hero-copy {
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .78), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.services-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #071225;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.services-hero p,
.services-intro-card p,
.science-card p,
.expert-request-card p,
.services-final-cta p {
  color: #34445e;
  font-size: 18px;
  line-height: 1.65;
}

.services-hero-copy > p:not(.eyebrow) {
  max-width: 730px;
  margin: 22px 0 0;
}

.services-hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, #0b1627, #132842 72%, #0b1627);
}

.services-hero-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: rgba(22, 113, 255, .28);
}

.services-hero-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.08;
}

.services-hero-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: #d8e6fb;
  font-size: 16px;
  line-height: 1.55;
}

.services-intro-card,
.services-checklist-section,
.science-card,
.expert-request-card,
.services-final-cta {
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
}

.services-intro-card {
  background: linear-gradient(135deg, rgba(238, 245, 255, .95), rgba(255,255,255,.96) 54%, rgba(255, 249, 235, .88));
}

.services-intro-card h2,
.section-heading-row h2,
.science-card h2,
.expert-request-card h2,
.services-final-cta h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.services-intro-card p,
.science-card p,
.expert-request-card p,
.services-final-cta p {
  max-width: 890px;
  margin: 18px 0 0;
}

.section-heading-row {
  max-width: 820px;
}

.services-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.services-checklist div {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px 16px 52px;
  border: 1px solid rgba(22, 113, 255, .14);
  border-radius: 16px;
  color: #17365f;
  background: rgba(22, 113, 255, .05);
  font-weight: 820;
  line-height: 1.35;
}

.services-checklist div::before {
  content: "✓";
  position: absolute;
  left: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #5ecb61;
  font-size: 14px;
  font-weight: 950;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.service-card {
  min-width: 0;
  padding: 26px;
  background: linear-gradient(135deg, rgba(242, 247, 255, .96), rgba(255,255,255,.94));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(238, 255, 246, .84), rgba(255,255,255,.94));
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
  background: linear-gradient(135deg, rgba(255, 247, 235, .9), rgba(255,255,255,.95));
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(22, 113, 255, .28);
  box-shadow: 0 26px 58px rgba(18, 38, 68, .14);
  outline: none;
}

.service-card h2 {
  margin: 0;
  color: #071225;
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-card p {
  margin: 14px 0 0;
  color: #44546c;
  line-height: 1.62;
}

.science-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(213, 234, 255, .72), transparent 35%),
    linear-gradient(135deg, #fff, #f7fbff 56%, #fff7e8);
}

.expert-request-card {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.93));
}

.expert-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.expert-request-form label {
  display: grid;
  gap: 7px;
  color: #071225;
  font-weight: 850;
}

.expert-request-form span {
  font-size: 14px;
}

.expert-request-form input,
.expert-request-form select,
.expert-request-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(43, 67, 104, .22);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: #071225;
  padding: 14px 15px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.expert-request-form textarea {
  resize: vertical;
  min-height: 170px;
}

.expert-request-form input:focus,
.expert-request-form select:focus,
.expert-request-form textarea:focus {
  border-color: #1671ff;
  outline: 3px solid rgba(22, 113, 255, .14);
}

.form-full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-actions .btn {
  border: 0;
}

#expert-request-message {
  min-height: 22px;
  margin: 0;
  color: #44546c;
  font-size: .95rem;
}

.services-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #fff6e5);
}

@media(max-width: 1120px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 980px) {
  .services-main {
    width: min(100% - 32px, 1240px);
  }

  .services-hero,
  .expert-request-card,
  .services-final-cta {
    grid-template-columns: 1fr;
  }

  .services-checklist {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 680px) {
  .services-main {
    width: min(100% - 24px, 1240px);
    padding-top: 22px;
  }

  .services-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .service-card-grid,
  .expert-request-form {
    grid-template-columns: 1fr;
  }

  .services-final-cta .btn,
  .form-actions .btn {
    width: 100%;
  }
}

/* Polished product public page */
.product-page .public-shell {
  background: transparent;
  color: #071225;
}

.product-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  margin-bottom: 24px;
}

.product-hero-copy,
.product-preview-card,
.product-overview-card,
.product-info-card,
.product-workflow-card,
.product-card,
.product-showcase,
.product-lab-card,
.product-definition-card,
.product-final-cta {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.product-hero-copy {
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .78), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.product-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #071225;
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-hero p,
.product-overview-card p,
.product-info-card p,
.product-workflow-steps p,
.product-card p,
.product-definition-card p,
.product-final-cta p {
  color: #34445e;
  font-size: 18px;
  line-height: 1.62;
}

.product-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
}

.product-preview-card {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(238,245,255,.9));
}

.product-browser-frame {
  max-width: 780px;
}

.product-preview-image {
  padding: 16px;
}

.product-preview-image img,
.product-screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 10px;
  background: #08111f;
}

.product-overview-card {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, .58fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
  background: linear-gradient(135deg, rgba(238, 245, 255, .95), rgba(255,255,255,.96) 54%, rgba(255, 249, 235, .88));
}

.product-overview-card h2,
.product-workflow-card h2,
.product-showcase h2,
.product-lab-card h2,
.product-definition-card h2,
.product-final-cta h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-overview-card p {
  margin: 0;
}

.product-three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.product-info-card,
.product-card {
  padding: 26px;
  background: linear-gradient(135deg, rgba(242, 247, 255, .96), rgba(255,255,255,.94));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-info-card:nth-child(2),
.product-card:nth-child(2),
.product-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(238, 255, 246, .84), rgba(255,255,255,.94));
}

.product-info-card:nth-child(3),
.product-card:nth-child(3),
.product-card:nth-child(6) {
  background: linear-gradient(135deg, rgba(255, 247, 235, .9), rgba(255,255,255,.95));
}

.product-info-card h2,
.product-card h2 {
  margin: 0;
  color: #071225;
  font-size: 1.35rem;
  line-height: 1.15;
}

.product-info-card p,
.product-card p {
  margin: 14px 0 0;
  color: #44546c;
}

.product-info-card:hover,
.product-info-card:focus-visible,
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(22, 113, 255, .28);
  box-shadow: 0 26px 58px rgba(18, 38, 68, .14);
  outline: none;
}

.product-workflow-card,
.product-showcase,
.product-lab-card,
.product-definition-card,
.product-final-cta {
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
}

.product-workflow-card {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.93));
}

.product-workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.product-workflow-steps article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(22, 113, 255, .14);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}

.product-workflow-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #1671ff, #0758e8);
  box-shadow: 0 10px 20px rgba(22, 113, 255, .2);
  font-weight: 950;
}

.product-workflow-steps strong {
  display: block;
  margin-top: 14px;
  color: #071225;
  font-size: 16px;
  line-height: 1.2;
}

.product-workflow-steps p {
  margin: 10px 0 0;
  color: #44546c;
  font-size: 15px;
}

.product-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.product-showcase {
  background:
    radial-gradient(circle at 92% 0%, rgba(213, 234, 255, .72), transparent 35%),
    linear-gradient(135deg, #fff, #f7fbff 56%, #fff7e8);
}

.product-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.product-screenshot-grid article {
  min-width: 0;
}

.product-screenshot-grid .feature-image-frame {
  padding: 10px;
}

.product-screenshot-grid h3 {
  margin: 14px 0 0;
  color: #071225;
  font-size: 17px;
  line-height: 1.2;
}

.product-lab-card {
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, .66fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  background: linear-gradient(135deg, rgba(238, 255, 246, .82), rgba(255,255,255,.94));
}

.lab-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lab-chip-grid span {
  border: 1px solid rgba(22, 113, 255, .16);
  background: rgba(22, 113, 255, .055);
  border-radius: 999px;
  padding: 10px 13px;
  color: #17365f;
  font-size: 14px;
  font-weight: 850;
}

.product-definition-card {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.product-definition-card p {
  max-width: 900px;
  margin: 18px 0 0;
}

.product-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #fff6e5);
}

.product-final-cta p {
  max-width: 720px;
  margin: 12px 0 0;
}

.client-note {
  font-size: .95rem !important;
}

.client-note a {
  color: #075fe8;
  font-weight: 900;
  text-decoration: none;
}

.client-note a:hover,
.client-note a:focus-visible {
  text-decoration: underline;
}

@media(max-width: 1120px) {
  .product-hero,
  .product-overview-card,
  .product-lab-card,
  .product-final-cta {
    grid-template-columns: 1fr;
  }

  .product-workflow-steps,
  .product-capability-grid,
  .product-screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-three-up {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 760px) {
  .product-main {
    width: min(100% - 24px, 1240px);
    padding-top: 22px;
  }

  .product-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .product-workflow-steps,
  .product-capability-grid,
  .product-screenshot-grid {
    grid-template-columns: 1fr;
  }
}

/* Final public site polish */
html {
  scroll-behavior: smooth;
}

.saas-homepage *,
.saas-homepage *::before,
.saas-homepage *::after {
  box-sizing: border-box;
}

.saas-homepage :focus-visible {
  outline: 3px solid rgba(22, 113, 255, .32);
  outline-offset: 3px;
}

.saas-homepage .btn {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.saas-homepage .btn:hover,
.saas-homepage .btn:focus-visible {
  transform: translateY(-1px);
}

.saas-homepage .btn-primary:hover,
.saas-homepage .btn-primary:focus-visible {
  box-shadow: 0 20px 38px rgba(22, 113, 255, .34);
}

.saas-homepage .btn-outline:hover,
.saas-homepage .btn-outline:focus-visible {
  border-color: rgba(22, 113, 255, .58);
  box-shadow: 0 14px 28px rgba(12, 24, 42, .10);
}

.saas-homepage section,
.saas-homepage .feature-card,
.saas-homepage .workflow-card,
.saas-homepage .service-card,
.saas-homepage .product-card,
.saas-homepage .product-info-card,
.saas-homepage .content-card {
  animation: publicFadeIn .42s ease both;
}

@keyframes publicFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.browser-frame,
.feature-image-frame,
.product-preview-card,
.product-screenshot-grid .feature-image-frame {
  border: 1px solid rgba(20, 34, 56, .18);
}

.feature-image-frame,
.product-screenshot-grid .feature-image-frame {
  border-radius: 14px;
}

.feature-image-frame img,
.product-preview-image img,
.product-screenshot-grid img,
.hero-screen-wrap img,
.thumbnail-button img {
  object-fit: contain;
  overflow: hidden;
}

.feature-image-frame,
.product-preview-image img,
.product-screenshot-grid .feature-image-frame {
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature-image-frame:hover,
.product-screenshot-grid .feature-image-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(8, 18, 34, .22);
}

.content-page .public-shell {
  background: transparent;
  color: #071225;
}

.content-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.content-hero,
.content-card {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.content-hero {
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .78), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.content-hero-copy,
.content-card {
  padding: clamp(30px, 4.8vw, 52px);
}

.content-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #071225;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
}

.content-hero p,
.content-card p {
  max-width: 850px;
  margin: 18px 0 0;
  color: #34445e;
  font-size: 18px;
  line-height: 1.65;
}

.content-card {
  margin-top: 22px;
}

.content-card h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.content-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.content-mini-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(22, 113, 255, .14);
  border-radius: 16px;
  background: rgba(22, 113, 255, .045);
}

.content-mini-grid h3 {
  margin: 0;
  color: #071225;
  font-size: 1.1rem;
}

.content-mini-grid p {
  margin-top: 10px;
  font-size: 16px;
}

.public-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.public-form label {
  display: grid;
  gap: 7px;
  color: #071225;
  font-weight: 850;
}

.public-form label span {
  font-size: 14px;
}

.public-form input,
.public-form select,
.public-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(43, 67, 104, .22);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: #071225;
  padding: 14px 15px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.public-form textarea {
  resize: vertical;
  min-height: 160px;
}

.public-form input:focus,
.public-form select:focus,
.public-form textarea:focus {
  border-color: #1671ff;
  outline: 3px solid rgba(22, 113, 255, .14);
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

#feedback-message,
#contact-message {
  min-height: 22px;
  margin: 0;
  color: #44546c;
  font-size: .95rem;
}

.contact-info-card {
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #fff6e5);
}

@media(max-width: 1180px) {
  .saas-header {
    width: min(100% - 32px, 1440px);
  }
}

@media(max-width: 980px) {
  .content-main {
    width: min(100% - 32px, 1120px);
  }

  .content-mini-grid,
  .public-form {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 760px) {
  .saas-header {
    width: min(100% - 24px, 1440px);
  }

  .content-main {
    width: min(100% - 24px, 1120px);
    padding-top: 22px;
  }

  .content-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .public-form .btn {
    width: 100%;
  }
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .saas-homepage *,
  .saas-homepage *::before,
  .saas-homepage *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}


.brand-gold { color: #d6ad49; }

/* Register page public polish */
.register-main {
  max-width: 960px;
}

.register-card .warning-box {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid rgba(214, 173, 73, .28);
  border-radius: 16px;
  color: #17365f;
  background: linear-gradient(135deg, rgba(255, 247, 229, .92), rgba(255,255,255,.96));
}

.register-card .warning-box strong {
  display: block;
  color: #071225;
  margin-bottom: 10px;
}

.register-card .warning-box ul,
.register-card .legal-notice ul {
  margin: 0;
  padding-left: 20px;
  color: #44546c;
  line-height: 1.55;
}

.register-form .form-group {
  display: grid;
  gap: 7px;
}

.register-form .form-group label {
  color: #071225;
  font-size: 14px;
  font-weight: 850;
}

.register-form .input-wrap {
  display: block;
}

.register-form .legal-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(43, 67, 104, .14);
  border-radius: 16px;
  background: rgba(22, 113, 255, .04);
}

.register-form .legal-notice summary {
  cursor: pointer;
  color: #071225;
  font-weight: 900;
}

.register-form .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.register-form .legal-links a {
  color: #075fe8;
  font-weight: 850;
  text-decoration: none;
}

.register-form .legal-links a:hover,
.register-form .legal-links a:focus-visible {
  text-decoration: underline;
}

.stacked-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stacked-actions .btn,
.stacked-actions .message {
  width: 100%;
}

.stacked-actions .message {
  grid-column: 1 / -1;
  min-height: 22px;
  color: #44546c;
}

.register-confirmation {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px 18px;
  text-align: center;
}

.register-confirmation[hidden] {
  display: none;
}

.register-confirmation h2,
.register-confirmation p {
  margin: 0;
}

.register-confirmation p {
  max-width: 580px;
  color: #44546c;
  line-height: 1.6;
}

@media(max-width: 680px) {
  .stacked-actions {
    grid-template-columns: 1fr;
  }
}

/* Pricing page public polish */
.pricing-page .public-shell {
  background: transparent;
  color: #071225;
}

.pricing-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.pricing-hero,
.pricing-card,
.pricing-note-card,
.pricing-table-section,
.upload-definition-card,
.pricing-final-cta {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.pricing-hero {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .78), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.92));
}

.pricing-hero-copy {
  max-width: 920px;
  padding: clamp(32px, 5vw, 56px);
}

.pricing-hero h1 {
  margin: 0;
  color: #071225;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
}

.pricing-hero p:not(.eyebrow),
.pricing-card p,
.pricing-note-card p,
.upload-definition-card p {
  color: #34445e;
  font-size: 18px;
  line-height: 1.62;
}

.pricing-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 22px 0 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(242, 247, 255, .96), rgba(255,255,255,.94));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 247, 235, .9), rgba(255,255,255,.95));
}

.pricing-card-popular {
  border-color: rgba(22, 113, 255, .38);
  background: linear-gradient(135deg, rgba(238, 245, 255, .98), rgba(255,255,255,.96));
  transform: translateY(-6px);
}

.pricing-card:hover,
.pricing-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(22, 113, 255, .28);
  box-shadow: 0 26px 58px rgba(18, 38, 68, .14);
}

.pricing-card-popular:hover,
.pricing-card-popular:focus-within {
  transform: translateY(-8px);
}

.popular-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: linear-gradient(135deg, #1671ff, #0758e8);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(22, 113, 255, .22);
}

.pricing-card h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
}

.pricing-card p {
  margin: 14px 0 0;
}

.price-placeholder {
  margin: 24px 0 0;
  color: #071225;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 950;
  line-height: 1;
}

.price-placeholder span {
  margin-left: 4px;
  color: #65738a;
  font-size: 16px;
  font-weight: 850;
}

.pricing-feature-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 28px;
  color: #17365f;
  line-height: 1.35;
  font-weight: 750;
}

.pricing-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #5ecb61;
  font-size: 12px;
  font-weight: 950;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-secondary-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
  color: #075fe8;
  font-weight: 900;
  text-decoration: none;
}

.pricing-secondary-link:hover,
.pricing-secondary-link:focus-visible {
  text-decoration: underline;
}

.pricing-note-card,
.pricing-table-section,
.upload-definition-card,
.pricing-final-cta {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
}

.pricing-note-card {
  background: linear-gradient(135deg, rgba(255, 247, 229, .92), rgba(255,255,255,.96));
}

.pricing-note-card p {
  max-width: 900px;
  margin: 0;
  color: #17365f;
  font-weight: 850;
}

.pricing-note-card p + p {
  margin-top: 10px;
}

.pricing-table-section {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.93));
}

.pricing-table-section h2,
.upload-definition-card h2,
.pricing-final-cta h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.pricing-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 68, .07);
}

.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(39, 68, 104, .10);
  color: #34445e;
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th {
  color: #071225;
  background: rgba(22, 113, 255, .06);
  font-weight: 950;
}

.pricing-table tbody th {
  color: #071225;
  font-weight: 850;
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: 0;
}

.upload-definition-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(213, 234, 255, .72), transparent 35%),
    linear-gradient(135deg, #fff, #f7fbff 56%, #fff7e8);
}

.upload-definition-card p {
  max-width: 900px;
  margin: 18px 0 0;
}

.pricing-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #fff6e5);
}

@media(max-width: 1080px) {
  .pricing-grid,
  .pricing-final-cta {
    grid-template-columns: 1fr;
  }

  .pricing-card-popular {
    transform: none;
  }

  .pricing-card-popular:hover,
  .pricing-card-popular:focus-within {
    transform: translateY(-4px);
  }
}

@media(max-width: 760px) {
  .pricing-main {
    width: min(100% - 24px, 1240px);
    padding-top: 22px;
  }

  .pricing-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .pricing-final-cta .btn {
    width: 100%;
  }
}

/* Legal document public polish */
.legal-page .public-shell {
  background: transparent;
  color: #071225;
}

.legal-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.legal-index-card,
.legal-document-card {
  border: 1px solid rgba(39, 68, 104, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 48px rgba(18, 38, 68, .10);
}

.legal-index-card {
  padding: clamp(30px, 4.8vw, 52px);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 203, .72), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,247,255,.94));
}

.legal-index-card h1 {
  margin: 0;
  color: #071225;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-index-card > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: #34445e;
  font-size: 18px;
  line-height: 1.62;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.legal-link-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(22, 113, 255, .14);
  border-radius: 18px;
  color: inherit;
  background: rgba(22, 113, 255, .045);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.legal-link-card:nth-child(2) {
  background: rgba(94, 203, 97, .08);
}

.legal-link-card:nth-child(3) {
  background: rgba(255, 239, 203, .55);
}

.legal-link-card:hover,
.legal-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(22, 113, 255, .3);
  box-shadow: 0 20px 42px rgba(18, 38, 68, .12);
}

.legal-link-card strong {
  color: #071225;
  font-size: 1.25rem;
  line-height: 1.15;
}

.legal-link-card span {
  color: #44546c;
  line-height: 1.55;
}

.legal-document-card {
  overflow: hidden;
}

.legal-document-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(24px, 4vw, 46px);
  border-bottom: 1px solid rgba(39, 68, 104, .10);
  background: rgba(22, 113, 255, .045);
}

.legal-document-topline a {
  color: #075fe8;
  font-weight: 900;
  text-decoration: none;
}

.legal-document-topline a:hover,
.legal-document-topline a:focus-visible {
  text-decoration: underline;
}

.legal-document-content {
  padding: clamp(30px, 5vw, 58px);
  color: #25344c;
  font-size: 17px;
  line-height: 1.72;
}

.legal-document-content h1 {
  margin: 0 0 14px;
  color: #071225;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-document-content h2 {
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(39, 68, 104, .12);
  color: #071225;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-document-content h3 {
  margin: 24px 0 10px;
  color: #17365f;
  font-size: 1.1rem;
}

.legal-document-content p {
  margin: 0 0 14px;
}

.legal-document-content ul,
.legal-document-content ol {
  margin: 8px 0 18px 24px;
  padding: 0;
}

.legal-document-content li {
  margin: 6px 0;
}

.legal-document-content a {
  color: #075fe8;
  font-weight: 800;
}

.legal-document-content .version-line,
.legal-document-content .effective-line,
.legal-document-content .company-line {
  color: #65738a;
  font-weight: 850;
}

.legal-document-content .notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid #d6ad49;
  border-radius: 12px;
  background: rgba(255, 239, 203, .58);
  color: #17365f;
}

.legal-document-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 18px 0;
  border: 1px solid rgba(39, 68, 104, .14);
  border-radius: 12px;
}

.legal-document-content th,
.legal-document-content td {
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid rgba(39, 68, 104, .12);
  text-align: left;
  vertical-align: top;
}

.legal-document-content th {
  color: #071225;
  background: rgba(22, 113, 255, .06);
}

@media(max-width: 860px) {
  .legal-card-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 760px) {
  .legal-main {
    width: min(100% - 24px, 1040px);
    padding-top: 22px;
  }

  .legal-document-content {
    font-size: 16px;
  }
}

