:root {
  --public-ink: #203e2e;
  --public-copy: #506357;
  --public-line: #dce4da;
  --public-card: #fff;
}

.marketing-header {
  position: sticky;
  top: 12px;
  z-index: 6;
  width: min(1120px, calc(100% - 40px));
  margin: 14px auto 0;
}
.marketing-nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 7px 9px 7px 13px;
  border: 1px solid #dbe5dc;
  border-radius: 999px;
  background: #fffffc;
  box-shadow: 0 1px 2px #1738260a, 0 9px 24px -12px #17382654;
}
.marketing-nav-auth { grid-template-columns: 1fr auto; }
.marketing-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  min-height: 44px;
}
.marketing-nav .marketing-brand { margin-left: 5px; }
.marketing-brand .sojig-wordmark { display: block; width: 112px; height: auto; }
.marketing-links, .marketing-account {
  display: flex;
  align-items: center;
  gap: 5px;
}
.marketing-links {
  padding: 3px;
  border-radius: 999px;
  background: #eef3ec;
}
.marketing-account { justify-self: end; gap: 8px; white-space: nowrap; }
.marketing-links > a, .marketing-signin, .features-menu summary, .compact-navigation summary {
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--public-ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.marketing-links > a:hover, .features-menu summary:hover, .features-menu[open] summary {
  background: #fff;
}
.marketing-links > a:is([aria-current="page"], .active-section), .features-menu summary.active-section {
  background: #fff;
  box-shadow: 0 1px 2px #17382614;
}
.marketing-signin { border: 1px solid #d8e4d9; }
.marketing-signin:hover, .compact-navigation summary:hover, .compact-navigation[open] summary { background: #eaf1e9; }
.marketing-account .button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
}
.marketing-home .button, .marketing-page .button, .marketing-account .button, .login-shell .button, .google-signin, .preview-play {
  border-radius: 999px;
}
.marketing-header .button:hover { transform: none; background: #1e3c2c; }
.features-menu { position: relative; }
.features-menu summary, .compact-navigation summary { list-style: none; cursor: pointer; }
.features-menu summary::-webkit-details-marker, .compact-navigation summary::-webkit-details-marker { display: none; }
.features-menu summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  margin: -3px 2px 0;
}
.features-menu[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  border: 1px solid #dbe5dc;
  border-radius: 19px;
  background: #fffffc;
  box-shadow: 0 14px 34px -14px #17382666;
  padding: 8px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.feature-menu-panel { left: 0; width: 260px; display: grid; gap: 2px; }
.nav-panel a {
  display: flex;
  min-height: 44px;
  padding: 8px 12px;
  align-items: center;
  justify-content: flex-start;
  border-radius: 999px;
  font-size: 15px;
}
.nav-panel a:is(:hover, :focus-visible, [aria-current="page"], .active-section) { background: #edf3eb; }
.feature-menu-panel .feature-index-link { font-weight: 700; }
.compact-navigation { display: none; }
.compact-navigation summary {
  width: 44px;
  padding: 0;
  border: 1px solid #d8e4d9;
  background: #f3f6f1;
}
.compact-menu-icon, .compact-menu-icon::before, .compact-menu-icon::after {
  position: relative;
  height: 2px;
  width: 17px;
  border-radius: 2px;
  background: currentColor;
}
.compact-menu-icon::before, .compact-menu-icon::after { content: ''; position: absolute; left: 0; }
.compact-menu-icon::before { top: -5px; }
.compact-menu-icon::after { top: 5px; }
.compact-navigation[open] .compact-menu-icon { background: transparent; }
.compact-navigation[open] .compact-menu-icon::before { top: 0; transform: rotate(45deg); }
.compact-navigation[open] .compact-menu-icon::after { top: 0; transform: rotate(-45deg); }
.compact-menu-panel { inset-inline: 0; display: grid; gap: 3px; }
.compact-menu-panel .marketing-signin { border: 0; margin-top: 4px; background: #f3f6f1; }

.marketing-home .hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); }
.hero-demo-link, .resource-index-link, .publishing-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.marketing-home .hero .hero-actions { flex-wrap: wrap; }
.marketing-home .fit-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 28px;
  border-block: 1px solid var(--public-line);
}
.fit-section h2 { margin-top: 0; }
.fit-section p { max-width: 61ch; margin-bottom: 0; color: var(--public-copy); }
.fit-section ul { margin: 0; padding-inline-start: 1.5em; line-height: 1.65; }
.fit-section li + li { margin-top: 9px; }
.home-discovery .editorial-cards { margin-top: 28px; }
.resource-index-link { gap: 8px; margin-top: 18px; font-weight: 600; }
.site-conversion { max-width: 1170px; margin-inline: auto; width: calc(100% - 44px); }
.site-conversion h2 { margin-top: 0; }
.site-conversion p { max-width: 58ch; margin-inline: auto; }
.site-conversion small { display: block; margin-top: 14px; color: #dce8db; font-size: 14px; }

.marketing-footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  color: var(--public-copy);
}
.marketing-footer .footer-site { margin: 0; display: block; font-size: 15px; }
.marketing-footer .footer-site p { margin-top: 8px; }
.marketing-footer nav { display: grid; justify-items: start; gap: 7px; font-size: 15px; }
.marketing-footer nav a { display: inline-flex; min-height: 28px; align-items: center; }
.marketing-footer a:hover { text-decoration: underline; }
.marketing-footer strong { color: var(--public-ink); }
.marketing-footer small { grid-column: 1 / -1; color: var(--public-copy); }

.marketing-page .editorial-header { margin: 28px 0 36px; }
.marketing-page .editorial-header h1 { margin-top: 10px; line-height: 1.13; text-wrap: balance; }
.marketing-page .editorial-header .page-description { max-width: 65ch; }
.marketing-page .pricing-page .page-description { margin-inline: auto; }
.editorial-index { max-width: 1130px; }
.editorial-detail { max-width: 950px; }
.page-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}
.page-crumbs li + li::before { content: '/'; margin-right: 10px; color: #667969; }
.page-trial { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.page-trial span, .article-byline { color: var(--public-copy); font-size: 15px; }
.editorial-label {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--public-copy);
  font-size: 13px;
  font-weight: 600;
}

.editorial-prose { max-width: 69ch; }
.editorial-prose section { padding-top: 24px; border-top: 1px solid var(--public-line); }
.editorial-prose li + li { margin-top: 7px; }
.destination-list { list-style: none; padding: 0; }
.destination-list li { padding-block: 11px; border-bottom: 1px solid var(--public-line); }
.destination-list p { margin: 4px 0 0; }
.editorial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 16px;
}
.editorial-card { padding: 20px; border: 1px solid var(--public-line); border-radius: 12px; background: var(--public-card); }
.editorial-card h3 { font-size: 20px; margin: 0; line-height: 1.35; }
.editorial-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--public-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editorial-card p:not(.editorial-label) { font-size: 16px; margin: 4px 0 0; line-height: 1.6; color: var(--public-copy); }

@media (max-width: 820px) {
  html { scroll-padding-top: 86px; }
  .marketing-header { top: 8px; width: calc(100% - 24px); margin-top: 9px; }
  .marketing-nav { grid-template-columns: 1fr auto; padding: 5px 6px 5px 10px; gap: 6px; min-height: 56px; }
  .marketing-links, .marketing-desktop-signin { display: none; }
  .compact-navigation { display: block; }
  .marketing-account { gap: 6px; }
  .marketing-account .button { padding-inline: 12px; font-size: 14px; }
  .marketing-nav .marketing-brand { margin-left: 1px; font-size: 22px; }
  .marketing-brand .sojig-wordmark { width: 90px; }
}

@media (max-width: 760px) {
  .marketing-home .fit-section { grid-template-columns: 1fr; gap: 18px; }
  .marketing-home .hero .hero-actions { flex-direction: row; justify-content: center; }
  .marketing-footer { grid-template-columns: repeat(2, 1fr); }
  .marketing-footer nav a { min-height: 38px; }
}

@media (max-width: 345px) {
  .marketing-header { width: calc(100% - 16px); }
  .marketing-account .button { padding-inline: 10px; }
}

/* Product walkthroughs and reference images */
.product-media {
  max-width: 768px;
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid var(--public-line);
  border-radius: 14px;
  background: var(--public-card);
}
.product-media video, .product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  background: #e7eee2;
}
.product-media figcaption {
  padding: 13px 16px;
  color: var(--public-copy);
  font-size: 15px;
  line-height: 1.55;
}
.product-media figcaption strong { color: var(--public-ink); }
.product-media.hero-media { width: min(100%, 560px); margin: 0 auto; min-width: 0; }
.product-media a { text-underline-offset: 4px; text-decoration: underline; }
.editorial-card .editorial-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  background: #e7eee2;
  margin-bottom: 10px;
  border-radius: 8px;
}
.editorial-detail > .product-media { margin-inline: 0; }
@media (max-width: 600px) {
  .product-media { border-radius: 10px; }
  .product-media figcaption { font-size: 14px; }
}
.product-player { position: relative; }
.preview-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #f8f9f3;
  color: #fff;
  background: #305740;
  cursor: pointer;
}
.preview-play::before {
  content: '';
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.preview-play:hover { background: #213e2e; }

.full-walkthrough video { aspect-ratio: 16 / 9; background: #112e25; }
.full-walkthrough .preview-play {
  right: auto;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  padding-inline: 18px;
  font: 600 15px/1.25 'Google Sans', sans-serif;
  background: #163c2e;
  box-shadow: 0 6px 18px #0d271d45;
}
.full-walkthrough .preview-play:hover { background: #0c2b20; }
.full-walkthrough figcaption, .walkthrough-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.walkthrough-next[hidden] { display: none; }
.walkthrough-next { background: #edf4e7; border-top: 1px solid var(--public-line); padding: 14px 16px; }
.walkthrough-next p { margin: 4px 0 0; font-size: 14px; color: var(--public-copy); }
.walkthrough-next .button { text-decoration: none; }

.growth-fit { max-width: 65ch; font-size: 16px; }
.growth-example, .growth-tool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.growth-example > div { padding: 17px; border: 1px solid var(--public-line); border-radius: 12px; background: #fff; }
.growth-example h3, .growth-steps h3 { margin: 0; }
.funnel-page .funnel-prose { margin-block: 24px; }
.funnel-page .funnel-mode { margin: 0 0 12px; color: var(--public-copy); font-weight: 600; }
.funnel-choices dt { margin-top: 14px; font-weight: 650; }
.funnel-choices dd { margin: 4px 0 0; }
.funnel-matrix caption { padding: 8px 0; color: var(--public-copy); text-align: left; }
.trust-facts dt { margin-top: 16px; font-weight: 650; }
.trust-facts dd { margin: 3px 0 0; color: var(--public-copy); }
.trust-page table caption { padding: 8px 0; color: var(--public-copy); text-align: left; }
.trust-return { margin-top: 32px; }

@media print {
  body:has(.trust-page) :is(.marketing-header, .marketing-footer, .page-crumbs, .consent-banner, .site-skip) { display: none; }
  body:has(.trust-page) .trust-page { padding: 0; }
  .trust-page h2 { break-after: avoid; }
  .trust-page .table-wrap { overflow: visible; }
}
.tool-example pre { margin-bottom: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.growth-example blockquote { margin: 10px 0 0; font-size: 16px; }
.growth-example p:last-child { margin-bottom: 0; }
.growth-steps { padding-inline-start: 25px; }
.growth-steps p { margin-top: 6px; }
.growth-faq details { border-bottom: 1px solid var(--public-line); padding: 10px 0; }
.growth-faq summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 600; }
.growth-tool form { display: flex; flex-direction: column; gap: 12px; }
.growth-tool .demo-panel-heading { margin: 0; }
.growth-tool .demo-link { min-height: 44px; }
.growth-tool textarea { min-height: 175px; }
.growth-tool #tool-draft { min-height: 240px; }
.growth-tool .growth-privacy { margin: 0; font-size: 15px; line-height: 1.6; }
.growth-tool #tool-count { font-size: 14px; color: var(--public-copy); }
.growth-tool form .button { align-self: flex-start; }
.growth-tool .tool-output { background: #eef4eb; }
.growth-tool [hidden] { display: none !important; }
.sales-planner { align-items: start; }
.sales-planner fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.sales-planner legend { font-weight: 650; }
.sales-planner #plan-select { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--public-line); }
.sales-planner #plan-options { display: grid; gap: 8px; }
.sales-planner #plan-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 2px 10px;
  padding: 10px 12px;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.sales-planner #plan-options input { margin: 4px 0; width: 18px; height: 18px; accent-color: #1f513a; }
.sales-planner #plan-options small { grid-column: 2; color: var(--public-copy); }
.sales-planner .planner-status { margin: 0; font-size: 15px; color: var(--public-copy); }
.sales-planner .planner-status:empty { display: none; }
.sales-planner #plan-status:not(:empty) { margin-top: 12px; }
.sales-planner #plan-weeks { display: grid; gap: 12px; margin-bottom: 16px; }
.sales-planner #plan-weeks section { padding: 16px; background: #fff; border: 1px solid var(--public-line); border-radius: 10px; }
.sales-planner #plan-weeks h3 { margin: 0 0 6px; }
.sales-planner #plan-weeks label { display: block; margin-top: 10px; }
.sales-planner #plan-weeks :is(select, textarea) { display: block; margin-top: 4px; }
.sales-planner #plan-weeks textarea { min-height: 104px; line-height: 1.5; }
.sales-planner .plan-source { margin: 0; overflow-wrap: anywhere; }

@media (min-width: 821px) and (max-width: 880px) {
  .marketing-nav { gap: 9px; }
  .marketing-links > a, .features-menu summary { padding-inline: 10px; }
}
.contextual-cta { margin: 30px 0; }
@media (max-width: 700px) {
  .growth-tool, .growth-example { grid-template-columns: 1fr; }
  .growth-tool .demo-panel { padding: 17px; }
}

.login-email-options { display: grid; gap: 12px; margin: 20px 0 18px; }
.login-shell .google-signin[hidden] { display: none; }
.login-email-options .login-divider { margin: 0 0 4px; }
.login-shell .login-email-button { display: flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; }
.login-shell .login-secondary { color: #294a38; background: white; border: 1px solid #adbdad; }
.login-shell .login-secondary:hover { background: #edf3eb; }
.login-reset { justify-self: center; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.login-message { background: #fff4df; border: 1px solid #e9cf99; color: #583910; padding: 12px; border-radius: 10px; }
.sojig-email-form form { display: grid; gap: 16px; margin: 25px 0; }
.sojig-email-form form button { margin: 0; min-height: 48px; }
.sojig-email-form nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.sojig-email-form nav a { padding: 5px 0; text-decoration: underline; text-underline-offset: 3px; }
.sojig-email-form .login-success { background: #edf3eb; border-color: #bdcfbc; color: #294a38; }

.content-tool-directory { display: grid; gap: 30px; }
.tool-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.tool-filter p { grid-column: 1 / -1; margin: 0; }
.tool-filter label, .content-tool-field label, .content-tool-output-text label { display: block; font-weight: 650; margin-bottom: 8px; }
.tool-filter input, .tool-filter select, .content-tool-field input, .content-tool-field select { width: 100%; min-height: 46px; border: 1px solid #bacdbb; border-radius: 8px; padding: 8px 12px; background: #fff; color: #203629; font: inherit; }
.tool-filter[hidden], .tool-directory-group[hidden], .content-tool-card[hidden], .free-content-tool [hidden] { display: none !important; }
.tool-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-shortcuts a { display: inline-block; padding: 8px 13px; border: 1px solid #bdcfbf; border-radius: 999px; }
.tool-shortcuts a:hover { background: #e7efe6; }
.tool-directory-group { scroll-margin-top: 125px; }
.content-tool-workbench .demo-panel { min-width: 0; align-self: start; }
.content-tool-workbench .demo-panel-heading h2 { margin: 0; }
.content-tool-field { margin: 14px 0; }
.content-tool-field textarea, .content-tool-output-text textarea { width: 100%; }
.content-tool-field input[type=file] { max-width: 100%; }
.content-tool-status { overflow-wrap: anywhere; }
.content-tool-status.tool-error { color: #8c2727; }
.content-tool-links a, .tool-shortcuts a:focus-visible { text-decoration: underline; }
.content-tool-preview-card { padding: 14px; border: 1px solid #d6e2d7; border-radius: 10px; margin-bottom: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.content-tool-preview-card h3, .content-tool-preview-card p { margin: 0 0 8px; }
.content-tool-visual canvas { margin: 8px auto; display: block; max-width: 100%; max-height: 540px; object-fit: contain; }
@media (max-width: 620px) { .tool-filter { grid-template-columns: 1fr; } }
