/* openRegal marketing site styles (no-build) */

:root{
  --bg: #0B1220;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --subtle: rgba(255,255,255,.58);
  --teal: #0F9FA8;
  --teal2: #1ED6D9;
  --navy: #061022;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 14px;
  --radius2: 18px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(15,159,168,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), #070B14 80%, #060914);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: rgba(0,0,0,.75);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 9999;
}

.container{ width: min(100% - 40px, var(--max)); margin: 0 auto; }
.section{ padding: 80px 0; }
.section.tight{ padding: 44px 0; }
.section--divider{ border-top: 1px solid rgba(255,255,255,.06); }
.section--cta{ padding-bottom: 96px; }
.section-narrow{ max-width: 760px; }
.section-title{
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 650;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
  text-align: center;
}
.section-foot{
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--subtle);
}
.narrow{ max-width: 42ch; }
.lead.narrow{ margin-left: auto; margin-right: auto; }
.grid{ display:grid; gap: 18px; }
.grid.two{ grid-template-columns: 1fr; }
.grid.three{ grid-template-columns: 1fr; }
.grid.four{ grid-template-columns: 1fr; }
@media (min-width: 860px){
  .grid.two{ grid-template-columns: 1.15fr .85fr; gap: 26px; }
  .grid.three{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid.four{ grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

.pill{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}
.dot{
  width:8px; height:8px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--teal2), var(--teal));
  box-shadow: 0 0 0 4px rgba(15,159,168,.15);
}

h1,h2,h3{ margin: 0; letter-spacing: -0.02em; }
h1{ font-size: clamp(34px, 3.9vw, 56px); line-height: 1.06; }
h2{ font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
h3{ font-size: 18px; line-height: 1.25; }
p{ margin: 0; color: var(--muted); }
.lead{ font-size: 17px; color: var(--muted); max-width: 62ch; }
.small{ font-size: 13px; color: var(--subtle); }
.eyebrow{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 6px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.card.pad{ padding: 18px; }
.card.pad-lg{ padding: 22px; }
.card.flat{ box-shadow:none; background: rgba(255,255,255,.04); }

.btn-row{ display:flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items:center; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn:active{ transform: translateY(0); }
.btn.primary{
  border-color: rgba(15,159,168,.55);
  background: linear-gradient(180deg, rgba(15,159,168,.92), rgba(15,159,168,.72));
  color: #061022;
}
.btn.primary:hover{ background: linear-gradient(180deg, rgba(30,214,217,.95), rgba(15,159,168,.78)); }
.btn.ghost{ background: transparent; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(6,10,20,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand-mark{
  width: 28px;
  height: 28px;
  display:block;
  flex-shrink: 0;
  object-fit: contain;
}
.nav{
  display:flex;
  gap: 10px;
  align-items:center;
}
.nav a{
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(255,255,255,.78);
  border: 1px solid transparent;
}
.nav a:hover{ color: var(--text); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.nav a[aria-current="page"]{ color: var(--text); background: rgba(15,159,168,.12); border-color: rgba(15,159,168,.22); }

.nav a:focus-visible,
.menu-btn:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline: 3px solid rgba(30,214,217,.55);
  outline-offset: 2px;
}

.menu-btn{
  display:inline-flex;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
}
@media (min-width: 860px){ .menu-btn{ display:none; } }

.nav-wrap{ display:none; }
@media (min-width: 860px){ .nav-wrap{ display:flex; gap: 12px; align-items:center; } }

.mobile-nav{ display:none; border-top: 1px solid rgba(255,255,255,.08); padding: 10px 0 14px; }
.mobile-nav a{ display:block; padding: 10px 10px; border-radius: 12px; color: rgba(255,255,255,.82); }
.mobile-nav a:hover{ background: rgba(255,255,255,.05); }
.mobile-nav[data-open="true"]{ display:block; }

/* Nav dropdown — Blog */
.nav-dropdown{ position: relative; }
.nav-dropdown-trigger{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.78);
  font: inherit;
  cursor: pointer;
}
.nav-dropdown-trigger:hover,
.nav-dropdown[data-open="true"] .nav-dropdown-trigger{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.nav-dropdown-trigger[aria-current="page"]{
  color: var(--text);
  background: rgba(15,159,168,.12);
  border-color: rgba(15,159,168,.22);
}
.nav-dropdown-caret{
  font-size: 11px;
  opacity: .75;
  transition: transform .15s ease;
}
.nav-dropdown[data-open="true"] .nav-dropdown-caret{ transform: rotate(180deg); }
.nav-dropdown-panel{
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8, 14, 26, .98);
  box-shadow: var(--shadow);
  z-index: 100;
}
.nav-dropdown-panel[hidden]{ display: none; }
.nav-dropdown-panel--product{
  width: min(480px, 92vw);
}
.nav-dropdown-panel--product .nav-dropdown-grid{
  grid-template-columns: 1fr;
}
@media (min-width: 520px){
  .nav-dropdown-panel--product .nav-dropdown-grid{ grid-template-columns: repeat(3, 1fr); }
}
.nav-dropdown-all{
  display: block;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(15,159,168,.28);
  background: rgba(15,159,168,.1);
  color: var(--teal2);
  font-weight: 650;
  font-size: 14px;
}
.nav-dropdown-all:hover{ background: rgba(15,159,168,.16); color: var(--text); }
.nav-dropdown-grid{
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .nav-dropdown-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
  .nav-dropdown-grid{ grid-template-columns: repeat(3, 1fr); }
}
.nav-dropdown-col{ min-width: 0; }
.nav-dropdown-heading{
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.nav-dropdown-heading-link{
  display: inline-block;
  margin-bottom: 8px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal2);
}
.nav-dropdown-heading-link:hover{ color: var(--text); }
.nav-dropdown-panel a{
  display: block;
  padding: 8px 8px;
  border-radius: 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.35;
  border: 1px solid transparent;
}
.nav-dropdown-panel a:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.06);
}

.mobile-nav-dropdown{
  border-radius: 12px;
  margin: 2px 0;
}
.mobile-nav-dropdown > summary{
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.82);
  cursor: pointer;
  list-style: none;
}
.mobile-nav-dropdown > summary::-webkit-details-marker{ display: none; }
.mobile-nav-dropdown > summary::after{
  content: "▾";
  float: right;
  opacity: .6;
}
.mobile-nav-dropdown[open] > summary{
  background: rgba(255,255,255,.05);
}
.mobile-nav-dropdown[open] > summary::after{ transform: rotate(180deg); }
.mobile-nav-dropdown-body{
  padding: 4px 8px 10px 14px;
  display: grid;
  gap: 4px;
}
.mobile-nav-dropdown-body > a{
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
}
.mobile-nav-dropdown-nested{
  margin-top: 4px;
}
.mobile-nav-dropdown-nested > summary{
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--teal2);
  cursor: pointer;
  list-style: none;
}
.mobile-nav-dropdown-nested > summary::-webkit-details-marker{ display: none; }
.mobile-nav-dropdown-nested a{
  display: block;
  padding: 7px 10px 7px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  border-radius: 8px;
}
.mobile-nav-dropdown-nested a:hover{ background: rgba(255,255,255,.05); color: var(--text); }

/* Hero */
.hero{ padding: 54px 0 18px; position: relative; overflow: hidden; }
.hero--minimal{
  padding: 88px 0 72px;
  text-align: center;
}
.hero--minimal .hero-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero--minimal .pill{ margin-bottom: 4px; }
.hero--minimal .page-title{ max-width: none; }
.page-title--single-line{
  white-space: nowrap;
  font-size: clamp(16px, 2.6vw + 0.5rem, 52px);
  letter-spacing: -0.03em;
}
@media (max-width: 720px){
  .page-title--single-line{
    white-space: normal;
    font-size: clamp(26px, 7vw, 40px);
  }
}
.hero--minimal .sub{ margin-top: 16px; text-align: center; }
.hero--minimal .btn-row{ justify-content: center; margin-top: 28px; }
.hero .grid.two{ align-items: end; }
.hero-surface{
  position:absolute;
  inset: -1px;
  pointer-events:none;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(15,159,168,.14), transparent 65%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,.5) 80%, rgba(0,0,0,0));
}
.hero-graph{
  position:absolute;
  inset: -20px -40px auto auto;
  width: min(520px, 78vw);
  opacity: .6;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.35));
}
.kicker{ margin-top: 18px; }
.kicker .sub{
  margin-top: 10px;
  max-width: 68ch;
  color: rgba(255,255,255,.72);
}
.hero h1 span{
  background: linear-gradient(90deg, var(--teal2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Minimal workflow steps */
.steps-row{
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
@media (min-width: 720px){
  .steps-row{ grid-template-columns: repeat(4, 1fr); }
  .steps-row--two{ grid-template-columns: repeat(2, 1fr); }
}
.step{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(11,18,32,.92);
}
.step-label{
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
}
.step-desc{
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.45;
}

.cta-block{
  text-align: center;
}
.cta-block .section-title{ margin-bottom: 12px; }
.cta-block .btn-row{ justify-content: center; }

/* Regal AI spotlight */
.regal-ai-spotlight{
  background: linear-gradient(180deg, rgba(15,159,168,.06), transparent);
}
.regal-ai-block{
  text-align: center;
}
.regal-ai-badge{
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal2);
}
.regal-ai-title{
  margin-bottom: 14px;
}
.regal-ai-title span{
  background: linear-gradient(90deg, var(--teal2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.regal-ai-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.regal-ai-tags li{
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,159,168,.28);
  background: rgba(15,159,168,.08);
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

/* Blog index */
.hero--page{ padding: 64px 0 32px; }
.blog-index{ padding-top: 8px; }

.blog-featured{
  display: block;
  position: relative;
  padding: 28px 26px;
  margin-bottom: 32px;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,159,168,.32);
  background:
    linear-gradient(135deg, rgba(15,159,168,.14), rgba(15,159,168,.04)),
    rgba(255,255,255,.03);
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.blog-featured:hover{
  border-color: rgba(30,214,217,.45);
  transform: translateY(-2px);
}
.blog-featured[hidden]{ display: none; }
.blog-featured-badge{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal2);
}
.blog-featured h2{
  font-size: clamp(22px, 2.5vw, 30px);
  max-width: 28ch;
  color: rgba(255,255,255,.94);
}
.blog-featured .blog-excerpt{
  margin-top: 12px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.55;
}
.blog-featured-cta{
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal2);
}

.blog-jump{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.blog-jump-btn{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.blog-jump-btn:hover{
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
}
.blog-jump-btn[aria-pressed="true"]{
  border-color: rgba(15,159,168,.45);
  background: rgba(15,159,168,.16);
  color: rgba(255,255,255,.92);
}

.blog-section{
  margin-bottom: 52px;
  scroll-margin-top: 88px;
}
.blog-section[hidden]{ display: none; }
.blog-section-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.blog-section-title{
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 650;
  color: rgba(255,255,255,.9);
  margin: 0;
}
.blog-section-desc{
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--subtle);
}
.blog-section-count{
  font-size: 12px;
  font-weight: 600;
  color: var(--subtle);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.blog-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .blog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px){
  .blog-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.blog-card{
  height: 100%;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.blog-card:hover{
  border-color: rgba(15,159,168,.28);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.blog-card-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px;
  color: inherit;
}
.blog-meta-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.blog-meta time{
  font-size: 12px;
  color: var(--subtle);
}
.blog-card h2{
  font-size: 17px;
  line-height: 1.35;
  margin: 12px 0 0;
  color: rgba(255,255,255,.9);
  transition: color .15s ease;
}
.blog-card:hover h2{ color: var(--teal2); }
.blog-excerpt{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--subtle);
  flex: 1;
}
.blog-read{
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  transition: color .15s ease;
}
.blog-card:hover .blog-read{ color: var(--teal2); }

.chip.europe{
  background: rgba(139,92,246,.14);
  border-color: rgba(139,92,246,.28);
}
.chip.americas{
  background: rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.28);
}
.chip.asia{
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.28);
}
.chip.issue{
  background: rgba(248,113,113,.12);
  border-color: rgba(248,113,113,.28);
}
.chip.platform{
  background: rgba(15,159,168,.12);
  border-color: rgba(15,159,168,.28);
}

/* Article pages */
.article-back{
  margin-bottom: 24px;
  font-size: 14px;
}
.article-header{
  margin-bottom: 32px;
}
.article-header h1{
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  text-align: left;
  margin-top: 0;
}
.article-header h1 span{
  background: linear-gradient(90deg, var(--teal2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.article-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--subtle);
}
.article-body{
  max-width: 42rem;
  margin: 0 auto;
}
.article-body h2{
  font-size: 20px;
  margin: 32px 0 12px;
  color: rgba(255,255,255,.92);
}
.article-body h3{
  font-size: 17px;
  margin: 24px 0 10px;
  color: rgba(255,255,255,.88);
}
.article-body p{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.article-body ul,
.article-body ol{
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.article-body li{ margin: 8px 0; }
.article-body strong{ color: rgba(255,255,255,.88); }

/* Product page */
.portal-grid--detail .portal-card{
  cursor: default;
}
.portal-grid--detail .portal-card:hover{
  transform: none;
}
.cap-list{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.cap-list li{
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.5;
}
.cap-list strong{
  color: rgba(255,255,255,.88);
  font-weight: 600;
}
.workflow-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  counter-reset: workflow;
}
.workflow-list li{
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(11,18,32,.92);
  counter-increment: workflow;
}
@media (min-width: 640px){
  .workflow-list li{
    grid-template-columns: 160px 1fr;
    align-items: baseline;
    gap: 16px;
  }
}
.workflow-list-label{
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.workflow-list-label::before{
  content: counter(workflow) ". ";
  color: var(--teal2);
}
.workflow-list-desc{
  font-size: 14px;
  color: var(--subtle);
}

/* Product page */
.product-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px){
  .product-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.product-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.product-card:hover{
  border-color: rgba(15,159,168,.28);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.product-card--featured{
  border-color: rgba(15,159,168,.32);
  background: linear-gradient(180deg, rgba(15,159,168,.12), rgba(255,255,255,.03));
}
.product-card-icon{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 14px;
  background: rgba(15,159,168,.16);
  border: 1px solid rgba(15,159,168,.30);
}
.product-card--governance .product-card-icon{
  background: rgba(139,92,246,.14);
  border-color: rgba(139,92,246,.30);
}
.product-card-tag{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 8px;
}
.product-card h3{
  font-size: 18px;
  color: rgba(255,255,255,.92);
  margin: 0;
}
.product-card-desc{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--subtle);
  flex: 1;
}
.product-card-link{
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal2);
}
.product-card a.product-card-anchor{
  color: inherit;
}
.product-card a.product-card-anchor:hover h3{ color: var(--teal2); }

.product-detail{
  scroll-margin-top: 88px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.product-detail:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.product-detail-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.product-detail-head h2{
  font-size: clamp(20px, 2vw, 26px);
  margin: 0;
  color: rgba(255,255,255,.92);
}
.product-detail-for{
  font-size: 13px;
  color: var(--subtle);
  margin-top: 4px;
}
.product-detail-shot{
  margin: 0 0 20px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  background: rgba(0,0,0,.25);
  line-height: 0;
}
.product-detail-shot img{
  display: block;
  width: 100%;
  height: auto;
}
.product-detail p{
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.product-features{
  display: grid;
  gap: 10px;
  margin-top: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .product-features{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-feature{
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.product-feature strong{
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.88);
  margin-bottom: 4px;
}
.product-feature span{
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.45;
}

.trust-strip{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.divider{
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.08);
  margin: 18px 0;
}

.metric-row{
  display:grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  align-items: stretch;
}
@media (min-width: 860px){ .metric-row{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.metric{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86px;
  min-width: 0;
}
.metric .n{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
  color: rgba(255,255,255,.92);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric .t{
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  min-height: 30px;
  overflow-wrap: normal;
}

.page-title{
  margin-top: 14px;
}

.cta-split{
  display:grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 860px){ .cta-split{ grid-template-columns: 1.1fr .9fr; } }

.link{
  text-decoration: underline;
  text-decoration-color: rgba(30,214,217,.45);
  text-underline-offset: 3px;
}
.link:hover{ text-decoration-color: rgba(30,214,217,.78); }
.trust-item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.check{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15,159,168,.18);
  border: 1px solid rgba(15,159,168,.35);
  position: relative;
}
.check:after{
  content:"";
  position:absolute;
  inset: 0;
  margin:auto;
  width: 8px;
  height: 5px;
  border-left: 2px solid rgba(255,255,255,.92);
  border-bottom: 2px solid rgba(255,255,255,.92);
  transform: rotate(-45deg) translateY(-1px);
}

/* Feature cards */
.feature{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.feature .title{ display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.feature p{ margin-top: 8px; }
.chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,159,168,.12);
  border: 1px solid rgba(15,159,168,.22);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}

/* Forms */
label{ display:block; font-size: 13px; color: rgba(255,255,255,.78); margin-bottom: 8px; }
input,textarea,select{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus,textarea:focus,select:focus{
  border-color: rgba(30,214,217,.55);
  box-shadow: 0 0 0 4px rgba(15,159,168,.14);
}
.form-grid{ display:grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 860px){ .form-grid{ grid-template-columns: 1fr 1fr; } }
.full{ grid-column: 1 / -1; }
.form-note{ margin-top: 12px; color: var(--subtle); font-size: 12px; }
.toast{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,159,168,.35);
  background: rgba(15,159,168,.12);
  color: rgba(255,255,255,.88);
  display:none;
}
.toast[data-show="true"]{ display:block; }

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
}
.list li{ margin: 8px 0; }

.callout{
  border: 1px solid rgba(30,214,217,.24);
  background: rgba(15,159,168,.10);
  border-radius: 18px;
  padding: 14px;
}

/* Social proof */
.social-proof{
  text-align: center;
}
.social-proof-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.social-proof-badge{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,159,168,.28);
  background: rgba(15,159,168,.08);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
}
.social-proof-quotes{
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 860px){
  .social-proof-quotes{ grid-template-columns: repeat(2, 1fr); }
}
.social-proof-quote{
  text-align: left;
  padding: 20px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.social-proof-quote blockquote{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.55;
}
.social-proof-quote cite{
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--subtle);
}

/* Product screenshots */
.product-shots{
  display: grid;
  gap: 18px;
}
@media (min-width: 860px){
  .product-shots{ grid-template-columns: repeat(2, 1fr); }
}
.product-shot{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.product-shot img{
  display: block;
  width: 100%;
  height: auto;
}
.product-shot figcaption{
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
}
.product-shot strong{
  display: block;
  color: rgba(255,255,255,.88);
  margin-bottom: 4px;
}

.form-embed{
  width: 100%;
  min-height: 980px;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.form-embed iframe{
  display: block;
  width: 100%;
  min-height: 980px;
  border: 0;
  background: transparent;
}
@media (max-width: 720px){
  .form-embed,
  .form-embed iframe{ min-height: 1200px; }
}

.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.4);
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed-poster{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(ellipse at center, rgba(15,159,168,.12), transparent 70%),
    rgba(0,0,0,.55);
}
.video-embed-poster p{
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.form-honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.footer{
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 0;
}
.footer-grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px){
  .footer-grid{ grid-template-columns: 1.3fr .7fr .7fr; align-items:start; }
}
.footer a{ color: rgba(255,255,255,.78); }
.footer a:hover{ color: rgba(255,255,255,.92); }
.footer h3{ font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap: 8px; }

/* Subtle motion (respect reduced motion) */
@media (prefers-reduced-motion: no-preference){
  .hero-graph{ animation: drift 10s ease-in-out infinite; }
  .dot{ animation: pulse 2.8s ease-in-out infinite; }
}
@keyframes drift{
  0%,100%{ transform: translate(0,0) rotate(0deg); opacity: .55; }
  50%{ transform: translate(-10px, 8px) rotate(1deg); opacity: .72; }
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 4px rgba(15,159,168,.12); }
  50%{ box-shadow: 0 0 0 7px rgba(30,214,217,.14); }
}

/* Portal cards & dual-portal UI */
.portal-grid .portal-card{
  display:block;
  padding: 24px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: border-color .15s ease, background .15s ease;
  overflow: hidden;
}
.portal-card-preview{
  margin: -24px -24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  line-height: 0;
}
.portal-card-preview img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.portal-grid .portal-card:hover{
  background: rgba(255,255,255,.05);
}
.portal-grid--minimal{ margin-top: 0; }
.portal-grid--minimal .portal-card > p:not(.portal-team){
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--subtle);
}
.portal-grid--minimal .portal-link{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.portal-builder{ border-color: rgba(15,159,168,.28); }
.portal-builder:hover{ border-color: rgba(15,159,168,.55); }
.portal-governance{ border-color: rgba(139,92,246,.28); }
.portal-governance:hover{ border-color: rgba(139,92,246,.55); }
.portal-icon{
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 14px;
}
.portal-builder .portal-icon{
  background: rgba(15,159,168,.18);
  border: 1px solid rgba(15,159,168,.35);
}
.portal-governance .portal-icon{
  background: rgba(139,92,246,.16);
  border: 1px solid rgba(139,92,246,.35);
}
.portal-card h3{ font-size: 20px; margin: 0; }
.portal-team{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
}
.portal-card > p:last-of-type{
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.portal-link{
  display:inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.workflow-caption{
  text-align: center;
  margin-top: 18px;
  color: var(--subtle);
}

.portal-label{
  display:inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.portal-label-builder{
  background: rgba(15,159,168,.14);
  border: 1px solid rgba(15,159,168,.28);
  color: rgba(255,255,255,.85);
}
.portal-label-governance{
  background: rgba(139,92,246,.14);
  border: 1px solid rgba(139,92,246,.28);
  color: rgba(255,255,255,.85);
}

.chip.violet{
  background: rgba(139,92,246,.14);
  border-color: rgba(139,92,246,.28);
}

.inline-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.9);
}
.mono-list{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: rgba(16,185,129,.9);
}
.mono-list.deny{ color: rgba(248,113,113,.92); }

.demo-steps{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.demo-step{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.demo-step-n{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(15,159,168,.2);
  border: 1px solid rgba(15,159,168,.35);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.workflow-table{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  overflow: hidden;
}
.workflow-row{
  display:grid;
  grid-template-columns: 44px 110px 1fr 1.4fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.75);
  align-items: center;
}
.workflow-row:last-child{ border-bottom: none; }
.workflow-header{
  background: rgba(255,255,255,.05);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.portal-tag{
  display:inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.portal-tag.builder{
  background: rgba(15,159,168,.14);
  border: 1px solid rgba(15,159,168,.25);
  color: rgba(255,255,255,.85);
}
.portal-tag.governance{
  background: rgba(139,92,246,.14);
  border: 1px solid rgba(139,92,246,.25);
  color: rgba(255,255,255,.85);
}
@media (max-width: 720px){
  .workflow-row{
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .workflow-header{ display:none; }
  .workflow-row span:first-child::before{ content: "Step "; font-weight: 700; }
}

