/* Owner-selected Open Sky brings daylight to the opening; the orange-glass
   testimonial and the page's existing chapter surfaces remain intact. */
:root {
  --paper: #fff;
  --ink: #222320;
  --muted: #60635e;
  --line: #daddd7;
  --orange: #ff671f;
  --orange-ink: #b43d08;
  --stage: #222320;
  --stage-muted: #c3c7be;
  --hero-sky-base: #c8e3ed;
  --hero-sky-ink: #13344a;
  --hero-sky-muted: #244758;
  --hero-sky-edge: #e9f2f7;
  --page-gutter: max(40px, calc((100% - 1240px) / 2));
}

::selection { background: #222320; color: #fff; }
.site-header {
  color: var(--hero-sky-ink);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.site-header > .wordmark span { color: inherit; }
.site-header :is(.header-demo, .header-demo:hover) {
  background: #ecf8ff24;
  border-color: #20445840;
  color: var(--hero-sky-ink);
}
.site-header .header-start { background: #183745; color: #fff; }
.site-header .header-start:hover { background: #224b5c; }
.site-header :is(.desktop-nav a, .header-login)::before { background: #ffffff40; }
.site-header :focus-visible { outline-color: var(--hero-sky-ink); }
.site-header :focus-visible::before { outline-color: var(--hero-sky-ink); }
.site-header .mobile-nav { background: #fff; color: var(--ink); }
.menu-toggle span { background: var(--hero-sky-ink); }

.hero {
  width: 100%;
  max-width: none;
  min-height: clamp(698px, calc(100svh - 62px), 838px);
  padding: 88px var(--page-gutter) 112px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  color: var(--hero-sky-ink);
}
.hero-sky-scene { position: absolute; inset: -62px 0 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--hero-sky-base); }
.hero-sky-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--hero-sky-edge), transparent 80px), linear-gradient(90deg, #e7f2f966, #e7f2f961 55%, #e7f2f917); }
.hero-sky-photo { position: absolute; width: 108%; max-width: none; height: 108%; left: -4%; top: -4%; object-fit: cover; object-position: center 55%; animation: open-sky-drift calc(85s / 2) ease-in-out infinite alternate paused; }
.hero-cloud { position: absolute; max-width: none; animation: open-cloud-drift calc(64s / 2) ease-in-out infinite alternate paused; }
.hero-cloud-far { width: 49%; right: -14%; top: 9%; opacity: .43; animation-duration: calc(72s / 2); animation-delay: calc(-23s / 2); }
.hero-cloud-near { width: 83%; left: -44%; bottom: -13%; opacity: .78; animation-delay: calc(-17s / 2); }
.sky-running :is(.hero-sky-photo, .hero-cloud) { animation-play-state: running; }
.hero h1 { font-size: clamp(62px, 7.2vw, 108px); font-weight: 500; line-height: 1.015; letter-spacing: -.069em; color: var(--hero-sky-ink); }
.hero-copy > p { max-width: 530px; margin-top: 27px; color: var(--hero-sky-muted); }
.hero-badges a { border: 0; color: var(--hero-sky-muted); }
.hero-actions .hero-start {
  background: var(--orange);
  color: #182c30;
  border-color: #f36c2a;
  box-shadow: none;
}
.hero-actions .hero-start:hover { background: #ff7939; border-color: #f36c2a; }
.hero-actions .hero-start .icon { background: #fffded; color: #182c30; }
.hero-actions :is(.hero-demo, .hero-demo:hover) {
  background: #ecf8ff24;
  color: var(--hero-sky-ink);
  border-color: #20445840;
}
.hero-actions .hero-demo:hover { background: #ffffff60; }
.hero-actions .hero-demo .icon { background: transparent; color: var(--hero-sky-ink); }
.hero :focus-visible { outline-color: var(--hero-sky-ink); }
@keyframes open-sky-drift { from { transform: translate3d(-.8%, 0, 0) scale(1); } to { transform: translate3d(1.2%, -.4%, 0) scale(1.025); } }
@keyframes open-cloud-drift { from { transform: translate3d(-5%, 1%, 0); } to { transform: translate3d(12%, -3%, 0); } }

/* The product bridges the atmospheric introduction and a dark demonstration stage. */
#workflows.workflows.real-work {
  width: 100%;
  margin: 0;
  padding: 16px var(--page-gutter) 60px;
  background: linear-gradient(to bottom, var(--hero-sky-edge) 0 190px, var(--stage) 190px 100%);
  border: 0;
}
.workflows .demo-frame { width: 100%; margin: 0 auto; background: #fff; box-shadow: 0 24px 48px -24px #0006; }
.hero-proof {
  max-width: none;
  padding: 8px var(--page-gutter) 68px;
  background: var(--stage);
  color: #fff;
}
.hero-proof-quote { max-width: 740px; margin-inline: auto; color: #fff; }
.hero-proof-source { color: var(--stage-muted); }
.hero-proof-source a { text-decoration: underline; text-decoration-color: var(--orange); }
.hero-proof a:focus-visible { outline-color: var(--orange); }

.bottleneck.section { padding-block: clamp(120px, 12vw, 176px); }
.bottleneck::before { inset: 0; opacity: 1; background-image: url("assets/capacity-bottleneck.svg?v=white-lines"); }
.capacity-role { color: var(--orange-ink); }
.capacity-role, .capacity-measure { font-weight: 500; }

/* Connected systems become a distinct dark chapter, with an orange Parker hub. */
.connected {
  --line: #50534c;
  --orange-ink: #ff8f55;
  color: #fff;
  background: var(--stage);
  border: 0;
  border-radius: 36px 36px 0 0;
}
.connected h2 { color: #fff; }
.connection-heading { margin-bottom: 36px; }
@media (min-width: 1101px) {
  .connected.section { padding-block: 80px; }
  .connected > .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
  .connected .connection-heading { text-align: left; margin: 0; }
  .connected h2 { font-size: clamp(42px, 4.1vw, 62px); }
}
.connection-core { background: var(--ink); }
.connection-core img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.connection-orbits path { stroke: #75796e; }
.connection-tools li {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}
.connection-tools .connection-other {
  color: #fff;
  background: var(--stage);
  border-color: #a3a99b;
}

.memory.section { padding-block: 112px; }
.memory .memory-heading h2 { font-size: clamp(38px, 3.6vw, 54px); }
.memory .slack-demo { box-shadow: none; border-color: #cfd3ca; }
.memory-benefits { gap: 56px; padding-top: 44px; margin-top: 24px; }
.memory-benefits article + article { padding-left: 48px; border-left: 1px solid var(--line); }

/* Restore the clear glass customer voice over a Parker-orange gradient. */
.testimonial.wrap.section {
  width: min(1240px, calc(100% - 96px));
  padding: 32px 0 72px;
  background: transparent;
}
.testimonial-glass-backdrop {
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(120deg, #f6b58b, #eb6027 72%, #be441b);
}
.testimonial .testimonial-feature {
  padding: 72px 64px 48px;
  text-align: left;
  color: #351d13;
  background: linear-gradient(125deg, #ffffffb8, #ffffff80);
  border: 1px solid #fff9;
  border-radius: 16px;
  box-shadow: 0 18px 44px #7b2d1826;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.testimonial-feature blockquote {
  max-width: 1040px;
  font-size: clamp(26px, 2.9vw, 42px);
  line-height: 1.35;
  font-weight: 450;
}
.testimonial .testimonial-attribution { max-width: 1040px; margin: 32px auto 0; color: #513022; }

.comparison { border: 0; }
.comparison-table td:last-child {
  color: #8b310a;
  background: #fff0e7;
  padding-inline: 28px;
}
.comparison-table tbody tr:first-child td:last-child { border-radius: 12px 12px 0 0; }
.comparison-table tbody tr:last-child td:last-child { border-radius: 0 0 12px 12px; }

.security.wrap {
  --muted: #c3c7be;
  --line: #50534c;
  width: 100%;
  padding: 96px var(--page-gutter);
  background: var(--stage);
  border-radius: 0;
}
.security h2, .security-promises dt { color: #fff; }
.security .private-core { border-radius: 16px; }
.partnership.wrap { padding-block: 104px; }
.faq.wrap {
  width: 100%;
  padding: 80px var(--page-gutter) 104px;
  background: #f3f5f1;
  border-radius: 0;
}
.contact {
  --muted: #60635e;
  background: #fff;
  border-block: 1px solid var(--line);
}
.contact :is(h2 em, .demo-topics .icon) { color: var(--ink); }
.contact .booking-embed { --muted: #60635e; }
.site-footer.wrap {
  --muted: #c3c7be;
  width: 100%;
  padding: 44px var(--page-gutter);
  color: #fff;
  background: var(--stage);
}
.site-footer nav a::before { background: #3b3e36; }
.site-footer nav a:is(:hover, :focus-visible) { color: #fff; }
.site-footer :focus-visible { outline-color: var(--orange); }
.site-footer nav a:focus-visible::before { outline-color: var(--orange); }

@media (max-width: 1000px) {
  .hero-copy { width: min(100%, 760px); margin-inline: auto; }
}
@media (max-width: 900px) {
  :root { --page-gutter: 24px; }
  #workflows.workflows.real-work { padding-bottom: 40px; }
  .hero-proof { padding-bottom: 52px; }
  .memory.section { padding-block: 76px; }
  .security.wrap { padding-block: 64px; }
  .faq.wrap { padding-block: 64px 76px; }
}
@media (max-width: 760px) {
  .memory-benefits article + article { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 20px; }
  .hero {
    min-height: max(663px, calc(100svh - 62px));
    padding-top: 68px;
    padding-bottom: 112px;
  }
  .hero h1 { font-size: clamp(44px, 12.6vw, 70px); }
  .hero-copy > p { font-size: 15px; max-width: 315px; }
  /* Finish the fade before the clipped edge, over the same solid sky as the demo. */
  .hero-sky-scene { background: var(--hero-sky-edge); }
  .hero-sky-scene::after { background: linear-gradient(0deg, var(--hero-sky-edge) 4px, transparent 84px), #e5f3f864; }
  .hero-sky-photo { width: 135%; left: -17.5%; object-position: 64% center; }
  .hero-cloud-far { width: 90%; right: -45%; }
  .hero-cloud-near { width: 155%; left: -85%; bottom: 0; }
  .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 8px; }
  .hero-actions .button { width: auto; min-height: 49px; gap: 10px; padding-left: 16px; font-size: 12px; }
  .hero-actions .hero-start .cta-label-desktop { display: inline; }
  .hero-actions .hero-start .cta-label-mobile { display: none; }
  .hero-actions .button .icon { width: 35px; height: 35px; }
  .hero-badges { column-gap: 14px; row-gap: 0; }
  .hero-badges a { padding-inline: 0; }
  /* Overlap background joins to hide mobile subpixel seams; preserve content spacing. */
  #workflows.workflows.real-work {
    position: relative;
    margin-top: -1px;
    padding: 13px 12px 36px;
    background: linear-gradient(to bottom, var(--hero-sky-edge) 0 111px, var(--stage) 111px 100%) var(--hero-sky-edge);
  }
  .hero-proof {
    position: relative;
    margin-top: -1px;
    padding-block: 1px 44px;
  }
  .bottleneck.section { padding-block: 120px; }
  .bottleneck::before { background-image: url("assets/capacity-bottleneck-mobile.svg?v=white-lines"); }
  .connected { border-radius: 24px 24px 0 0; }
  .connection-heading { margin-bottom: 28px; }
  .memory.section { padding-block: 64px; }
  .memory .memory-heading h2 { font-size: 38px; }
  .memory-benefits { gap: 28px; padding-top: 32px; margin-top: 0; }
  .testimonial.wrap.section { width: calc(100% - 40px); padding: 24px 0 48px; }
  .testimonial-glass-backdrop { padding: 14px; }
  .testimonial .testimonial-feature { padding: 32px 20px; }
  .testimonial-feature blockquote { font-size: clamp(22px, 5.5vw, 26px); line-height: 1.3; }
  .testimonial .testimonial-attribution { margin-top: 28px; font-size: 14px; }
  .comparison-table td:last-child { padding: 18px; border-radius: 8px !important; }
  .security.wrap { padding-block: 60px; }
  .partnership.wrap { padding-block: 64px; }
  .faq.wrap { padding-block: 56px 64px; }
  .site-footer.wrap { padding-block: 32px; }
}
@media (max-width: 360px) {
  .hero-actions .button { gap: 6px; padding-left: 12px; font-size: 11px; }
  .hero-actions .button .icon { width: 30px; height: 30px; padding: 7px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .comparison-table td:last-child { padding: 18px; border-radius: 8px !important; }
}
