:root {
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  color: #1b3035;
  background: #f8fbfb;
  --ink: #1b3035;
  --deep: #17292d;
  --muted: #496166;
  --primary: #006b73;
  --accent: #075d65;
  --light: #e5f4f3;
  --border: #d5e4e5;
  --white: #fff;
  --shell: 1192px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
main section[id] { scroll-margin-top: 82px; }
.wrap { width: min(var(--shell), calc(100% - 88px)); margin-inline: auto; }
.skip { z-index: 12; position: fixed; top: 12px; left: 12px; background: white; padding: 10px 16px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; background: #f8fbfbf5; border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.header-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 1.22rem; letter-spacing: -.04em; white-space: nowrap; }
.brand img { flex: none; }
.nav-main { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 43px); }
.nav-main a, .site-footer a { font-weight: 600; }
.nav-main a { color: var(--muted); font-size: .94rem; }
.nav-main a:hover, .site-footer a:hover { color: var(--primary); }
.languages { display: flex; gap: 1px; padding: 3px; background: #edf4f4; border: 1px solid var(--border); border-radius: 8px; }
.languages a { padding: 4px 8px; border-radius: 5px; font-weight: 650; font-size: .875rem; color: var(--muted); }
.languages a[aria-current="true"] { color: var(--accent); background: white; box-shadow: 0 1px 2px #17292d18; }

.hero {
  padding: clamp(62px, 7vw, 101px) 0 39px;
  background:
    linear-gradient(180deg, #f5f9f9 4%, #f5f9f9a7 55%, #f8fbfb 100%),
    linear-gradient(#075d650d 1px, transparent 1px), linear-gradient(90deg, #075d650d 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  background-position: center;
}
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .035em; color: var(--accent); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-eyebrow svg { width: 17px; height: 17px; }
.hero-copy { display: grid; grid-template-columns: 1fr minmax(285px, 370px); gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); line-height: .99; letter-spacing: -.075em; font-weight: 720; }
.hero h1 span { display: block; }
.hero-accent { color: var(--primary); }
.hero-summary { padding-bottom: 5px; }
.hero-summary p { font-size: clamp(1.04rem, 1.6vw, 1.25rem); color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.button { padding: 10px 16px; font-size: .94rem; font-weight: 650; border-radius: 7px; display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
.button.primary { color: white; background: var(--accent); border: 1px solid var(--accent); }
.button.primary:hover { background: var(--deep); border-color: var(--deep); }
.button.secondary { background: #fff; border: 1px solid var(--border); }
.button.secondary:hover { border-color: #9ebbbc; background: var(--light); }
.nav-main a[aria-current="page"] { color: var(--accent); font-weight: 750; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 19px; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .19em; }
.video-section { background: #fff; border-block: 1px solid var(--border); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { background: #f8fbfb; border: 1px solid var(--border); overflow: hidden; border-radius: 12px; padding-bottom: 15px; }
.video-card img, .video-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--deep); border-bottom: 1px solid var(--border); }
.video-card video { object-fit: contain; display: block; }
.video-card h3 { margin: 13px 16px 2px; font-size: 1.05rem; }
.video-card p, .video-card .text-link { margin-inline: 16px; font-size: .9rem; color: var(--muted); }
.hero-figure { margin-top: 37px; }
.screenshot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid #c2d3d4;
  border-radius: 12px;
  background: #e7efef;
  cursor: zoom-in;
}
.screenshot img { width: 100%; height: auto; }
.hero-shot { box-shadow: 0 22px 60px #142e371b, 0 2px 8px #142e3712; }
.hero-shot img { aspect-ratio: 1520 / 820; object-fit: cover; object-position: top; }
.screenshot:hover .expand { background: white; }
.expand {
  position: absolute; right: 12px; bottom: 12px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: #f8fbfbef; border: 1px solid #adbec0; border-radius: 7px; color: var(--accent);
  box-shadow: 0 2px 7px #17292d23;
}
figcaption { color: var(--muted); font-size: .875rem; margin-top: 11px; }

.section { padding: clamp(64px, 8vw, 105px) 0; }
.section-heading { margin-bottom: 31px; }
.section-heading h2 { font-size: clamp(2rem, 4.15vw, 3.45rem); line-height: 1.07; letter-spacing: -.058em; font-weight: 700; text-wrap: balance; }
.section-heading p { color: var(--muted); font-size: 1.06rem; margin-top: 14px; max-width: 63ch; }
.workflows { background: white; border-top: 1px solid var(--border); }
.workflow-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: #edf4f4; border: 1px solid var(--border); padding: 4px; border-radius: 10px; }
.workflow-tab { border: 1px solid transparent; border-radius: 7px; padding: 12px; min-height: 50px; background: transparent; display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; color: var(--muted); font-weight: 650; }
.workflow-tab:hover { color: var(--accent); background: #f8fbfb; }
.workflow-tab[aria-selected="true"] { color: var(--accent); background: white; border-color: var(--border); box-shadow: 0 1px 2px #17292d12; }
.workflow-panel { display: grid; grid-template-columns: minmax(220px, 29%) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 46px); padding-block: 28px 0; }
.workflow-panel h3 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.workflow-panel p { color: var(--muted); margin-top: 12px; }
.workflow-panel ul { padding-left: 18px; margin: 18px 0 0; }
.workflow-panel li + li { margin-top: 8px; }
.workflow-panel li::marker { color: var(--primary); }
.workflow-panel figcaption { min-height: 25px; }
.workflow-shots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.workflow-shots[hidden] { display: none; }
.shot-picker { font-weight: 600; font-size: .875rem; padding: 6px 10px; background: white; border: 1px solid var(--border); border-radius: 6px; }
.shot-picker:hover, .shot-picker[aria-pressed="true"] { background: var(--light); border-color: #adcacb; color: var(--accent); }

.feature-section { background: #eef5f5; border-block: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #f9fcfc; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feature { min-width: 0; padding: 25px 24px 24px; border-bottom: 1px solid var(--border); }
.feature:not(:nth-child(3n)) { border-right: 1px solid var(--border); }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--light); color: var(--accent); margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.018em; }
.feature ul { padding-left: 17px; margin: 9px 0 0; color: var(--muted); font-size: .95rem; }
.feature li + li { margin-top: 5px; }
.feature li::marker { color: var(--accent); }

.requirements-layout { display: grid; grid-template-columns: minmax(250px, .85fr) 1.15fr; gap: 55px; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; gap: 15px; align-items: center; justify-content: space-between; font-weight: 650; padding: 17px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq p { color: var(--muted); padding: 0 20px 18px 0; }
.site-footer { border-top: 1px solid var(--border); padding: 22px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner .brand { color: var(--ink); }

svg { width: 20px; height: 20px; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lightbox { width: fit-content; max-width: calc(100vw - 30px); padding: 0; background: var(--white); color: var(--ink); border: 1px solid #9cafb3; border-radius: 12px; overflow: auto; box-shadow: 0 24px 64px #10212859; }
.lightbox::backdrop { background: #102128d6; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100dvh - 103px); height: auto; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 12px; padding: 3px 12px 3px 16px; }
.lightbox h2 { font-size: 1rem; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 7px; background: transparent; }
.icon-button:hover { background: var(--light); }

@media (max-width: 1030px) {
  .hero-copy { grid-template-columns: 1fr minmax(250px, 32%); }
  .wrap { width: calc(100% - 56px); }
  .hero h1 { font-size: clamp(3rem, 6.5vw, 5rem); }
}
@media (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main section[id] { scroll-margin-top: 103px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 0 14px; padding-top: 10px; }
  .nav-main { order: 3; width: 100%; flex-wrap: wrap; gap: 5px clamp(8px, 3vw, 20px); padding: 9px 0 10px; }
  .nav-main a { white-space: nowrap; }
  .footer-inner { flex-wrap: wrap; }
  .hero-copy, .requirements-layout, .workflow-panel { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(2.8rem, 9.2vw, 4.6rem); }
  .hero { padding-top: 51px; }
  .hero-figure { margin-top: 25px; }
  .hero-shot img { aspect-ratio: 1520 / 876; }
  .hero-actions { margin-top: 18px; }
  .workflow-panel { padding-top: 23px; }
  .section-heading { margin-bottom: 24px; }
  .requirements-layout .section-heading { margin-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--border); }
  .feature:nth-child(odd) { border-right: 1px solid var(--border); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 440px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .workflow-tab { flex-direction: column; gap: 5px; padding: 8px 4px; font-size: .9rem; line-height: 1.2; }
  .workflow-tab svg { width: 18px; height: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: 0; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
  .expand { right: 7px; bottom: 7px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
