/* Pinnacle Apps v10 */

:root {
  --ink: #111111;
  --muted: #5f6368;
  --line: #e8e8e8;
  --wash: #f7f7f7;
  --paper: #ffffff;
  --green-btn: #167300;
  --icon: #374151;
  --tile-bg: #f3f4f6;
  --max: 1080px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  border-radius: 6px;
}
.skip:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.logo img {
  height: 38px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nav a.quiet { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--green-btn);
  color: #fff !important;
  border-color: var(--green-btn);
}
.btn-primary:hover { background: #145f00; border-color: #145f00; color: #fff !important; }
.btn-secondary {
  background: #fff;
  color: var(--ink) !important;
  border-color: #d4d4d4;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--wash); }
.btn-dark {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink);
}
.btn-dark:hover { background: #333; border-color: #333; color: #fff !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.intro {
  padding: 72px 24px 28px;
}
.intro h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.intro .sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.section { padding: 36px 24px 20px; }
.section h2 {
  margin: 0 0 20px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section.foot-cta {
  padding: 48px 24px 72px;
}
.more-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.more-line a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.block-body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more-action {
  margin: 16px 0 0;
  display: flex;
}
.btn-contact {
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn-contact:hover,
.btn-contact:focus-visible {
  background-color: rgba(32, 164, 0, 0.1);
  border-color: rgba(32, 164, 0, 0.4);
  box-shadow: 0 4px 14px rgba(32, 164, 0, 0.14);
  color: var(--ink) !important;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px;
  margin: -8px;
}
.grid.left {
  justify-items: stretch;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
  background: #fff;
  min-height: 100%;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.tile:hover,
.tile:focus-visible {
  text-decoration: none;
  color: inherit;
  background-color: rgba(32, 164, 0, 0.1);
  border-color: rgba(32, 164, 0, 0.4);
  box-shadow: 0 8px 22px rgba(32, 164, 0, 0.14), 0 2px 4px rgba(17, 17, 17, 0.05);
  transform: translateY(-2px);
}
.tile h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tile p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--icon);
  background: var(--tile-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}
.tile .go {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.tile .go::after {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.28em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: margin-left 0.18s ease, transform 0.18s ease;
  position: relative;
  top: -1px;
}
.tile:hover .go,
.tile:focus-visible .go {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tile:hover .go::after,
.tile:focus-visible .go::after {
  margin-left: 0.5em;
}
@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  }
  .tile:hover,
  .tile:focus-visible {
    transform: none;
  }
  .tile .go::after,
  .tile:hover .go::after,
  .tile:focus-visible .go::after {
    transition: none;
    margin-left: 0.28em;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 32px;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: baseline;
}
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.preview-note { color: #9aa0a6; font-size: 0.8rem; }


.section-note {
  margin: -8px 0 16px;
  color: var(--muted);
  max-width: 40rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.chip {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tile.is-off { display: none; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tile-bg);
  color: var(--icon);
  flex: 0 0 auto;
}
.icon-tile svg {
  width: 24px;
  height: 24px;
  display: block;
}
.tile .icon-tile { margin-bottom: 12px; }

.title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.title-row h1 { margin: 0; }

/* Product */
.product-top {
  padding: 40px 24px 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px 56px;
  align-items: start;
}
.crumb {
  margin: 0 0 22px;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.product-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.product-copy .tags { margin-bottom: 14px; }
.product-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.demo-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  overflow: hidden;
}
.demo-frame video,
.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.block {
  padding: 0 24px 88px;
}
.product-top + .block {
  padding-top: 72px;
}
.block-rule {
  position: relative;
  height: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 32px;
}
.block-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}
.block-grid {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}
.block h2 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.block-body {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.block-body p { margin: 0; }
.block-body .tags { margin: 0 0 14px; }
.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.item-list li {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.item-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.item-list li:last-child { padding-bottom: 22px; }
.item-note {
  margin: 8px 0 0;
  color: var(--muted);
}
.related-list { display: flex; flex-direction: column; }
.related-row {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none !important;
  color: inherit;
}
.related-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.related-row:last-child { padding-bottom: 0; }
.related-name {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.35;
}
.related-desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.5;
}
.related-row .tags { margin: 10px 0 0; }
.related-row:hover .related-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Contact */
.contact {
  padding: 48px 24px 80px;
}
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.contact .lead {
  margin: 0 0 28px;
  color: var(--muted);
}
form {
  display: grid;
  gap: 16px;
}
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.choice input { accent-color: #20a400; }
.choice label:hover,
.choice label:has(input:checked) {
  background-color: rgba(32, 164, 0, 0.1);
  border-color: rgba(32, 164, 0, 0.4);
  box-shadow: 0 4px 14px rgba(32, 164, 0, 0.14);
}
.choice label:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
label .name, .field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.when-fields.hidden { display: none; }
.field-hint {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-note {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-success {
  display: none;
  background: #f1faf0;
  border: 1px solid #cde8c8;
  color: #145014;
  border-radius: 10px;
  padding: 12px 14px;
}
.form-success.show { display: block; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .header-inner { padding: 10px 16px; gap: 12px; }
  .logo img { height: 34px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { padding: 7px 12px; font-size: 13px; white-space: nowrap; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
  .nav .btn { width: 100%; }
  .grid, .two, .choice { grid-template-columns: 1fr; }
  .intro { padding: 44px 16px 16px; }
  .section, .section.foot-cta, .product-top, .block, .contact { padding-left: 16px; padding-right: 16px; }
  .block-grid { grid-template-columns: 1fr; gap: 14px; }
  .block-body { max-width: none; }
  .block h2 { font-size: 1.55rem; }
}

@media (max-width: 420px) {
  .logo img { height: 30px; }
  .header-inner { padding: 10px 12px; gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 7px 10px; font-size: 13px; }
  .nav-toggle { padding: 7px 9px; }
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.simple {
  padding: 72px 24px 80px;
}
.simple-inner { max-width: 36rem; }
.simple h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.simple p { margin: 0 0 16px; color: var(--muted); }
.simple .btn-row { margin-top: 8px; }
