:root {
  color-scheme: light;
  --ink: #172b28;
  --muted: #4f665f;
  --green: #1c5949;
  --deep: #11372f;
  --line: #dbe5dd;
  --soft: #eef5ee;
  --lime: #d2ebb4;
  --white: #fff;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fbfcfa;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 3px solid #4a9f79; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.25rem; }
.shell { width: min(100% - 88px, 1200px); margin: 0 auto; }

.skip-link {
  position: absolute;
  z-index: 3;
  top: .7rem;
  left: .7rem;
  transform: translateY(-200%);
  background: var(--white);
  padding: .6rem 1rem;
  border-radius: .4rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  white-space: nowrap;
  color: var(--deep);
  font-size: 1.6rem;
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1;
}
.brand-mark { width: 31px; height: 31px; position: relative; margin-right: 10px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 3px; }
.brand-mark::before { width: 18px; height: 22px; left: 2px; top: 3px; border: 2px solid #44886b; transform: rotate(-10deg); }
.brand-mark::after { width: 17px; height: 22px; right: 3px; bottom: 3px; background: var(--green); box-shadow: -2px -2px 0 #fff; transform: rotate(10deg); }
.brand-period { color: #53896b; }
.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); font-size: .9375rem; font-weight: 600; }
.site-nav a { text-decoration: none; color: #415d53; }
.site-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .25em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  text-decoration: none;
  white-space: nowrap;
  font-size: .9375rem;
  font-weight: 720;
  line-height: 1.2;
}
.button-outline { background: white; color: var(--green); border-color: #cdded3; }
.button-outline:hover { background: var(--soft); border-color: #99b9a7; }
.button-bright { color: #14312a; background: var(--lime); }
.button-bright:hover { background: #e1f4cf; }
.button-ghost { color: #fff; border-color: #6e9485; background: #ffffff08; }
.button-ghost:hover { background: #ffffff15; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--deep); }

.hero {
  color: #fff;
  overflow: hidden;
  background-color: var(--deep);
  background-image: radial-gradient(ellipse at 78% 15%, #2b5d4a 0, transparent 52%),
                    radial-gradient(ellipse at 100% 100%, #204b3d 0, transparent 55%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.25rem);
  min-height: 575px;
  padding-block: 66px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.3rem;
  font-size: .78rem;
  font-weight: 740;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d5ead6;
}
.kicker span { width: 13px; height: 1px; background: #a9d098; }
.hero h1 {
  max-width: 12.5em;
  font-size: clamp(2.65rem, 4.75vw, 4.72rem);
  font-weight: 750;
  line-height: 1.035;
  letter-spacing: -.073em;
  text-wrap: balance;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { color: #e1ede4; font-size: clamp(1rem, 1.35vw, 1.17rem); line-height: 1.65; max-width: 27em; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-product { isolation: isolate; position: relative; }
.hero-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -39px -13px -34px;
  border: 1px solid #99c4a329;
  border-radius: 25px;
  background: repeating-linear-gradient(90deg, transparent 0 42px, #adcfad11 42px 43px),
              repeating-linear-gradient(0deg, transparent 0 42px, #adcfad11 42px 43px);
  transform: rotate(-3.2deg);
}
.hero-frame { overflow: hidden; border: 1px solid #a2b7a9; border-radius: 14px; background: #edf2ed; box-shadow: 0 28px 65px #071c17a8; }
.frame-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #dae4de;
  background: #fcfdfb;
  padding: 0 12px;
  color: #476459;
  font-size: .79rem;
  font-weight: 670;
}
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b8cbbe; }
.frame-brand { justify-self: end; color: #2c604e; }
.hero-product figcaption { margin-top: .95rem; text-align: center; color: #c7dbcd; font-size: .8125rem; }

.features { background: var(--soft); border-bottom: 1px solid #dce7df; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; align-items: flex-start; gap: 14px; padding: 32px 23px; }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid #d7e3db; }
.feature h2 { font-size: 1rem; font-weight: 740; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.feature-icon { flex: 0 0 37px; height: 37px; border: 1px solid #c8dace; border-radius: .55rem; display: grid; place-items: center; background: #f9fcf8; color: var(--green); }
.feature-icon i { display: block; position: relative; width: 15px; height: 16px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-files::before { content: ""; position: absolute; inset: -5px -5px 2px 2px; border: 1px solid #4d8168; border-radius: 3px; }
.icon-calendar::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1.5px solid currentColor; }
.icon-calendar::after { content: ""; position: absolute; top: 7px; left: 4px; width: 4px; height: 3px; border-radius: 1px; background: currentColor; }
.icon-invoice::before { content: ""; position: absolute; top: 4px; left: 3px; right: 3px; height: 4px; border-block: 1px solid currentColor; }

.product { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section-heading { text-align: center; margin: 0 auto 2rem; }
.section-heading h2, .demo h2 { font-weight: 760; font-size: clamp(2.1rem, 3.65vw, 3.5rem); line-height: 1.12; letter-spacing: -.06em; text-wrap: balance; }
.section-heading p { margin-top: .65rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.tour { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: white; }
.tour-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .6rem; gap: .35rem; background: #f2f7f2; border-bottom: 1px solid var(--line); }
.tour-tabs button {
  min-height: 46px;
  padding: .7rem .55rem;
  border-radius: .5rem;
  border: 1px solid transparent;
  background: transparent;
  color: #426358;
  font-size: .9375rem;
  font-weight: 700;
}
.tour-tabs button:hover { background: #e4efe6; }
.tour-tabs button[aria-selected="true"] { color: var(--deep); border-color: #c9ddcf; background: #fff; box-shadow: 0 1px 3px #223f3020; }
.tour-panel { display: grid; grid-template-columns: minmax(0,.64fr) minmax(0,1.36fr); align-items: center; gap: clamp(1.25rem, 5vw, 4.25rem); padding: clamp(1.35rem, 4vw, 3.1rem); }
.tour-copy h3 { font-size: clamp(1.5rem, 3vw, 2.28rem); letter-spacing: -.045em; line-height: 1.16; text-wrap: balance; }
.tour-copy p { margin-top: .85rem; color: var(--muted); line-height: 1.7; max-width: 28em; }
.tour-visual { min-width: 0; }
.tour-image-button { width: 100%; height: clamp(190px, 29vw, 360px); position: relative; display: grid; place-items: center; padding: .75rem; border-radius: .7rem; background: #f2f6f2; border: 1px solid var(--line); }
.tour-image-button:hover { border-color: #64917b; background: #ebf3ed; }
.tour-image-button img { max-height: 100%; object-fit: contain; min-height: 0; border-radius: .25rem; }
.expand-icon { position: absolute; right: .7rem; bottom: .7rem; width: 32px; height: 32px; border-radius: .35rem; border: 1px solid #bdcfc3; background: white; }
.expand-icon::after { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--green); border-radius: 2px; }
.screenshot-caption { color: var(--muted); font-size: .8125rem; margin-top: .55rem; text-align: center; }

.demo { background: #e7f0e8; border-block: 1px solid #dce7df; }
.demo-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(1.7rem, 7vw, 6.8rem); align-items: center; padding-block: clamp(3rem, 7.5vw, 6rem); }
.demo-copy p { font-size: 1.1rem; color: var(--muted); line-height: 1.65; max-width: 27em; margin-top: 1rem; }
.request-card { border-radius: 1rem; border: 1px solid #d6e3db; background: white; padding: clamp(1.25rem, 3.5vw, 2.1rem); box-shadow: 0 10px 30px #284f3810; }
.request-card h3 { font-size: 1.31rem; letter-spacing: -.028em; margin-bottom: .9rem; }
.request-card label { display: block; color: #314d44; font-size: .9375rem; font-weight: 680; margin: .85rem 0 .3rem; }
.request-card input { width: 100%; min-height: 44px; border-radius: .48rem; border: 1px solid #c4d5ca; color: var(--ink); background: #f9fcf9; padding: .5rem .75rem; }
.request-card form button, .demo-summary button { margin-top: 1rem; }
.form-note { color: var(--muted); font-size: .875rem; line-height: 1.55; margin-top: .75rem; }
.demo-summary h4 { font-size: 1rem; }
.demo-summary dl { border-top: 1px solid var(--line); margin: .8rem 0; }
.demo-summary dl div { display: grid; grid-template-columns: minmax(0, 6.4rem) 1fr; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.demo-summary dt { color: var(--muted); }
.demo-summary dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.footer-inner p, .footer-login { font-size: .875rem; color: var(--muted); }
.footer-login { font-weight: 670; text-underline-offset: 3px; white-space: nowrap; }

dialog { width: min(100% - 2rem, 1080px); max-height: 90dvh; padding: 0; color: var(--ink); border: 1px solid #a8c1b2; border-radius: .85rem; background: #f6f9f5; }
dialog::backdrop { background: #091b15c4; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; padding: .75rem 1rem; gap: 1rem; background: white; border-bottom: 1px solid var(--line); }
.dialog-bar h2 { font-size: 1.125rem; }
dialog img { width: auto; max-width: 100%; max-height: 76dvh; margin: 0 auto; object-fit: contain; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 60px, 1200px); }
  .hero-inner { min-height: 510px; gap: 2rem; }
  .hero-break { display: none; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 630px); }
  .header-inner { flex-wrap: wrap; gap: .55rem 1rem; padding-block: .8rem .55rem; }
  .header-inner .brand { order: 0; }
  .header-inner .login { order: 1; min-height: 42px; }
  .site-nav { order: 2; justify-content: space-between; width: 100%; gap: .4rem; border-top: 1px solid var(--line); padding-top: .45rem; }
  .site-nav a { padding: .5rem 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 2.65rem 2rem; min-height: auto; gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 8.8vw, 4.15rem); }
  .hero-product { margin-inline: .3rem; }
  .hero-product::before { inset: -13px -10px 9px -10px; }
  .feature-grid, .tour-panel, .demo-inner { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 1.1rem 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid #d7e3db; }
  .tour-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-panel { gap: 1.2rem; }
  .tour-image-button { height: clamp(180px, 57vw, 355px); }
  .demo-inner { gap: 1.65rem; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 2; width: 100%; }
}
@media (max-width: 340px) {
  .shell { width: calc(100% - 28px); }
  .site-nav { font-size: .875rem; }
  .button { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
