:root {
  --paper: #f7f5ee;
  --paper-shade: #efeee5;
  --home-ink: #18251f;
  --home-muted: #4c5d52;
  --home-line: #cbd4c5;
  --home-green: #bde994;
  --home-green-hover: #aadb7d;
  --home-focus: #36703e;
}

.is-home {
  background: var(--paper);
  color: var(--home-ink);
  color-scheme: light;
}

.site-head {
  background: var(--paper);
  color: var(--home-ink);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-head .nav { min-height: 62px; height: auto; padding-block: .5rem; border-color: var(--home-line); }
.site-head .nav nav a, .site-head .text-btn { color: var(--home-ink); }
.site-head .nav nav a:hover, .site-head .text-btn:hover { color: #305f34; text-decoration: underline; text-underline-offset: .23em; }
.site-head .nav-actions { gap: clamp(.65rem, 2vw, 1.35rem); }
.site-head .nav-try.button { background: var(--home-green); color: var(--home-ink); }
.site-head .nav-try.button:hover { background: var(--home-green-hover); }
.site-head .nav-download-link { font-size: .875rem; font-weight: 650; }
.site-head .nav a:focus-visible, .site-head .nav button:focus-visible,
.is-home main :is(a, button, summary):focus-visible { outline: 2px solid var(--home-focus); outline-offset: 4px; }
.site-head .menu-toggle { background: transparent; color: var(--home-ink); border-color: var(--home-line); }
.site-head .nav-download, .site-head .nav-try { min-height: 44px; border-radius: .65rem; }
.site-head .mobile-nav-link { display: none; }

.site-announcement, .partner-announcement {
  position: relative;
  justify-content: center;
  background: #203729;
  color: #f0faed;
  padding: .33rem clamp(3.3rem, 7vw, 5rem);
  text-align: center;
}
.site-announcement { display: flex; align-items: center; min-height: 44px; font-size: .875rem; }
.announcement-dismiss {
  position: absolute;
  inset: 50% .3rem auto auto;
  transform: translateY(-50%);
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
}
.announcement-dismiss:hover { background: #ffffff22; }

.is-home main [id] { scroll-margin-top: 5.1rem; }
.home-hero { padding: clamp(2.2rem, 5vw, 5rem) 0 clamp(1.6rem, 4.7vw, 4.3rem); }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(1.5rem, 4.25vw, 4.55rem);
  align-items: center;
}
.home-kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--home-muted);
  font-weight: 650;
  font-size: .86rem;
  line-height: 1.35;
}
.home-hero .home-kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  background: #4b8751;
  border-radius: 100%;
}
.home-hero h1 {
  max-width: 11.5ch;
  margin: .5rem 0 .95rem;
  color: var(--home-ink);
  font-size: clamp(3.05rem, 5.05vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 720;
  text-wrap: balance;
}
.home-custom-heading { margin: 0 0 .45rem; font-weight: 650; }
.home-hero-lead {
  max-width: 39ch;
  color: var(--home-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .65rem;
  margin: 1.3rem 0 .35rem;
}
.is-home .home-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  width: auto;
  padding: .55rem .95rem;
  border: 1px solid var(--home-line);
  border-radius: .68rem;
  line-height: 1.3;
  font-size: .94rem;
  color: var(--home-ink);
  background: var(--paper);
  box-shadow: none;
}
.is-home .home-actions .hero-trial {
  background: var(--home-green);
  border-color: var(--home-green);
}
.is-home .home-actions .hero-trial:hover { background: var(--home-green-hover); border-color: var(--home-green-hover); }
.is-home .home-secondary:hover { border-color: var(--home-focus); background: #fffdf6; }
.home-trial-note { color: var(--home-muted); font-size: .86rem; margin-bottom: .2rem; }
.home-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .4rem;
  color: #2b5d37;
  font-size: .92rem;
  font-weight: 690;
  text-decoration: underline;
  text-underline-offset: .21em;
}
.home-text-link:hover { color: var(--home-ink); }
.home-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 .72rem;
  width: .72rem;
  height: .72rem;
}
.home-arrow::before, .home-arrow::after {
  content: "";
  position: absolute;
}
.home-arrow::before {
  top: .08rem;
  right: .08rem;
  width: .37rem;
  height: .37rem;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
}
.home-arrow::after {
  top: .29rem;
  right: .1rem;
  width: .55rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}
.home-arrow-down { transform: rotate(90deg); }
.home-hero-figure { position: relative; min-width: 0; margin: 0; }
.home-hero-figure picture {
  display: block;
  aspect-ratio: 1.22;
  overflow: hidden;
  border-radius: 1.5rem 1.5rem .45rem 1.5rem;
  background: #dbd3bf;
}
.home-hero-figure picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-example-bar { display: flex; align-items: center; gap: .42rem; margin-bottom: .5rem; }
.home-example-bar span {
  border-radius: .3rem;
  background: #304d40;
  color: #e1f4db;
  padding: .04rem .38rem;
  font-size: .78rem;
}
.home-example-result strong { color: #cdeeb9; font-size: .79rem; }
.home-example-result p { margin: .18rem 0 0; }

.home-platforms { border-block: 1px solid var(--home-line); background: var(--paper-shade); }
.home-platform-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .23rem 1rem; padding-block: .62rem; }
.home-platform-inner > strong { font-size: .91rem; }
.home-platform-list { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin-inline: auto; }
.home-platform-list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .34rem .68rem;
  border: 1px solid var(--home-line);
  border-radius: .52rem;
  background: #fffdf7;
  font-weight: 630;
  font-size: .84rem;
  line-height: 1.25;
}
.home-platform-list a:hover { border-color: var(--home-focus); background: #edf7e8; }
.home-platform-guides { display: flex; flex-wrap: wrap; gap: .15rem .9rem; }
.home-platform-guides a { font-size: .84rem; }

.home-section { padding-block: clamp(2.5rem, 5.2vw, 4.8rem); }
.home-section + .home-section { padding-top: 0; }
.home-section h2, .home-closing h2, .is-home .fc-public-demo h2 {
  margin: 0 0 .38rem;
  color: var(--home-ink);
  font-weight: 710;
  font-size: clamp(2rem, 3.9vw, 3.48rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.home-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .15rem 1rem; margin-bottom: .9rem; }
.home-example-tabs { display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: .65rem; }
.home-example-tabs button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid var(--home-line);
  border-radius: .5rem;
  background: transparent;
  color: var(--home-ink);
  line-height: 1.3;
  text-align: left;
  font-size: .9rem;
  font-weight: 680;
}
.home-example-tabs button[aria-selected="true"] { background: #284636; border-color: #284636; color: #f5fff1; }
.home-example-tabs button:hover:not([aria-selected="true"]) { border-color: var(--home-focus); }
.home-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(.85rem, 3.5vw, 3.1rem);
  align-items: center;
  margin-bottom: .6rem;
  padding: clamp(1rem, 3.35vw, 3.1rem);
  border-radius: 1.05rem;
  background: #e7efdd;
}
.home-example.technical { background: #eee7dc; }
.home-example.meetings { background: #e0ece8; }
.home-example-copy h3 {
  max-width: 17ch;
  margin: .45rem 0;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.11;
  letter-spacing: -.045em;
}
.home-example-copy > p:not(.home-kicker) { max-width: 40ch; color: var(--home-muted); }
.home-example-ui {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #354942;
  border-radius: .7rem;
  background: #18251f;
  color: #f2f7ee;
  font-size: .96rem;
  line-height: 1.5;
}
.home-example-bar { margin: 0; padding: .6rem .75rem; background: #253a30; border-bottom: 1px solid #46594e; }
.home-example-body { padding: .78rem .8rem .4rem; }
.home-example-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: .53rem;
  margin: 0 0 .48rem;
  background: #2e382f;
  border-radius: .4rem;
  color: #edf4e7;
  font-size: .84rem;
  line-height: 1.45;
}
.home-example-body > p { font-weight: 650; margin: 0 0 .46rem; }
.home-example-result { padding: .49rem .65rem; border: 1px solid #42624e; border-radius: .46rem; background: #263d31; }
.home-example-ui figcaption { padding: 0 .8rem .65rem; color: #cad9cc; font-size: .79rem; }
.home-example[data-enter] .home-example-result { animation: answer-enter .28s ease-out both; }
@keyframes answer-enter { from { opacity: .42; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .home-example[data-enter] .home-example-result { animation: none; } }

.home-walkthrough { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1rem clamp(1.3rem, 5vw, 4.3rem); align-items: center; }
.home-walkthrough h2 { max-width: 16ch; }
.home-walkthrough p { max-width: 38ch; color: var(--home-muted); }
.home-walkthrough .home-compatibility-note { margin-top: .7rem; font-size: .88rem; }
.home-walkthrough figure { margin: 0; min-width: 0; }
.home-walkthrough video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1e3128; border-radius: .85rem; }
.home-walkthrough figcaption, .home-walkthrough details { color: var(--home-muted); font-size: .85rem; margin-top: .4rem; }
.home-walkthrough summary { cursor: pointer; min-height: 44px; padding-block: .6rem; text-decoration: underline; text-underline-offset: .2em; }
.home-walkthrough ol { margin: 0; padding-inline-start: 1.25rem; }

.is-home .fc-public-demo { background: #172b25; color: #f5fafa; padding: clamp(1.8rem, 5vw, 3.4rem) 0; color-scheme: dark; }
.is-home .fc-public-demo h2 { color: #f5fafa; max-width: 17ch; }
.is-home .fc-public-demo .fc-demo-card { border-color: #4b675d; background: #1e342e; }
.is-home .fc-public-demo textarea { background: #152820; border-color: #739184; }
.is-home .fc-public-demo .button { background: var(--home-green); color: var(--home-ink); }
.is-home .fc-public-demo .fc-demo-purposes button[aria-pressed="true"] { background: #dcefd4; color: var(--home-ink); }
.is-home .fc-public-demo :focus-visible { outline-color: var(--home-green); }

.home-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem clamp(1.3rem, 4vw, 3.1rem); }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  min-height: 48px;
  padding: .65rem 1.65rem .65rem 0;
  font-weight: 680;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; position: absolute; right: .13rem; font-size: 1.13rem; color: var(--home-muted); }
.home-faq details[open] > summary::after { content: "−"; }
.home-faq details p { margin-bottom: .7rem; color: var(--home-muted); }
.home-faq details a { text-decoration: underline; text-underline-offset: .17em; }
.home-faq-extra h3 { font-size: .95rem; margin-bottom: .1rem; }

.home-closing { padding: clamp(2rem, 4vw, 3.7rem) 0; background: #dfeecf; }
.home-closing p { color: var(--home-muted); }
.home-closing .home-actions { margin: .8rem 0 0; }

.site-footer { background: #15231e; color: #f2f7ee; color-scheme: dark; }
.site-footer .footer { --text: #f2f7ee; --muted: #c5d7ca; --line: #42574d; --panel: #263a31; --violet: #cde6be; padding-top: 1.6rem; }
.site-footer .footer-note { color: var(--muted); }

@media (max-width: 940px) {
  .home-hero-grid { gap: 1rem 1.8rem; }
  .home-hero h1 { font-size: clamp(2.6rem, 5.75vw, 3.6rem); }
}
@media (max-width: 850px) {
  .site-head #main-nav {
    background: var(--paper);
    color: var(--home-ink);
    border-color: var(--home-line);
    box-shadow: 0 8px 20px #18251f17;
  }
  .site-head .nav nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .6rem; }
  .site-head .nav nav a { display: flex; align-items: center; min-height: 44px; padding-inline: .5rem; border-radius: .4rem; }
  .site-head .nav nav a:is(:focus-visible, :hover) { background: #e7efdd; }
  .site-head .menu-toggle {
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--home-line);
    border-radius: .65rem;
    padding-inline: .67rem;
  }
  .site-head .menu-toggle[aria-expanded="true"] { background: #e7efdd; }
  .site-head .mobile-nav-link { display: flex; }
  .site-head .nav nav .mobile-nav-link { display: flex; }
  .site-head .nav-actions .nav-download-link { display: none; }
}
@media (max-width: 720px) {
  .home-hero, .home-section { padding-block: 1.8rem; }
  .home-hero-grid, .home-example, .home-walkthrough, .home-faq { grid-template-columns: minmax(0, 1fr); }
  .home-hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 8.8vw, 3.55rem); text-wrap: wrap; margin-bottom: .65rem; }
  .home-hero-figure picture { aspect-ratio: 1.55; border-radius: .95rem; }
  .home-actions { margin-top: .9rem; }
  .home-platform-inner { gap: .28rem .7rem; }
  .home-platform-list { flex-basis: 100%; margin: 0; gap: .3rem; }
  .home-platform-list a { min-height: 44px; padding: .3rem .48rem; }
  .home-example-tabs { flex-wrap: nowrap; }
  .home-example-tabs button { flex: 1 1 0; padding-inline: .44rem; font-size: .82rem; }
}
@media (max-width: 540px) {
  .is-home .wrap, .site-head .wrap, .site-footer .wrap { width: calc(100% - 32px); }
  .site-head .nav { gap: .38rem; }
  .site-head .brand { gap: .3rem; font-size: 1.3rem; }
  .site-head .brand img { width: 29px; height: 29px; }
  .site-head .nav-try.button { font-size: .78rem; padding: .45rem .58rem; }
  .site-head .menu-toggle { font-size: .84rem; padding-inline: .48rem; }
  .is-home .home-actions .button { padding-inline: .62rem; font-size: .86rem; }
  .home-hero { padding-top: 1.35rem; }
  .site-footer .footer { padding-top: .9rem; }
}
