:root {
  --ink: #172b2a;
  --quiet: #536562;
  --line: #e1e7e2;
  --paper: #fafbf8;
  --guard: #176a59;
  --rescue: #5143a1;
}
html {
  scroll-padding-top: 105px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.skip-link:focus {
  top: 8px;
}
body {
  color: var(--ink);
  background: var(--paper);
}
[hidden] {
  display: none !important;
}
a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #826d24;
  outline-offset: 5px;
}
.site-header {
  background: rgba(250, 251, 248, 0.97);
  border-bottom: 1px solid var(--line);
}
.portfolio-nav {
  max-width: 1240px;
  margin: auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.portfolio-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-symbol {
  border-radius: 9px;
  background: var(--ink);
  color: white;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  letter-spacing: -5px;
  padding-right: 5px;
}
.brand-symbol span,
.brand-dot {
  color: #51866a;
}
.portfolio-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.portfolio-links a,
.portfolio-links button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px 0;
}
.portfolio-links .nav-link-active {
  color: var(--guard);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.product-disclosure {
  position: relative;
}
.product-menu {
  position: absolute;
  top: 48px;
  left: -24px;
  width: 350px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 16px 40px #172b2a18;
}
.product-menu a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border-radius: 8px;
}
.product-menu a:hover {
  background: #f1f5ee;
}
.product-menu span,
.product-menu small {
  font-size: 12px;
  font-weight: 400;
  color: var(--quiet);
}
.mobile-toggle {
  display: none;
}
.portfolio-main {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
}
.company-hero {
  padding: 62px 0 46px;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 50px;
  align-items: end;
}
.company-hero h1 em {
  white-space: nowrap;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  color: var(--quiet);
  text-transform: uppercase;
}
.company-hero h1,
.product-hero h1,
.simple-hero h1 {
  font:
    600 clamp(38px, 4.7vw, 65px)/1.08 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -2px;
  margin: 15px 0 0;
}
.company-hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
}
.company-hero h1 em {
  font-style: normal;
  color: #598169;
}
.hero-note {
  color: var(--quiet);
  font-size: 16px;
  max-width: 370px;
  line-height: 1.8;
  margin-bottom: 5px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.section-heading h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin: 0;
}
.section-heading span {
  font-size: 12px;
  color: var(--quiet);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card-copy {
  padding: 30px 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.product-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--guard);
  color: white;
}
.rescue .product-mark,
.rescue .portfolio-button {
  background: var(--rescue);
}
.availability {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  background: #eaf3ec;
  color: #2e6245;
}
.rescue .availability {
  color: #534481;
  background: #f0edf8;
}
.product-card h2 {
  font-size: 25px;
  letter-spacing: -0.9px;
  margin: 10px 0 12px;
}
.product-card h3 {
  font:
    600 29px/1.22 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 0 0 15px;
  max-width: 380px;
}
.product-card p:not(.eyebrow) {
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.8;
}
.product-card .product-audience {
  font-size: 11px !important;
  margin: auto 0 20px;
  padding-top: 20px;
}
.portfolio-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 12px 18px;
  background: var(--guard);
  color: white !important;
  text-decoration: none;
  font:
    700 13px/1.5 "Manrope",
    "Segoe UI",
    sans-serif;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.portfolio-button:hover {
  filter: brightness(0.92);
}
.portfolio-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.portfolio-button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink) !important;
}
.product-card-image {
  background: #edf3ef;
  padding: 26px 26px 16px;
  margin: 0;
  height: 260px;
}
.rescue .product-card-image {
  background: #efedf6;
}
.product-card-image img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: 0 6px 20px #172b2a13;
}
.product-card-image figcaption {
  color: var(--quiet);
  font-size: 10px;
  text-align: center;
  margin-top: 9px;
}
.company-story {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  padding: 70px 0;
  margin-top: 35px;
  border-bottom: 1px solid var(--line);
}
.company-story h2 {
  font:
    600 34px/1.2 "Fraunces",
    Georgia,
    serif;
  margin: 12px 0;
  letter-spacing: -1px;
}
.company-story p {
  color: var(--quiet);
  line-height: 1.8;
}
.text-link {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 5px;
  font-size: 14px;
}
.portfolio-footer {
  max-width: 1240px;
  margin: auto;
  padding: 60px 32px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 32px;
}
.footer-grid h2 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  margin: 5px 0 20px;
}
.footer-grid p {
  color: var(--quiet);
  font-size: 13px;
}
.footer-grid > div > a:not(.portfolio-brand) {
  display: block;
  font-size: 12px;
  color: var(--quiet);
  margin: 12px 0;
  text-decoration: none;
}
.footer-grid small {
  display: block;
  font-size: 9px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 22px;
  font-size: 10px;
  color: var(--quiet);
}
.product-hero,
.simple-hero {
  padding: 60px 0 44px;
}
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}
.product-hero h1 {
  font-size: clamp(36px, 4vw, 53px);
}
.product-hero p:not(.eyebrow),
.simple-hero p {
  color: var(--quiet);
  max-width: 670px;
  line-height: 1.8;
}
.product-hero figure {
  margin: 0;
  padding: 20px;
  background: #eaf1ec;
  border-radius: 16px;
}
.product-hero img,
.preview-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.product-hero figcaption,
.preview-gallery figcaption {
  color: var(--quiet);
  font-size: 11px;
  margin-top: 12px;
}
.product-section-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.product-section-nav a {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.content-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.content-section h2 {
  font:
    600 34px/1.2 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0 0 22px;
}
.content-section p,
.content-section li {
  color: var(--quiet);
  line-height: 1.8;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.benefit-grid h3 {
  font-size: 17px;
  margin: 10px 0;
}
.benefit-grid p {
  font-size: 14px;
}
.step-number {
  color: var(--guard);
  font-size: 12px;
  font-weight: 800;
}
.preview-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.preview-gallery figure {
  margin: 0;
  padding: 18px;
  background: #efedf6;
  border-radius: 12px;
}
.resource-list {
  display: grid;
  gap: 14px;
}
.resource-list a {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  text-decoration: none;
}
.resource-list small {
  display: block;
  color: var(--quiet);
  padding-top: 5px;
}
.support-choice {
  display: block;
  font: inherit;
  padding: 12px;
  max-width: 100%;
  border: 1px solid #6e7b70;
  border-radius: 7px;
  margin-top: 10px;
  background: white;
}
.signup-section {
  margin: 45px 0;
  padding: 35px;
  background: #eeedf5;
  border-radius: 16px;
}
.signup-section .portfolio-button {
  background: var(--rescue);
}
.portfolio-footer .portfolio-brand {
  gap: 0;
}
.signup-form {
  max-width: 530px;
}
.signup-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.signup-form input {
  font: inherit;
  padding: 13px 14px;
  border: 1px solid #777581;
  border-radius: 8px;
  width: 100%;
  background: white;
}
.signup-controls {
  display: flex;
  gap: 10px;
}
.signup-form input:disabled {
  opacity: 0.7;
}
.captcha-challenge {
  min-height: 0;
}
.signup-form small {
  display: block;
  color: var(--quiet);
  line-height: 1.7;
  margin-top: 12px;
}
.signup-form small a {
  color: var(--ink);
}
.signup-form [role="status"] {
  min-height: 28px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 15px;
}
.signup-form [data-error="true"] {
  color: #942d30;
}
.contact-section {
  max-width: 780px;
}
.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-form legend {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}
.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.contact-field label {
  font-size: 14px;
  font-weight: 700;
}
.contact-field label span {
  color: var(--quiet);
  font-weight: 400;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b42318;
}
.contact-disclosure {
  max-width: 680px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.7;
}
.contact-form [role="status"] {
  min-height: 28px;
  margin: 14px 0;
  color: var(--quiet);
}
.contact-form [role="status"][data-error="true"] {
  color: #942d30;
}
.contact-form [data-contact-unavailable] {
  color: #942d30;
}
.contact-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}
.contact-receipt {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.contact-receipt h3 {
  margin-top: 0;
}
.contact-receipt[hidden],
[data-contact-help][hidden] {
  display: none;
}
.content-section details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.content-section summary {
  font-weight: 700;
  cursor: pointer;
}
.page {
  margin: 40px auto;
  max-width: 1050px;
}
@media (max-width: 780px) {
  .portfolio-nav,
  .portfolio-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mobile-toggle {
    display: block;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 12px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
  }
  .portfolio-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    align-items: stretch;
    gap: 14px;
  }
  .portfolio-links.is-open {
    display: flex;
    flex-direction: column;
  }
  .product-menu {
    position: static;
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }
  .company-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 45px 0 32px;
  }
  .company-hero h1 {
    font-size: 38px;
  }
  .company-hero h1 em {
    white-space: normal;
  }
  .hero-note {
    max-width: 100%;
    font-size: 14px;
  }
  .product-grid,
  .product-hero,
  .company-story,
  .preview-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-card-copy {
    padding: 26px;
  }
  .card-topline {
    margin-bottom: 24px;
  }
  .company-story {
    padding: 40px 0;
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .portfolio-footer {
    padding: 40px 20px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .signup-controls {
    flex-direction: column;
  }
  .signup-section {
    padding: 24px;
  }
  .product-hero {
    padding-top: 35px;
  }
  .section-heading span {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .contact-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.brand-symbol {
  overflow: hidden;
  padding: 0;
  display: block;
  background: transparent;
  flex-shrink: 0;
}
.brand-symbol img {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;
}

/* Product tiles use approved product imagery instead of synthetic activity. */
.product-tile .product-visual {
  display: flex;
  flex-direction: column;
  height: 244px;
  padding: 22px 25px 0;
}

.product-tile .product-visual img {
  width: 100%;
  min-height: 0;
  height: 0;
  flex: 1;
  object-fit: contain;
  border-radius: 7px;
}

.product-tile .product-visual .demo-label {
  position: static;
  margin-top: 7px;
  text-align: center;
}

.resource-catalog-heading p,
.resource-list p,
.resource-context {
  color: var(--quiet);
}

.resource-catalog-heading h2 {
  margin-bottom: 8px;
}

.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-list li[hidden] {
  display: none;
}

.resource-list li a {
  color: var(--ink);
}

.resource-list li h3 {
  margin: 5px 0;
}

.resource-list li p {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .signup-section {
    padding: 24px 18px;
  }

  .signup-controls {
    flex-direction: column;
  }

  .signup-controls .portfolio-button {
    width: 100%;
  }
}
